Linux MS DOS discussions
 help / color / mirror / Atom feed
* PromLink under dosemu
@ 2005-09-12 18:02 Lars Bjørndal
  2005-09-12 18:26 ` Claudia Neumann
  2005-09-12 22:08 ` Justin Zygmont
  0 siblings, 2 replies; 6+ messages in thread
From: Lars Bjørndal @ 2005-09-12 18:02 UTC (permalink / raw)
  To: linux-msdos

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PromLink under dosemu
  2005-09-12 18:02 PromLink under dosemu Lars Bjørndal
@ 2005-09-12 18:26 ` Claudia Neumann
  2005-09-12 18:45   ` Lars Bjørndal
  2005-09-12 22:08 ` Justin Zygmont
  1 sibling, 1 reply; 6+ messages in thread
From: Claudia Neumann @ 2005-09-12 18:26 UTC (permalink / raw)
  To: Lars Bjørndal; +Cc: linux-msdos

Am Montag, 12. September 2005 20:02 schrieben Sie:
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PromLink under dosemu
@ 2005-09-12 18:31 Stas Sergeev
  0 siblings, 0 replies; 6+ messages in thread
From: Stas Sergeev @ 2005-09-12 18:31 UTC (permalink / raw)
  To: linux-msdos

Hello.

Lars BjЬrndal wrote:
> 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).
Not the latest version.

> No luck.
"No luck" is not a bug-report.

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PromLink under dosemu
  2005-09-12 18:26 ` Claudia Neumann
@ 2005-09-12 18:45   ` Lars Bjørndal
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Bjørndal @ 2005-09-12 18:45 UTC (permalink / raw)
  To: Claudia Neumann; +Cc: linux-msdos

On man, sep 12, 2005 at 08:26:09 +0200, Claudia Neumann wrote:
> 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?

> 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.

> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PromLink under dosemu
  2005-09-12 18:02 PromLink under dosemu Lars Bjørndal
  2005-09-12 18:26 ` Claudia Neumann
@ 2005-09-12 22:08 ` Justin Zygmont
  2005-09-13  9:48   ` Lars Bjørndal
  1 sibling, 1 reply; 6+ messages in thread
From: Justin Zygmont @ 2005-09-12 22:08 UTC (permalink / raw)
  To: Lars Bjørndal; +Cc: linux-msdos

[-- Attachment #1: Type: TEXT/PLAIN, Size: 823 bytes --]

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.



On Mon, 12 Sep 2005, Lars Bjørndal wrote:

> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PromLink under dosemu
  2005-09-12 22:08 ` Justin Zygmont
@ 2005-09-13  9:48   ` Lars Bjørndal
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Bjørndal @ 2005-09-13  9:48 UTC (permalink / raw)
  To: Justin Zygmont; +Cc: linux-msdos

Justin Zygmont <jzygmont@solarflow.net> writes:

> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-13  9:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12 18:02 PromLink under dosemu Lars Bjørndal
2005-09-12 18:26 ` Claudia Neumann
2005-09-12 18:45   ` Lars Bjørndal
2005-09-12 22:08 ` Justin Zygmont
2005-09-13  9:48   ` Lars Bjørndal
  -- strict thread matches above, loose matches on Subject: below --
2005-09-12 18:31 Stas Sergeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox