Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetooth init script does not bring hci0 up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
yzg
Guru
Guru


Joined: 18 Jun 2005
Posts: 491

PostPosted: Wed Mar 12, 2014 10:49 pm    Post subject: bluetooth init script does not bring hci0 up Reply with quote

After upgrading net-wireless/bluez from 4.101-r8 to 5.15, the script /etc/init.d/bluetooth does not bring hci0 up.

To demonstrate this problem:

  • run "/etc/init.d/bluetooth restart"
  • runing "hciconfig -a" shows that hci0 is down
  • bring it up by the command "hciconfig hci0 up"
  • verify it is up by the command "hciconfig -a"
  • run "/etc/init.d/bluetooth restart" again
  • runing "hciconfig -a" shows that hci0 is down

It was suggested that the problem is incompatibility between bluez and bluedevil packages here https://forums.gentoo.org/viewtopic-t-985808.html but in my case, I do not have bluedevil installed.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


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

PostPosted: Thu Mar 13, 2014 3:11 am    Post subject: Reply with quote

It is normal in Bluez 5 to not activate the bluetooth device with the start of the daemon. You can use the bluetooth command lines interface bluetoothctl to activate and configure it. It include an agent to pair your device with remote ones. I put a normal user in one of the groups (lp or plugdev) accepted by Dbus to communicate with the device. Just read /etc/dbus-1/system.d/bluetooth.conf.

For the moment, it look like that only Gnome 3.10 need and support Bluez 5. Bluedevil and Blueman do not. With Fedora, Blueman is obsolete since Bluez 5 is in use. It cannot be install.
_________________
Paul
Back to top
View user's profile Send private message
ville.aakko
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2006
Posts: 113
Location: Oulu, Finland

PostPosted: Wed Jul 16, 2014 5:19 pm    Post subject: Reply with quote

I came here looking for the answer to the OPs question, which still remains unanswered (unless I'm missing something from Logiciens answer).

From archlinuxs wiki, put the following in /etc/udev/rules.d/10-local.rules:
Code:
# Set bluetooth power up
ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up"


Works for me!
_________________
- Ville
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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