Hi Michael,

If you use the original driver from fsmlab (included in the package) the it
may be, that only _one_ comport is supported!! Please use this one from
sourceforge.com, because this version supports more than one com port.

Greetings

Thomas 

-----Urspr�ngliche Nachricht-----
Von: Michael C. Riedl [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 22. Oktober 2001 18:20
An: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Betreff: [rtl] Problem using multiple serial ports


Hi there!

Using dev/ttyS0 in my program works perfect, but I would like to use
/dev/ttyS1, /dev/ttyS2 and /dev/ttyS3 as well. To avoid any trouble, I
assigned a different interrupt to each of the four serial pots:

ttyS0  4
ttyS1  3
ttyS2  5
ttyS3  7

and I used the usual i/o-addresses. All is set using setserial.
Then I set uart=none for all four serial ports.

Now what is the proper call of rt_com_setup() for these four?
I thought the first parameter has to be 0, 1, 2 and 3 according
to the digit in ttyS*. Is this correct?

The hardware is definitely set up alright, as the board I am using can
be jumpered very conveniently to any setting desired. I also tested it
in Win98. There COM1 to COM3 worked perfect, just COM4 had a problem,
because Win98 refused to use Interrupt 7 for anything but a printer.

What do you think the problem might be? How can I use more than one
serial port? All I can tell is that rt_com_setup() returns -1.

My system:
Pentuim 75, 32 MB RAM
RTLinux 2.2.18
RT_Com 3.0

Thank you very much in advance for helping!

Michael C. Riedl
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to