-   Linux - Hardware (
-   -   Parallel Port & Serial Port device identification (

helpmeforlinux 12-14-2006 12:09 AM

Parallel Port & Serial Port device identification
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.

JZL240I-U 12-19-2006 06:43 AM

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: which has to implement it too and will probably explain how it is done...

michaelk 12-27-2006 02:46 PM

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.

Parallel Printers use IEEE 1284 standard and it should provide details on the protocol.

JZL240I-U 01-02-2007 01:15 AM

Here is the AT-command set:

All times are GMT -5. The time now is 11:17 PM.