Hi there I am trying to Bisect an issue with my framework relating to the ALS / Luminance sensor which is meant to be present and at least for some users is populating just fine with the mainline and supported Capella CM3218 Chip .
Some debug info in here [GUIDE] Linux battery life tuning - #439 by jwp
If you have an AMD Framework it would be helpful if I can get an idea if this is working for everyone but me or if there is an issue with QA generally.
Framework Edition you have:
- AMD FW 7840U
- AMD FW 7640U
0 voters
Do you have a SysFS Entry for the Ambient Light Sensor appear i.e on linux this should be populated : /sys/bus/iio/devices/iio:device0/in_illuminance_raw
- Yes my ALS is working
- No I do not have an IIO/ALS Entry
0 voters
OS / Kernel you are running:
- Fedora 39
- Fedora 38
- Fedora Rawhide
- Fedora 39 with Custom Kernel
- Arch
- Ubuntu
- Ubuntu with OEM Kernel
- Other (Please add comment)
- Windows
0 voters
`
Some useful debug commands / output references:
Poll the iio sensor proxy for known sensors/run in foreground (likely needs root)
sudo /usr/libexec/iio-sensor-proxy -v -r
Show the IIO bus device status at entry 1
sudo iio_generic_buffer -A -N 0
Dump udev devices matching iio category
udevadm info --export-db|grep -A5 -B2 iio
Look in dmesg for als messages:
dmesg |grep als
List loaded modules for sensor deps
lsmod |grep als