proximity sensor, input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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