Dell 8000 manual Configuring

Page 10

3.2Configuring X

Dman, of debian-user, made a nice little summary3 that I’m going to copy wholesale:

If you want mouse in console and X:

gpm reads from the mouse device itself. With a PS/2 mouse this is /dev/psaux. With a USB mouse (and devfs, I haven’t used USB without devfs) it is /dev/input/mice. gpm needs to be told the correct protocol to use. For many modern mice (including mine) the protocol is ’imps2’.

gpm needs to repeat with protocol ’raw’. It repeats through a named pipe, named /etc/gpmdata.

X needs to read from /etc/gpmdata and use the same protocol that gpm is using. In the case of my mice that protocol is ”IMPS/2”.

If you want mouse in X only:

X reads from the mouse device itself. With a PS/2 mouse this is /dev/psaux. With a USB mouse (and devfs, I haven’t used USB without devfs) it is /dev/input/mice. X needs to be told the correct protocol to use. For many modern mice (including mine) the protocol is ’IMPS/2’.

Thanks, Dman!

I also needed to edit my /etc/X11/XF86-Config-4 manually to include the other mouse, as per a suggestion on debian-laptop4.

I added:

Section "InputDevice"

 

 

Identifier

"Logitech Mouse"

 

Driver

"mouse"

 

Option

"SendCoreEvents"

"true"

Option

"Device"

"/dev/input/mice"

Option

"Protocol"

"ImPS/2"

Option

"Emulate3Buttons"

"true"

Option

"ZAxisMapping"

"4 5"

EndSection

 

 

and the “Logitech” line in the following section:

Section "ServerLayout"

 

Identifier

"Default Layout"

Screen

"Default Screen"

InputDevice

"Generic Keyboard"

3http://lists.debian.org/debian-user/2003/debian-user-200306/msg02922.html

4http://lists.debian.org/debian-laptop/2003/debian-laptop-200306/msg00150.html

10

Image 10
Contents Rationale ConfigurationVideo Issues Lilo parametersXserver-XFree86 Configuration Which Video CardSamba and Interfacing with the Windoze Net- work Installing SambaHorizontal and Vertical Refresh Rates Screen Size Using Samba Configuring SambaMounting a Samba Share Printing to a Windoze Printer with Cups Voodoo MagicUsing the Cups browser interface Getting OpenOffice to printExternal Mice Necessary kernel modulesConfiguring Configuring Sound Inserting the Sound LKMAdding Yourself to the Audio Group Rerolling your Kernel If You Decide to ReinstallTrashing It Miscellaneous Rescuing an InstallExt2 vs. ext3 An Explanation of Unix Permissions Other Resources Thanks