linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* proximity sensor, input
@ 2012-04-10  9:47 Peter Meerwald
  2012-04-10 10:00 ` Shubhrajyoti Datta
  2012-04-10 10:22 ` Jonathan Cameron
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Meerwald @ 2012-04-10  9:47 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron

Hello,

I am wondering how to support proximity sensors; goal is to trigger some 
application event when an object comes close (in that sense, the proximity 
sensor is used like a button)

there are several places in the kernel doing similar things:
e.g. input/misc/gp2ap0002a00f.c
e.g. drivers/misc/bh1770glc.c
e.g. drivers/staging/iio/isl29018.c

iio seems to be most active and has IIO_PROXIMITY, but I do not see how 
the application is easily notified: iio collects merely collects the 
sensor data

drivers in misc just create some custom sysfs interface

input/misc has just one driver dealing with proximity

is there some advise where proximity driver support might best fit?

thanks, regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-10 13:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10  9:47 proximity sensor, input Peter Meerwald
2012-04-10 10:00 ` Shubhrajyoti Datta
2012-04-10 10:22 ` Jonathan Cameron
2012-04-10 11:24   ` Peter Meerwald
2012-04-10 13:03     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).