Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
How to identify the device attached on parallel port as well as serial port. Like mouse, modem. or printer.
I m doing c programming and with help of it i found the ports but which device is attached that cound't found.
So how to identity this through c program.
Any good suggestion, idea, or c program is appreciated.
Sorry, I'm way out of my depth here. You might try to look up the Knoppix docu (Knoppix is renowned for its hardware detection) or Linux from Scratch: http://www.tldp.org/LDP/lfs/LFS-BOOK...-NOCHUNKS.html which has to implement it too and will probably explain how it is done...
Last edited by JZL240I-U; 12-19-2006 at 07:44 AM..
There is no set standard for probing serial port devices. Serial modems use the AT command set and so you can query the device for the model and manufacture. Here is the protocol for a standad MS mouse.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.