You are not logged in.
Pages: 1
I have the units rfkill-block@bluetooth and rfkill-unblock@wlan enabled.
before rebooting:
ID TYPE DEVICE SOFT HARD
0 wlan ideapad_wlan blocked unblocked
1 bluetooth ideapad_bluetooth unblocked unblocked
2 bluetooth hci0 unblocked unblocked
3 wlan phy0 blocked unblocked
after rebooting:
ID TYPE DEVICE SOFT HARD
0 wlan ideapad_wlan unblocked unblocked
1 bluetooth ideapad_bluetooth blocked unblocked
2 bluetooth hci0 unblocked unblocked
3 wlan phy0 blocked unblocked
expected states:
ID TYPE DEVICE SOFT HARD
0 wlan ideapad_wlan unblocked unblocked
1 bluetooth ideapad_bluetooth blocked unblocked
2 bluetooth hci0 blocked unblocked
3 wlan phy0 unblocked unblocked
I found that the problem is that bt device #2 gets initialized before it gets deactivated:
journalctl -b0 --no-pager --no-hostname | grep rfkill
Apr 01 18:13:52 systemd[1]: Created slice Slice /system/rfkill-block.
Apr 01 18:13:52 systemd[1]: Created slice Slice /system/rfkill-unblock.
Apr 01 18:13:53 systemd[1]: Condition check resulted in /sys/devices/virtual/misc/rfkill being skipped.
Apr 01 18:13:53 systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Apr 01 18:13:53 rfkill[557]: block set for type bluetooth
Apr 01 18:13:53 rfkill[558]: unblock set for type wlan
Apr 01 18:13:53 systemd[1]: rfkill-block@bluetooth.service: Deactivated successfully.
Apr 01 18:13:53 systemd[1]: rfkill-unblock@wlan.service: Deactivated successfully.
Apr 01 18:13:54 iwd[555]: rfkill id 0 can't be matched to a wiphy
Apr 01 18:14:00 systemd[1]: systemd-rfkill.service: Deactivated successfully.
grep phy0:
Apr 01 18:13:55 iwd[555]: Wiphy: 0, Name: phy0
grep hci0:
Apr 01 18:13:54 kernel: Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20240219103618
Apr 01 18:13:54 kernel: Bluetooth: hci0: Device setup in 138187 usecs
Apr 01 18:13:54 kernel: Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
Apr 01 18:13:54 kernel: Bluetooth: hci0: AOSP extensions version v1.00
Apr 01 18:13:54 kernel: Bluetooth: hci0: AOSP quality report is supported
full journal: https://0x0.st/Xzpr.txt
Any idea on how to make rfkill wait for them?
Last edited by jl2 (2024-04-05 11:39:10)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
Pages: 1