> > How can I disable/enable usb keyboards and mice from a kernel module?

> Disconnect the device from the driver through either usbfs or sysfs.

Thank you for your answer! But is this not supposed to be done from userspace? 
I need to do it from kernelspace.
And my other concern is that even if I unbind the device this way, the user 
can disconnect then reconnect it (physically), and it automatically gets 
rebound. I need a way to prevent the use of usb input devices when they are 
not to be used. (All this is controlled from a userspace daemon but I suppose 
a kernelspace part is also needed - correct me please if I am wrong.)

Thanks!

Gabor


-------------------------------------------------------
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