From affa219e54ece710399d1014f4a107891d00b982 Mon Sep 17 00:00:00 2001 From: Frans Pop Date: Mon, 22 Jan 2007 16:59:25 +0000 Subject: Update information about mouse configuration, based on a patch from Peter Samuelson (for which thanks) --- debian/changelog | 7 ++++ en/appendix/files.xml | 89 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 59 insertions(+), 37 deletions(-) diff --git a/debian/changelog b/debian/changelog index ed8cb3910..4b203db55 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +installation-guide (2007xxxx) UNRELEASED; urgency=low + + * appendix/files: update information about mouse configuration, based on a + patch from Peter Samuelson (for which thanks). Closes: #406290. + + -- Frans Pop Mon, 22 Jan 2007 17:56:37 +0100 + installation-guide (20070122) unstable; urgency=low * Enable Catalan, Brazillian, Korean and Spanish again. diff --git a/en/appendix/files.xml b/en/appendix/files.xml index 8ee4b1e89..0f01b3d15 100644 --- a/en/appendix/files.xml +++ b/en/appendix/files.xml @@ -115,53 +115,68 @@ The most important device files are listed in the tables below. - -Setting Up Your Mouse - + + Setting Up Your Mouse -The mouse can be used in both the Linux console (with gpm) and the X window -environment. The two uses can be made compatible if the gpm repeater is used -to allow the signal to flow to the X server as shown: - - -mouse => /dev/psaux => gpm => /dev/gpmdata -> /dev/mouse => X - /dev/ttyS0 (repeater) (symlink) - /dev/ttyS1 - - -Set the repeater protocol to be raw (in /etc/gpm.conf) while -setting X to the original mouse protocol in /etc/X11/XF86Config -or /etc/X11/XF86Config-4. +The mouse can be used in both the Linux console (with gpm) and the X +window environment. Normally, this is a simple matter of installing +gpm and the X server itself. Both should be +configured to use /dev/input/mice as the mouse +device. The correct mouse protocol is named exps2 +in gpm, and ExplorerPS/2 in X. The respective +configuration files are /etc/gpm.conf and +/etc/X11/xorg.conf. -This approach to use gpm even in X has advantages when the mouse is -unplugged inadvertently. Simply restarting gpm with - - -# /etc/init.d/gpm restart - - -will re-connect the mouse in software without restarting X. - - +Certain kernel modules must be loaded in order for your mouse to work. +In most cases the correct modules are autodetected, but not always for +old-style serial and bus mice -If gpm is disabled or not installed for some reason, make sure to set X to -read directly from a mouse device such as /dev/psaux. For details, refer -to the 3-Button Mouse mini-Howto at -/usr/share/doc/HOWTO/en-txt/mini/3-Button-Mouse.gz, -man gpm, -/usr/share/doc/gpm/FAQ.gz, and -README.mouse. + +Serial mice usually have a 9-hole D-shaped connector; bus mice have an +8-pin round connector, not to be confused with the 6-pin round connector +of a PS/2 mouse or the 4-pin round connector of an ADB mouse. + - +, which are quite rare except on very old computers. Summary +of Linux kernel modules needed for different mouse types: + + + + Module + Description + + + + psmouse + PS/2 mice (should be autodetected) + + + usbhid + USB mice (should be autodetected) + + + sermouse + Most serial mice + + + logibm + Bus mouse connected to Logitech adapter card + + + inport + Bus mouse connected to ATI or Microsoft InPort card + + -For PowerPC, in /etc/X11/XF86Config or -/etc/X11/XF86Config-4, set the mouse device to -"/dev/input/mice". +To load a mouse driver module, you can use the modconf +command (from the package with the same name) and look in the category +kernel/drivers/input/mouse. + Modern kernels give you the capability to emulate a three-button mouse when your mouse only has one button. Just add the following lines to -- cgit v1.2.3