← Back to team overview

kernel-packages team mailing list archive

[Bug 424225] Re: sdptool failes with bluetooth dongle

 

This is reported against an old version of Ubuntu and many things has
changed since then. Because of that we won't fix this issue however if
this behavior repeats on a modern version please fill a bug report
against it and we will take it from there.

** Changed in: bluez (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/424225

Title:
  sdptool failes with bluetooth dongle

Status in bluez package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: bluez

  USB dongle is discovered and pairing works, so does "hcitool scan",
  however

  #sdptool browse 00:1B:AF:xx:xx:xx
  Failed to connect to SDP server on 00:1B:AF:xx:xx:xx: File descriptor in bad state

  Also searching for devices with gnome-bluez doesn't turn up any device
  (it does however when trying OBEX Push, which fails when transmitting
  thoug)

  This problem has existed at least since Jaunty. Today there was a
  version bump in the karmic bluez stack but this didn't help. On my
  Asus EEE where bluetooth is integrated it does work though with the
  integrated bluetooth.

  I suppose it is not a kernel bug as pairing with PIN works...

  $ dmesg
  [10672.488560] Bluetooth: Generic Bluetooth USB driver ver 0.5
  [10672.488702] usbcore: registered new interface driver btusb
  [10672.594900] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  [10672.594904] Bluetooth: BNEP filters: protocol multicast
  [10672.681922] Bridge firewalling registered

  $ uname -a
  Linux miraculix 2.6.31-9-generic #29-Ubuntu SMP Sun Aug 30 17:39:26 UTC 2009 x86_64 GNU/Linux

  Bluetooth dongle:
  Bus 004 Device 002: ID 1caa:0001

  $ hcitool dev
  Devices:
   hci0	00:1F:81:00:00:01

  $hciconfig
  hci0:	Type: USB
   BD Address: 00:1F:81:00:00:01 ACL MTU: 339:6 SCO MTU: 180:1
   UP RUNNING PSCAN ISCAN
   RX bytes:3330 acl:13 sco:0 events:109 errors:0
   TX bytes:924 acl:15 sco:0 commands:56 errors:0

  $hcitool inq
  Inquiring ...
   00:1B:AF:xx:xx:xxE	clock offset: 0x38a5	class: 0x5a020c

  $ sudo hcitool info 00:1B:AF:xx:xx:xx
  [sudo] password for mabl:
  Requesting information ...
   BD Address:  00:1B:AF:xx:xx:xx
   Device Name: Nokia 6110 Navigator
   LMP Version: 2.0 (0x3) LMP Subversion: 0x2222
   Manufacturer: Broadcom Corporation (15)
   Features: 0xbf 0xee 0x0f 0x4e 0x98 0x19 0x00 0x00
    <3-slot packets> <5-slot packets> <encryption> <slot offset>
    <timing accuracy> <role switch> <sniff mode> <RSSI>
    <channel quality> <SCO link> <HV3 packets> <u-law log>
    <A-law log> <CVSD> <paging scheme> <power control>
    <transparent SCO> <EDR ACL 2 Mbps> <EDR ACL 3 Mbps>
    <enhanced iscan> <inquiry with RSSI> <AFH cap. slave>
    <AFH class. slave> <3-slot EDR ACL> <5-slot EDR ACL>
    <AFH cap. master> <AFH class. master>


  $ sudo lsusb -v -d 1caa:0001
  Bus 004 Device 002: ID 1caa:0001
  Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               2.00
    bDeviceClass          224 Wireless
    bDeviceSubClass         1 Radio Frequency
    bDeviceProtocol         1 Bluetooth
    bMaxPacketSize0        64
    idVendor           0x1caa
    idProduct          0x0001
    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
        Device Firmware Upgrade Interface Descriptor:
          bLength                             7
          bDescriptorType                    33
          bmAttributes                        7
            Will Not Detach
            Manifestation Tolerant
            Upload Supported
            Download Supported
          wDetachTimeout                   5000 milliseconds
          wTransferSize                    1023 bytes
  Device Status:     0x0000
    (Bus Powered)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/424225/+subscriptions