>Christopher Griesel wrote:
>
>Hi, Does *ANYONE* have any hint of help for me, is there anyone actually
>subscribed to this list?
>I've scoured the archives for this list & Dejanews archives and everyone
>who posted Q's about needing serial ports to work, doesn't seem to get it
>working, so if someone here doesn't know I assume that serial ports just
>*DO NOT* work under dosemu?
Oh it works--it may take some playing with the configuration to make it work
properly on your machine, but it works. I am using DOSEmu to run a clipper
program we have here at work. The program uses 4 serial ports at once, one
for a modem, three others for talking to other computers.
What version of DOSEmu are you using, btw? I am using version 1.0.2,
myself. I have installed it as a user (not for shared use) so my
configuration exists within a user home directory:
/home/eftuser/dosemu/conf/ contains my dosemu.conf and global.conf files.
>1. Why does dosemu *NOT* start when I use the -F switch ?
>2. Obviously it isn't reading by default the
>/usr/local/dosemu/conf/dosemu.conf config file because dosemu starts fine
>without the -F switch ??
Sorry - I don't know about the -F switch
>3. I've made the changes relevant to serial port operation as follows:
>$_com2 = "/dev/ttyS1"
>$_ports = "0x02f8"
The $_ports variable is not necessary for making your configuration work -
in my case I have set $_ports="" and set each $_com variable to
"/dev/(ttyname)", as follows:
$_com1 = "/dev/ttyS0" # Modem
$_com2 = "/dev/ttyR12" # Rocketport 12
$_com3 = "/dev/ttyR13" # ... 13
$_com4 = "/dev/ttyR14" # ... 14
The only other change I had to make in my config was in global.conf, to use
com ports 3 and 4, I specified particular IRQ numbers to use when accessing
these ports (in my config, these lines are numbers 431 and 443
respectively):
serial { com 3 device $_com3 irq 5 } # I added "irq 5"
serial { com 4 device $_com3 irq 9 } # I added "irq 9"
One final note: You do have to ensure that the account you use to run
DOSEmu has ownership of the ports you wish to open. In my case I added my
user account to the uucp group.
And check your boot.log file for any problems that are reported during
DOSEmu bootup.
Good luck
--jbeard
-
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