Author Topic: bluetooth  (Read 3776 times)

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
bluetooth
« on: March 06, 2011, 08:14:57 AM »
How can i use bluetooth in LXDE?

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: bluetooth
« Reply #1 on: March 06, 2011, 09:43:03 AM »
use blueman

Quote from: description
Full featured bluetooth manager for GNOME/GTK
Blueman is designed to provide simple, yet effective means for
controlling BlueZ API and simplifying bluetooth tasks such as:

* Connecting to 3G/EDGE/GPRS via dial-up
* Connecting to/Creating bluetooth networks
* Connecting to input devices
* Connecting to audio devices
* Sending/Receiving/Browsing files via OBEX
* Pairing

Blueman also integrates with Network Manager 0.7, so any Dialup/Network
 connections will be made available (via HAL) to Network Manager.
Good luck

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
Re: bluetooth
« Reply #2 on: March 06, 2011, 10:09:20 AM »
I installed it but when i run it, nothing happens  ???

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: bluetooth
« Reply #3 on: March 06, 2011, 10:13:17 AM »
What is a no go?
I use it, and i get my picture from my handy...
If bluetooth running?

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
Re: bluetooth
« Reply #4 on: March 06, 2011, 11:37:45 AM »
Here is the output when i run the command from the command line:

[mahmood@localhost ~]$ blueman-manager
Loading configuration plugins
Using gconf config backend
_________
on_bluez_name_owner_changed (/usr/bin/blueman-manager:104)
org.bluez owner changed to  :1.5
Using gconf config backend
ERROR:dbus.proxies:Introspect error on org.blueman.Applet:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 586, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/bin/blueman-manager", line 132, in on_bluez_name_owner_changed
    if not self.Applet.GetBluetoothStatus():
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

Kindly help  :'(

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: bluetooth
« Reply #5 on: March 06, 2011, 11:49:15 AM »
What the messages from with commands...

Code: [Select]
lsmod | grep bluetooth
and
Code: [Select]
lshal | grep bluetooth
You are sure, that bluetooth is running?

If libbluez3 installed?

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
Re: bluetooth
« Reply #6 on: March 06, 2011, 12:08:46 PM »
lsmod output:

[root@localhost mahmood]# lsmod | grep bluetooth
bluetooth              43913  9 rfcomm,sco,bnep,l2cap,btusb
rfkill                 13919  4 dell_laptop,cfg80211,bluetooth

lshal output:

[root@localhost mahmood]# lshal | grep bluetooth
udi = '/org/freedesktop/Hal/devices/dell_bluetooth_switch'
  info.udi = '/org/freedesktop/Hal/devices/dell_bluetooth_switch'  (string)
  killswitch.type = 'bluetooth'  (string)
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8103_noserial_if0_bluetooth_hci_0'
  bluetooth_hci.address = 0  (0x0)  (uint64)
  bluetooth_hci.originating_device = '/org/freedesktop/Hal/devices/usb_device_413c_8103_noserial_if0'  (string)
  info.capabilities = {'bluetooth_hci'} (string list)
  info.category = 'bluetooth_hci'  (string)
  info.subsystem = 'bluetooth'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413c_8103_noserial_if0_bluetooth_hci_0'  (string)
  linux.subsystem = 'bluetooth'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/bluetooth/hci0'  (string)
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8103_noserial_if0_bluetooth_hci_0_rfkill_hci0_bluetooth'
  info.parent = '/org/freedesktop/Hal/devices/usb_device_413c_8103_noserial_if0_bluetooth_hci_0'  (string)
  info.product = 'hci0 bluetooth Killswitch'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_413c_8103_noserial_if0_bluetooth_hci_0_rfkill_hci0_bluetooth'  (string)
  killswitch.type = 'bluetooth'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/bluetooth/hci0/rfkill0'  (string)

both of the above commands were run after doing 'su' since lsmod was unexecutable from my id.

I checked, libbluez3 is installed.


when i ran blueman-manager from root, the following output was shown:

[root@localhost mahmood]# blueman-manager
Loading configuration plugins
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: bluetooth
« Reply #7 on: March 06, 2011, 12:12:03 PM »
Okay, here ends my ideas, sorry, maybe a other user has more informations for you

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
Re: bluetooth
« Reply #8 on: March 06, 2011, 11:43:35 PM »
I tried Pardus 2011, and I managed to use bluetooth device, which shows that my device is OK. can it be because PCLOS has kernel 2.6.33 while Pardus has 2.6.37???

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: bluetooth
« Reply #9 on: March 06, 2011, 11:48:00 PM »
Update your kernel and find out.  ;)
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
Re: bluetooth
« Reply #10 on: March 06, 2011, 11:49:38 PM »
how to update it  ;D

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: bluetooth
« Reply #11 on: March 07, 2011, 12:11:03 AM »
OK. In a terminal,

su -
bluetoothd -u
exit
exit

Now check Bluetooth Manager and see if your device is listed.

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: bluetooth
« Reply #12 on: March 07, 2011, 12:28:52 AM »
how to update it  ;D

Go to synaptic and search for "kernel"  Choose the one you desire.

But first listen what the boss has to say:


OK. In a terminal,

su -
bluetoothd -u
exit
exit

Now check Bluetooth Manager and see if your device is listed.
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
Re: bluetooth
« Reply #13 on: March 07, 2011, 09:38:01 AM »
after 'su -' and 'bluetoothd -u'

i checked using lsusb:


[root@localhost ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

when i exited from root and went back to my id:

[mahmood@localhost ~]$ blueman-manager
Loading configuration plugins
Using gconf config backend
_________
on_bluez_name_owner_changed (/usr/bin/blueman-manager:104)
org.bluez owner changed to  :1.5
Using gconf config backend
ERROR:dbus.proxies:Introspect error on org.blueman.Applet:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 586, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/bin/blueman-manager", line 132, in on_bluez_name_owner_changed
    if not self.Applet.GetBluetoothStatus():
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
 

Offline mahmoodkamal

  • Jr. Member
  • **
  • Posts: 31
Re: bluetooth
« Reply #14 on: March 07, 2011, 11:36:44 PM »
It appears no one has any solution to my problem  :'(