Hi,

When I load the 'lp' module, I got the following

[jean-luct@debian-f5ibh] ~ # modprobe lp
parport0: PC-style at 0x378 (0x778), irq 7 [SPP,ECP,ECPEPP,ECPPS2]
parport0: Unspecified, EPSON Styl
lp0: using parport0 (interrupt-driven).

After increasing the 'giveup' delay in parport_probe.c, I've the correct
output :

[jean-luct@debian-f5ibh] ~ # modprobe lp
parport0: PC-style at 0x378 (0x778), irq 7 [SPP,ECP,ECPEPP,ECPPS2]
parport0: Printer, EPSON Stylus COLOR 500
lp0: using parport0 (interrupt-driven).

--- parport_probe.old   Sat Jun 23 10:01:57 2001
+++ parport_probe.c     Sat Jun 23 13:16:48 2001
@@ -55,7 +55,7 @@
        unsigned int count = 0;
        unsigned char z=0;
        unsigned char Byte=0;
-       unsigned long igiveupat=jiffies+5*HZ;
+       unsigned long igiveupat=jiffies+9*HZ;
 
        for (i=0; time_before(jiffies, igiveupat); i++) {
               /* if(current->need_resched) schedule(); */

----
Regards
                Jean-Luc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to