public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Printer port dongle and dosemu trouble.
@ 2002-12-09 13:26 Stas Sergeev
  0 siblings, 0 replies; 2+ messages in thread
From: Stas Sergeev @ 2002-12-09 13:26 UTC (permalink / raw)
  To: linux-msdos

Hello.

Johannes Karlsmyr wrote:
> $_ports = "0x378 0x778"
You need a port range, not just one
or two ports.
Check out your /proc/ioports for more.
In my case parport0 resides in a range
of 0x378-0x37a (according to /proc/ioports)
and most likely you have the same range.

Also it may be necessary to unload the
kernel's parport driver in order dosemu
to access it as dosemu checks /proc/ioports
itself to avoid conflicts.


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Printer port dongle and dosemu trouble.
@ 2002-12-09 11:34 Johannes Karlsmyr
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Karlsmyr @ 2002-12-09 11:34 UTC (permalink / raw)
  To: linux-msdos

Hello, i am trying to get an old televions text prompter software that 
runs under DOS to work under dosemu because of three main reasons.
1. The license for Win2k (which we must use on the laptop for other 
purposes that will dissappear if we get it to run in Linux)
2. The stupid program reboots the computer each time you quit. And you 
do quit a lot to edit yout text files that you want to prompt.
3. Users tend to always save their text files in the wrong format in 
Word 2000, so emacs would be nice to use instead.

To the problem. The program has a hardware scroll-wheel attached to com 
port 1 and a hardware dongle attached to the printer port. And i cannot 
get the program to find the dongle.
I have tried to add the following line to my dosemu.conf file without 
success:

<snippet 1>
$_ports = "0x378 0x778"
</snippet 1>
and i have to add the lines from the HOWTO, but then dosemu wont even start.
<snippet 2>
$_ports { device /dev/lp0 fast range 0x378 0x778  } # lpt0
</snippet 2>


dmesg looks like this...

<dmesg snip>
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: compatibility mode
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
Non-volatile memory driver v1.1
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
lp0: using parport0 (polling).
lp0: compatibility mode
</dmesg snip>


I am pretty new to Linux and dosemu, so dont say bad things to me ;) but 
if anybody got any ideas, please tell me.

Best Regards /* johannes */


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

end of thread, other threads:[~2002-12-09 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 13:26 Printer port dongle and dosemu trouble Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2002-12-09 11:34 Johannes Karlsmyr

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