Missing serial port


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Missing serial port
# 1  
Old 05-09-2010
Missing serial port

A neighbour's Ubuntu 10.04 machine has five serial ports, one on the motherboard and four on a PCI card. However, only four cards are showing:
Code:
# dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.394565] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.394877] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.395080] 0000:03:06.0: ttyS1 at I/O 0xcf00 (irq = 20) is a 16550A
[    0.395201] 0000:03:06.0: ttyS2 at I/O 0xce00 (irq = 20) is a 16550A
[    0.395320] 0000:03:06.0: ttyS3 at I/O 0xcd00 (irq = 20) is a 16550A
[    8.751992] setserial sets custom speed on ttyS1. This is deprecated.
[    8.754670] setserial sets custom speed on ttyS3. This is deprecated.
[   70.056749] redhot sets custom speed on ttyS3. This is deprecated.
[   80.734705] radoga sets custom speed on ttyS1. This is deprecated.
[ 5437.884113] redhot sets custom speed on ttyS3. This is deprecated.
[ 5510.465311] redhot sets custom speed on ttyS3. This is deprecated.
[ 5662.096348] redhot sets custom speed on ttyS3. This is deprecated.
[ 5692.931148] redhot sets custom speed on ttyS3. This is deprecated.
#

The motherboard card is ttys0. All five ports work in Windows, and replacing the PCI card with another identical, known good card showed the same results. Any ideas what could be wrong?

Thanks.
# 2  
Old 05-10-2010
Do the other three detected ports even work? It may be automatically adding the four "standard" PC serial ports with their hardwired addresses and ISA interrupts, which would only find the ports on the motherboard... Your card might not have been detected at all. You may need to configure your kernel to have the correct module for it.

What does it show in lspci as?
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 05-17-2010
Thanks, Corona. It turns out that the problem was that the Kernel needed to have the remainder of the ports activated:
Linux Online - Serial HOWTO: Serial Tips And Miscellany
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

2. Solaris

Using PC serial port from ReflectionX

I am using ReflectionX on a windows PC to run an application on a Solaris box. The application uses the serial port and expects a definition like: /dev/ttyb Is there a way to use the PC serial port through ReflectionX? PC is running Windows-XP Solaris Box is: Sun Microsystems sun4u... (1 Reply)
Discussion started by: deanjennings
1 Replies

3. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

4. Shell Programming and Scripting

Need help with serial port

Hi, I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies

5. AIX

Serial port in AIX

Hi, How can i configure my modem in AIX thru serial port (sa0-->tty0) I have two port serial card configured as sa0 I created tty1 which port is tty0 and which port is tty1 how can i know?? (1 Reply)
Discussion started by: pchangba
1 Replies

6. Programming

How to tell if a string to serial port has been sent

I have a need to determine when a string has been completely sent via a serial port from a standard 'C' application. The code is as follows: SerialPort_Send = open (pPortString, O_WRONLY | O_NOCTTY | O_NONBLOCK); write (SerialPort_Send, pCommandString, strlen (pCommandString)); ... (2 Replies)
Discussion started by: ExDes
2 Replies

7. Solaris

Serial port not found

Hi, I am working with solaris 9,SUN-Blade-100 and I want to communicate with the Serial port.To check whether the port is working or not.I write code and when I execute the file,then I got the output-- According to this,serial port is not found.can anyone please tell me how to configure the... (1 Reply)
Discussion started by: smartgupta
1 Replies

8. Solaris

Serial port issue

Hi, I am working with Sun Solaris 9 Sparc,Sun-Blade-100.In my application,I need to monitor the UPS using Serial port. When I am using JRE 1.4 in my application,I am able to monitor it but when I am upgrading the JRE version from 1.4 to JRE1.6. I am not able to monitor the UPS.It is showing the... (1 Reply)
Discussion started by: smartgupta
1 Replies

9. Linux

urgent......Serial port

I think my serial port(on board) is not working ...... because when I am running same code on two machines its working good....but when my system comes into picture ....it doesnt show any output comming from serial port.......... can anybody tell me how to configure my serial port.........or to... (16 Replies)
Discussion started by: arunchaudhary19
16 Replies

10. Solaris

serial port signal

hi i am using solaris 9 on sparc . i was wondering if there was a command to control my serial interface , as to send a signal periodically every interval of time to the input of a 555 timer . thanks for your help .... (0 Replies)
Discussion started by: ppass
0 Replies
Login or Register to Ask a Question