The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
serial port signal ppass SUN Solaris 0 02-04-2005 08:11 AM
Telling apart serial from // port starless High Level Programming 2 09-29-2003 11:01 AM
serial port configuration Henrik UNIX for Dummies Questions & Answers 1 03-10-2003 09:42 AM
serial port reading viswanath High Level Programming 0 10-21-2001 01:05 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-01-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
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 check it is installed on ot or not...........

moreover I had inserted another card having two serial ports.....
info about card:::::::::::::::::::is here
05:04.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550 UART) (rev 01) (prog-if 02 [16550])
Subsystem: Timedia Technology Co Ltd Unknown device 4037
Flags: stepping, medium devsel, IRQ 10
I/O ports at 1100 [size=32]

but how to configure/install ....this card.
I am using fedora core 6
thanks & regards.........
Reply With Quote
Forum Sponsor
  #2  
Old 11-01-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
1. If the operating system says the device exists, eg
Code:
ls >/dev/ttyS0
if that does not return an error, the serial port is configured for the OS.

2. The next part is RS232 debugging, here always start with a known working terminal and go through the different combinations with a null-modem and even a break-out-box.
Reply With Quote
  #3  
Old 11-01-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
but whem I am running command ::::
dmesg | grep tty
It shows:::::::
[root@arun ~]# dmesg | grep tty
Xen virtual console successfully installed as ttyS0
.....
what does it means...my onboard serial is configured or not?????
and if configured then why I am not able to send or recieve data....
Reply With Quote
  #4  
Old 11-01-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
also when I am using command::

[root@arun ~]# setserial -g /dev/ttyS0
Cannot get serial info: Invalid argument

why so??????????
i thing so that its not configured correctly............
Reply With Quote
  #5  
Old 11-01-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by arunchaudhary19 View Post
Xen virtual console successfully installed as ttyS0
Are you running as a virtual host, not a real machine?
Reply With Quote
  #6  
Old 11-01-2007
Registered User
 

Join Date: Sep 2007
Posts: 62
Can I modift it or not??????
So how to make it real console????????
please help........
Reply With Quote
  #7  
Old 11-01-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
You don't want it as a real console, you want it connected to a serial port.

So the reasons things don't work when "when my system comes into picture" is because you don't have a real machine, everything is virtually provided by Xen. This may make writing software easier but it makes tracking comms problems down much harder because you now have to try and get the Xen environment to provide you with the real serial port.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0