You are not logged in.

#1 2013-11-11 14:17:36

hummer010
Member
Registered: 2013-11-11
Posts: 10

[SOLVED] Bluetooth at startup/wakeup

Hello all,

I'm new to arch, but not new to Linux.  I'm in the process of ditching ubuntu and gnome3.

I've got openbox + compton setup, and I'm very pleased with everything.  Everything except bluetooth.

Bluetooth works just fine, I can connect to my mouse without issue, it's just not automatic.

To get my mouse working I have to:

sudo hciconfig C0:F8:DA:3A:68:0B up
bluetoothctl
[bluetooth]# connect 00:07:61:EA:F5:10
exit

Before I issue the connect command inside of bluetoothctl, I have to press the "connect" button on my mouse.

If this was only at startup, I probably wouldn't care too much.  I don't reboot too often.  Unfortunately I have to do this after every suspend as well.

In gnome, with the bluetooth-applet running, I can turn my mouse on, wiggle it a couple of times, and it automatically re-connects and starts working.

Is there any way to replicate that without running Gnome Bluetooth or Bluedevil?

Last edited by hummer010 (2013-11-12 18:54:28)

Offline

#2 2013-11-11 15:01:16

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: [SOLVED] Bluetooth at startup/wakeup

in the wiki there is a link to a forum post with an udev rule, which works for me.

wiki > https://wiki.archlinux.org/index.php/Bl … uetoothctl
forum > https://bbs.archlinux.org/viewtopic.php?id=166362

Offline

#3 2013-11-11 15:56:03

hummer010
Member
Registered: 2013-11-11
Posts: 10

Re: [SOLVED] Bluetooth at startup/wakeup

Ahh, how did I miss that link?

Well, that got me one step closer.

I no longer need the hciconfig command to bring the bluetooth device up.

Last edited by hummer010 (2013-11-11 16:48:16)

Offline

#4 2013-11-11 16:59:19

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Bluetooth at startup/wakeup

Please mark the thread as [solved].  You can do this by editing the first post which will also allow you to edit the title.

Offline

#5 2013-11-12 01:52:46

hummer010
Member
Registered: 2013-11-11
Posts: 10

Re: [SOLVED] Bluetooth at startup/wakeup

So after the udev rule my bluetooth device was now started at boot/wakeup, but I still needed to use bluetoothctl to connect to my mouse everytime.

The key that I was missing there was trust.  namely:

[bluetooth]# trust 00:07:61:EA:F5:10

inside of bluetoothctl.

Now my mouse automatically connects when I turn it on, just like it did in gnome3.

Thank You!!

Offline

Board footer

Powered by FluxBB