> I am trying to configure a DOSEMU session (version 1.0.2) to use three
> serial ports, and have run into some difficulty. The problem seems to
> be an IRQ conflict between COM1 and COM3 or COM2 and COM4 (sound
> familiar?).
>
> Is there a way to specify particular interrupts for use by a COM port
> under DOSEMU? (I am assuming that the ports don't really have a
> conflict, but that the normal DOS layout of shared interrupts between
> 1 and 3 is the problem).
>
> Here's an excerpt from my dosemu.conf:
> $_com1 = "/dev/ttyR6" # modem on Rocketport 6
> $_com2 = "/dev/ttyR4" # EFT 1 serial connection
> $_com3 = "/dev/ttyR5" # EFT 2 serial connection
> $_com4 = ""
>
> Are there some other keywords I could use to solve the problem?
> Looking through the docs I have found reference to a "virtual"
> keyword, that looks interesting, though I can find no real
> information on it.
>
> BTW - if I leave COM3 undefined, com1 and com2 work perfectly.
>
> Any help will be greatly appreciated.
>
> --jeff
Solved. In case anyone is interested, here's how I fixed the problem:
As before, my dosemu.conf file contains references to various serial ports
(in this case, rocketports, but normal serial ports work here too). Since I
posted the question, I have also added a com4 definition:
$_com1 = "/dev/ttyR6" # Modem
$_com2 = "/dev/ttyR4" # EFT 1 serial connection
$_com3 = "/dev/ttyR5" # EFT 2 serial connection
$_com4 = "/dev/ttyR7" # GSM
To make the above work properly, I made the following changes to
global.conf:
431c431
< serial { com 3 device $_com3 }
---
> serial { com 3 device $_com3 irq 5 }
443c443
< serial { com 4 device $_com4 }
---
> serial { com 4 device $_com4 irq 9 }
----------
At first glance, it would appear that one could make these changes within
dosemu.conf, but a closer look shows that the following assignment:
$_com3 = "/dev/ttyR5 irq5"
results in a device statement in global.conf that looks like this:
serial { com 3 device "/dev/ttyR5 irq5" }
Which, far from doing the expected, tells COM3 to use a device called
"/dev/ttyR5 irq5".
--jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html