LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 06: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 12:03 AM. Reason: new testing....
 
Old 06-20-2009, 02:47 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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 02:48 PM. Reason: typo
 
  


Reply

Tags
centos, pcie, rs232



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:25 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
Open Source Consulting | Domain Registration