Parallel port printer not working

Bug #37881 reported by grendel970
8
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I have an HP Deskjet 722c connected via parallel port which does not work. The system recognizes it and attaches lp0.

I have applied the / to - change from bug #32085, cups seems to behave better and it looks like the jobs complete successfully, but the printer still does not work.

I have tried:
1. installing ppd file for this printer from linuxprinting.org (after changing / to - in *NickName*)
2. chmod 666 on /dev/lp0, not a permissions problem
3. turned debugging on in cups
4. Tried many different bios changes, ECP mode, irq 7 reserved and not reserved, PNP off and on,, etc, the printer is always recognized through these changes, but no go. Even resetting bios to defaults which is 0x378/SPP/irq7 does not work.
5. dpkg-reconfigure cupsys

Unfortunately I cannot echo anything raw to the printer. I know the parallel port and printer work fine as I can boot into my other distro (FC3) and bing, it works.

I did not try the printer in breezy, I just installed and did an upgrade to dapper, but from the bootup in the breezy kernel I did get the "PnPBIOS parallel port detected..." message, which I have not receieved since going to the 2.6.15 dapper kernel.

Revision history for this message
grendel970 (dn) wrote :

this seems related to bug #33161.

Revision history for this message
grendel970 (dn) wrote :

The following is my printer, this is one of 13 not configured to the acpi problem.

 pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0400

I have tried:

pnpacpi=off
pci=noapic,routeirq
pci=routeirq
acpi=off
acpi=strict
I have tried pnpacpi=off with ACPI v2.0 turned on at bios (off by default).
All of these were with 0x378 and irq 7 set for the parallel port in bios with spp mode, and mostly with irq7 reserved. I think this is definitely an acpi problem.

pnpacpi=off removes the error messages, and throughout all of these the printer is recognized, but it still will not work. I am guessing the magic point is (like in breezy) where I get acpi pnp configuring all devices, specifically my parallel port.

Revision history for this message
grendel970 (dn) wrote :

2.6.15-20 does not fix, the acpi pnp fix does make it detect properly but it still does not work, tried:

irq7,0x378
above w/ irq7 reserved
ecp mode with above and dma0

oddly enough when tracing cups parallel writer, I get the following repeatedly on descriptor 4?

read(4, 0xbfb21dae, 1024) = -1 EBADF (Bad file descriptor)

Revision history for this message
grendel970 (dn) wrote :

Actually it turns out the problem was somewhere in cups or the filters because with the recent cups updates the printer now works, and I tried on on 2.6.15-19 with broken acpi pnp and it still worked. Nice job ubuntu guys!

Changed in linux-source-2.6.15:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.