Re: ECP+EPP mode problem with IOMEGA Zip

Tim Waugh (tim@cyberelk.demon.co.uk)
Tue, 19 Jan 1999 20:45:47 +0000 (GMT)


Could people who are having trouble with their parallel ports not getting
found try this patch and let me know if it changes anything?

Thanks,
Tim.
*/

--- linux/drivers/misc/parport_pc.c~ Tue Jan 19 20:11:32 1999
+++ linux/drivers/misc/parport_pc.c Tue Jan 19 20:14:03 1999
@@ -354,6 +354,7 @@
parport_pc_epp_clear_timeout(pb);

/* Do a simple read-write test to make sure the port exists. */
+ parport_pc_write_econtrol(pb, 0xc);
parport_pc_write_control(pb, 0xc);
parport_pc_write_data(pb, 0xaa);
if (parport_pc_read_data(pb) != 0xaa) return 0;

-
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/