Bug 12271 - MCU: ambient light sensor
: MCU: ambient light sensor
Status: RESOLVED FIXED
Product: SB Radio
Classification: Unclassified
Component: Product Quality
: Include FW version in comment
: PC Windows XP
: -- major (vote)
: MPQ
Assigned To: Ben Klaas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-04 14:00 UTC by James Richardson
Modified: 2009-09-08 09:11 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Richardson 2009-06-04 14:00:25 UTC
Fails in r5974
Comment 1 Blackketter Dean 2009-06-11 08:42:23 UTC
James: what's failed here?
Comment 2 James Richardson 2009-06-11 08:58:36 UTC
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.
Comment 3 Blackketter Dean 2009-06-25 09:11:18 UTC
David, what's up with this?
Comment 4 Chris Owens 2009-06-29 09:32:32 UTC
David, these bugs came up during the bug meeting.  Is there any update on them?  Thanks!
Comment 5 James Richardson 2009-07-07 09:24:39 UTC
Randy states that this should use the same test code as Fab4.

Any status on when this will be implemented?
Comment 6 Blackketter Dean 2009-07-07 10:07:04 UTC
David, what do you need?
Comment 7 James Richardson 2009-07-13 09:20:12 UTC
Ben will port the code from Fab4 for Baby
Comment 8 Caleb Crome 2009-07-13 09:21:41 UTC
cat /sys/bus/i2c/devices/1-0010/ambient 

gives you the als reading.
Comment 9 Ben Klaas 2009-07-13 09:55:23 UTC
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?
Comment 10 Ben Klaas 2009-07-13 10:01:27 UTC
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.
Comment 11 Ben Klaas 2009-07-13 10:23:53 UTC
TestAmbient for Baby added, r6534