Trond Eivind Glomsrød (teg@pvv.ntnu.no)
10 Feb 1998 09:49:02 +0100
Andrea Arcangeli <arcangeli@mbox.queen.it> writes:
> Before any try apply the patch I will sent you via private email that
> fixes some not very dangerous bugs in the latest parport staff.
Applied. Didn't make a difference.
> At first you can try to apply this patch against 2.1.85 in ordert to be
> sure that this is a problem related to interrupt handling.
>
> --- linux/include/linux/lp.h 1998/02/09 12:21:23 1.1
> +++ linux/include/linux/lp.h 1998/02/09 18:57:42
> @@ -159,7 +159,7 @@
> */
> #define LP_DELAY 50
>
> -#define LP_POLLING(minor) (lp_table[(minor)].dev->port->irq == PARPORT_IRQ_NONE)
> +#define LP_POLLING(minor) 1
> #define LP_PREEMPTED(minor) (lp_table[(minor)].dev->port->waithead != NULL)
>
> /*
This "worked".
> This patch force the printer to work polled. If now all is right I suspect
> that the bug is related to at least ECP interrupt handling.
>
> Now revert the patch.
Done.
> As second you can try to change your bios parport settings from ECP to EPP
> and try to print again.
I only have "old", PS2 and ECP.
> How long is the stall during the printing? Maybe exactly 1min?
No - varying from about half a minute to more than 50 secs.
What does help, is specifying the IRQ to be either -2 (turn off
autoprobing) or 7 (specifying it).
Without parameters in conf.modules I get:
parport0: PC-style at 0x378, irq 8 [SPP,ECPPS2]
parport0: Printer, HEWLETT-PACKARD DESKJET 600
lp0: using parport0 (interrupt-driven).
I applied the ECP patch by Tim Waugh, and it now works without
parameters (dmesg:
parport0: PC-style at 0x378, irq 7 [SPP,ECPPS2]
parport0: Printer, HEWLETT-PACKARD DESKJET 600
lp0: using parport0 (interrupt-driven).
)
-- Trond Eivind Glomsrød http://s9412a.steinan.ntnu.no/~teg/ ** teg@pvv.ntnu.no-- 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:27 EST