Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluetooth is disabled at boot time
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
SnowRaptor
n00b
n00b


Joined: 24 Jan 2011
Posts: 11

PostPosted: Thu Sep 05, 2024 12:17 am    Post subject: Bluetooth is disabled at boot time Reply with quote

Hello, there!

For some time now, bluetooth sttarts disabled at boot time and I need to enable it (tipically via the switch on blueman-manager) before using it.

I don`t know what changed, maybe some update earlier this year, but BT usually started enabled at boot. The wiki suggests that BT should be enabled by default at boot time.

Curently I have the bluetooth init script enabled at runlevel default, bluez and blueman installed, no meaningful error messages on dmesg or /var/log/messages. I DO have laptop-mode set, bu bluetooth doesn't seem to be disabled by rf-kill.

Any idea where I could start diagnosing?

Siunce I usually have my laptop with the lid closed and My keyboard and mouse are BT, it gets really inconvenient to have do click blueman-manager after logging in when booting.
Thanks!
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 433
Location: Naarm/Melbourne, Australia

PostPosted: Thu Sep 05, 2024 12:23 am    Post subject: Reply with quote

The rfkill(8) command mentioned on that wiki page can be used to determine whether Bluetooth is soft- and/or hard-blocked:

Code:
$ rfkill
ID TYPE      DEVICE              SOFT      HARD
 0 wlan      dell-wifi      unblocked unblocked
 1 bluetooth dell-bluetooth unblocked unblocked
 2 wlan      phy0           unblocked unblocked
 3 wlan      phy1           unblocked unblocked
 4 bluetooth hci0           unblocked unblocked
Back to top
View user's profile Send private message
SnowRaptor
n00b
n00b


Joined: 24 Jan 2011
Posts: 11

PostPosted: Thu Sep 05, 2024 12:28 am    Post subject: Reply with quote

flexibeast wrote:
The rfkill(8) command mentioned on that wiki page can be used to determine whether Bluetooth is soft- and/or hard-blocked:


I didn't think its an rfkill issue, because simply clicking on the bleuman dialog, I can enable it. So no hard block at boot.

Funny thing is that wifi seems to be softblocked at boot as well, sooo maybe there?

Code:

 # rfkill
ID TYPE      DEVICE                 SOFT      HARD
 0 wlan      ideapad_wlan        blocked unblocked
 1 bluetooth ideapad_bluetooth unblocked unblocked
 2 wlan      phy0                blocked unblocked
 3 bluetooth hci0              unblocked unblocked
Back to top
View user's profile Send private message
SnowRaptor
n00b
n00b


Joined: 24 Jan 2011
Posts: 11

PostPosted: Thu Sep 05, 2024 12:33 am    Post subject: Reply with quote

I could just put
Code:
rfkill unblock all

in /etc/local.d/rfkill

But I would like to know what actually could be causing this rfkill block at boot and revert it
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 433
Location: Naarm/Melbourne, Australia

PostPosted: Thu Sep 05, 2024 12:57 am    Post subject: Reply with quote

Yes, it won't work if it's softblocked.

As for why this is happening, i'm not sure. :-) i had this issue with my previous laptop, on both Void and then Gentoo; i guessed it might have been something at the hardware/firmware level (e.g. in the BIOS). So, yeah, i had to use rc.local to unblock at each boot.

That said, i'd love to hear from anyone with more knowledge about this issue!
Back to top
View user's profile Send private message
SnowRaptor
n00b
n00b


Joined: 24 Jan 2011
Posts: 11

PostPosted: Thu Sep 05, 2024 1:22 am    Post subject: Reply with quote

flexibeast wrote:
That said, i'd love to hear from anyone with more knowledge about this issue!


Me too :D
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