Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to properly set up Bluetooth
Date: Tue, 18 Feb 2014 14:42:55
Message-Id: 3575.1392734566@ccs.covici.com
In Reply to: [gentoo-user] How to properly set up Bluetooth by Ralf
1 Ralf <ralf+gentoo@×××××××××××××××××××.de> wrote:
2
3 > Hi,
4 >
5 > i'm trying to set up a simple bluetooth keyboard, but somehow it won't
6 > work :-)
7 >
8 > This is my setup:
9 > Systemd + GDM + Fluxbox (this is the easiest way for me to use
10 > gnome-stuff like gnome-keyring-daemon, ... In the background my fluxbox
11 > is also running a gnome-settings-daemon)
12 >
13 > hcitool dev successfully detects my bluetooth device.
14 >
15 > According to [1] I tried to set up my keyboard using the command line.
16 > But actually simple-agent doesn't seem to be available in bluez 5.x.
17 > So I tried to use blueman-applet. This is a snippet of the output of
18 > blueman-applet:
19 >
20 > Function on_manager_state_changed on RecentConns Failed
21 > Traceback (most recent call last):
22 > File
23 > "/usr/lib64/python2.7/site-packages/blueman/main/PluginManager.py",
24 > line 220, in Run
25 > ret = getattr(inst, function)(*args, **kwargs)
26 > File
27 > "/usr/lib64/python2.7/site-packages/blueman/plugins/applet/RecentConns.py",
28 > line 195, in on_manager_state_changed
29 > adapters = self.Applet.Manager.ListAdapters()
30 > File "/usr/lib64/python2.7/site-packages/blueman/bluez/utils.py",
31 > line 28, in warp
32 > raise errors.parse_dbus_error(exception)
33 > DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method
34 > "ListAdapters" with signature "" on interface "org.bluez.Manager"
35 > doesn't exist
36 >
37 >
38 > It seems to me that this is a dbus problem or something like that, but I
39 > don't know what I am doing wrong.
40 > I started "systemctl start bluetooth" and my user is in the group plugdev.
41 >
42 > Any suggestions?
43 >
44 > [1] http://wiki.gentoo.org/wiki/Bluetooth
45
46 I would like to have simple-agent back as well, at least the script part
47 -- I think the other bits are still there, why they would take away
48 something so ssimple I have no idea.
49
50
51 --
52 Your life is like a penny. You're going to lose it. The question is:
53 How do
54 you spend it?
55
56 John Covici
57 covici@××××××××××.com