Hi,
> 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.
use 2.4.18-mh9 and select
CONFIG_BLUEZ
CONFIG_BLUEZ_HCIUART
CONFIG_BLUEZ_HCIUART_H4
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
|