Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Bluetooth and systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Fri Aug 30, 2013 9:08 am    Post subject: [SOLVED] Bluetooth and systemd Reply with quote

When I try to start bluetooth under systemd I get:

Code:
rok linux # systemctl enable bluetoothd.service
Failed to issue method call: No such file or directory


And I do not have any bluetoothd.service on disk... should I install some package?

Kind regards,

Rok


Last edited by rokj on Fri Aug 30, 2013 10:28 am; edited 1 time in total
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Fri Aug 30, 2013 9:51 am    Post subject: Reply with quote

I think Systemd activate this service statically. You can make a search with the blue keyword to see if there's bluetooth file with the service extension after execute the command
Code:
systemctl list-unit-files

I only see bluetooth.target with ArchLinux. You can also check if the bluetooh daemon is started with the commands ps, htop, etc, and
Code:
systemctl status bluetooth.target

_________________
Paul
Back to top
View user's profile Send private message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Fri Aug 30, 2013 10:28 am    Post subject: Reply with quote

I recompiled kernel with almost all bluetooth options and then did following and it worked.

Code:
rok rokj # systemctl enable bluetooth.service
ln -s '/usr/lib64/systemd/system/bluetooth.service' '/etc/systemd/system/dbus-org.bluez.service'
ln -s '/usr/lib64/systemd/system/bluetooth.service' '/etc/systemd/system/bluetooth.target.wants/bluetooth.service'
rok rokj # systemctl start bluetooth.service


Thank you Logicien!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum