John Summerfield <[EMAIL PROTECTED]> writes:

>> Does anyone know when/if this will be possible?
>> 
>> I use autologin on my laptop, and often forget to plug in my external
>> USB mouse before booting, and even more often I find it boring to run
>> mouseconfig manually every time I change mouse from the internal PS/2
>> one.
>> 
>> It would be nice if it autodetected the "best" available mouse and
>> used it automatically, like that Other Major Desktop OS does.
>> 
>
> Have you tried configuring two meese?

Thanks, this put me on the right track and it works fine in X11 now.

It would be nice if "mouseconfig" could was a little smarter -- it
could autodetect my internal PS/2 mouse (it does this today) and also
notice that I got USB and then add the optional USB mouse as below.
Maybe it could notice that I got a serial port and add a serial mouse
there as well.  Doesn't solve the problem of which mouse protocol to
use though.  Hm.  Would probably need to be autodetected by the X11
drivers, maybe via a "Protocol" value of "auto" or something. O well.

My solution, from /etc/X11/XF86Config-4:

Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "AlwaysCore"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
...
Section "InputDevice"
        Identifier      "Mouse0"
        # Modified by mouseconfig
        Driver          "mouse"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "yes"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
        Identifier      "Mouse1"
        # Modified by mouseconfig
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "IMPS/2"
        Option          "Emulate3Buttons"       "no"
        Option          "ZAxisMapping"          "4 5"
EndSection



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to