-django- n00b

Joined: 24 Dec 2004 Posts: 5 Location: USA, CT/PA
|
Posted: Fri Apr 28, 2006 3:48 pm Post subject: usb bluetooth dongle not recognised |
|
|
I am having issues getting my Keyspan BT-2A USB Bluetooth dongle recognised by hciconfig. I am running kernel 2.6.14-r5.
I don't believe that it is a USB issue; I can see the dongle on a lsusb:
Code: |
# lsusb
Bus 003 Device 007: ID 0a5c:2035 Broadcom Corp. BCM2035 Bluetooth
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 046d:c505 Logitech, Inc. Cordless Mouse+Keyboard Receiver
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 04e8:323a Samsung Electronics Co., Ltd
Bus 001 Device 003: ID 0424:a700 Standard Microsystems Corp.
Bus 001 Device 001: ID 0000:0000
|
My kernel configuration for bluetooth is as recommended by the Gentoo Bluetooth guide:
Code: |
CONFIG_BT=y
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PRO
#
# Bluetooth device drivers
#
CONFIG_BT_HCIUSB=m
CONFIG_BT_HCIUSB_SCO=y
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_BCSP_TXCRC=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIVHCI=m
TO_FILTER=y
CONFIG_BT_HIDP=m
|
After configuring the kernel and rebooting, I can 'see' the dongle with the 'Checking the Bluetooth Devices' commands, both in lspci as above, and with:
Code: |
# cat /proc/bus/usb/devices | grep -e^[TPD] | grep -e Cls=e0 -B1 -A1
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 7 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a5c ProdID=2035 Rev= 1.00
|
I then emerged the needed BlueZ packages as recommended. From other reading, I have gathered that the BT-2A requires bluefw as well since it uses the Broadcom chipset:
Code: |
# emerge bluez-libs bluez-utils bluez-bluefw -pv
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-wireless/bluez-libs-2.24 0 kB
[ebuild R ] net-wireless/bluez-utils-2.24 +alsa +cups -dbus +gtk -pcmcia +udev 0 kB
[ebuild R ] net-wireless/bluez-bluefw-1.0 0 kB
|
Knowing that I need to run bluefw to update the firmware, I have tried this at several points -- after rebooting, restarting bluetooth.... I have not been able to get any output from the bluefw program, however:
Code: |
# lsusb | grep -i bluetooth
Bus 003 Device 007: ID 0a5c:2035 Broadcom Corp. BCM2035 Bluetooth
# bluefw usb 003/007
#
|
So, thinking that maybe the firmware was updated, but just didn't tell me it was.... I continued. I had hotplug already installed, but needed to install coldplug. Current versions are now:
Code: |
# emerge hotplug coldplug -pv
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-apps/hotplug-20040923-r2 0 kB
[ebuild R ] sys-apps/coldplug-20040920 0 kB
|
I added coldplug to the boot run-level, then rebooted and tried everything again... bluefw still gave no output. bluetooth is still started upon plugging the dongle in; when I do hciconfig, it does not see a device, the address has been 00:00:... each time:
Code: |
# hciconfig
hci0: Type: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING PSCAN ISCAN AUTH ENCRYPT
RX bytes:222 acl:0 sco:0 events:28 errors:0
TX bytes:619 acl:0 sco:0 commands:28 errors:0
|
I saw somewhere that if you got the "Address: 00:00:00:00:00:00" problem, to do hciconfig hci0 down && hciconfig hci0 up, and that the device would then "refresh"... not so for me.
dmesg gives
Code: |
# dmesg
ohci_hcd 0000:00:03.1: wakeup
usb 3-2: new full speed USB device using ohci_hcd and address 7
|
Are there modules that I need to manually modprobe? bluetooth is builtin to the kernel, and after adding in hci_usb, l2cap, and rfcomm manually, my lsmod is currently:
Code: |
# lsmod
Module Size Used by
rfcomm 38424 0
l2cap 24704 5 rfcomm
hci_usb 15248 2
snd_seq_midi 7840 0
snd_emu10k1_synth 7808 0
snd_emux_synth 36864 1 snd_emu10k1_synth
snd_seq_virmidi 7040 1 snd_emux_synth
snd_seq_midi_emul 7680 1 snd_emux_synth
snd_intel8x0 31328 0
subfs 7680 0
evdev 8576 0
fuse 33680 0
smbfs 64248 0
snd_emu10k1 118180 3 snd_emu10k1_synth
snd_rawmidi 21664 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_ac97_codec 94844 2 snd_intel8x0,snd_emu10k1
snd_ac97_bus 2944 1 snd_ac97_codec
snd_util_mem 4480 2 snd_emux_synth,snd_emu10k1
snd_hwdep 8224 2 snd_emux_synth,snd_emu10k1
nvidia 3466588 12
|
The bluetooth portion of /proc/bus/usb/devices is:
Code: |
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 7 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a5c ProdID=2035 Rev= 1.00
S: Manufacturer=Broadcom Corp
S: Product=BCM2035B
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=83(I) Atr=01(Isoc) MxPS= 32 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 32 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=83(I) Atr=01(Isoc) MxPS= 64 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 64 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb
E: Ad=83(I) Atr=01(Isoc) MxPS= 64 Ivl=1ms
E: Ad=03(O) Atr=01(Isoc) MxPS= 64 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
|
I suppose the repetitiveness of the entry is due to multiple unplug/plug cycles?
Any help would be greatly appreciated.
-django- _________________ EHRGEIZ -- "God Bless the Ring"
Have you read the Word today? |
|