Mario thanks a lot for debugging and fixing this. Everything mostly works now, just a small nitpick remaning:
I start w/ killswitch off (0), then switch BT off by software (1), the BT indicator LED turns off. Then I turn killswitch on (2) and off again (3); now the BT indicator turns on again although BT is disabled by software.
Below the output of dmesg corresponding to the numbers in parentheses above:
(1)
[ 988.413286] dell_rfkill_query called for radio 2.
[ 988.414263] Query returned the following raw data:
[ 988.414267] 00000000 00000001 00000011 00011111
[ 988.414692] Second query returned the following raw data:
[ 988.414695] 00000000 00000000 00000001 00000010
[ 988.414746] HW switch status is set to following raw data:
[ 988.414749] 00000000 00000000 00000000 00000010
[ 988.414799] Setting HW state to 0.
[ 988.414806] dell_rfkill_set called for radio 2, to set 1
[ 988.449141] usb 3-2: USB disconnect, address 13
[ 988.449310] btusb_intr_complete: hci0 urb f22c5c00 failed to resubmit (19)
[ 988.449329] btusb_bulk_complete: hci0 urb f22c5f00 failed to resubmit (19)
[ 988.450317] btusb_bulk_complete: hci0 urb f22c5000 failed to resubmit (19)
(2)
[ 1037.678566] dell_rfkill_update called.
[ 1037.678575] Toggling HW state for bt
(3)
[ 1066.386140] dell_rfkill_update called.
[ 1066.386149] Toggling HW state for bt
[ 1066.897077] usb 3-2: new full speed USB device using uhci_hcd and address 14
[ 1067.083438] usb 3-2: configuration #1 chosen from 1 choice
Also the corresponding 'rfkill list' outputs:
(0)
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
16: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
(1)
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
(2)
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
(3)
$ rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
17: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
Mario thanks a lot for debugging and fixing this. Everything mostly works now, just a small nitpick remaning:
I start w/ killswitch off (0), then switch BT off by software (1), the BT indicator LED turns off. Then I turn killswitch on (2) and off again (3); now the BT indicator turns on again although BT is disabled by software.
Below the output of dmesg corresponding to the numbers in parentheses above:
(1) complete: hci0 urb f22c5c00 failed to resubmit (19) complete: hci0 urb f22c5f00 failed to resubmit (19) complete: hci0 urb f22c5000 failed to resubmit (19)
[ 988.413286] dell_rfkill_query called for radio 2.
[ 988.414263] Query returned the following raw data:
[ 988.414267] 00000000 00000001 00000011 00011111
[ 988.414692] Second query returned the following raw data:
[ 988.414695] 00000000 00000000 00000001 00000010
[ 988.414746] HW switch status is set to following raw data:
[ 988.414749] 00000000 00000000 00000000 00000010
[ 988.414799] Setting HW state to 0.
[ 988.414806] dell_rfkill_set called for radio 2, to set 1
[ 988.449141] usb 3-2: USB disconnect, address 13
[ 988.449310] btusb_intr_
[ 988.449329] btusb_bulk_
[ 988.450317] btusb_bulk_
(2)
[ 1037.678566] dell_rfkill_update called.
[ 1037.678575] Toggling HW state for bt
(3)
[ 1066.386140] dell_rfkill_update called.
[ 1066.386149] Toggling HW state for bt
[ 1066.897077] usb 3-2: new full speed USB device using uhci_hcd and address 14
[ 1067.083438] usb 3-2: configuration #1 chosen from 1 choice
Also the corresponding 'rfkill list' outputs:
(0)
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
16: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
(1)
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
(2)
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
(3)
$ rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
17: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no