Skip to content

ALS sensor dead after resume #73

@agx

Description

@agx

On a Intel 13" (Intel(R) Core(TM) Ultra 7 155H) the ALS sensor is dead after the first/suspend resume making it pretty much unusable:

$ sudo linux/tools/iio/iio_generic_buffer -a --device-name als   
iio device number being used is 0
iio trigger number being used is 0
Enabling all channels
Enabling: in_intensity_both_en
Enabling: in_illuminance_en
Enabling: in_timestamp_en
/sys/bus/iio/devices/iio:device0 als-dev0
339.000000 339.000000 1761832980102457343 
339.000000 339.000000 1761832980903336181 
Disabling: in_intensity_both_en
Disabling: in_illuminance_en
Disabling: in_timestamp_en

Suspend and resume device:

$ sudo linux/tools/iio/iio_generic_buffer -a --device-name als  
iio device number being used is 0
iio trigger number being used is 0
Enabling all channels
Enabling: in_intensity_both_en
Enabling: in_illuminance_en
Enabling: in_timestamp_en
/sys/bus/iio/devices/iio:device0 als-dev0
^^^^ hangs here until CTRL-C is hit

Disabling: in_intensity_both_en
Disabling: in_illuminance_en
Disabling: in_timestamp_en

The same is reproducible with iio-sensor-proxy (I picked iio_generic_buffer as it requires less indirection)

dmidecode reports the Bios as Release Date: 08/08/2025 and fwupdmgr doesn't report any updates to install.

ectool says

$ sudo build/hx30/util/ectool version
RO version:    marigold-3.0.5-a5f07f8
RW version:    marigold-3.0.5-a5f07f8
Firmware copy: RO
Build info:    marigold-3.0.5-a5f07f8 2025-08-06 07:01:52 marigold1@ip-172-26-3-226
Tool version:  v0.0.1-f6620a8 2025-05-28 11:32:28 agx@quark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions