Skip to content

[Bug]: IIO value stuck at initial launch value #157

@wolf-yuan-6115

Description

@wolf-yuan-6115

Steps for reproducing the issue

  1. Configure ALS IIO device

What is the buggy behavior?

After launching wluma with debug logging, I got following output:

[2026-02-02T14:10:02Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:03Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:03Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:03Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:03Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:03Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:04Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:04Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:04Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:04Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:04Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:05Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:05Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:05Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:05Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:05Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:06Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:06Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:06Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:06Z TRACE wluma::als::iio] ALS (iio): normal (270)
[2026-02-02T14:10:06Z TRACE wluma::als::iio] ALS (iio): normal (270)

I did cover the sensor with my hand during these time.

However cat /sys/bus/iio/devices/iio:device2/in_illuminance_raw will change based on current ambient brightness.

What is the expected behavior?

Not sure, perhaps value will change?

Logs

As above.

Version

4.10.0

Environment

- CachyOS
- hyprland 0.53.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions