Mike McCarty wrote:
I did find this...
# cat /proc/sys/dev/parport/parport0/irq
-1
And -1 happens to be what tunelp reports.
I wonder whether putting a 7 in there would help
any.
Well, I have 7 in there, and "tunelp /dev/lp0" returns
/dev/lp0 using IRQ 7
But I suspect you will get the same error as with tunelp.
What you may want to do is the next time you boot the system,
go into the BIOS setup and check the mode, and if it has an
IRQ assigned to it.
# cat /proc/sys/dev/parport/parport0/modes
PCSPP,TRISTATE,EPP
Hmm. EPP looks ok, I guess. I dunno what PCSPP means.
I forget what it stands for, but I believe that is the mode where
the port uses DMA for transfers.
# cat /proc/sys/dev/parport/parport0/spintime
500
I wonder whether tuning this might speed things up?
Well, that is one of the things that tunelp is supposed to be tweak.
You may want to use tunelp instead of writing it directly.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!