LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-04-2006, 01:44 AM   #1
lovelylinux
LQ Newbie
 
Registered: Dec 2006
Posts: 17

Rep: Reputation: 0
Thumbs up 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.
 
Old 12-04-2006, 02:15 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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?
 
Old 12-04-2006, 05:04 AM   #3
lovelylinux
LQ Newbie
 
Registered: Dec 2006
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 12-04-2006, 08:34 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,048

Rep: Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758Reputation: 758
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.

Last edited by michaelk; 12-04-2006 at 08:44 AM.
 
Old 12-06-2006, 09:20 PM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by lovelylinux
Actually my task is [snip]
"Your task"?? What exactly is this for?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Port Programming/virtual Device MikeGra Programming 3 04-16-2006 04:35 PM
USB device didn't detect.But port is detected sainusahib Linux - Hardware 2 01-31-2006 03:37 AM
Could not connect to Bluetooth device through the serial port dubrick_vit Linux - Hardware 0 01-16-2006 08:57 AM
Using serial port with external device skguha Linux - Newbie 2 03-18-2004 10:26 PM
Connecting to a device (say, a switch) using serial port spuud Linux - Networking 1 09-20-2003 05:36 PM


All times are GMT -5. The time now is 07:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration