[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configure PS/2 mouse for new Debian install



On Thu, May 03, 2001 at 11:15:38AM +0100, Darren Wyn Rees wrote:
> How can I configure a mouse for use with Debian ?
> 
> I've gone through xf86config and chosen /dev/tty0 but to be
> frank, I'm not really sure what I'm supposed to configure thereabouts.

I saw several comments which made me wonder???  Here I go:

I assume you have ps2 mouse from title.
tty is for serial mouse so it's not for you.

In case of PS/2 connector mouse on ATX mother board. Signal flow shall be:
     mouse -> /dev/psaux -> gpm -> /dev/gpmdata = /dev/mouse -> X

This allow KB/mouse to be unplugged and reinitialized by restarting
gpm upon reconnect. X will stay alive!

For Logitech 3 button PS2 mouse, configuration combination shall be:
     /etc/gpm.conf                 /etc/X11/X86Config or X86Config4
     =============================================================
     device=/dev/psaux             Section "Pointer"
     responsiveness=                 Protocol    "IntelliMouse"
     repeat_type=ms3                 Device      "/dev/gpmdata"
     type=ps2
     append=""
  
If softlinks exist as follows:
prw-r--r--    1 root     root            0 Apr 22 15:30 /dev/gpmdata
lrwxrwxrwx    1 root     root            7 Feb 18 22:28 /dev/mouse -> gpmdata

Device in /etc/X11/X86Config can be /dev/mouse

Alternative is to set repeat_type=raw.  Then you can set Device in
/etc/X11/X86Config anyway it fits mouse.  Some scroll mouse prefer
thisway.  Also if you have 2 button mouse, repeat_type ms and Device
Microsoft may work.  Also Set 3 button emulation on in this case.

Anyway many configuration combination exists.  But make sure they are
consistent. See http://www.aokiconsulting.com/quick/ch1.html#s1.4
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/    +



Reply to: