logo       

What to do?: msg#00185

Subject: What to do?
Hi list,

I'm trying out the Bluez bluetooth protocol stack on my Debian/unstable box. I've added bluetooth support i my kernel, attached ALLNET Bluetooth USB Dongle (BroadCom.inc), and installed the Bluez packages. However, it won't work.

Here's some debugging to give you a clue to what's wrong:

-----------------------------------------------------------------------
Tonni:/# cat /boot/config-2.4.20 | grep -i blue
CONFIG_USB_BLUETOOTH=m
# Bluetooth support
CONFIG_BLUEZ=m
CONFIG_BLUEZ_L2CAP=m
CONFIG_BLUEZ_SCO=m
CONFIG_BLUEZ_BNEP=m
# Bluetooth device drivers
CONFIG_BLUEZ_HCIUSB=m
CONFIG_BLUEZ_USB_ZERO_PACKET=y
CONFIG_BLUEZ_HCIUART=m
CONFIG_BLUEZ_HCIUART_H4=y
# CONFIG_BLUEZ_HCIDTL1 is not set
# CONFIG_BLUEZ_HCIBT3C is not set
# CONFIG_BLUEZ_HCIBLUECARD is not set
CONFIG_BLUEZ_HCIVHCI=m
-------------------------------------------------------------------------

-------------------------------------------------------------------------
Tonni:/# lsmod
Module                  Size  Used by    Tainted: P
rtc                     6908   0  (autoclean)
ehci-hcd               21064   0  (unused)
hci_usb                 7256   0  (unused)
bluetooth              16288   1
sco                     8748   0  (unused)
l2cap                  16332   1
bnep                   10584   0  (unused)
bluez                  32196   1  [hci_usb sco l2cap bnep]
usbmouse                2264   0  (unused)
hid                    19076   0  (unused)
usbkbd                  3608   0  (unused)
-------------------------------------------------------------------------

-------------------------------------------------------------------------
Tonni:/# hcitool scan
Device is not available.: Success
-------------------------------------------------------------------------

My dmesg contains some info too, so I've attached it to this mail.

Hope someone can help.

Best Regards
Tonni Aagesen
on      = 0.a0
  Device Class:SubClass:Protocol = e0:01:01
    Unknown class
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 00c8
  bNumInterfaces      =   03
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   a0
  MaxPower            =  100mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   03
    bInterface Class:SubClass:Protocol =   e0:01:01
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0010
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   82 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   02 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   01

  Interface: 1
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   01
    bAlternateSetting   =   00
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   e0:01:01
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0000
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   03 (out)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0000
      bInterval           =   01
  Alternate Setting:  1
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   01
    bAlternateSetting   =   01
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   e0:01:01
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0010
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   03 (out)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0010
      bInterval           =   01
  Alternate Setting:  2
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   01
    bAlternateSetting   =   02
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   e0:01:01
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0020
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   03 (out)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0020
      bInterval           =   01
  Alternate Setting:  3
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   01
    bAlternateSetting   =   03
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   e0:01:01
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0020
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   03 (out)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0020
      bInterval           =   01
  Alternate Setting:  4
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   01
    bAlternateSetting   =   04
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   e0:01:01
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0040
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   03 (out)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0040
      bInterval           =   01
  Alternate Setting:  5
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   01
    bAlternateSetting   =   05
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   e0:01:01
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0040
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   03 (out)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0040
      bInterval           =   01

  Interface: 2
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   02
    bAlternateSetting   =   00
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   ff:ff:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   84 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0020
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   04 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0020
      bInterval           =   01
usb.c: kusbd: /sbin/hotplug add 2
hub.c: port 2, portstatus 100, change 3, 12 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 100, change 3, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: port 2, portstatus 100, change 2, 12 Mb/s
hub.c: port 2 enable change, status 100
Adding Swap: 498004k swap-space (priority -1)
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
ip_tables: (C) 2000-2002 Netfilter core team
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@xxxxxxx>
hid-core.c: USB HID support drivers
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
ACPI: Core Subsystem version [20011018]
ACPI: Subsystem enabled
Power Resource: found
Power Resource: found
Power Resource: found
Power Resource: found
ACPI: Power Button (FF) found
ACPI: Multiple power buttons detected, ignoring fixed-feature
ACPI: Power Button (CM) found
ACPI: Sleep Button (CM) found
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
lp0: console ready
Processor[0]: C0 C1, 8 throttling states
ACPI: System firmware supports S0 S1 S4 S5
i2c-proc.o version 2.6.1 (20010825)
BlueZ Core ver 2.2 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@xxxxxxxxxxxx>
BNEP: BNEP2 ver 1.0
BNEP: Copyright (C) 2002 Inventel
BNEP: Written 2001,2002 by
BNEP:   Clement Moreau <clement.moreau@xxxxxxxxxxx> David Libault 
<david.libault@xxxxxxxxxxx>
BNEP: Copyright (C) 2002 Maxim Krasnyanskiy <maxk@xxxxxxxxxxxx>
BlueZ L2CAP ver 2.1 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@xxxxxxxxxxxx>
BlueZ SCO ver 0.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@xxxxxxxxxxxx>
bluetooth.c: USB Bluetooth support registered
usb.c: registered new driver bluetty
bluetooth.c: found interrupt in
bluetooth.c: found bulk in
bluetooth.c: found bulk out
bluetooth.c: USB Bluetooth converter detected
bluetooth.c: Bluetooth converter now attached to ttyUB0 (or usb/ttub/0 for 
devfs)
usb.c: bluetty driver claimed interface dfe2dc40
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: found bulk in
bluetooth.c: found bulk out
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: USB Bluetooth tty driver v0.13
BlueZ HCI USB driver ver 2.1 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@xxxxxxxxxxxx>
usb.c: registered new driver hci_usb
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: found bulk in
bluetooth.c: found bulk out
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
ehci-hcd.c: 2002-May-07 USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-hcd.c: block sizes: qh 96 qtd 96 itd 128 sitd 64
hcd.c: ehci-hcd @ 00:10.3, VIA Technologies, Inc. USB 2.0
hcd.c: irq 5, pci mem e08f0e00
usb.c: new USB bus registered, assigned bus number 4
ehci-dbg.c: ehci_start hcs_params 0x3206 dbg=0 cc=3 pcc=2 ordered !ppc ports=6
ehci-dbg.c: ehci_start extended capabilities at pci 104
ehci-dbg.c: ehci_start hcc_params 0x6872 caching 7 uframes 256/512/1024
ehci-hcd.c: reset 80002 cmd (park)=0 ithresh=8 period=1024 Reset HALT
ehci-hcd.c: init 10001 cmd (park)=0 ithresh=1 period=1024 RUN
ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
hcd.c: 00:10.3 root hub device address 1
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
usb.c: USB disconnect on device 00:10.0-1 address 2
bluetooth.c: Bluetooth converter now disconnected from ttyUB0
usb.c: kusbd: /sbin/hotplug remove 2
usb.c: kmalloc IF df4e2c80, numif 1
usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Manufacturer: Linux 2.4.20 ehci-hcd
Product: VIA Technologies, Inc. USB 2.0
SerialNumber: 00:10.3
hub.c: USB hub found
hub.c: 6 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Single TT
hub.c: TT requires at most 8 FS bit times
hub.c: Port indicators are not supported
hub.c: power on to power good time: 0ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RRRRRR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
usb.c: hub driver claimed interface df4e2c80
usb.c: kusbd: /sbin/hotplug add 1
hub.c: port 1, portstatus 100, change 2, 12 Mb/s
hub.c: port 1 enable change, status 100
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
ehci-hub.c: GetStatus port 1 status 0x1803 POWER speed=2 CSC CONNECT
hub.c: port 1, portstatus 501, change 1, 480 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 501, change 1, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 501, change 0, 480 Mb/s
hub.c: port 1, portstatus 511, change 0, 480 Mb/s
hub.c: port 1 of hub 1 not reset yet, waiting 10ms
hub.c: port 1, portstatus 511, change 0, 480 Mb/s
hub.c: port 1 of hub 1 not reset yet, waiting 10ms
ehci-hub.c: 00:10.3 port 1 full speed, give to companion, 0x1801
ehci-hub.c: GetStatus port 1 status 0x3801 OWNER POWER speed=2 CONNECT
hub.c: port 1, portstatus 0, change 10, 12 Mb/s
ehci-hcd.c: 00:10.3: free_config devnum 0
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
hub.c: port 3, portstatus 100, change 0, 12 Mb/s
hub.c: port 4, portstatus 100, change 0, 12 Mb/s
hub.c: port 5, portstatus 100, change 0, 12 Mb/s
hub.c: port 6, portstatus 100, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: new USB device 00:10.0-1, assigned address 3
usb.c: kmalloc IF dfe2dc40, numif 3
usb.c: new device strings: Mfr=0, Product=0, SerialNumber=0
bluetooth.c: found interrupt in
bluetooth.c: found bulk in
bluetooth.c: found bulk out
bluetooth.c: USB Bluetooth converter detected
bluetooth.c: Bluetooth converter now attached to ttyUB0 (or usb/ttub/0 for 
devfs)
usb.c: bluetty driver claimed interface dfe2dc40
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
bluetooth.c: found bulk in
bluetooth.c: found bulk out
bluetooth.c: usb_bluetooth_probe - improper number of endpoints. Bluetooth 
driver not bound.
usb.c: unhandled interfaces on device
usb.c: kusbd: /sbin/hotplug add 3
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
Real Time Clock Driver v1.10e
<Prev in Thread] Current Thread [Next in Thread>