LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-19-2009, 07:53 PM   #1
PaulGraham
LQ Newbie
 
Registered: Oct 2008
Location: Oxford, Mich, USA
Distribution: CentOS/Fedora
Posts: 4

Rep: Reputation: 0
XScale PCIe RS-232 board - unable to use? - CentOS 5.3


I have a XScale PCIe RS-232 board running in a home built quad core w/ 8GB ram that I want to use to either communicate with a UPS or a RS-232 embedded device.

The relevant sections of the output of dmasg are;
dmesg |grep ttyS
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
0000:04:01.0: ttyS1 at I/O 0xd000 (irq = 177) is a XScale
0000:04:01.0: ttyS2 at I/O 0xd100 (irq = 177) is a XScale

When I try to communicate on ttyS0 (built into the motherboard) anything I plug in runs fine, but when I plug them into the card, (ttyS1 or ttyS2) nothing works.

--- OK, Slight update. It seems that one of the updates I did caused an test script I have working to - sort of work. I get the test text string - mostly, I also get some scrap along with it. outputs of;
[root@hawaii ~]# stty < /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel
[root@hawaii ~]# stty < /dev/ttyS1
speed 9600 baud; line = 0;
-brkint -imaxbel
[root@hawaii ~]# stty < /dev/ttyS2
speed 9600 baud; line = 0;
-brkint -imaxbel


Any ideas you would choose to share?

Thank you.

Paul

Last edited by PaulGraham; 06-20-2009 at 01:03 AM. Reason: new testing....
 
Old 06-20-2009, 03:47 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,628

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
data for ttyS0 looks good. ttyS1 anhd ttyS2 are weird - irq 177!! Really.
likewise the address should be lower 0x0278 or oxo2f8 - something like that.

try setserial

man setserial and have fun that way. pPerhaps a line in rc.local for each port.

Last edited by business_kid; 06-20-2009 at 03:48 PM. Reason: typo
 
  


Reply

Tags
centos, pcie, rs232


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
CentOS 5.2 cannot activate network device on board Intel NIC nino90 Linux - Networking 2 12-10-2008 07:51 PM
Unable to get the on board ethernet card to be detected jspsandhu Linux - Hardware 3 06-07-2006 08:29 PM
Unable to/from telnet to.from my Target board Indhu Durai Linux - Kernel 2 05-15-2006 01:47 AM
Unable to get sounds INTEL 915GLVG Board sathyamus Linux - Software 1 04-03-2006 10:50 PM
Unable to boot from HDD after changing my parent board doris Linux - Hardware 13 01-08-2004 05:24 PM


All times are GMT -5. The time now is 03:47 PM.

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