Serial Ports

Merv Curley mervc-MwcKTmeKVNQ at public.gmane.org
Sat Sep 20 16:06:19 UTC 2008


On Friday 19 September 2008 14:39, Lennart Sorensen wrote:
> On Thu, Sep 18, 2008 at 11:21:12PM -0400, Merv Curley wrote:
> > I have 2 applications using 2 different serial ports.
> >
> > So far, I haven't been able to use them at the same time.  If one is
> > working and using RTS, when I initialize the second [ also using RTS],
> > the first one stops. using DTR/DTS is not an option.
> >
> > This may be quite normal,  I'm not that much of a hardware guru to know.
> > Does anyone have any opinions?  I will supply more details about what I
> > am doing if that would help.
>
> It should work.  Now if they are ISA devices (rather than PCI) then
> there could be an IRQ sharing issue.  If they share an IRQ then you
> might not be able to have both in use at the same time, even though IRQ
> sharing should allow it, ISA devices often don't play nice.
>
> For PCI devices it should just work unless the serial devices are really
> broken.  I have no issue using both ports on a digi neo dual port PCi
> card.

One device is using ttyS0, the motherboard serial port.  The device is an 
amateur radio transceiver which allows computer control of some functions.  
All I want really is the freq. reading for transmitting and receiving and 
perhaps the ability to change bands. The transceiver uses RTS/CTS to control 
data flow.  Works just fine when initialized.  

I have added a PCI card with 2 serial ports.  One port is connected to an X10 
home automation application.  I am pretty sure RTS is not required to 
communicate with the X10,  Model CM11A Interface.

The other port is connected to a hardware digital modem. The control program 
program needs to tell the modem to turn on the transmitter and to send data 
from the soundcard to the transmitter.  It does this using RTS/CTS.  As soon 
as I initialize this one,  Serial port 0 is killed.

The serial card uses 16C550 UARTs and is packaged and sold by Star Tech, Model 
PCI2S550.  Recognized and setup during booting.

I just remembered I do have a USB to Serial  adaptor.  I should check and see 
if /dev/usbttyS0 [?]  works I guess.  Dumb me, forgot about that.

Thanks for the info Lennart, that your card is ok.  Perhaps I should have 
spent more than $60 for mine.

Regards  

 
-- 
Merv Curley
Toronto, Ont. Can

Debian Sid Linux    
Desktop  KDE 3.5.7    KMail 1.9.5



--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list