From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "Valery V. Inozemtsev" Organization: ALT Linux Team To: hardware@altlinux.ru Date: Mon, 21 Mar 2005 16:38:12 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1528100.hqMdrT2iRS"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503211638.23476.shrek@freesource.info> Subject: [Hardware] HOWTO: Get all mouse buttons working X-BeenThere: hardware@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hardware@altlinux.ru List-Id: ALT Linux hardware support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 13:38:26 -0000 Archived-At: List-Archive: --nextPart1528100.hqMdrT2iRS Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hi =C9=CE=D3=D4=D2=D5=CB=C3=C9=D1 =D0=CF =CE=C1=D3=D4=D2=CF=CA=CB=C5 =CD=D9=DB= =C5=CA =D3 =C2=CF=CC=D8=DB=C9=CD =CB=CF=CC=C9=DE=C5=D3=D4=D7=CF=CD =CB=CC= =C1=D7=C9=DB (=D0=C9=D3=C1=D4=C5=CC=D8 =C9=DA =CD=C5=CE=D1=20 =CE=C9=CB=C1=CB=CF=CA, =D4.=DE. =CE=C5 =CF=C2=C5=D3=D3=D5=C4=D8=D4=C5) =D7=CF-=D0=C5=D2=D7=D9=C8 =CE=D5=D6=CE=CF =D1=C4=D2=CF 2.6 =C9 xorg-x11-6.8= =2E2-alt4 =C9=CC=C9 =D7=D9=DB=C5. # modprobe evdev # cat /proc/bus/input/devices I: Bus=3D0011 Vendor=3D0001 Product=3D0001 Version=3Dab41 N: Name=3D"AT Translated Set 2 keyboard" P: Phys=3Disa0060/serio0/input0 H: Handlers=3Dkbd event0 B: EV=3D120013 B: KEY=3D4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe B: MSC=3D10 B: LED=3D7 I: Bus=3D0010 Vendor=3D001f Product=3D0001 Version=3D0100 N: Name=3D"PC Speaker" P: Phys=3Disa0061/input0 H: Handlers=3Dkbd event1 B: EV=3D40001 B: SND=3D6 I: Bus=3D0011 Vendor=3D0002 Product=3D0004 Version=3D0000 N: Name=3D"GenPS/2 Genius Wheel Mouse" P: Phys=3Disa0060/serio1/input0 H: Handlers=3Dmouse0 event2 B: EV=3D7 B: KEY=3D1f0000 0 0 0 0 0 0 0 0 B: REL=3D103 I: Bus=3D0003 Vendor=3D046d Product=3Dc00e Version=3D1110 N: Name=3D"Logitech USB-PS/2 Optical Mouse" P: Phys=3Dusb-0000:00:1d.2-1/input0 H: Handlers=3Dmouse1 event3 B: EV=3D17 B: KEY=3D70000 0 0 0 0 0 0 0 0 B: REL=3D103 B: MSC=3D10 =D5 =CE=C1=D3 =C5=D3=D4=D8 2 =CD=D9=DB=C9 - GenPS/2 Genius Wheel Mouse (/de= v/input/event2) =C9 Logitech=20 USB-PS/2 Optical Mouse (/dev/input/event3) /etc/X11/xorg.conf=20 Section "InputDevice" Identifier "Genius" Driver "evdev" Option "Protocol" "evdev" Option "Dev Name" "GenPS/2 Genius Wheel Mouse" Option "Dev Phys" "isa0060/serio1/input0" Option "Device" "/dev/input/event2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" EndSection Section "InputDevice" Identifier "Logitech" Driver "evdev" Option "Protocol" "evdev" Option "Dev Name" "Logitech USB-PS/2 Optical Mouse" Option "Dev Phys" "usb-0000:00:1d.2-1/input0" Option "Device" "/dev/input/event3" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" EndSection =DC=D4=CF =CB=CF=CE=C6=C9=C7 =C4=CC=D1 =D0=D1=D4=C9=CB=CE=CF=D0=CF=DE=CE=D9= =C8 =CD=D9=DB=C5=CA. 6 =CB=CE=CF=D0=CF=CB: Option "Buttons" "6" Option "ZAxisMapping" "5 6" $ echo -e "pointer =3D 1 2 3 6 4 5\n" > ~/.Xmodmap 7 =CB=CE=CF=D0=CF=CB: Option "Buttons" "7" Option "ZAxisMapping" "6 7" $ echo -e "pointer =3D 1 2 3 6 7 4 5\n" > ~/.Xmodmap 10 =CB=CE=CF=D0=CF=CB: Option "Buttons" "10" Option "ZAxisMapping" "9 10" $ echo -e "pointer =3D 1 2 3 6 7 8 9 10 4 5\n" > ~/.Xmodmap 12 =CB=CE=CF=D0=CF=CB: Option "Buttons" "12" Option "ZAxisMapping" "11 12" $ echo -e "pointer =3D 1 2 3 6 7 8 9 10 11 12 4 5\n" > ~/.Xmodmap =2D-=20 Valery V. Inozemtsev --nextPart1528100.hqMdrT2iRS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.15 (GNU/Linux) iD8DBQBCPs5PsICip9pMw6cRAk3mAJ9Saug753xxSQXRmYIbCv0ZE5vYIgCdFSIl rEZZxegOJ2ipWbNeX6SMC+o= =BpSS -----END PGP SIGNATURE----- --nextPart1528100.hqMdrT2iRS--