Keeping /dev/input/mice around?
Matt Zimmerman
mdz at canonical.com
Wed Sep 1 17:26:38 CDT 2004
On Thu, Sep 02, 2004 at 08:16:24AM +1000, Jeff Waugh wrote:
> <quote who="Matt Zimmerman">
>
> > It's staying around, but when you open it, do you get a device which never
> > outputs any events, or an error?
>
> It never outputs events -> the kernel aggregates input into /dev/input/mice,
> so without any devices providing input, it's just silent.
Hmm, maybe there's something to this. Try this:
- boot without mouse connected
- modprobe mousedev # the input layer driver
- cat /dev/input/mice
Do you get a blocking read, or an error? If a blocking read, do you then
get mouse events when you plug in a mouse?
--
- mdz
More information about the sounder
mailing list