Urfkill gets out of sync with actual rfkill on the kernel side

Bug #1567467 reported by Simon Fels
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
John McAleely
urfkill (Ubuntu)
Fix Committed
Critical
Simon Fels

Bug Description

Testing on turbo without having the urfkill.hybris.wlan property set to '1':

Steps:
1. Turn off WiFi
2. Reboot

Expected:
WiFi still turned off

Actual:
WiFi showed as turned on the UI. The actual rfkill is soft-blocked and urfkill reports it as not blocked.

See

root@ubuntu-phablet:~# /usr/share/urfkill/scripts/enumerate
/org/freedesktop/URfkill/devices/0
Printing props for unspecialized device: /org/freedesktop/URfkill/devices/0
Printing props for Kernel device: /org/freedesktop/URfkill/devices/0
platform: 0
index: 0
name: phy0
hard: 0
type: 1
soft: 0
urftype: org.freedesktop.URfkill.Device.Kernel

/org/freedesktop/URfkill/devices/1
Printing props for unspecialized device: /org/freedesktop/URfkill/devices/1
Printing props for Kernel device: /org/freedesktop/URfkill/devices/1
platform: 1
index: 1
name: hci0
hard: 0
type: 2
soft: 0
urftype: org.freedesktop.URfkill.Device.Kernel

/org/freedesktop/URfkill/devices/100
Printing props for unspecialized device: /org/freedesktop/URfkill/devices/100
Printing props for Ofono device: /org/freedesktop/URfkill/devices/100
platform: 0
index: 100
name: Fake Manufacturer Fake Modem Model
type: 5
soft: 0
urftype: org.freedesktop.URfkill.Device.Ofono

/org/freedesktop/URfkill/devices/101
Printing props for unspecialized device: /org/freedesktop/URfkill/devices/101
Printing props for Ofono device: /org/freedesktop/URfkill/devices/101
platform: 0
index: 101
name: Fake Manufacturer Fake Modem Model
type: 5
soft: 0
urftype: org.freedesktop.URfkill.Device.Ofono

root@ubuntu-phablet:~# rfkill list
0: phy0: Wireless LAN
 Soft blocked: yes
 Hard blocked: no
1: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no

Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 11
Changed in urfkill (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Simon Fels (morphis)
Revision history for this message
John McAleely (john.mcaleely) wrote :

@morphis - was this addressed by the urfkilld landing?

Revision history for this message
Simon Fels (morphis) wrote :
Changed in urfkill (Ubuntu):
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.