[Pkg-bluetooth-maintainers] Bug#451318: bluez-utils: Can't get BCM2045 up and running

R. Lemos rslemos at gmail.com
Wed Nov 14 23:18:10 UTC 2007


Package: bluez-utils
Version: 3.13-1
Severity: normal

I have a Dell Inspiron 9400 (E1705) with integrated Bluetooth device.
It's a Broadcom BCM2045.

I'm using the hci_usb module, which happily recognizes the device and
makes the interface hci0 available.

On module install I get the following message (as seen through dmesg):

  Bluetooth: HCI USB driver ver 2.9
  usbcore: registered new interface driver hci_usb
  hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f75b4ad4 err -28

Afterwards, hciconfig -a shows:

  hci0:   Type: USB
          BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
          DOWN 
          RX bytes:0 acl:0 sco:0 events:0 errors:0
          TX bytes:0 acl:0 sco:0 commands:0
          errors:0

(notice the DOWN state)

Trying to bring the interface up (hciconfig hci0 up) gives (directly in
the terminal, as output of hciconfig):

  Can't init device hci0: Input/output error (5)

And also gives (indirectly, via kernel ring buffer):

  hci_usb_intr_rx_submit: hci0 intr rx submit failed urb f75c87d4 err
  -28


The device is enabled in BIOS.

The Bluetooth LED is lit.

Hitting the Dell hotkey (Fn+F2) to disable Bluetooth devices does
actually notifies the kernel about device disconection (dmesg output):

  usb 5-1.4: USB disconnect, address 4
  usb 5-1.4.1: USB disconnect, address 5
  usb 5-1.4.2: USB disconnect, address 6
  usb 5-1.4.3: USB disconnect, address 7

And hciconfig -a now shows nothing.

Hitting the hotkey again to re-enable it (dmesg output):

  usb 5-1.4: new full speed USB device using ehci_hcd and address 8
  usb 5-1.4: configuration #1 chosen from 1 choice
  hub 5-1.4:1.0: USB hub found
  hub 5-1.4:1.0: 3 ports detected
  usb 5-1.4.1: new full speed USB device using ehci_hcd and address 9
  usb 5-1.4.1: configuration #1 chosen from 1 choice
  hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f660ac14 err
  -28
  hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb f660ac14 err
  -28
  usb 5-1.4.2: new full speed USB device using ehci_hcd and address 10
  usb 5-1.4.2: configuration #1 chosen from 1 choice
  input: Broadcom Corp as /class/input/input8
  input: USB HID v1.11 Keyboard [Broadcom Corp] on
  usb-0000:00:1d.7-1.4.2
  usb 5-1.4.3: new full speed USB device using ehci_hcd and address 11
  usb 5-1.4.3: configuration #1 chosen from 1 choice
  input: Broadcom Corp as /class/input/input9
  input: USB HID v1.11 Mouse [Broadcom Corp] on usb-0000:00:1d.7-1.4.3

And now, voilà, the device appears up and running, as shown by
hciconfig -a:

  hci0:   Type: USB
          BD Address: 00:19:7D:E2:C0:2B ACL MTU: 1017:8 SCO MTU: 64:8
          UP RUNNING PSCAN ISCAN 
          RX bytes:440 acl:0 sco:0 events:22 errors:0
          TX bytes:340 acl:0 sco:0 commands:22 errors:0
          Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
          Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
          Link policy: RSWITCH HOLD SNIFF PARK 
          Link mode: SLAVE ACCEPT 
          Name: 'praga-0'
          Class: 0x3e0100
          Service Classes: Networking, Rendering, Capturing, Object
Transfer, Audio
          Device Class: Computer, Uncategorized
          HCI Ver: 2.0 (0x3) HCI Rev: 0x2128 LMP Ver: 2.0 (0x3) LMP
Subver: 0x41d8
          Manufacturer: Broadcom Corporation (15)


If you need more information, just ask.


Thanks,
R. Lemos


-- lsusb --

  Bus 005 Device 015: ID 0a5c:4503 Broadcom Corp. 
  Bus 005 Device 014: ID 0a5c:4502 Broadcom Corp. 
  Bus 005 Device 013: ID 413c:8126 Dell Computer Corp. 
  Bus 005 Device 012: ID 0a5c:4500 Broadcom Corp. 
  Bus 005 Device 002: ID 413c:a005 Dell Computer Corp. 
  Bus 005 Device 001: ID 0000:0000  
  Bus 001 Device 001: ID 0000:0000  
  Bus 002 Device 002: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
  Bus 002 Device 001: ID 0000:0000  
  Bus 003 Device 001: ID 0000:0000  
  Bus 004 Device 001: ID 0000:0000  

-- lsusb -v -s 005:015 --

  (as attachment)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages bluez-utils depends on:
ii  dbus                         1.1.1-3     simple interprocess messaging syst
ii  libbluetooth2                3.20-1      Library to use the BlueZ Linux Blu
ii  libc6                        2.6.1-1+b1  GNU C Library: Shared libraries
ii  libdbus-1-3                  1.1.1-3     simple interprocess messaging syst
ii  libglib2.0-0                 2.14.1-5    The GLib library of C routines
ii  libusb-0.1-4                 2:0.1.12-7  userspace USB programming library
ii  lsb-base                     3.1-24      Linux Standard Base 3.1 init scrip
ii  makedev                      2.3.1-84    creates device files in /dev
ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel mo
ii  udev                         0.114-2     /dev/ and hotplug management daemo

Versions of packages bluez-utils recommends:
ii  bluez-gnome                   0.13-1     Bluetooth utilities for GNOME

-- no debconf information
-------------- next part --------------

Bus 005 Device 013: ID 413c:8126 Dell Computer Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x413c Dell Computer Corp.
  idProduct          0x8126 
  bcdDevice            1.00
  iManufacturer           1 Broadcom Corp
  iProduct                2 BCM2045
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          216
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       254 Application Specific Interface
      bInterfaceSubClass      1 Device Firmware Update
      bInterfaceProtocol      0 
      iInterface              0 
Device Status:     0x0001
  Self Powered


More information about the Pkg-bluetooth-maintainers mailing list