You are not logged in.

#1 2012-04-27 00:35:00

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Can't connect to bluetooth devices, rfcomm

On Kubuntu Live CD my every bluetooth device works out of the box, so it can be fixed somehow smile

I can scan, pair, add devices via blueman-applet, but I can't connect. Blueman-applet shows this error:

Run (/usr/lib/python2.7/site-packages/blueman/main/PluginManager.py:216)
Function on_request_menu_items on Services Failed 
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/blueman/main/PluginManager.py", line 220, in Run
    ret = getattr(inst, function)(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/blueman/plugins/manager/Services.py", line 48, in on_request_menu_items
    ports_list = rfcomm_list()
  File "_blueman.pyx", line 174, in _blueman.rfcomm_list
Exception: ERR_SOCKET_FAILED

Interesting things:

# rfcomm         
Can't open RFCOMM control socket: Protocol not supported
#dmesg | grep Bluetooth
[    2.181583] Bluetooth: Core ver 2.16
[    2.181603] Bluetooth: HCI device and connection manager initialized
[    2.181606] Bluetooth: HCI socket layer initialized
[    2.181609] Bluetooth: L2CAP socket layer initialized
[    2.181614] Bluetooth: SCO socket layer initialized

But it should have this:

Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11


# /etc/rc.d/bluetooth start
everything.log:

Apr 27 02:31:38 localhost bluetoothd[26125]: Starting SDP server
Apr 27 02:31:38 localhost bluetoothd[26125]: Failed to open control socket: Protocol not supported (93)
Apr 27 02:31:38 localhost bluetoothd[26125]: Can't init bnep module
Apr 27 02:31:38 localhost bluetoothd[26125]: Failed to init network plugin
Apr 27 02:31:38 localhost bluetoothd[26125]: Listening for HCI events on hci0
Apr 27 02:31:38 localhost bluetoothd[26125]: HCI dev 0 up
Apr 27 02:31:38 localhost bluetoothd[26125]: socket(STREAM, RFCOMM): Protocol not supported (93)
Apr 27 02:31:38 localhost bluetoothd[26125]: audio-headset: Operation not permitted (1)
Apr 27 02:31:38 localhost bluetoothd[26125]: input-headset driver probe failed for device 00:1E:3A:1A:38:F1
Apr 27 02:31:38 localhost bluetoothd[26125]: input-headset driver probe failed for device B0:D0:9C:BC:8A:C5
Apr 27 02:31:38 localhost bluetoothd[26125]: Unable to load keys to adapter_ops: Function not implemented (38)
Apr 27 02:31:38 localhost bluetoothd[26125]: Adapter /org/bluez/26125/hci0 has been enabled

Offline

#2 2012-04-28 12:54:52

dext
Member
From: Poland, Kraków
Registered: 2008-02-01
Posts: 98

Re: Can't connect to bluetooth devices, rfcomm

Solved - kind of...

On linux-lts 3.0.29-1 bluetooth works fine.

On linux 3.3.3-1 doesn't.

Hardware: Thinkpad T61, Bluetooth: http://www.thinkwiki.org/wiki/ThinkPad_ … te_(BDC-2)

As I understand, it is bluetooth working over USB interface.

Offline

Board footer

Powered by FluxBB