On Fri, Nov 04, 2005 at 12:29:35AM +0100, Lengyel Gabor wrote:
> My project is to develop some kind of "lock", so that when this lock is 
> active, the computer does not handle any input from the user (possible 
> network connections can be neglected for the time being).
> This is controlled by a daemon that monitors certain things (presence of a 
> given bluetooth device for example) and when certain conditions are met (the 
> bluetooth device is not present for example), locks the machine (disables all 
> user input through the sysfs interface of my module).
> All this works for AT and PS2 keyboards and mice, but I could not yet figure 
> it out for usb.

Why not do this inside the input layer, which would catch all types of
input devices, including ones that you have not considered yet
(bluetooth keyboards are a specific example of that.)

Good luck,

greg k-h


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to