Bugzilla – Bug 12271
MCU: ambient light sensor
Last modified: 2009-09-08 09:11:54 UTC
Fails in r5974
James: what's failed here?
There is no way to test the ambient light sensor, David didn't write or implement a GUI for the test yet. Re-assigning the bug to him.
David, what's up with this?
David, these bugs came up during the bug meeting. Is there any update on them? Thanks!
Randy states that this should use the same test code as Fab4. Any status on when this will be implemented?
David, what do you need?
Ben will port the code from Fab4 for Baby
cat /sys/bus/i2c/devices/1-0010/ambient gives you the als reading.
Fab4 has 7 different items listed in the TestAmbient applet: Channel 0 Channel 1 Lux Brightness Change Gain (which gives a submenu that allows the gain to be toggled on/off) Change Integration Time (which gives a submenu that allows changing to 13.7ms, 100ms and the default of 402ms) Change Factor (which gives a submenu that allows changing to a long list of integers. default is 1) are all of these items applicable to Baby? If so, do they involve getting/setting values from the same values? also, what does the value in comment#8 map to on these Fab4 items? Lux?
Baby just has one item, which is technically the inverse of Lux Will display one item for the Baby Ambient Light Sensor test, and will label it "Ambient Light" assigning back to myself.
TestAmbient for Baby added, r6534