Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blueman, bluetoothd and turning on/off
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
lexming
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2007
Posts: 123
Location: Barcelona

PostPosted: Fri Mar 12, 2010 4:03 pm    Post subject: Blueman, bluetoothd and turning on/off Reply with quote

Hello,

I have a working bluetooth on my Gentoo using bluez-4.39-r2 and blueman-1.10 in Gnome. I can pair with my phone and connect to internet by tethering over bluetooth. That's just fine.

The problem (there's always one :D ) arises when I turn bluetooth off from Blueman. It shuts the bluetooth adapter down correctly (led off) but afterwards it's impossible to get it back on because bluetoothd has stopped. Do you know how to avoid bluetoothd from stopping whenever bluetooth turns off?

BTW, blueman shows an incorrect systray icon. There's only an icon of a black screen with a white frame, it's kind of a generic icon I would say. The rest of blueman's icons in menus and windows are right. Is there a way I could fix this or these icons are hardcoded in blueman?

Thanks a lot!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Mar 14, 2010 2:15 am    Post subject: Reply with quote

Try turning it on/off with bluez-gnome instead. That one works for mine anyway, whether or not the bluetooth service is running.
Back to top
View user's profile Send private message
lexming
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2007
Posts: 123
Location: Barcelona

PostPosted: Tue Mar 16, 2010 12:19 pm    Post subject: Reply with quote

Thanks for the comment. But I couldn't pair with my phone using bluez-gnome (the window with the pin number was not showing) so I had to use blueman instead.
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Mar 16, 2010 5:47 pm    Post subject: Reply with quote

Bluetooth is designed to stop when it's done. You could try emerging with the old-daemons useflag. That might get you an init that keeps bluetoothd running. However, did you try to re-plug the bluetooth stick? Or is it embedded?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Mar 16, 2010 6:35 pm    Post subject: Reply with quote

If you don't need a GUI button, try manually poking the state files in /sys/class/rfkill.

Also you might have strange hardware like mine where the bluetooth has two rfkill switches - the second one is invisible if the first one's turned off and I imagine that can confuse things like blueman a bit.
Back to top
View user's profile Send private message
lexming
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2007
Posts: 123
Location: Barcelona

PostPosted: Fri Mar 19, 2010 11:53 am    Post subject: Reply with quote

Well, in regards of the systray icon thing, it now works and I see the bluetooth icon in gnome-panel :). I think that the magic was done by yesterday's updates on portage, but I cannot say which one :P

On the other hand, I have been able all the time to turn the bluetooth on/off via rfkill. I was just asking because I would like to handle that through GUI and as a normal user (like what networkmanager does with wifi). However if bluetoothd behaves like this by design there's nothing I could do. :)

Thanks for the help guys :)
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