> I've got a box running 2.1.91 that is exhibiting duplicate characters when
> printing to an HPLJ6P.
2.1.91 exposes parport_pc bug that was previously hidden, which I think
may account for both of your problems.
The closest I have to a fix at the moment is this (you may have to apply
it by hand):
--- linux/drivers/misc/parport_pc.c.orig Thu Apr 2 23:12:01 1998
+++ linux/drivers/misc/parport_pc.c Thu Apr 2 23:13:31 1998
@@ -894,6 +894,8 @@
p->flags |= PARPORT_FLAG_COMA;
/* Done probing. Now put the port into a sensible start-up state. */
+ if (p->modes & PARPORT_MODE_PCECR)
+ parport_pc_frob_control(p, 0xe0, 0);
parport_pc_write_control(p, 0xc);
parport_pc_write_data(p, 0);
However, there appears to be another bug or two lurking in the detection
code, because the port is detected as supporting a different set of modes
after being rmmod'ed and re-insmod'ed.
Let me know of any unwanted symptoms that are still present after applying
this patch.
Tim.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu