[PATCH] Re: 2.2.1-8: Unable to print if printer in ON during boot

Tim Waugh (tim@cyberelk.demon.co.uk)
Sat, 15 May 1999 14:43:23 +0100 (GMT)


Hi Serguei,

Could you please verify that this patch fixes the problem? I've cc'd this
to others who have also reported the same symptoms.

This patch is a candidate for 2.2.10. The problem it is supposed to fix
only manifests itself when the BIOS is set to an EPP mode. Please try
this patch out and let me know if it works or not.

Thanks,
Tim.
*/

--- linux-2.2.9/drivers/misc/parport_pc.c Wed May 12 09:14:37 1999
+++ linux/drivers/misc/parport_pc.c Sat May 15 14:32:59 1999
@@ -832,8 +832,11 @@
* Put the ECP detected port in the more SPP like mode.
*/
parport_pc_write_econtrol(p, 0x0);
- parport_pc_write_control(p, 0xc);
+ parport_pc_write_control(p, 0x8);
parport_pc_write_data(p, 0);
+ udelay (50);
+ parport_pc_write_control(p, 0xc);
+ udelay (50);

if (parport_probe_hook)
(*parport_probe_hook)(p);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/