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 17:28:14
Message-Id: 28206.1392744479@ccs.covici.com
In Reply to: Re: [gentoo-user] How to properly set up Bluetooth by Ralf
1 Ralf <ralf+gentoo@×××××××××××××××××××.de> wrote:
2
3 > Oh no... After turning of the keyboard, bluetoothd start to consume 100%
4 > CPU...
5 >
6 > I have to run systemctl restart bluetooth after unconnecting my device.
7 >
8 > Come on...
9 >
10 > On 02/18/14 17:49, Ralf wrote:
11 > > I got it working!
12 > >
13 > > But I can't reproduce what i did..
14 > >
15 > > I played around with "bluetoothctl" which seems to be a interactive
16 > > replacement for simple-agent.
17 > > After powering my bluetooth device on and off, trusting and untrusting,
18 > > pairing and unpairing for several times it now *seems* to work.
19 > > It even connects automatically after turning it on :-)
20 > >
21 > > Bluetooth stuff is really weird....
22 > >
23 > > Thanks!
24 > >
25 > > On 02/18/14 17:20, Canek Peláez Valdés wrote:
26 > >> On Tue, Feb 18, 2014 at 10:14 AM, Ralf
27 > >> <ralf+gentoo@×××××××××××××××××××.de> wrote:
28 > >>> On 02/18/14 17:10, Canek Peláez Valdés wrote:
29 > >>>
30 > >>> systemctl status bluetooth.service
31 > >>>
32 > >>>
33 > >>> Yes, sure, as I wrote above.
34 > >>>
35 > >>> Active: active (running) since Tue 2014-02-18 16:57:05 CET; 15min ago
36 > >>>
37 > >>> ps auxw|grep bluetoot
38 > >>> root 3571 27.6 0.0 21200 2112 ? Rs 16:57 4:29
39 > >>> /usr/libexec/bluetooth/bluetoothd
40 > >>>
41 > >>> As you see everything is actually running fine... I even tried to restart it
42 > >>> several times
43 > >> OK, sorry, I hadn't read carefully your first post. blueman-applet
44 > >> fails because it uses the 4.x dbus API from bluez. gnome-bluetooth
45 > >> uses the 5.x dbus API, and AFAIK, right now it's the only tool using
46 > >> it.
47 > >>
48 > >> So, with gnome-bluetooth you can detect your keyboard but the pairing
49 > >> fails? You say you paired the keyboard correctly with your android
50 > >> phone; you don't need to do something in the keyboard to pair it to a
51 > >> different hosts? Something like keep pressing the power button?
52
53 Any documentation on bluetoothctl? There is no man page at all.
54
55
56 --
57 Your life is like a penny. You're going to lose it. The question is:
58 How do
59 you spend it?
60
61 John Covici
62 covici@××××××××××.com