bluetooth dongle doesn't work with bluez 4.x

Bug #398930 reported by Bremm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Dear fellows,

That's the problem (short explanation): my usb dongle used to work fine under bluez 3.x, but once I updated it to 4.x, doesn't work anymore. I tried reinstall the whole thing (service), monitored dbus messages (no clues with that) and tried several different cellphones and other gadgets (gps devices, and headphones). Actually I own an Nokia 6300 and a Tomtom One XL (the other stuff I just asked people to let me use it for testing).

Here is the big picture: I can see the dongle sometimes up by the cellphone, and blueman-applet sees the phone and gps device. But no communication (file transfer always give me timeout or device busy).

$ cat /var/log/messages | grep Blue
Jul 13 14:31:27 host kernel: [ 0.612008] Bluetooth: Core ver 2.13
Jul 13 14:31:27 host kernel: [ 0.612052] Bluetooth: HCI device and connection manager initialized
Jul 13 14:31:27 host kernel: [ 0.612057] Bluetooth: HCI socket layer initialized
Jul 13 14:31:27 host kernel: [ 3.781474] Bluetooth: L2CAP ver 2.11
Jul 13 14:31:27 host kernel: [ 3.781477] Bluetooth: L2CAP socket layer initialized
Jul 13 14:31:27 host kernel: [ 3.781481] Bluetooth: SCO (Voice Link) ver 0.6
Jul 13 14:31:27 host kernel: [ 3.781484] Bluetooth: SCO socket layer initialized
Jul 13 14:31:27 host kernel: [ 3.781511] Bluetooth: RFCOMM socket layer initialized
Jul 13 14:31:27 host kernel: [ 3.781519] Bluetooth: RFCOMM TTY layer initialized
Jul 13 14:31:27 host kernel: [ 3.781522] Bluetooth: RFCOMM ver 1.10
Jul 13 14:31:27 host kernel: [ 17.100914] Bluetooth: Generic Bluetooth USB driver ver 0.3
Jul 13 14:31:37 host kernel: [ 43.716969] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jul 13 14:31:37 host kernel: [ 43.716974] Bluetooth: BNEP filters: protocol multicast

lsusb doesn't list my device like it used to list:

$ sudo lsusb -v -d 0c10:0000

Bus 002 Device 008: ID 0c10:0000
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 224 Wireless
  bDeviceSubClass 1 Radio Frequency
  bDeviceProtocol 1 Bluetooth
  bMaxPacketSize0 64
  idVendor 0x0c10
  idProduct 0x0000
  bcdDevice 19.15
  iManufacturer 0
  iProduct 0
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 193
    bNumInterfaces 3
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    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 0
      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 0
    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 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 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 0x0019 1x 25 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 0x0019 1x 25 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 0x0021 1x 33 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 0x0021 1x 33 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 0x0031 1x 49 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 0x0031 1x 49 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 254 Application Specific Interface
      bInterfaceSubClass 1 Device Firmware Update
      bInterfaceProtocol 0
      iInterface 0
      ** UNRECOGNIZED: 07 21 07 88 13 ff 03
Device Status: 0x0000
  (Bus Powered)

$ uname -a
Linux host 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

As long as I test it more, I'll add more information here.

TIA

Revision history for this message
Bremm (bremm) wrote :

I was trying to download some 2.6.26 kernel to make some tests, but thank god packages.ubuntu.com is down since days ago.

$ hciconfig hci0 -a
hci0: Type: USB
 BD Address: 00:1F:81:00:01:C6 ACL MTU: 339:6 SCO MTU: 180:1
 UP RUNNING PSCAN ISCAN
 RX bytes:1316 acl:0 sco:0 events:41 errors:0
 TX bytes:667 acl:0 sco:0 commands:40 errors:0
 Features: 0xef 0x3e 0x09 0x70 0x08 0x08 0x00 0x80
 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
 Link policy: RSWITCH HOLD SNIFF PARK
 Link mode: SLAVE ACCEPT
 Name: 'host-0'
 Class: 0x022104
 Service Classes: Networking
 Device Class: Computer, Desktop workstation
 HCI Ver: 1.2 (0x2) HCI Rev: 0x2 LMP Ver: 1.2 (0x2) LMP Subver: 0x2
 Manufacturer: Accel Semiconductor Ltd. (74)

Revision history for this message
Bremm (bremm) wrote :

https://bugs.launchpad.net/linux/+bug/268502

$ sudo hcitool cc 00:21:AB:B2:6B:5F
$ sudo hcitool auth 00:21:AB:B2:6B:5F
HCI authentication request failed: Input/output error

It seems to be a kernel issue. I'll try to move to a newer version (maybe 2.6.31).

Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

Seems like a duplicate of bug #268502.

Revision history for this message
Serhiy Kachaniuk (serzholino) wrote :

Hi! I have USB Bluetooth dongle with exactly same ProductID and Vendor ID:

Bus 005 Device 004: ID 0c10:0000
Device Descriptor:
 bLength 18
 bDescriptorType 1
 bcdUSB 1.10
 bDeviceClass 224 Wireless
 bDeviceSubClass 1 Radio Frequency
 bDeviceProtocol 1 Bluetooth
 bMaxPacketSize0 64
 idVendor 0x0c10
 idProduct 0x0000
 bcdDevice 1.12
 iManufacturer 1 Broadcom
 iProduct 2 Broadcom2035 ROM
 iSerial 3

And It worked fine in jaunty (bluez ver. 4.32) and even worked with kernel 2.6.31 from mainline-ppa, but stopped working in karmic (bluez ver. 4.51). So it is unlikely kernel bug.
See my bugreport here https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/453885
So i think marking this but as duplicate of bug #268502 is wrong.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.