Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787749 - sys-kernel/gentoo-sources-5.11.* -5.12.*, gnome-bluetooth, blocked by rfkill
Summary: sys-kernel/gentoo-sources-5.11.* -5.12.*, gnome-bluetooth, blocked by rfkill
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL: https://src.fedoraproject.org/rpms/bl...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-02 17:04 UTC by Iade Gesso
Modified: 2021-06-05 10:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rfkill: Fix reading from rfkill socket (0001-rfkill-Fix-reading-from-rfkill-socket.patch,2.42 KB, patch)
2021-05-24 05:25 UTC, poncho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Iade Gesso 2021-05-02 17:04:17 UTC
Hi all,
after upgrading from 5.10.x kernel to either 5.11.x branch or 5.12.x branch of gentoo-sources package I'm not able to switch on the bluetooth from GNOME since the log of the SystemD bluetooth.service unit reports the radio is blocked by rfkill.

If I unlock the radio by CLI and then I restart the bluetooth.service unit, I can activate bluetooth from GNOME but if I disable it the issue is back again...

I found some reports on other distros, with some workaround, but here none of them is working. Here some of them:
 - https://bbs.archlinux.org/viewtopic.php?id=265004
 - https://bbs.archlinux.org/viewtopic.php?id=264295
 - https://askubuntu.com/questions/1333864/why-is-bluetooth-soft-blocked-by-rfkill-on-every-boot

Even downgrading Bluez to 5.55 as suggested by someone doesn't work...


Iade Gesso, MSc, PhD




Reproducible: Always

Steps to Reproduce:
1. Upgrade gentoo-sources to 5.11 or 5.12 branch
2. Reboot
3. Try to enable/disable bluetooth from GNOME Settings/Panel
Comment 1 Mike Pagano gentoo-dev 2021-05-08 19:49:19 UTC
Can you show us the contents of /etc/default/tlp  ?
Comment 2 Iade Gesso 2021-05-08 20:54:58 UTC
(In reply to Mike Pagano from comment #1)
> Can you show us the contents of /etc/default/tlp  ?

I don't have it...

> iade@howl ~ $ cat /etc/default/tlp
> cat: /etc/default/tlp: No such file or directory


Iade
Comment 3 poncho 2021-05-24 05:25:27 UTC
Created attachment 710859 [details, diff]
rfkill: Fix reading from rfkill socket

Patch from Fedora fixing the issue
https://bugzilla.redhat.com/show_bug.cgi?id=1944482
Comment 4 poncho 2021-05-24 05:27:25 UTC
(In reply to poncho from comment #3)
> Created attachment 710859 [details, diff] [details, diff]
> rfkill: Fix reading from rfkill socket
> 
> Patch from Fedora fixing the issue
> https://bugzilla.redhat.com/show_bug.cgi?id=1944482

That's a patch for net-wireless/bluez since it's a bluez issue
Comment 5 Mike Pagano gentoo-dev 2021-06-03 23:11:25 UTC
Looks like a bluez issue. Reassigning.
Comment 6 Larry the Git Cow gentoo-dev 2021-06-05 10:53:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a96eb681d21361852158b122f44ef3a8a8d81d2

commit 6a96eb681d21361852158b122f44ef3a8a8d81d2
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-06-05 10:52:16 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-06-05 10:53:23 +0000

    net-wireless/bluez: Fix rfkill handling with latest kernels
    
    Closes: https://bugs.gentoo.org/787749
    Thanks-to: Iade Gesso
    Thanks-to: poncho
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 net-wireless/bluez/bluez-5.58-r1.ebuild          | 296 +++++++++++++++++++++++
 net-wireless/bluez/files/bluez-5.58-rfkill.patch |  84 +++++++
 2 files changed, 380 insertions(+)