You are not logged in.
Pages: 1
I can not make Biuetooth connection.
Has read and has repeated http://doc.slitaz.org/en:guides:bluetooth
Packets are installed:
blueman-1.10.tazpkg
bluez-4.96.tazpkg
bluez-dev-4.96.tazpkg
python-pybluez-0.18.tazpkg
usbutils.tazpkg
My file rfcomm.conf:
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device
device 00:0D:B5:30:D3:E5;
#
# # RFCOMM channel for the connection
channel 1;
#
# # Description of the connection
comment "GlobalSat BT-338 BT-GPS-30D3E5";
}
--------------------------------------------------
Search of local BT-device:
--------------------------
root@slitaz:~# hcitool dev
Devices:
hci0 00:15:83:3D:0A:57
root@slitaz:~# hci0 piscan
/bin/sh: hci0: not found
root@slitaz:~# hcitool scan
Scanning ...
00:0D:B5:30:D3:E5 BT-GPS-30D3E5
root@slitaz:~# hciconfig hci0 piscan
1 variant of connection:
------------------------
root@slitaz:~# bluez-simple-agent
Traceback (most recent call last):
File "/usr/bin/bluez-simple-agent", line 8, in <module>
import dbus.mainloop.glib
File "/usr/lib/python2.7/site-packages/dbus/mainloop/glib.py", line 29, in <module>
from _dbus_glib_bindings import DBusGMainLoop, gthreads_init
ImportError: /usr/lib/libdbus-glib-1.so.2: undefined symbol: g_mutex_unlock
2 variant of connection:
------------------------
root@slitaz:~# bluez-simple-agent hci0 00:0D:B5:30:D3:E5
Traceback (most recent call last):
File "/usr/bin/bluez-simple-agent", line 8, in <module>
import dbus.mainloop.glib
File "/usr/lib/python2.7/site-packages/dbus/mainloop/glib.py", line 29, in <module>
from _dbus_glib_bindings import DBusGMainLoop, gthreads_init
ImportError: /usr/lib/libdbus-glib-1.so.2: undefined symbol: g_mutex_unlock
root@slitaz:~#
Something is wrong in/usr/lib/libdbus-glib-1.so.2 ?
Offline
According to guide I installed bluez, auto-installed dependency linux-bluetooth.
Started bluetoothd and modprobe btusb.
[c]# hcitool dev
Devices:
#[/c]
I.e. empty.
Difference between two commands lsusb:
[c]Bus 002 Device 003: ID 0c10:0000[/c]
Install blueman, not run, garbage in terminal. Install python-pybluez manually (I think, this is depend should install automatically), blueman-manager GUI started with empty main pane.
Started hardinfo (Menu→System→System Information)
In the Devices→USB Devices I see Bluetooth Device:
[c]Device Information
Product Bluetooth Device
Manufacturer Bluetooth Device
Port #0
Speed 12,00Mbit/s
Max Current 50mA
Misc
USB Version 1,00
Revision 20,00
Class 0xb77ffb14
Vendor 0xc10
ProductID 0x0
Bus 2
Level 1[/c]
In the lshw (I've compiled & packed it) I see under Computer→Motherboard→Host bridge→USB controller→UHCI Host Controller [1D6B:1]→Keyboard:
Keyboard
[c]/0/100/1d/1/1[/c]
product: Bluetooth Device [C10:0]
vendor: Bluetooth Device [C10]
bus info: usb@2:1
version: 20.05
capabilities:
USB 1.1
configuration:
driver: btusb
maxpower: 50mA
speed: 12Mbit/s
Why keyboard? I don't know…
By the way here list of all Bluetooth related packages on the mirror. And linux-bluetooth package have several modules:
[*]/lib/modules/2.6.37-slitaz/kernel/net/bluetooth/rfcomm/rfcomm.ko.gz
[*]/lib/modules/2.6.37-slitaz/kernel/net/bluetooth/l2cap.ko.gz
[*]/lib/modules/2.6.37-slitaz/kernel/net/bluetooth/sco.ko.gz
[*]/lib/modules/2.6.37-slitaz/kernel/net/bluetooth/bluetooth.ko.gz
[*]/lib/modules/2.6.37-slitaz/kernel/drivers/bluetooth/btsdio.ko.gz
[*]/lib/modules/2.6.37-slitaz/kernel/drivers/bluetooth/bcm203x.ko.gz
[*]/lib/modules/2.6.37-slitaz/kernel/drivers/bluetooth/btusb.ko.gz
[*]/lib/modules/2.6.37-slitaz/kernel/drivers/bluetooth/hci_uart.ko.gz
From the manual:
And load the module required by your local bluetooth device, this is very likely btusb:
[c]# modprobe btusb[/c]
Why if not?? I modprobed all these modules, but no luck.
Offline
For my device it's bluetooth not btusb - so modprobe bluetooth as root then start bluetoothd
Offline
I repeaat
---------
root@slitaz:~# modprobe bluetooth
root@slitaz:~# bluetoothd
root@slitaz:~# hcitool scan
Scanning ...
00:0D:B5:30:D3:E5 BT-GPS-30D3E5
root@slitaz:~# bluez-simple-agent hci0 00:0D:B5:30:D3:E5
Traceback (most recent call last):
File "/usr/bin/bluez-simple-agent", line 8, in <module>
import dbus.mainloop.glib
File "/usr/lib/python2.7/site-packages/dbus/mainloop/glib.py", line 29, in <module>
from _dbus_glib_bindings import DBusGMainLoop, gthreads_init
ImportError: /usr/lib/libdbus-glib-1.so.2: undefined symbol: g_mutex_unlock
root@slitaz:~#
And Bluetooth-Manager ("Blueman") NOT started.
What is wrong?
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]