LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-30-2007, 02:11 AM   #1
Nishant Desai
Member
 
Registered: Jul 2006
Posts: 100
Blog Entries: 1

Rep: Reputation: 15
How to detect the ComPort in the minicom


Hiii,
I want to access the Com port in the Linux through minicom, but as i am trying to access the com port through the minicom it shows me that (/dev/ttyS0)no such device or address, so i tried to do it with /dev/ttyS1, but it is still showing me same message.

Then i type the command lspci, which shows me all the listed devices in my pc and result for that is listed below:

__________________________________________________________
[root@localhost minicom-2.2]# lspci
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge
(rev 01)
00:02.0 VGA compatible controller: Intel Corp. 82845G/GL [Brookdale-G] Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 01)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 01)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 01)03:02.0 Ethernet controller: MYSON Technology Inc SURECOM EP-320X-S 100/10M Ethernet PCI Adapter
__________________________________________________________

So i found that there is no Com port listed in my list, so what could be the problem? either Com port is not working or could be the address of the Com port id different from what we are using as /dev/ttyS0 or /dev/ttyS1?
please tell me what could be the problem?

Thanks,
Nishant
 
Old 01-30-2007, 07:55 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,176

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Can you post the hardware specifications of your PC? Many new desktop PCs and laptops do not have legacy ports i.e. parallel, PS/2 and serial. If you know your computer has a serial port then verify in the motherboard BIOS it is enabled.

A hardware serial port is not a PCI device and this will not be displayed via the lspci command. AFAIK an integrated hardware serial port is part of the motherboards chipset. If the OS is detecting the hardware you should see some output with this command.
dmesg | grep tty (The | is the pipe command and typically the shift \ key)
 
Old 01-31-2007, 12:32 AM   #3
Nishant Desai
Member
 
Registered: Jul 2006
Posts: 100
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk
Can you post the hardware specifications of your PC? Many new desktop PCs and laptops do not have legacy ports i.e. parallel, PS/2 and serial. If you know your computer has a serial port then verify in the motherboard BIOS it is enabled.

A hardware serial port is not a PCI device and this will not be displayed via the lspci command. AFAIK an integrated hardware serial port is part of the motherboards chipset. If the OS is detecting the hardware you should see some output with this command.
dmesg | grep tty (The | is the pipe command and typically the shift \ key)
Hiii,
Thanks for the reply, what i was missing is that the module for the serial port was not loaded in my pc, so i have load it with the modprobe command and now my program is running, but still thanks for the reply in which i got new command for the dmesg.

Thanks,
Nishant
 
  


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
Why is my ComPort not accepting the data, I am writing? maheshnimje Linux - Networking 2 05-09-2006 12:38 AM
comport communication neerukamra Linux - General 0 09-06-2004 01:18 AM
minicom flensplop Linux - Newbie 2 08-30-2004 09:21 PM
comport? kalleanka Programming 4 02-24-2004 04:36 AM
something about minicom Kamrul Hakim Linux - Software 1 01-21-2003 03:45 PM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
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