Free and Discounted Ebooks
Join 130,000 readers! Get our ebook deals straight to your inbox.

The 3 Button Serial Mouse mini-HOWTO

Cover image for


Author: Geoff Short
Published: 1998
Language: English
Wordcount: 4,441 / 15 pg
Flesch-Kincaid Reading Ease: 77.3
LoC Category: T
Downloads: 9,393
Added to site: 2008.05.09 20810

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; [email protected])

&#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



Join 120,000+ fellow readers! Get Free eBooks and book bargains from ManyBooks in your inbox. 

We respect your email privacy

login | register

User ID


reset password

Author of the Day

Serenity Woods
Besides writing great romance novels, Serenity Woods enjoys juggling, archaeology and celebrating Christmas next to the pool. She lives in the sub-tropical Northland of New Zealand with her husband and teenage son and likes to write books about everyday people, with the issues that affect them. As our author of the day, Woods talks about her Christmas Boxset, Three Wise Men, why she is not a fan of alpha males and reveals what readers can expect from her pen next.
Read full interview...