RE: [PATCHv4 1/5] misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: samu.p.onkalo
Date: Wednesday, October 27, 2010 - 12:41 am

Hi


Actually raw gives 0 or 1023 (==sensor_range) when
the reporting mode is "trigger"
or
0 threshold_abovevalue..1023 in periodic mode.

But for Boolean type behavior: 0 is no proximity and != 0 means
proximity 


It uses sysfs_notify to indicate userspace about the change


I think that is makes sense to provide it.

-Samu




--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCHv4 1/5] misc: Driver for bh1770glc / sfh7770 ALS ..., samu.p.onkalo, (Wed Oct 27, 12:41 am)