Mouse support in Slackware 4.0

Sam Clippinger samc at silence.org
Thu Sep 9 23:58:45 CDT 1999


When last we left our heroes, cruller had just said:
>     I've installed slackware 4.0 on my box and am bumping my head on the
> 
> mouse serial port in X.  'dmesg' states there is a PS/2 mouse.  and that
> 
> there are serial ports ttyS00 on irq3 and ttyS01 on irq4. I should be
> able to simply link /dev/mouse to ttyS00 or ttyS01 and under xf86config
> config the mouse as a PS/2 on /ttyS0[1,2].  however /dev/ttyS0[0,1]
> doesn't exist.  so I try  #sh MAKEDEV ttyS00 and I get back "Sorry I
> don't know how to build that device."
[snip]

If the kernel detects the mouse, the IRQs and such are probably already
correct (enough).  But AFAIK, ttyS* is for serial devices, not "other"
mice.

My laptop has a built-in mouse that is identified to the kernel as a PS/2
mouse.  It is accessed through a device named /dev/psaux (major 10, minor
1).  The XF86Config Pointer section reads:
  Section "Pointer"
    Protocol "ps/2"
    Device "/dev/psaux"
    Emulate3Buttons
    Emulate3Timeout 50
  EndSection

This is with kernel version 2.0.35 and XFree86 3.3.2; your mileage may
vary.  I hope that helps...

                                -sam

 Sam Clippinger               For PGP public key (KEY ID: 431C5529), see
samc at silence.org          http://www.micro.com/~samc or http://pgp.ai.mit.edu
=============randomly selected quote===no relevance to the above=============
"Monarchies, aristocracies, and religions are all based upon that large 
defect in your race - the individual's distrust of his neighbor, and his 
desire, for safety's or comfort's sake, to stand well in his neighbor's 
eye.  These institutions will always remain, and always flourish, and 
always oppress you, affront you, and degrade you, because you will always 
be and remain slaves of minorities.  There was never a country where the 
majority of the people were in their secret hearts loyal to any of these 
institutions."
                                  - Mark Twain, "The Mysterious Stranger"




More information about the Kclug mailing list