PromLink under dosemu
Hi!
I try to get access to a dos program called Promlink, which I can use to communicate with a device that burns EPROMs over the serial interface. It works under real dos, but not under dosemu (1.3.0.1). I've set $com1 = "/dev/ttyS1" in /etc/dosemu/dosemu.conf. Have also tried to init the serial port before starting dosemu with stty. No luck. Any tips?
Lars
Am Montag, 12. September 2005 20:02 schrieben Sie:
Quoted 6 lines
I try to get access to a dos program called Promlink, which I can use to communicate with a device that burns EPROMs over the serial interface. It works under real dos, but not under dosemu (1.3.0.1). I've set $com1 = "
/dev/ttyS1" in/etc/dosemu/dosemu.conf. Have also tried to init the serial port before starting dosemu with stty. No luck. Any tips?
Normally COM1 is /dev/ttyS0 in Linux. So you have to set
$_com1 = "/dev/ttyS0"
In 1.3.0.1 you have to set $_ttylocks because dosemu wants to write a lock file for the serial port. This lock file should go to /var/run. But as normal user you don't have the right to write in /var/run. So tell dosemu to write the lock file for example to
$_ttylocks = "/home/user/.dosemu"
or somewhere else.
If it doesn't run look at /home/user/.dosemu/boot.log for information why you can't reach the serial port.
HTH
Claudia
Quoted 3 lines · Claudia Neumann
Normally COM1 is
/dev/ttyS0in Linux. So you have to set$_com1 = "
/dev/ttyS0"
Yes, but I want to use com2, so com2 = "/dev/ttyS1" should be right. Or?
Quoted 4 lines
In 1.3.0.1 you have to set $_ttylocks because dosemu wants to write a lock file for the serial port. This lock file should go to
/var/run. But as normal user you don't have the right to write in/var/run. So tell dosemu to write the lock file for example to
Yes, but I run dosemu as root.
Quoted 2 lines
If it doesn't run look at
/home/user/.dosemu/boot.logfor information why you can't reach the serial port.
It looks fine: register /dev/ttyS1 serial
And I may copy a file to a printer, which I sometimes connect to com2.
Lars
It should work, what COM port are you connecting the device to? ttyS1 is COM2, which will mean that your physical COM2 port is being referenced by COM1 when in dosemu.
Quoted 15 lines · Lars Bjørndal
Hi!
I try to get access to a dos program called Promlink, which I can use to communicate with a device that burns EPROMs over the serial interface. It works under real dos, but not under dosemu (1.3.0.1). I've set $com1 = "
/dev/ttyS1" in/etc/dosemu/dosemu.conf. Have also tried to init the serial port before starting dosemu with stty. No luck. Any tips?Lars
-
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
Quoted 3 lines · Justin Zygmont
It should work, what COM port are you connecting the device to? ttyS1 is COM2, which will mean that your physical COM2 port is being referenced by COM1 when in dosemu.
I installed the current CVS version of Dosemu, and no, all works fine!
Thanks!
Lars