logo       

ask for help about hciattach on ARM board: msg#00155

Subject: ask for help about hciattach on ARM board
Hello,
 
 I have cross-compiled bluez for ARM7 board(CDB89712).
But when I execute the cross-compiled hciattach on ARM7, eg.
#./hciattach /dev/ttyAM1 ericsson

It displays " Can't set device: Invalid argument". I checked the
hciattach.c, it is in the line " if(ioctl(fd,HCIUARTSETPROTO,u->proto) <
0)".

I don't konw how to solve this error. Pls help me.

My linux is 2.4.18, bluez-libs is 2.4, bluez-utils is 2.3. And when I
cross-compiled the linux kernel, in the "Bluetooth Support --->" options, I
haven't select them as <M>, I select as <*>, which means built-in kernel.

Thanks again.

Best regards,
Zhang Subing

兩個人的幸運、亂世佳人、遇見...
浪漫鈴聲 情心連繫
http://ringtone.yahoo.com.hk/

<Prev in Thread] Current Thread [Next in Thread>