It looks like the parport support is broken on my laptop (beta hw #12). I have an hp lj 1100 connected to my parport but it is not possibel to communicate with the printer (/dev/lp0 behaves like /dev/null). I connected the printer to another box running rh 7.1 and printing works fine, in particular the printer is detected fine by the kernel: [gerald@s1 gerald]$ cat /proc/sys/dev/parport/parport0/autoprobe CLASS:PRINTER; MODEL:HP LaserJet 1100; MANUFACTURER:Hewlett-Packard; DESCRIPTION:HP LaserJet 1100 Printer; COMMAND SET:MLC,PCL,PJL but on my laptop the file remains empty. The same laptop/printer worked fine under redhat 7.0. Moroever, I just tested that printing from win98 still works, so the hardware is fine. Output from dmesg: ----------------------------------------------- Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ... Winbond chip at EFER=0x250 key=0x89 devid=2d devrev=21 oldid=2d Winbond chip type 83877ATF SMSC Super-IO detection, now testing Ports 2F0, 370 ... parport0: PC-style at 0x378 [PCSPP] parport0: cpp_daisy: aa5500ff(98) parport0: assign_addrs: aa5500ff(98) parport0: cpp_daisy: aa5500ff(98) parport0: assign_addrs: aa5500ff(98) lp0: using parport0 (polling). ---------------------------------------------------- I also tried the suggestions from parport.txt (irq=none ....) but to no avail.
Please try this: Load the parport_pc module (modprobe parport_pc) Load the lp module (modprobe lp) Power the printer off. Unplug it from the port. Re-insert it, and power it on. See if you can print. Thanks.
Already tried this, but it won't work.
- Does the port do ECP in hardware (i.e. is 'ECP' an option in the BIOS)? If so, did you try recompiling the kernel with parallel port FIFO support (CONFIG_PARPORT_PC_FIFO)? - Also, could you see if disabling CONFIG_PARPORT_SUPERIO has any effect? - When you say that /dev/lp0 acts like /dev/null, do you mean that the printer doesn't even act like it's being spoken to? No lights flashing? - /dev/lp0 _is_ a char special file..? ;-)
Yes, I do have ECP as an option. I changed the mode to ECP but it still doesn't work (had no time to recompile the kernel yet). By "/dev/null" I mean "no flashing lights" on the printer.
I changed the BIOS setting to ECP and recompiled the kernel with CONFIG_PARPORT_PC_FIFO but it makes no difference.
Still broken in current erata kernel-2.4.3-12.
If you boot a 2.2.x kernel (say, the latest 7.0 errata kernel), can _that_ print to this printer, keeping everything else the same?
Yes, with a 2.2.x kernel printing works just fine.
> I changed the BIOS setting to ECP and recompiled the kernel with > CONFIG_PARPORT_PC_FIFO > but it makes no difference. Could you show me the dmesg output from this? Thanks.
I can confirm this problem, and in quite different hardware at that: desktop K6-2/500 (PC-Chips PC100 mainboard), and a Canon BJC-1000. Haven't done the tests suggested yet, but will do tonight. In the meantime, could I suggest you try the absolute latest Alan Cox kernel (2.4.5-ac23)?
Problem resolved in kernel-2.4.6-2 from rawhide.