[PARPORT] Re: problems with parallel port IRQ detection


George (greerga@nidhogg.ham.muohio.edu)
Thu, 5 Feb 1998 23:45:21 -0500 (EST)


On Thu, 5 Feb 1998, Alan Cox wrote:

Someone else wrote:
>> that fix a bug in parport_procfs before. Be sure also to not run "echo
>> 0>/proc/parport/?/irq" because the parport procfs will free the 0 irq in
>> order to gain it and your machine will hang (of course if int 0 is the
>> timer interrupt as with i386).
>
>Right now parport as of 2.1.8x doesnt even detect my parallel port. The old
>lp driver did, the direct qcam drives it fine but parport loads and sees
>zilch

As of 2.1.78 (and 2.1.82), I receive the correct io port but the wrong irq.
# cat /proc/parport/0/hardware
base: 0x378
irq: none
dma: none
modes: SPP

It was easily fixed by:
options parport_pc io=0x378 irq=7

# cat /proc/parport/0/hardware
base: 0x378
irq: 7
dma: none
modes: SPP

I have an old crummy SPP parallel port and an ECP port (both on 486's) that
I can test with if someone has patches. They are currently connected by
PLIP.

-George Greer

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:25 EST