Hi Ramon,
I got the same problem several weeks ago. Jochen gave me a very good advice:
Release your requested serial ports just before starting your module by
setting its UART to 'none'. E.g your module want's to use /dev/ttyS0:

setserial /dev/ttyS0 uart none
(see man setserial for more details)

So you can reset your serial port after exiting your module:

setserial /dev/ttyS0 uart 16550A
(this should be the correct uart type, since rt_com depends on it, as far as
I understood rt_com.c)

To load/unload my module I wrapped the whole thing in a small perlscript :-)

Hope it helped

Norbert

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 26, 1999 9:47 AM
To: [EMAIL PROTECTED]
Subject: [rtl] rt_com Questions



Hi,


I have installed the V1.3 rtlinux over
a Redhat 6.0 distribution. I used the special
patch in :
http://www.suse.de/~florian/


Now I'm trying to use rt_com to handled the
serial line. I compiled rt_com correctly, but
when I try to install the module I always get:

rt_com: cannot request all port regions

this is due to the fact, that
when the modules calls
      request_region( p->port, 8, "rt_com" );
the system reply that the regions are in use.
This can be seen in :
/proc/ioports


How can solve this problem ?

In don't advise Linux that RTL will use this
ports (I don't request the region) what would happen ?


Best Regards,

Ramon






To: [EMAIL PROTECTED]
    [EMAIL PROTECTED]


--- [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/~rtlinux/

Reply via email to