How can I detect the Serial Port Device ?
Hi to all,
I want to get the Product ID, Vendor ID and Manufacturer of the Serial Port Device attached. I want to get all the information regarding to serial port without using the proc file. How can I get all the Information ? Please give the Details. Any good suggestion is appreciated. Thanks. |
um plug it in and reboot, see if it is detected (dmesg).
Some reading: http://tldp.org/HOWTO/Serial-HOWTO.html AFAIK: there is no way in general. I had this up a while ago when I wanted to find out about an ISA modem. What exactly are you trying to acheive? |
Thanks Simon for reply
Actually my task is to detect any Serial Device and get the Vendor ID , Product ID and Manufacturer Name and update my running application. Please Give me other Details. Thanks. |
Are you refering to devices connected to the serial port or the serial port itself?
In general there isn't a standard protocol for finding information or communicating to a serial device similar to USB devices. Most MODEMS are AT command compatable and so can be easily identified. I know that serial mice can be probed too but don't know what information can be determined. |
Quote:
|
All times are GMT -5. The time now is 01:08 PM. |