LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-28-2008, 02:14 PM   #1
mduncan8
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
need driver help for PCI serial splitter


I have a PCI card that is a that has 8 serial ports. I have the windows drivers for it, but I do not have the linux drivers. I am running Ubuntu 8.04.1 32-bit, 2.6.24-19-generic.

output of lspci:

Code:
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)
01:09.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550 UART) (rev 01)
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
03:00.0 FireWire (IEEE 1394): Agere Systems Unknown device 5901 (rev 06)
I am new to linux, so ANY help will be greatly appreciated.
 
Old 10-28-2008, 02:24 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Do you mean the device described with line
'01:09.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550 UART)' ?

If so what way it can have 8 ports if it reports 'Dual 16550 UART'

I've found also this link with info "This double serial port card..."
 
Old 10-28-2008, 03:31 PM   #3
mduncan8
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
That may be it. I'm not sure. If it is, it is not working because I can't use any of those serial lines that should be associated with it. I actually tried to run through all the possible serial lines (ttyS0-ttySf).

Maybe if I tell you what I'm doing that will help. I'm on the robotics team at my school. We are trying to migrate our robot to ubuntu from windows XP. In windows, we send a command out serial 7 to communicate with our micro controller. This serial 7 is actually on that PCI card. Hope this helps.
 
Old 10-28-2008, 03:43 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,181

Rep: Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403
Quote:
Originally Posted by mduncan8 View Post
That may be it. I'm not sure. If it is, it is not working because I can't use any of those serial lines that should be associated with it. I actually tried to run through all the possible serial lines (ttyS0-ttySf).

Maybe if I tell you what I'm doing that will help. I'm on the robotics team at my school. We are trying to migrate our robot to ubuntu from windows XP. In windows, we send a command out serial 7 to communicate with our micro controller. This serial 7 is actually on that PCI card. Hope this helps.
Well, COM7 may be associated with that card, but the docs and links above point to it having only 2 ports.

What other hardware do you have? If you've got a mobo with two serial ports onboard, those would be ttyS0/S1. And when you say you "tried to run through" the other ports....how?? Most foolproof way is to get a terminal plugged in to the port, and echo some chars out to it (hyperterminal in a windows laptop works for a simple test). Just type in "echo "testing testingasdfasdfasdf" > /dev/ttyS0"...run up through the rest of the ports. If you don't see any text on the terminal window, you may have issues with your hardware (bad cable, etc.). Once you see text, you'll know what port to use.
 
Old 10-28-2008, 05:50 PM   #5
mduncan8
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I don't think that the card in the link is ours, but it may be similar. In our software program that runs the robot we set which port to send the command out. I tried all the serial ports there. The command that we use is:
Code:
Using System.Ports.IO
SerialPort ports = new SerialPort("ttyS0",19200,Parity.None, 8, StopBits.One);
This command sets the port and it's settings.
I know that it works to communicate through the serial because I connected the micro controller directly to a desktop running the same version of Ubuntu and it worked.
 
Old 10-29-2008, 08:26 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,181

Rep: Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403
Quote:
Originally Posted by mduncan8 View Post
I don't think that the card in the link is ours, but it may be similar. In our software program that runs the robot we set which port to send the command out. I tried all the serial ports there. The command that we use is:
Code:
Using System.Ports.IO
SerialPort ports = new SerialPort("ttyS0",19200,Parity.None, 8, StopBits.One);
This command sets the port and it's settings.
I know that it works to communicate through the serial because I connected the micro controller directly to a desktop running the same version of Ubuntu and it worked.
Well if you've ruled out the hardware, then it can only be a software component. Since you're using the same software elsewhere, that means the driver isn't working right. Since the lspci output you posted says it's only a dual UART board, it's probably only recognizing two ports. Does the actual, physical board match the description given by lspci?
 
Old 10-29-2008, 10:22 AM   #7
mduncan8
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I double checked the motherboard today and found that the dual port device listed is actually a two port firewire card that someone else installed on it. So I'm guessing that that card is the one showing up in the lspci output.
 
Old 10-29-2008, 10:25 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,181

Rep: Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403Reputation: 4403
Quote:
Originally Posted by mduncan8 View Post
I double checked the motherboard today and found that the dual port device listed is actually a two port firewire card that someone else installed on it. So I'm guessing that that card is the one showing up in the lspci output.
That'll definitely cause a problem with the other five ports.
 
  


Reply


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
New SIIG 4 Port PCI serial card (16C954) driver problem gpedley Linux - Hardware 2 07-10-2008 10:35 PM
PCI Serial Card queston. itjackie Fedora 0 10-24-2006 03:25 AM
RH doesn't detect my Serial modem connected to a PCI Serial card ricky_ds Linux - Hardware 1 08-17-2006 02:37 PM
PCI Serial ATA Controller Impaler Linux - Hardware 1 12-07-2005 02:08 AM
Cannot get PCI Serial ports up paul.nel Linux - Hardware 2 11-10-2003 01:04 PM

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

All times are GMT -5. The time now is 11:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration