Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to use the buttons of an old serial mouse (rewired direct to DTR, RTS) to operate some software, independently of the main mouse. I was able to do this in a DOS program (under Win98) using the "Powerbasic" function inp(766) where 766 is 02FE, the actual pins of COM2, accessed via the BIOS.
So far, the nearest I've got in Linux is using "apcupsd", the daemon to monitor APC UPS which, in "dumb" mode, monitors specific pins to activate four scriptable options. Unfortunately (a) it monitors CD and RI, not in a mouse cable, and (b) it only polls every 5 secs. The sources are very complex to patch. It uses many different ioctl() functions, and "#include <sys/iocotl.h>" which I don't have.
Does anyone here know of another monitoring program which could be used to pick up the status of the actual pins? Some "soft LED" monitors seem to pick up carrier-detect (CD, pin 1 of 9) independently, but I can only find X11 ones at present. I could rewire to CD and RI if necessary.