Comment 12 for bug 1943561

Revision history for this message
Yao Wei (medicalwei) wrote :

Tested on SKU 0B0B for both impish and focal. Both fixed. Waiting for results from other SKUs.

The following logs are from impish:

# before upgrade udev

ubuntu@CANONICALID:~$ cat /sys/devices/virtual/dmi/id/product_sku
0B0B

ubuntu@CANONICALID:~$ dpkg -l udev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==============-============-===================================
ii udev 248.3-1ubuntu8 amd64 /dev/ and hotplug management daemon

ubuntu@CANONICALID:~$ dbus-send --system --print-reply --dest=net.hadess.SensorProxy /net/hadess/SensorProxy org.freedesktop.DBus.Properties.Get string:net.hadess.SensorProxy string:HasAccelerometer
method return time=1639566406.463914 sender=:1.8 -> destination=:1.77 serial=80 reply_serial=2
   variant boolean true # note that when this boolean is true, the accelerometer for changing screen orientation is enabled

# after adding impish-proposed then apt install udev

ubuntu@CANONICALID:~$ dpkg -l udev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-================-============-===================================
ii udev 248.3-1ubuntu8.1 amd64 /dev/ and hotplug management daemon

ubuntu@CANONICALID:~$ dbus-send --system --print-reply --dest=net.hadess.SensorProxy /net/hadess/SensorProxy org.freedesktop.DBus.Properties.Get string:net.hadess.SensorProxy string:HasAccelerometer
method return time=1639566662.416519 sender=:1.9 -> destination=:1.78 serial=15 reply_serial=2
   variant boolean false # the accelerometer is disabled