AW: Re: AW: Re: Support for 0489:e031 Foxconn / Hon Hai

From: <hidden>
Date: 2011-06-06 11:33:09

Hey Marcel,
quoted
quoted
what about the usb-devices.sh script output or /proc/bus/usb/device=
s
quoted
quoted
content for this adatper.
The output for the bluetooth device from /usr/bin/usb-devices (on Ubu=
ntu 11.04) is the following:
quoted
T:  Bus=3D02 Lev=3D02 Prnt=3D02 Port=3D03 Cnt=3D03 Dev#=3D  5 Spd=3D1=
2  MxCh=3D 0
quoted
D:  Ver=3D 2.00 Cls=3Dff(vend.) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D=
  1
quoted
P:  Vendor=3D0489 ProdID=3De031 Rev=3D01.12
S:  Manufacturer=3DBroadcom Corp
S:  Product=3DBCM20702A0
S:  SerialNumber=3DEC55F9EADE09
C:  #Ifs=3D 4 Cfg#=3D 1 Atr=3De0 MxPwr=3D0mA
I:  If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3D01 Prot=3D01 Dr=
iver=3D(none)
quoted
I:  If#=3D 1 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D01 Prot=3D01 Dr=
iver=3D(none)
quoted
I:  If#=3D 2 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Dr=
iver=3D(none)
quoted
I:  If#=3D 3 Alt=3D 0 #EPs=3D 0 Cls=3Dfe(app. ) Sub=3D01 Prot=3D01 Dr=
iver=3D(none)
so Broadcom is being stupid here and using vendor specific descriptors
instead of just following the proper USB descriptors for Bluetooth. You=
need to add the VID and PID to btusb.c device list.
Thx for the hint.
My btusb.c has now this part added:
------------------------------------------------------------------------=
------------------------
--- linux-source-2.6.38.ori/drivers/bluetooth/btusb.c=092011-06-06 11:06=
:47.563912990 +0200
+++ linux-source-2.6.38/drivers/bluetooth/btusb.c=092011-06-06 11:13:40.=
493912780 +0200
@@ -87,6 +87,9 @@
 =09/* Canyon CN-BTU1 with HID interfaces */
 =09{ USB_DEVICE(0x0c10, 0x0000) },
 
+=09/* Broadcom - BCM20702A0 */
+=09{ USB_DEVICE(0x0489, 0xe031) },
+
 =09{ }=09/* Terminating entry */
 };
------------------------------------------------------------------------=
------------------------
After building the module and rebooting, still no bluetooth peripherals =
can be found but hcitool gives me a device now.

$ hcitool dev
Devices:
=09hci0=09EC:55:F9:EA:DE:09

How can I double check what is going wrong here? (e.g. enable kernel deb=
ugging log or so)

Ciao
Thilo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help