The parallel port dongle is not for copy-protecting the software, it's for ensuring the devices that the software is designed to configure aren't tampered with by unauthorised persons.
I have been running dosemu as root. There are no hardware problems, as I'm dual-booting, and the software works fine under win98.
Subsequent investigation uncovered a feature for detecting a parallel port dongle in the software I'm trying to run, and it does detect the dongle under dosemu, but still no communication. So the problem does seem to be, as one clever chap suggested, with the serial port.
At this point, I'm again stuck. The PC is an IBM 300PL, and doesn't seem to have anything particularly unusual about it. The IRQ and IO settings for the serial ports can be configured in the bios, and are on the standard settings. It is a plug-and-play bios, but the "Plug and Play OS" parameter is set to "no".
setserial /dev/ttyS0 returns the expected result; no error messages.
I tried configuring dosemu for low-level hardware access to the serial port, as recommended for the parallel port, with no joy. I've not seen any mention on Google of people having to do this with the serial port, but no harm in trying.
I had an (unused) internal modem in the PC, which I ripped out in case it was causing a conflict, but no improvement.
I have to admit to being nearly completely ignorant of how serial ports work. Anybody have any clue what may be going wrong, or how to isolate the problem?
Thanks, Matthew.
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.
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
