Here is the logging output:
Nov 7 08:52:15 hafnium kernel: parport0: PC-style at 0x378 [SPP,ECPEPP,ECPPS2]
Nov 7 08:52:15 hafnium kernel: parport1: PC-style at 0x278, irq 0, dma 0 [SPP]
When lp is loaded it reports the printer at parport0 as polling and the
one at parport1 as interrupt-driven. I cannot print to the one at
parport1, but I get the message "Trying to free free IRQ0".
The driver is compiled as a module and was loaded by kerneld with the
following options in /etc/conf.modules:
options parport_pc io=0x378,0x278
I can print to both printers if I give these options in /etc/conf.modules:
options parport_pc io=0x378,0x278 irq=-2,-2
(-2 is the magic number for PARPORT_IRQ_NONE.)
The logging output is now:
Nov 7 08:52:15 hafnium kernel: parport0: PC-style at 0x378 [SPP,ECPEPP,ECPPS2]
Nov 7 08:52:15 hafnium kernel: parport1: PC-style at 0x278, dma 0 [SPP]
It now (correctly) reports both printers as polling.
It seems that the irq auto detection returns 0 when it should return
PARPORT_IRQ_NONE.
The driver probably shouldn't report "dma 0" but it doesn't seem to have
any effect.
-- Med venlig hilsen / RegardsNiels Kristian Bech Jensen nkbj@image.dk http://www.image.dk/~nkbj/