[svlug] start usb mouse after X has started?
Robert Hajime Lanning
lanning at lanning.cc
Fri Apr 4 15:47:32 PST 2003
On Fri, 4 Apr 2003, matt at vazor.com wrote:
> Hi,
>
> I have a usb mouse that works in my laptop if it's plugged in when X
> starts, otherwise I get:
>
> (EE) xf86OpenSerial: Cannot open device /dev/input/mice
> No such file or directory.
> (EE) xf86OpenSerial: Cannot open device /dev/input/mice
> No such file or directory.
> (WW) Mouse2: cannot open input device
>
> So when I plug in the mouse, I can cat /dev/input/mice and see that the mouse
> is sending events, but how do I get X to use the mouse without restarting it?
The problem is that you are dynamicaly loading the HID driver (Human Interface
Device). This driver creates (in devfs) the /dev/input/mice.
You either need to load the driver manualy, so it won't be autocleaned. Or
compile the USB interface driver and the HID driver staticaly in the kernel.
Even if you do not use devfs, you will have a problem. Because, when X
connects to the "mice" device, it will get a "no such device" error, as
no loaded driver will have the major/minor combination claimed.
--
END OF LINE
More information about the svlug
mailing list