[Bug 219890] 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

--- Comment #7 from Fred (wysiwyg81@xxxxxxx) ---
Hello!
woo, compiling my own kernel tool? sounds like some stunts, but challenge
accepted :).

Here how I did (just in case) and results so far:

- backup /usr/lib/iio-sensor-proxy to /usr/lib/iio-sensor-proxy-back

- reboot, try "monitor-sensor --light" => stuck on  "Waiting for
iio-sensor-proxy to appear" so iio-sensor-proxy is disabled

- I downloaded kernel source from here:
https://github.com/CachyOS/linux/tree/6.13/cachy
Which seems to be the closest version of my current kernel (6.13 <=>
6.13.7-2-cachyos)

- get in /tools/iio and type make.

here is the result so far:

> sudo ./iio_generic_buffer -n als -a -c 1000
iio device number being used is 1
iio trigger number being used is 1
Enabling all channels
Enabling: in_chromaticity_y_en
Enabling: in_colortemp_en
Enabling: in_intensity_both_en
Enabling: in_illuminance_en
Enabling: in_timestamp_en
Enabling: in_chromaticity_x_en
/sys/bus/iio/devices/iio:device1 als-dev1
107.000000 107.000000 37.149998 39.379997 38.459999 1742281868794404097 
107.000000 107.000000 37.149998 39.379997 38.459999 1742281868795405367 
144.000000 144.000000 37.399998 39.250000 38.389999 1742283688135649249 
116.000000 116.000000 37.149998 39.379997 38.459999 1742284362250389865 
131.000000 131.000000 37.860001 39.020000 38.259998 1742284362493385633 
212.000000 212.000000 37.360001 39.270000 38.399998 1742284386577247020 
416.000000 416.000000 37.250000 39.329998 38.430000 1742284387069388487 
358.000000 358.000000 37.209999 39.349998 38.450001 1742284388291391492 
317.000000 317.000000 37.309998 39.299999 38.419998 1742284388536376237 
282.000000 282.000000 37.450001 39.230000 38.379997 1742284388781420189 
248.000000 248.000000 37.469997 39.219997 38.369999 1742284399552421827 
163.000000 163.000000 37.380001 39.259998 38.399998 1742284402488374365 
124.000000 124.000000 67.629997 30.769999 31.840000 1742284422066296843 
181.000000 181.000000 37.669998 39.119999 38.320000 1742284435348409111 
153.000000 153.000000 37.570000 39.169998 38.340000 1742284435643379865 
165.000000 165.000000 36.849998 39.529999 38.549999 1742284564197069737 
185.000000 185.000000 36.059998 39.950001 38.770000 1742284564442060549 
166.000000 166.000000 36.889999 39.509998 38.540001 1742284566154115050 
184.000000 184.000000 36.160000 39.899998 38.739998 1742284567377313995 
166.000000 166.000000 36.889999 39.509998 38.540001 1742284568357307927 
187.000000 187.000000 36.059998 39.950001 38.770000 1742284573251081541 
210.000000 210.000000 35.410000 40.299999 38.950001 1742284573741120550 


not finished yet, it's seems to take some time (roughly 40min running now).
I will update once finished.

-- 
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