SFH sensors are not working on some AMD platforms

Bug #1961120 reported by Alex Hung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Alex Hung
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

When amd-sfh is loaded the sensors connected do not change values at all (ALS sensor).

  Here is the monitor sensors output, which doesn't change.

  $ sudo monitor-sensor
    Waiting for iio-sensor-proxy to appear
  +++ iio-sensor-proxy appeared
  === No accelerometer
  === Has ambient light sensor (value: 0.000000, unit: lux)

[Fix]

  The SRU contains two fixes:
  1. increasing sensor command timeout from from 800000 to 1600000.
  2. using first valid 15 bits only ALS max illuminance values.

[Test]

  This is requested by AMD. This was also verified by an AMD's engineer on CRB.

[Where problems could occur]

  Low. The patches only increase timeout value and discard an invalid bit.

Alex Hung (alexhung)
Changed in linux-oem-5.14 (Ubuntu):
assignee: nobody → Alex Hung (alexhung)
status: New → In Progress
tags: added: amd oem-priority originate-from-1959707
Changed in hwe-next:
status: New → In Progress
assignee: nobody → Alex Hung (alexhung)
Changed in linux-oem-5.14 (Ubuntu):
assignee: Alex Hung (alexhung) → nobody
status: In Progress → New
Alex Hung (alexhung)
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → Fix Committed
Alex Hung (alexhung)
Changed in hwe-next:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
You-Sheng Yang (vicamo)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in hwe-next:
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.