This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Bluetooth

Tags: None
(comma "," separated)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Bluetooth

Sun Feb 20, 2011 9:08 am
Installing D-Bus and Bluez from source should not be needed. If you previously did this, I would suggest removing the from source installations, and using apt-get to install them.

If you used apt-get to install them and it didn't work, you need to contact your distributor by filing a bug in their bug tracker, as it seems that you are either missing a package, are using mismatched packages, have a local configuration issue or have exposed a defect in the packaging.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
leslie88
Registered Member
Posts
14
Karma
0
OS

Re: Bluetooth

Sun Feb 20, 2011 2:15 pm
Hi!
My system collapsed with dbus error today.

I'll reinstall it ( or I'll back to the WinXP :( ).

Is possible wipe out any new bluetooth apps and return back to the kbluetooth ( or gnome-bluetooth ), which are work?

I wrote, so since the new version of bluetooth got into the official packages, my bluetooth ended. ( from UBUNTU 9.04 or from DEBIAN 6.0,0 or from MINT 10 etc. The PC hardware remained same ).
I send my problem to launchpad, but no result:
https://bugs.launchpad.net/ubuntu/+sour ... bug/533730

I downloaded kbluetooth source package, but it have CMake.txt. I can't to use it, because I'm a user, not an expert.
I want to leave behind me the Windows, but the bluetooth is the last problem.

This is a trap.

best regards: -=L=-


Why 42?
leslie88
Registered Member
Posts
14
Karma
0
OS

Re: Bluetooth

Thu Feb 24, 2011 11:14 am
Hi all!

Some new things...
hciconfig from Debian 5.0.8 Lenny :

debian5:/home/vlad# hciconfig -a
hci0: Type: USB
BD Address: 00:10:60:A8:27:06 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:958 acl:0 sco:0 events:25 errors:0
TX bytes:347 acl:0 sco:0 commands:24 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'debian5-0'
Class: 0x080104
Service Classes: Capturing
Device Class: Computer, Desktop workstation
HCI Ver: 1.1 (0x1) HCI Rev: 0x460 LMP Ver: 1.1 (0x1) LMP Subver: 0x460
Manufacturer: Cambridge Silicon Radio (10)

and hciconfig from Debian 6.0 Squeeze :

root@debian6kde:~# hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: 00:10:60:A8:27:06 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:1803 acl:0 sco:0 events:35 errors:0
TX bytes:128 acl:0 sco:0 commands:35 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: 'James-1711����'
Class: 0x4a0104
Service Classes: Networking, Capturing, Telephony
Device Class: Computer, Desktop workstation
HCI Version: 1.1 (0x1) Revision: 0x460
LMP Version: 1.1 (0x1) Subversion: 0x460
Manufacturer: Cambridge Silicon Radio (10)

Where is the link policy?
Who is 'James-1711????' ?
What is '0X4a0104' ?
Where is the hci.conf ( file )?

Does anybody help me?

Best regards : -=L=-


Why 42?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Bluetooth

Thu Feb 24, 2011 9:42 pm
The configuration of hciconfig does not affect the presence of org.bluez on the system dbus instance.

Try running "/usr/sbin/bluetoothd" as root, to see if that makes org.bluez appear on the system dbus instance.

Code: Select all
qdbus --system org.bluez


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
leslie88
Registered Member
Posts
14
Karma
0
OS

Re: Bluetooth

Fri Feb 25, 2011 5:06 pm
Hi!

xxxx@debian6kde:~$ su
Password:
root@debian6kde:/usr/bin# bluetoothd

The icon appeared in system tray

root@debian6kde:/usr/bin# qdbus --system org.bluez
Service 'org.bluez' does not exist.
root@debian6kde:/usr/bin#

and no adapter found...

root@debian6kde:~# sdptool browse 00:10:60:A8:27:06
Failed to connect to SDP server on 00:10:60:A8:27:06: No route to host


Why 42?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Bluetooth

Fri Feb 25, 2011 10:20 pm
Can you verify that bluetoothd remains running after you execute it? If it doesn't, you may find running it with the -d (debug) argument helpful.
Code: Select all
bluetoothd -n -d


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
leslie88
Registered Member
Posts
14
Karma
0
OS

Re: Bluetooth

Sat Feb 26, 2011 12:54 pm
Hi!

root@debian6kde:~# bluetoothd -n -d
bluetoothd[2234]: Bluetooth deamon 4.66
bluetoothd[2234]: Parsing /etc/bluetooth/main.conf failed: Key file contains line '08[General]' which is not a key-value pair, group, or comment
bluetoothd[2234]: Starting SDP server
bluetoothd[2234]: binding L2CAP socket: Address already in use
bluetoothd[2234]: Server initialization failed
bluetoothd[2234]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[2234]: src/plugin.c:add_plugin() Loading pnat plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading audio plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading serial plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading service plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading hciops plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading hal plugin
bluetoothd[2234]: src/plugin.c:add_plugin() Loading storage plugin
bluetoothd[2234]: src/plugin.c:plugin_init() Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[2234]: src/plugin.c:add_plugin() Loading netlink plugin
bluetoothd[2234]: plugins/service.c:register_interface() path /org/bluez/2234/any
bluetoothd[2234]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/2234/any
bluetoothd[2234]: Starting experimental netlink support
bluetoothd[2234]: Failed to find Bluetooth netlink family
bluetoothd[2234]: Failed to init netlink plugin
bluetoothd[2234]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'Disable'
bluetoothd[2234]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity'
bluetoothd[2234]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'Interface'
bluetoothd[2234]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'Interface'
bluetoothd[2234]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'Interface'
bluetoothd[2234]: network/manager.c:read_config() Config options: InterfacePrefix=bnep%d, PANU_Script=(null), GN_Script=(null), NAP_Script=(null), GN_Interface=pan0, NAP_Interface=pan1, Security=true
bluetoothd[2234]: Can't create GN bridge
bluetoothd[2234]: input/manager.c:input_manager_init() input.conf: Key file does not have key 'IdleTimeout'
bluetoothd[2234]: Can't bind unix socket: Address already in use (98)
bluetoothd[2234]: Unable to setup unix socket
bluetoothd[2234]: Failed to init audio plugin
bluetoothd[2234]: plugins/pnat.c:pnat_init() Setup Phonet AT (DUN) plugin
bluetoothd[2234]: HCI dev 0 registered
bluetoothd[2234]: plugins/hciops.c:init_device() child 2235 forked
bluetoothd[2234]: src/adapter.c:btd_adapter_ref() btd_adapter_ref(0xb8814350): ref=1
bluetoothd[2234]: HCI dev 0 up
bluetoothd[2234]: Starting security manager 0
bluetoothd[2234]: src/adapter.c:adapter_start() Stopping Inquiry at adapter startup
bluetoothd[2234]: plugins/service.c:register_interface() path /org/bluez/2234/hci0
bluetoothd[2234]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/2234/hci0
bluetoothd[2234]: network/manager.c:network_server_probe() path /org/bluez/2234/hci0
bluetoothd[2234]: src/adapter.c:btd_adapter_ref() btd_adapter_ref(0xb8814350): ref=2
bluetoothd[2234]: l2cap_bind: Address already in use (98)
bluetoothd[2234]: src/adapter.c:btd_adapter_unref() btd_adapter_unref(0xb8814350): ref=1
bluetoothd[2234]: network-panu-server: Invalid argument (22)
bluetoothd[2234]: network/manager.c:network_server_probe() path /org/bluez/2234/hci0
bluetoothd[2234]: src/adapter.c:btd_adapter_ref() btd_adapter_ref(0xb8814350): ref=2
bluetoothd[2234]: l2cap_bind: Address already in use (98)
bluetoothd[2234]: src/adapter.c:btd_adapter_unref() btd_adapter_unref(0xb8814350): ref=1
bluetoothd[2234]: network-gn-server: Invalid argument (22)
bluetoothd[2234]: network/manager.c:network_server_probe() path /org/bluez/2234/hci0
bluetoothd[2234]: src/adapter.c:btd_adapter_ref() btd_adapter_ref(0xb8814350): ref=2
bluetoothd[2234]: l2cap_bind: Address already in use (98)
bluetoothd[2234]: src/adapter.c:btd_adapter_unref() btd_adapter_unref(0xb8814350): ref=1
bluetoothd[2234]: network-nap-server: Invalid argument (22)
bluetoothd[2234]: serial/manager.c:proxy_probe() path /org/bluez/2234/hci0
bluetoothd[2234]: src/adapter.c:btd_adapter_ref() btd_adapter_ref(0xb8814350): ref=2
bluetoothd[2234]: serial/proxy.c:proxy_register() Registered interface org.bluez.SerialProxyManager on path /org/bluez/2234/hci0
bluetoothd[2234]: Failed to listen on control channel
bluetoothd[2234]: input-server: Operation not permitted (1)
bluetoothd[2234]: Failed to start DUN server: rfcomm_bind: Address already in use (98)
bluetoothd[2234]: pnat-server: Input/output error (5)
bluetoothd[2234]: ioctl(HCIUNBLOCKADDR): Invalid argument (22)
bluetoothd[2234]: Adapter /org/bluez/2234/hci0 has been enabled
bluetoothd[2234]: src/main.c:main() Entering main loop
bluetoothd[2234]: plugins/hal.c:formfactor_reply() Computer is classified as desktop
bluetoothd[2234]: plugins/hal.c:formfactor_reply() Setting 0x000104 for major/minor device class
bluetoothd[2234]: src/adapter.c:btd_adapter_set_class() Changing Major/Minor class to 0x000104
bluetoothd[2234]: src/rfkill.c:rfkill_event() RFKILL event idx 0 type 2 op 0 soft 0 hard 0
bluetoothd[2234]: src/adapter.c:register_agent() Agent registered for hci0 at :1.17:/blueDevil_agent
bluetoothd[2234]: Inquiry Failed with status 0x0c
bluetoothd[2234]: plugins/hciops.c:child_exit() child 2235 exited

That's all.
Best regards -=L=-


Why 42?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Bluetooth

Sat Feb 26, 2011 8:26 pm
Can you please check the list of processes for any "bluetoothd", "pand" or similarly named processes? It seems that something is using the bluetooth adapter already...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
leslie88
Registered Member
Posts
14
Karma
0
OS

Re: Bluetooth

Sat Feb 26, 2011 11:21 pm
Hi!

root@debian6kde:~# ps aux | grep blue
root 640 0.0 0.0 0 0 ? S Feb26 0:00 [bluetooth]
root 1401 0.0 0.1 4016 1420 ? Ss Feb26 0:00 /usr/sbin/bluetoothd
root 2448 0.0 0.1 4016 1540 ? S Feb26 0:00 bluetoothd -n -d
vlad 2452 0.0 1.0 58164 10480 ? S Feb26 0:00 /usr/bin/bluedevil-helper
root 2749 0.0 0.0 3296 688 pts/2 D+ 00:17 0:00 grep blue
root@debian6kde:~# ps aux | grep pand
root 2751 0.0 0.0 3296 740 pts/2 S+ 00:18 0:00 grep pand
root@debian6kde:~#

Is it OK?
Regards -=L=-


Why 42?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Bluetooth

Sun Feb 27, 2011 10:17 pm
That seems fine, although you have two instances of bluetoothd running.

In any case, does org.bluez appear on the system D-Bus server now?
Code: Select all
qdbus --system org.bluez


If it doesn't, try the following (as root):
Code: Select all
killall -9 bluetoothd
sleep 5s
bluetoothd


Then run the qdbus command above again.
If this doesn't work, I suggest you ask your distribution which packages are needed to make org.bluez appear on the system D-Bus server.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
leslie88
Registered Member
Posts
14
Karma
0
OS

Re: Bluetooth

Mon Feb 28, 2011 2:11 pm
Hi!

root@debian6kde:~# qdbus --system org.bluez
Service 'org.bluez' does not exist.
root@debian6kde:~# killall -9 bluetoothd
root@debian6kde:~# sleep 5s
root@debian6kde:~# bluetoothd
root@debian6kde:~# qdbus --system org.bluez
Service 'org.bluez' does not exist
root@debian6kde:~#

Yesterday I played my daugther's HP 6730s laptop. The laptop has an embedded Bluetooth, Wireless etc. adapter. I started the system from my Mint10 Julia KDE live DVD.
I switched on the laptop's bluetooth adapter, and, what a miracle!, it connected to my phone.
After I put my CSR bluetooth adapter, and : "No adapter found". When both adapter was in on same time, "No adapter found".
When I outed the CSR adapter, everything run OK again.
I think, the problem is somewhere the network management, because
the Mint (Squeeze and/or the new systems) try to use the adapter for wireless network connection first, but my "old" CSR adapter awkward for it.
Sorry, but I don't understand this:
"If this doesn't work, I suggest you ask your distribution which packages are needed to make org.bluez appear on the system D-Bus server."
I use the official Debian 6.0.0 Squeeze KDE :
http://cdimage.debian.org/debian-cd/6.0 ... e-CD-1.iso

Best regards : -=L=-


Why 42?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Bluetooth

Tue Mar 01, 2011 5:52 am
Mint 10 is based on Debian in the long run I believe. I suggest you file a bug in Debian bug tracking system regarding this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
franciscok
Registered Member
Posts
3
Karma
0

Re: Bluetooth

Fri May 22, 2015 11:18 pm
bluedevil-wizard worked for me, it detected the bluetooth dongle, but still no icon.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar