On Fri, 19 Mar 2004, Matthew Davidson wrote:

> Hi,
> 
> I'm trying to get a DOS app that requires a parallel port dongle to work
> with Debian unstable, and am hoping someone on the list has some
> experience with this.  It's an in-house app that has very little
> documentation to speak of, so I'm in the dark somewhat on that side of
> things.
> 
> The app wil run, so there's no problem with dosemu/freedos per se (and
> I've got it running old games at home with no problem), but it doesn't
> work.  It's supposed to talk to other machines via the serial port which
> I have configured in dosemu.conf like so:
> 
> $_com1 = "/dev/ttyS0"
> 
> but the application just can't see them, I'm presuming because it's not
> recognising the dongle on the parallel port, which I have configured
> thus:
> 
> $_ports = "device /dev/lp0 fast range 0x378 0x37a"
> $_irqpassing = "7"
> 
> Some old, old usenet postings say you should disable the lp kernel
> module, which I had assumed the "device" bit above now obviates, but I
> tried it anyway to no avail.  I am using Linux 2.4.25.
> 
> Would be grateful for any ideas, I am a master at overlooking the obvious.
> 
> Matthew.

Apart from the other great suggestions, just ensure the parrallel port is
working - and try the various modes for it in the BIOS. (SPP/EPP/etc) If
you're into programming you should be able to use OUT 0x378,255 and OUT
0x378,0 to toggle all the data bits in QBASIC or even with DOS's debug.exe
and then watch this with a multi-meter on the port if you're running a
real copy of DOS (not sure if freedos has this functionality).

Of course...if you have a real copy of DOS, try running it off floppy
without linux and seeing if the app works that way (or the QBASIC/debug
stuff works). 

-- 
---<GRiP>---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver & rave music lover, Big kid that refuses
to grow up. I'd make a good family pet, take me home today!
        Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to