Welcome! Log In Create A New Profile

Advanced

Need help getting bluetooth working on supported hardware

Posted by dinki 
Need help getting bluetooth working on supported hardware
September 04, 2013 04:22PM
Guys. I'm trying to get bluetooth working on what I think is supported hardware. I've got a Trendnet tbw-101ub usb bluetooth dongle. I've searched and saw postings saying that it works out of the box. I've running installed linux on my Pogoplug Pink device:

root@debian# uname -a
Linux debian 3.2.0-4-kirkwood #1 Debian 3.2.46-1+deb7u1 armv5tel GNU/Linux

I've installed bluetooth and bluez packages. Here's what I get when I try to get a status:

root@debian# /etc/init.d/bluetooth status
bluetooth.service - Bluetooth service
          Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
          Active: active (running) since Thu, 01 Jan 1970 00:01:55 +0000; 43 years and 8 months ago
        Main PID: 316 (bluetoothd)
          CGroup: name=systemd:/system/bluetooth.service
                  รข 316 /usr/sbin/bluetoothd -n

Jan 01 00:01:55 debian bluetoothd[316]: Starting SDP server
Jan 01 00:01:55 debian bluetoothd[316]: bluetoothd[316]: Failed to init alert plugin
Jan 01 00:01:55 debian bluetoothd[316]: bluetoothd[316]: Failed to init time plugin
Jan 01 00:01:55 debian bluetoothd[316]: Failed to init alert plugin
Jan 01 00:01:55 debian bluetoothd[316]: Failed to init time plugin
Jan 01 00:01:55 debian bluetoothd[316]: bluetoothd[316]: Failed to init gatt_example plugin
Jan 01 00:01:55 debian bluetoothd[316]: bluetoothd[316]: Listening for HCI events on hci0
Jan 01 00:01:55 debian bluetoothd[316]: Failed to init gatt_example plugin
Jan 01 00:01:55 debian bluetoothd[316]: Listening for HCI events on hci0
Sep 03 15:30:47 debian bluetoothd[316]: bluetoothd[421]: Can't init device hci0: Connection timed out (110)

and here's part of my dmesg output:

[  111.000836] Bluetooth: Core ver 2.16
[  111.074921] NET: Registered protocol family 31
[  111.079460] Bluetooth: HCI device and connection manager initialized
[  111.085845] Bluetooth: HCI socket layer initialized
[  111.090762] Bluetooth: L2CAP socket layer initialized
[  111.363689] Bluetooth: SCO socket layer initialized
[  111.369621] Bluetooth: Generic Bluetooth USB driver ver 0.6
[  111.428383] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  111.453476] usbcore: registered new interface driver btusb
[  111.632094] Adding 1475580k swap on /dev/sda2.  Priority:0 extents:1 across:1475580k 
[  113.055720] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 100 Mb/s, full duplex, flow control disabled
[  113.065726] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  119.220992] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  119.226375] Bluetooth: BNEP filters: protocol multicast
[  123.455893] eth0: no IPv6 routers present

root@debian# rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

root@debian# lsusb -v
Bus 001 Device 004: ID 1310:0001 Roper Class 1 Bluetooth Dongle
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x1310 Roper
  idProduct          0x0001 Class 1 Bluetooth Dongle
  bcdDevice           15.00
  iManufacturer           1 SiW
  iProduct                2 SiW
  iSerial                 3 3A1E090D0B00
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          177
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               50mA
    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     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     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
Device Status:     0x0000
  (Bus Powered)

root@debian# hciconfig hci0 piscan
Can't set scan mode on hci0: Network is down (100)

root@debian# hcitool scan
Device is not available: No such device

root@debian# hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
( ~ )
root@debian# hciconfig hci0 reset
Can't init device hci0: Connection timed out (110)

root@debian# lsmod
Module                  Size  Used by
bnep                    9144  2 
btusb                  10383  1 
bluetooth             131219  10 btusb,bnep
rfkill                 14270  2 bluetooth
hmac                    2427  0 
sha1_generic            1740  0 
mv_cesa                 9361  0 
aes_generic            27588  1 mv_cesa
ipv6                  261367  50 
autofs4                19382  2 
ext3                  163387  1 
mbcache                 4464  1 ext3
jbd                    57469  1 ext3
sg                     18109  0 
sd_mod                 30976  3 
crc_t10dif              1110  1 sd_mod
usb_storage            35017  2 
scsi_mod              149345  3 usb_storage,sd_mod,sg
ehci_hcd               37177  0 
usbcore               121852  4 ehci_hcd,usb_storage,btusb
mvsdio                  5162  0 
mmc_core               77612  1 mvsdio
usb_common               648  1 usbcore
mv643xx_eth            22806  0 
inet_lro                4272  1 mv643xx_eth
libphy                 14472  1 mv643xx_eth



I have no idea where to look or where to go next to try and get bluetooth working. Can any of you suggest what I need to do or where to look?
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: