From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Crawford Subject: Re: Using a dos program that detects a signal on the parallel port Date: Mon, 26 Jul 2010 14:27:08 +0100 Message-ID: <4C4D8D2C.5080204@sat.dundee.ac.uk> References: <4C4BEAFF.8080509@clear.net.nz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C4BEAFF.8080509@clear.net.nz> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Malcolm Salisbury Cc: linux-msdos@vger.kernel.org You might have to enable either direct I/O port access and/or IRQ passing in the dosemu.conf file by un-commenting and editing the setting: $_ports = $_ports, " device /dev/lp0 range 0x378 0x37a" $_irqpassing = "7" You will need to run it with -s to give direct hardware access (with sudo for root privileges) in such a case. I think the normal IRQ is 7 for the parallel port, and 5 for a 2nd parallel port (if fitted), though 5 is also used by the old sound card (if used/emulated). On 25/07/10 08:42, Malcolm Salisbury wrote: > Hi > > I have searched the mailing list for an answer to this and either cand > find one or am missing something. > > I have dosemu 1.4.0 on puppy linux 5 and can run the program SRM from here > > http://www.cenobyte.nl/slotracemanager/hoofdframe.html > > The problem is that the access to the parallel port is proving too hard > for me to work out. > > I can get it so the SRM software can see the port but it doesn't see the > trigger of the sensor on the parallel port. > > Any help would be appreciated. > > Malcolm Salisbury > -- > 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 > -- Dr. Paul S. Crawford Satellite Station Dundee University Small's Wynd, Dundee, DD1 4HN, U.K. Tel: +44 (0)1382 38 4687 Email: psc@sat.dundee.ac.uk The University of Dundee is a Scottish Registered Charity, No. SC015096