Skip to contentSkip to conversation

PromLink under dosemu

DISCUSSION Lars Bjørndal 3 participants 5 messages Sep 12, 2005 – Sep 13, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

#2 lore raw
Quoted 3 lines · Claudia Neumann

Normally COM1 is /dev/ttyS0 in 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.log for 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

#3 lore raw
In reply to Lars Bjørndal

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

#4 lore raw
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