There's no such 'big catch' when using USB mice. The kernel's HID drivers will allow you to open /dev/input/mice even when there are no USB mice attached, and will start sending mouse events when they are available.
I believe setup involves only two steps. First, edit /etc/modules.conf,
and configure it to load the "mousedev" driver after usb-controller, so
that /dev/input/mice becomes available at system boot, rather than
mouse-insert time:
alias usb-controller usb-uhci
# after loading the USB controller driver, prepare
# the mouse driver for X
above usb-uhci mousedev
Second, you need to make two mods to /etc/X11/XF86Config-4
In the ServerLayout section, add a line like this:
InputDevice "Mouse1" "SendCoreEvents"
And later, add an InputDevice section to define Mouse1:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
On Mon, 2002-03-18 at 21:51, Statux wrote:
> USB devices are typically hot-pluggable. Certain devices can tollerate
> such behavior better than others, however.
>
> There's a big catch, here, though. You'd have to restart gpm or X or
> whatever is controlling the mouse.. and you'll have to change the
> options/config before restarting.
>
> Why would you even consider going back and forth between two mice, though?
>
> On Mon, 18 Mar 2002 [EMAIL PROTECTED] wrote:
>
> > Hi all,
> > Off topic question can you plug in a usb mouse to a laptop
> > after it is booted and have it work and unplug it and go
> > back to using the touchpad or is it just like a ps2 mouse
> > you have to plug it in before you boot?
> > Thanks
> > Linda
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
> --
> -Statux
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
signature.asc
Description: This is a digitally signed message part
