The 3 Button Serial Mouse mini-HOWTO

Author: Geoff Short
Published: 1998
Language: English
Wordcount: 4,441 / 15 pg
Flesch-Kincaid Reading Ease: 77.3
LoC Category: T
Downloads: 7,930
Added to site: 2008.05.09
mnybks.net#: 20810
Advertisement

How to get a 3 button serial mouse working properly under Linux.

Show Excerpt

This is done by the setserial command, run from the start-up script /etc/rc.d/rc.serial. Check the man page for setserial and the Serial-HOWTO for more details. It may be worth a little experimentation with types, for instance try setserial /dev/mouse uart 16550 or 16550a regardless of what port you actually have. (For instance, mice don't like the 16c550AF).

∑ The ClearDTR flag may not work properly on some systems, unless you disable the RTS/CTS handshaking with the command:

stty -crtscts < /dev/mouse

(Tested on UART 16450/Pentium by Vladimir Geogjaev geog&#8800; jaev@wave.sio.rssi.ru)

&#8721; Logitech mice may require the line ChordMiddle to enable the middle of the three buttons to work. This line replaces Emulate3Buttons or goes after the /dev/mouse line in the config file. You may well need the ClearDTR and ClearRTS lines in your Xconfig. Some Logitech mice positively do not need the ChordMiddle line - one symptom of this problem is that menus seem to mov

Cover image for

Download


show mobile phone QR code

Donate a small amount via Paypal below or read about some other ways that you can support ManyBooks.