NEC usb bluetooth support
Ok, thanx to Marcel, i looked again, and no patches/source code changes are needed. The error
hci_usb: probe of 7-2:1.1 failed with error -5
is spurious, and the device still works just fine.
Another one to add to the list of working with linux bluetooth devices ;-)
Thanks
Mitch
-------- Original Message --------
Subject: Re: [Bluez-users] NEC usb bluetooth support
Date: Tue, 16 Dec 2003 20:40:00 +0100
From: Marcel Holtmann <[email protected]>
To: Mitch <[email protected]>
CC: BlueZ Mailing List <[email protected]>
References: <[email protected]>
Hi Mitch,
Quoted 7 lines
Yup i do have an entry (see below), and i've managed to get it to load, but by hacking the
hci_usb.cto remove the lines/* Check number of endpoints */
if (intf->altsetting[0].desc.bNumEndpoints < 3) return -EIO;
Quoted 6 lines
It looks like since there's multiple interface descriptors for the device (see attachment), and bNumEndpoints is only equal to 3 in one of them, then the test fails and returns EIO. I don't know if this check should be removed altogether since we subsequently iterate thru all the interfaces to get the endpoints.
hciconfig shows me 2 interfaces - is this correct ?
this is wrong. The second interface on the USB layer is for the SCO audio support and in normal cases correct recognized by the driver. This is why the above check is in the code. If you not have three endpoints on the first interface it is not a USB Bluetooth device. Please check your device with 2.4.23.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Mitch,
Quoted 6 lines
Ok, thanx to Marcel, i looked again, and no patches/source code changes are needed. The error
hci_usb: probe of 7-2:1.1 failed with error -5is spurious, and the device still works just fine.
these kind of errors sometimes happen. The USB folks should know more about them.
Quoted 1 line
Another one to add to the list of working with linux bluetooth devices ;-)
Please send me "hciconfig -a" and do you have a full product name or weblink?
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users