wireless - Ubuntu 13.10 laptop bluetooth not working properly

21
2014-04
  • razvanc

    I have an issue with bluetooth on Ubuntu 13.10 and I have no idea where to start looking. I finally gave a cat /var/log/syslog | grep -i bluetooth and this is what I got (after a sudo service bluetooth restart):

    Oct 25 19:30:02 razvan-asus bluetoothd[764]: Terminating
    Oct 25 19:30:02 razvan-asus bluetoothd[764]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSink
    Oct 25 19:30:02 razvan-asus bluetoothd[764]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSource
    Oct 25 19:30:02 razvan-asus bluetoothd[764]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/HFPAG
    Oct 25 19:30:02 razvan-asus bluetoothd[764]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/HFPHS
    Oct 25 19:30:02 razvan-asus bluetoothd[764]: Stopping SDP server
    Oct 25 19:30:02 razvan-asus bluetoothd[764]: Exit
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Bluetooth daemon 4.101
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Starting SDP server
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: DIS cannot start: GATT is disabled
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Failed to init deviceinfo plugin
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Failed to init proximity plugin
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Failed to init time plugin
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Failed to init alert plugin
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Failed to init thermometer plugin
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Failed to init gatt_example plugin
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Bluetooth Management interface initialized
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: input-headset driver probe failed for device 7C:61:93:D4:A5:8F
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Adapter /org/bluez/3231/hci0 has been enabled
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Unknown command complete for opcode 19
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: hci0: Get Connections (0x0015) failed: Not Powered (0x0f)
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/HFPAG
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/HFPHS
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSource
    Oct 25 19:30:02 razvan-asus bluetoothd[3231]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSink
    

    As I never worked with the bluetooth before (now I have some wireless speakers) I don't know how to diagnose the problem. Have any of you encountered this? or is just me?

    EDIT:

    I should add, the laptop I'm using is ASUS U31S

    EDIT2:

    Today I tried searching for a new device (a mouse) with the bluetooth "set up new device" and it worked. And after pairing I could access the speakers too. Prior to this hcitool dev would give nothing now I have:

    Devices:
            hci0    74:2F:68:69:BD:AD
    

    So... as far as I can detect, prior to pairing hci0 was down and after the search and successful pairing the device turned on and now the other connections work too... Any ideas? Thank you.

  • Answers
  • ezeedub

    Maybe this helps:

    I suspect your bluetooth not working on 13.10 can be attributed to a bug in the latest kernel.

    It can be fixed by installing a bazaar fork below:

    https://code.launchpad.net/~robert-ancell/indicator-bluetooth/dont-hide-on-rfkill

    Installation instructions can be found at:

    How do I install a bazaar fork in 13.10?

    The summary of commands to use:

    sudo apt-get install bzr build-essential 
    sudo apt-get build-dep indicator-bluetooth  
    bzr branch lp:~robert-ancell/indicator-bluetooth/dont-hide-on-rfkill  
    cd dont-hide-on-rfkill  
    dpkg-buildpackage  
    cd ..
    sudo dpkg -i indicator-bluetooth_0.0.6daily13.02.19-0ubuntu1_amd64.deb
    

    Restart the system.

    Details are at Bluetooth issues after Saucy upgrade


  • Related Question

    10.10 - Bluetooth DUN Tethering fails
  • tacone

    I have an HTC Desire HD, with Android Froyo (2.2) and PDANet installed. I am using Ubuntu 10.10.

    I cannot tether it over Bluetooth either with Network Manager or BlueMan. (note, I installed Blueman only after failing with NetWork manager, and I even tried the last version from the PPA).

    With both my device is discovered, paired, setup. But connecting always fail.

    • Network manager says it cannot get the details of my device
    • Blueman says Connection Refused (111)

    Here are some relevant entries from syslog.

    Mar 11 22:13:00 tacone-macbook bluetoothd[2242]: Bluetooth deamon 4.69
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: Starting SDP server
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: Starting experimental netlink support
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: Failed to find Bluetooth netlink family
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: Failed to init netlink plugin
    Mar 11 22:13:00 tacone-macbook kernel: [  158.284357] Bluetooth: L2CAP ver 2.14
    Mar 11 22:13:00 tacone-macbook kernel: [  158.284361] Bluetooth: L2CAP socket layer initialized
    Mar 11 22:13:00 tacone-macbook kernel: [  158.446781] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    Mar 11 22:13:00 tacone-macbook kernel: [  158.446784] Bluetooth: BNEP filters: protocol multicast
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: HCI dev 0 registered
    Mar 11 22:13:00 tacone-macbook kernel: [  158.569481] Bluetooth: SCO (Voice Link) ver 0.6
    Mar 11 22:13:00 tacone-macbook kernel: [  158.569484] Bluetooth: SCO socket layer initialized
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: HCI dev 0 up
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: Starting security manager 0
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: ioctl(HCIUNBLOCKADDR): Invalid argument (22)
    Mar 11 22:13:00 tacone-macbook kernel: [  158.818600] Bluetooth: RFCOMM TTY layer initialized
    Mar 11 22:13:00 tacone-macbook kernel: [  158.818607] Bluetooth: RFCOMM socket layer initialized
    Mar 11 22:13:00 tacone-macbook kernel: [  158.818610] Bluetooth: RFCOMM ver 1.11
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: probe failed with driver input-headset for device /org/bluez/2242/hci0/dev_F8_DB_7F_AF_6B_EE
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: Adapter /org/bluez/2242/hci0 has been enabled
    Mar 11 22:13:00 tacone-macbook pulseaudio[1757]: bluetooth-util.c: Error from ListDevices reply: org.freedesktop.DBus.Error.AccessDenied
    Mar 11 22:13:00 tacone-macbook NetworkManager[1247]: <warn> bluez error getting adapter properties: Rejected send message, 1 matched rules; type="method_call", sender=":1.4" (uid=0 pid=1247 comm="NetworkManager) interface="org.bluez.Adapter" member="GetProperties" error name="(unset)" requested_reply=0 destination="org.bluez" (uid=0 pid=2242 comm="/usr/sbin/bluetoothd))
    Mar 11 22:13:00 tacone-macbook bluetoothd[2243]: return_link_keys (sba=00:23:6C:B5:03:6F, dba=00:23:6C:C0:F1:B0)
    Mar 11 22:13:00 tacone-macbook pulseaudio[1757]: bluetooth-util.c: Error from GetProperties reply: org.freedesktop.DBus.Error.AccessDenied
    Mar 11 22:15:02 tacone-macbook bluetoothd[2243]: Discovery session 0x2262d7c0 with :1.45 activated
    Mar 11 22:15:15 tacone-macbook bluetoothd[2243]: Stopping discovery
    Mar 11 22:15:15 tacone-macbook pulseaudio[1757]: bluetooth-util.c: Error from GetProperties reply: org.freedesktop.DBus.Error.AccessDenied
    Mar 11 22:15:16 tacone-macbook bluetoothd[2243]: link_key_request (sba=00:23:6C:B5:03:6F, dba=F8:DB:7F:AF:6B:EE)
    Mar 11 22:15:16 tacone-macbook bluetoothd[2243]: io_capa_request (sba=00:23:6C:B5:03:6F, dba=F8:DB:7F:AF:6B:EE)
    Mar 11 22:15:17 tacone-macbook bluetoothd[2243]: io_capa_response (sba=00:23:6C:B5:03:6F, dba=F8:DB:7F:AF:6B:EE)
    Mar 11 22:15:18 tacone-macbook bluetoothd[2243]: Stopping discovery
    Mar 11 22:15:28 tacone-macbook bluetoothd[2243]: link_key_notify (sba=00:23:6C:B5:03:6F, dba=F8:DB:7F:AF:6B:EE, type=5)
    Mar 11 22:15:28 tacone-macbook kernel: [  306.585725] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:15:28 tacone-macbook kernel: [  306.630757] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:15:28 tacone-macbook bluetoothd[2243]: Authentication requested
    Mar 11 22:15:28 tacone-macbook bluetoothd[2243]: link_key_request (sba=00:23:6C:B5:03:6F, dba=F8:DB:7F:AF:6B:EE)
    Mar 11 22:15:28 tacone-macbook kernel: [  306.784829] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:15:28 tacone-macbook kernel: [  306.857861] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:15:29 tacone-macbook bluetoothd[2243]: probe failed with driver input-headset for device /org/bluez/2242/hci0/dev_F8_DB_7F_AF_6B_EE
    Mar 11 22:15:29 tacone-macbook pulseaudio[1757]: bluetooth-util.c: Error from GetProperties reply: org.freedesktop.DBus.Error.AccessDenied
    Mar 11 22:15:29 tacone-macbook pulseaudio[1757]: last message repeated 8 times
    Mar 11 22:15:29 tacone-macbook bluetoothd[2243]: Stopping discovery
    Mar 11 22:15:30 tacone-macbook modem-manager: (tty/rfcomm0): could not get port's parent device
    Mar 11 22:15:30 tacone-macbook modem-manager: (rfcomm0) opening serial device...
    Mar 11 22:15:30 tacone-macbook modem-manager: (rfcomm0): probe requested by plugin 'Generic'
    Mar 11 22:15:43 tacone-macbook modem-manager: (rfcomm0) closing serial device...
    Mar 11 22:15:43 tacone-macbook modem-manager: (rfcomm0) opening serial device...
    Mar 11 22:15:49 tacone-macbook modem-manager: (rfcomm0) closing serial device...
    Mar 11 22:16:15 tacone-macbook modem-manager: (tty/rfcomm0): could not get port's parent device
    Mar 11 22:16:19 tacone-macbook kernel: [  357.375108] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:16:24 tacone-macbook bluetoothd[2243]: link_key_request (sba=00:23:6C:B5:03:6F, dba=F8:DB:7F:AF:6B:EE)
    Mar 11 22:16:24 tacone-macbook kernel: [  362.169506] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:16:24 tacone-macbook kernel: [  362.215529] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:16:24 tacone-macbook bluetoothd[2243]: link_key_request (sba=00:23:6C:B5:03:6F, dba=F8:DB:7F:AF:6B:EE)
    Mar 11 22:16:24 tacone-macbook kernel: [  362.281559] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:16:24 tacone-macbook kernel: [  362.330588] l2cap_recv_acldata: Unexpected continuation frame (len 0)
    Mar 11 22:16:24 tacone-macbook modem-manager: (tty/rfcomm0): could not get port's parent device
    

    Any help ?

    PS: tethering via USB or WiFi is not an option, I need to do it over Bluetooth.


  • Related Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.