FS#71210 - Cellular modem radio is not really switched on after rfkill unblock event.
Attached to Project:
Arch Linux
Opened by Romualdas Mincevičius (vertrygen) - Thursday, 10 June 2021, 13:20 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 06 December 2021, 10:29 GMT
Opened by Romualdas Mincevičius (vertrygen) - Thursday, 10 June 2021, 13:20 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 06 December 2021, 10:29 GMT
|
Details
Description:
The radio of Sierra Wireless EM7345 4G LTE modem in my ThinkPad T450s laptop is switched off after rfkill block command, but it does not switches back on after rfkill unblock command. When changing software radio state of the modem with mbimcli command error is registered in kernel ring buffer: cdc_mbim 2-4:1.0: nonzero urb status received: -EPIPE Additional info: # uname -a Linux redacted 5.12.9-arch1-1 #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000 x86_64 GNU/Linux # lsusb | grep -i sierra Bus 002 Device 003: ID 1199:a001 Sierra Wireless, Inc. Sierra Wireless EM7345 4G LTE # pacman -Qs libmbim local/libmbim 1.24.8-1 MBIM modem protocol helper library Steps to reproduce: # rfkill ID TYPE DEVICE SOFT HARD 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked 1 wwan tpacpi_wwan_sw unblocked unblocked 2 wlan phy0 unblocked unblocked 3 bluetooth hci0 unblocked unblocked # mbimcli -d /dev/cdc-wdm0 -p --query-radio-state [/dev/cdc-wdm0] Radio state retrieved: Hardware radio state: 'on' Software radio state: 'on' # rfkill block wwan # rfkill rfkill ID TYPE DEVICE SOFT HARD 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked 1 wwan tpacpi_wwan_sw blocked unblocked 2 wlan phy0 unblocked unblocked 3 bluetooth hci0 unblocked unblocked # mbimcli -d /dev/cdc-wdm0 -p --query-radio-state [/dev/cdc-wdm0] Radio state retrieved: Hardware radio state: 'on' Software radio state: 'off' # rfkill unblock wwan # rkfill ID TYPE DEVICE SOFT HARD 0 bluetooth tpacpi_bluetooth_sw unblocked unblocked 1 wwan tpacpi_wwan_sw unblocked unblocked 2 wlan phy0 unblocked unblocked 3 bluetooth hci0 unblocked unblocked # mbimcli -d /dev/cdc-wdm0 -p --query-radio-state [/dev/cdc-wdm0] Radio state retrieved: Hardware radio state: 'on' Software radio state: 'off' # mbimcli -d /dev/cdc-wdm0 -p --set-radio-state=on [/dev/cdc-wdm0] Radio state retrieved: Hardware radio state: 'on' Software radio state: 'on' # dmesg <...> [61668.380281] cdc_mbim 2-4:1.0: nonzero urb status received: -EPIPE # mbimcli -d /dev/cdc-wdm0 -p --set-radio-state=off [/dev/cdc-wdm0] Radio state retrieved: Hardware radio state: 'on' Software radio state: 'off' # dmesg <...> [61668.380281] cdc_mbim 2-4:1.0: nonzero urb status received: -EPIPE [61790.859379] cdc_mbim 2-4:1.0: nonzero urb status received: -EPIPE |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Monday, 06 December 2021, 10:29 GMT
Reason for closing: Upstream
Additional comments about closing: not a packaging bug
Monday, 06 December 2021, 10:29 GMT
Reason for closing: Upstream
Additional comments about closing: not a packaging bug
Bluez will require some fix for rfkill kernel changes introduced in 5.11.
I don't use bluez.