[Bug 1943561] Re: Add ACCEL_LOCATION=base property for 6 Dell clamshell models

Yao Wei 1943561 at bugs.launchpad.net
Wed Dec 15 11:14:31 UTC 2021


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 at CANONICALID:~$ cat /sys/devices/virtual/dmi/id/product_sku 
0B0B

ubuntu at 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 at 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 at 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 at 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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1943561

Title:
  Add ACCEL_LOCATION=base property for 6 Dell clamshell models

Status in OEM Priority Project:
  New
Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Focal:
  Fix Committed
Status in systemd source package in Hirsute:
  New
Status in systemd source package in Impish:
  Fix Committed
Status in systemd source package in Jammy:
  Fix Released

Bug description:
  This hwdb update is to avoid unwanted screen rotation when tilting the
  laptop.

  This is the update to the previously rolled back SRU LP: #1938259

  [Impact]

   * This fixes unwanted rotations on certain Dell clamshell laptop
  models with accelerometer.

  [Test Plan]

   * On Dell laptops with model SKU 0A36, 0A3E, 0B09, 0B0B, 0B0D, 0B11, install this package and ensure the kernel is updated to the latest.
   * Screen should be correct side up in login screen and desktop.
   * Tilt the laptop and the screen should not be rotated.

  [Where problems could occur]

   * This is to add parameters for certain models in hwdb, and does not
  affect any other part of systemd.

   * Only models with the same Dell SKU would be affected.

  [scope]

  this is needed for all releases

  this is being added to upstream by
  https://github.com/systemd/systemd/pull/20314 and
  https://github.com/systemd/systemd/pull/20661

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1943561/+subscriptions




More information about the foundations-bugs mailing list