The ambient light sensor on the Framework 13 worked properly with Linux 6.6. With 6.7 (currently tested with -rc4), the driver fails to load with: hid_sensor_als HID-SENSOR-200041.1.auto: failed to setup attributes hid_sensor_als: probe of HID-SENSOR-200041.1.auto failed with error -1 If I revert 286d528bf0fae9f334fba857825b9701df1675b2, 5f05285df691b1e82108eead7165feae238c95ef, and ee3710f39f9d0ae5137a866138d005fe1ad18132, it starts working again. This has also been reported in the Framework forums at https://community.frame.work/t/tracking-auto-brightness-aka-ambient-light-sensor-in-linux-details/16746.
(In reply to Michael Marley from comment #0) > The ambient light sensor on the Framework 13 worked properly with Linux 6.6. > With 6.7 (currently tested with -rc4), the driver fails to load with: > > hid_sensor_als HID-SENSOR-200041.1.auto: failed to setup attributes > hid_sensor_als: probe of HID-SENSOR-200041.1.auto failed with error -1 > > If I revert 286d528bf0fae9f334fba857825b9701df1675b2, > 5f05285df691b1e82108eead7165feae238c95ef, and > ee3710f39f9d0ae5137a866138d005fe1ad18132, it starts working again. > > This has also been reported in the Framework forums at > https://community.frame.work/t/tracking-auto-brightness-aka-ambient-light- > sensor-in-linux-details/16746. What is full dmesg log?
Created attachment 305549 [details] Full output of dmesg on an affected kernel I attached the dmesg output.
Created attachment 305607 [details] Patch to fix this issue Please try the attached patch. I also posted upstream. This issue broke ALS on almost all Intel systems.
With the patch, the light sensor is working again. Thanks!
AFAIU the commit f2a71ebdf231 ("iio: hid-sensor-als: Assign channels dynamically") has to fix this. Correct me, if I'm wrong.
That is correct. This issue should be closed.