[PLUG] Speaking of X

Bill Spears bspears at easystreet.com
Wed Feb 12 13:13:02 UTC 2003


On Thu, 2003-02-13 at 02:50, Paul Heinlein wrote:
> On 13 Feb 2003, Bill Spears wrote:
> 
> > > Can you provide
> > > 
> > > * a description of the mouse you're using (no. of buttons, type of 
> > >   connector, wheel/no-wheel, ...)
> > > 
> > > * from your /etc/X11/XF86Config file
> > >   - any ServerLayout sections
> > >   - any InputDevice sections that define the mouse Driver
> > > 
> 
> > Mouse: Microsoft optical wheel mouse usb, plugged into a PS/2 adapter
> 
> Ah, that's interesting. So Linux and X think you've got a PS/2 mouse, 
> not a USB mouse. I think you'll need to do some editing of your 
> XF86Config file.
> 
> First, make a safe copy of your current /etc/X11/XF86Config file.
> 
> Then,
> 
> > Section "ServerLayout"
> >         Identifier     "Anaconda Configured"
> >         Screen      0  "Screen0" 0 0
> >         InputDevice    "Mouse0" "CorePointer"
> >         InputDevice     "Mouse1" "SendCoreEvents"
> >         InputDevice    "Keyboard0" "CoreKeyboard"
> > EndSection
> 
> Comment out the Mouse0 and Mouse1 lines in the ServerLayout section. 
> Add a new line just below Mouse1:
> 
>   InputDevice  "MouseLocal" "CorePointer"
> 
> Create a new InputDevice Section:
> 
>   Section "InputDevice"
>     Identifier "MouseLocal"
>     Driver     "mouse"
>     Option     "Device"          "/dev/psaux"
>     Option     "Protocol"        "IMPS/2"
>     Option     "Emulate3Buttons" "off"
>     Option     "ZAxisMapping"    "4 5"
>   EndSection
> 
> You can leave the Mouse0 and Mouse1 InputDevice sections alone.
> 
> Restart X and see if it flies. :-)
> 
> --Paul Heinlein <heinlein at attbi.com>
> 
After a few false starts, due to typos on my part, it is working. Is
there some reason for turning Emulate3Buttons off? What's the difference
between /dev/psaux and /dev/input/mice? 

I had thought that since the physical connector was PS/2 that the port
would also be. Doh!





More information about the PLUG mailing list