[Bug 219890] New: illuminance sensor is jittering between correct value and 0.03lux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=219890

            Bug ID: 219890
           Summary: illuminance sensor is jittering between correct value
                    and 0.03lux
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: IIO
          Assignee: drivers_iio@xxxxxxxxxxxxxxxxxxxxxx
          Reporter: wysiwyg81@xxxxxxx
        Regression: No

Hello,

I have a Lenovo thinkbook 13x gen4.
Automatic brightness control is flickering in Gnome, so I checked sensor with
monitor-sensor command (iio-sensor-proxy).

it shows following behavior:
monitor-sensor  --light
    Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has ambient light sensor (value: 316,000000, unit: lux)
    Light changed: 299,000000 (lux)
    Light changed: 0,030000 (lux)
    Light changed: 299,000000 (lux)
    Light changed: 0,030000 (lux)
    Light changed: 299,000000 (lux)
    Light changed: 0,030000 (lux)
    Light changed: 305,000000 (lux)


the 0.03 is unexpected has it has never been that dark.
it seems it's not a iio-sensor-proxy bug as I can see similar behavior by
checking directly content of here :
/sys/bus/iio/devices/iio:device0/in_illuminance_raw


I checked the behavior on windows to make sure it's not an hardware failure
from my sensor.
While I cannot have direct access to raw sensor data on windows, the automatic
brightness is perfectly smooth: no flickering of any kind.

I didn't found sensor name:
❯ cat  /sys/bus/iio/devices/iio:device0/name
als

But if there is other place I could look, let me know.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux