LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to detect the ComPort in the minicom (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-detect-the-comport-in-the-minicom-523958/)

Nishant Desai 01-30-2007 01:11 AM

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

michaelk 01-30-2007 06:55 PM

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)

Nishant Desai 01-30-2007 11:32 PM

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


All times are GMT -5. The time now is 01:36 AM.