Re: lug-bg: PS/2 Scroll Mouse
- Subject: Re: lug-bg: PS/2 Scroll Mouse
- From: daftcho@email.domain.hidden (Daftcho Tabakov)
- Date: Tue, 27 May 2003 13:53:56 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
peyo wrote:
| hehe:)
| prav si:)
| Mishkata mi e optichna - Logitech
| za konzola izpolzvam gpm, koyto e konfignat kakto sledva:
| I/O /dev/psaux
| protokol ipms2
|
| Konfiguraciata mi v X e kakto sledva:
| Section "InputDevice"
| Identifier "Configured Mouse"
| Driver "mouse"
| Option "CorePointer"
| Option "Device" "/dev/psaux"
| Option "Protocol" "ImPS/2"
|
| Option "Emulate3Buttons" "no"
| Option "ZAxisMapping" "4 5"
| EndSection
|
| Kogato obache izpolzvam X, kogato gpm e startiran, kursora na mishkata
| zapochva da mi se razhojda po ekrana.
| Vse edno, niakoy drug sushto podava signal na device /dev/psaux.
| Veroyatno dvete si prechat (gpm i X mishkata), no ne mi e iasno kak da gi
| ostavia i dvete raboteshti. Kogato sum v X tiabva da izkliuchvam gpm.
Kofti
| rabota. Tova se poluchavashe i sus starata mi seriina mishka na
| /dev/ttyS0(naprimer):)))
Tova e edin primeren fail za startirane na gpm.Nablegni na komentarite v
kraja na faila
#!/bin/sh
# Start/stop the GPM mouse server:
if [ "$1" = "stop" ]; then
~ echo "Stopping gpm..."
~ gpm -k
else # assume $1 = start:
~ echo "Starting gpm..."
~ gpm -m /dev/mouse -t imps2
fi
# There is another way to run GPM, where it acts as a repeater outputting a
# virtual MouseSystems mouse on /dev/gpmdata. This is useful for feeding
# gpm's data to X, especially if you've got a busmouse (in that situation X
# and gpm may not coexist without using a repeater). To try running a GPM
# repeater for X, change the gpm command line to look like this:
# gpm -R msc -m /dev/mouse -t imps2
# Then, make sure that the mouse configuration in your XF86Config file
refers
# to the repeater device (/dev/gpmdata) and a MouseSystems mouse type.
If you
# edit the file directly, you'll want the lines to look like this (minus the
# comment marks '#' shown here, of course):
#Section "Pointer"
# Protocol "MouseSystems"
# Device "/dev/gpmdata"
<p><p>-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+00PD9xdD6nBPzkURAsVEAJ9HfrxcarAot4DCQ0MvP28HGabCCQCePSJP
P4wtJiopHnRmTWuMCpyW/Gg=
=fL7V
-----END PGP SIGNATURE-----
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|