cupsys does not automatically detect parallel printer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
gnome-cups-manager (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
linux-source-2.6.17 (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
NOTE: I'm guessing as to the faulty package!
Bring up System>
It's an HP LaserJet 6p connected to the only parallel port on my Intel D865GLC motherboard. Dapper is fully upgraded as of c. 1 hour ago.
Daniel Holbach (dholbach) wrote : | #1 |
Changed in gnome-cups-manager: | |
status: | Unconfirmed → Needs Info |
Mark W. Tomlinson (mark-tomlinson) wrote : Output of gnome-cups-manager | #2 |
- Output of gnome-cups-manager Edit (134.1 KiB, text/plain)
...when executed from the CLI in a terminal.
Mark W. Tomlinson (mark-tomlinson) wrote : Re: 6.04 (Dapper) doesn't recognize working printer | #3 |
Above is the redirected output from gnome-cups-manager (version 0.31-1.1ubuntu1). The cupsd daemon is running (well, sleeping) and the cupsys service is activated.
Let me know if you need more...
Neil Woolford (neil-neilwoolford) wrote : | #4 |
Very similar experience here with an Epson CX-3200 which has worked fine under Warty through to Breezy. (Though requiring manual selection of "USB Printer #1" on the Properties Connection tab to work under Breezy. I think this may have been more automatic under earlier releases)
Using Dapper, when the Add a Printer wizard appears, there is no printer detected and if I try to specify a port then no USB ports are listed for selection. Just LPT #1, Parallel Port #1 (Epson or Canon) and hp no_device_found. So I can't get the printer to run at all under Dapper using the gui.
Running gnome-cups-manager produced little output; the most I got on one run was "IPP request failed with status 1030" repeated a couple of times.
Neil
Neil Woolford (neil-neilwoolford) wrote : Redirected terminal output when running gnome-cups-manager from the command line. | #5 |
- Redirected terminal output when running gnome-cups-manager from the command line. Edit (134.1 KiB, text/plain)
Updated Dapper at around 8pm on the 6th of February. Noticed some printer system and database updates, so thought I'd try again!
Invoked gnome-cups-manager from a terminal as an ordinary user.
Redirected the output into this file.
Went as far as the stage at which the wizard pops up to tell me that no printer has been detected, and from which I can't select the USB port so can't look for the printer myself. Problem still here for me then...
Neil
Foaming Draught (foamingdraught) wrote : Re: 6.04 (Dapper) doesn't recognize working printer | #6 |
Same here. USB locally-atteched Epson CX5100 which is fine under Breezy. HAL and lsusb show it in all its glory, but the new printer dialogue on GNOME and KDE can't find it. I shouldn't have to use localhost:631 in the 21st century, but there isn't even a USB port option there.
This is being posted about at half-hourly intervals on the Dapper forum by GDE and KDE users, and still no response. Can we make it critical, please, and have an update?
I suspect that Gutenprint has a hand in the problem. There is a bug filed about Gutenprint drivers not loading.
Mark W. Tomlinson (mark-tomlinson) wrote : | #7 |
Just did a fresh install of the "Flight 4" ISO, identical results - HP LaserJet 6p connected to only parallel port on Intel D865GLC mainboard still not being recognized & must be manually installed.
Foaming Draught (foamingdraught) wrote : | #8 |
Output from gnome-cups-manager is:
** (gnome-
It would be nice to see some comment on the Dapper development forum or on here about when, if ever, we will be able to print from a locally-attached USB printer
essexman (ralphsmail) wrote : | #9 |
I can confirm this bug, (having just figured out how to use the search properly)
Bug #31178 https:/
Mark W. Tomlinson (mark-tomlinson) wrote : | #10 |
FYI to all interested parties:
Earlier today, I downloaded & installed the latest release of Foresight Linux (which also uses GNOME 2.13.91/2) and encountered exactly the same behavior - gnome-cups-manager fails to detect the printer, port & printer must be manually installed.
Looks like it's not just an Ubuntu issue to me...
Pascal De Vuyst (pascal-devuyst) wrote : | #11 |
Please post the output of:
$ lpinfo -v
This shows the printer devices available to cups.
What is the output of (only if you have a HP printer):
$ hp-probe
What happens if you stop hplip, restart cups an then run lpinfo -v again:
$ sudo /etc/init.d/hplip stop
$ sudo /etc/init.d/cupsys restart
$ lpinfo -v
Mark W. Tomlinson (mark-tomlinson) wrote : | #12 |
mark@anduril:~$ lpinfo -v
network socket
network beh
network bluetooth
direct hp:/no_device_found
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct canon:/dev/lp0
direct epson:/dev/lp0
network smb
mark@anduril:~$ hp-probe
HP Linux Imaging and Printing System (ver. 0.9.6)
Device Detection (Probe) Utility ver. 1.3
Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
[WARNING]: No devices found. If this isn't the result you are expecting,
[WARNING]: check to make sure your devices are properly connected.
mark@anduril:~$
mark@anduril:~$ sudo /etc/init.d/hplip stop
Password:
* Stopping HP Linux Printing and Imaging System [ ok ]
mark@anduril:~$ sudo /etc/init.d/cupsys restart
* Stopping Common Unix Printing System: cupsd [ ok ]
* Starting Common Unix Printing System: cupsd ...done.
mark@anduril:~$ lpinfo -v
network socket
network beh
network bluetooth
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct canon:/dev/lp0
direct epson:/dev/lp0
network smb
mark@anduril:~$
_RoX_ (robi-lampreht) wrote : | #13 |
The problem is ownership of /dev/usblp0 as it is assigned to scanner group. Change that to lp and voila.
Run:
sudo chown root:lp /dev/usblp0
After that lpinfo -v should recognize it.
I have DX3850 on USB and have just printed test page :)
Have fun.
Mark W. Tomlinson (mark-tomlinson) wrote : | #14 |
RoX, I'm confused. My LaserJet 6p is connected via parallel port, not USB - in fact, I don't even have a /dev/usblp0 file to be owned by anyone...
Thanks for the feedback, though.
_RoX_ (robi-lampreht) wrote : | #15 |
If it's connected via lpt, you should check /dev/lp0 for group.
ls -l /dev/lp0
But I couldn't even manually configured my printer because there was no option for usb port and this solved it for me.
Neil Woolford (neil-neilwoolford) wrote : | #16 |
Thank you RoX!
If I make the suggested change of /dev/usblp0 from scanner to root, my Epson CX3200 scanner/printer is detected by the gui Add Printer system. It prints a test page, and is still recognised by XSane as a working scanner.
The goodness doesn't survive a reboot of course; although the printer is still listed as installed it is now back in the scanner group and so won't print until the manual change is made again.
My naive take on this is that the problem is the multi-function device identifying as only one of its functions and therefore ending up in a restrictive group. Thus gnome-cups-manager and gutenprint drivers are innocent. The problem perhaps lies in udev/hal magic that I do not understand...
Surely there should be a witty t-shirt for *nix people with a slogan on the lines of "It's always a file permissions/groups problem...". But witty of course, rather than just descriptive ;)
Neil
Martin Pitt (pitti) wrote : | #17 |
Rox, thanks a lot for the great debugging.
The cure is quite easy: the cupsys user should be in the 'scanner' group, too:
sudo adduser cupsys scanner
I will add this to the cupsys package postinstallation script, so that it will happen automatically.
Changed in cupsys: | |
assignee: | nobody → pitti |
status: | Unconfirmed → Confirmed |
Martin Pitt (pitti) wrote : | #18 |
Rejecting the gnome-cups-manager task, the problem is in cupsys (confirmed task).
Changed in gnome-cups-manager: | |
status: | Needs Info → Rejected |
Mark W. Tomlinson (mark-tomlinson) wrote : | #19 |
I think the "sudo adduser cupsys scanner" fix might be effective for multifunction device users, but I'm still seeing the original behavior: when I open Printers>Add a Printer, it's still telling me "No printers detected", whereas in Breezy it correctly identifies my HP LaserJet 6p connected to the parallel port.
Am I missing something here? I hope? <g>
Martin Pitt (pitti) wrote : Re: cupsys cannot access printer/scanner device | #20 |
cupsys (1.1.99.
.
* debian/rules: Do not install dangling pdftops.conf symlink. (Malone #26785)
* debian/
to this version.
* debian/
printer/
* debian/
writable. (Malone #31533)
* debian/
permissions. (Malone #33409)
* Add debian/
access_log with successful CUPS-Get-Printers and Get-Printer-
queries (which are generated by gnome-cups-icon every 3 seconds). This is
a hideous and hackish patch, but it has to do until we dbusify cupsys
properly. (Malone #29895)
Please open a new bug if you have troubles with a particular printer.
Changed in cupsys: | |
status: | Confirmed → Fix Released |
Mark W. Tomlinson (mark-tomlinson) wrote : AddPrinter Dialogue - Breezy | #21 |
Mark W. Tomlinson (mark-tomlinson) wrote : AddPrinter Dialogue - Dapper | #22 |
Romakin (romakin-deactivatedaccount) wrote : Printer Problems | #23 |
Me too! Printer = Canon BJC-1000, connected by a serial cable.
In Breezy everything worked fine, but not Dapper Flight 5.
nick@ubuntu:~$ lpinfo -v
network socket
network beh
network bluetooth
direct hp:/no_device_found
network http
network ipp
network lpd
network smb
Mark W. Tomlinson (mark-tomlinson) wrote : Re: cupsys cannot access printer/scanner device | #24 |
I see that the status on this bug has been changed to "fix released". The update to cupsys may have fixed the multifunction, USB-connected device issue, but the problem still remains that my parallel-connected printer, which was recognized & IDed by Breezy, doesn't seem to exist for Dapper.
This is not a showstopper (I can "make" my printer work). But I think expecting Dapper to at least work as well as Breezy is not unreasonable.
Martin Pitt (pitti) wrote : | #25 |
Reopening for the parallel port printer issue.
Changed in cupsys: | |
assignee: | pitti → nobody |
status: | Fix Released → Confirmed |
grendel970 (dn) wrote : | #26 |
I can confirm this issue exists with all latest dapper updates for my parallel connected hp deskjet 722c. The system does recognize it and connects lp0, but the box is grayed with "no printers detected".
I also cannot get my printer to work at all, even after replacing the / with - in the *NickName* fields in the .ppd file (BUG #32085), but this may be another issue which I am still investigating.
Martin Pitt (pitti) wrote : | #27 |
Can you please precisely define 'the problem'? As far as I understand, the remaining bug is about a parallel printer not being automatically detected, but you can configure it manually. Is that right?
Changed in cupsys: | |
status: | Confirmed → Needs Info |
Mark W. Tomlinson (mark-tomlinson) wrote : | #28 |
Martin - that's correct. Quickest way to clarify would be to check the "AddPrinter dialogue" screenshots I previously attached, but:
In Breezy, when I selected "Add a printer", my LaserJet-6p was automatically identified under "Use a detected printer". In Dapper, the same action yields "no printer detected" - I have to manually select the port (LPT #1). Then, the driver selection proceeds the same as under Breezy.
One other note - gnome-cups-manager is VERY slow. I just opened it and selected "Properties" for my default printer and it took c. 30 seconds to bring up the properties dialogue. I'd thought it sluggish before but this is a new level of "slow". Don't know if it's related or not...
grendel970 (dn) wrote : Re: [Bug 29050] Re: cupsys cannot access printer/scanner device | #29 |
Martin,
ditto on Mark Tomlinson's explanation, including the slow speed, all
except that I have no confirmation my printer worked in worked in
Breezy, which I have never used.
This may be part of another issue, specifically I cannot make my printer
work at all, even after applying the fix in bug #32085. I have opened
bug #37881 against this.
On Mon, 2006-04-03 at 14:55 +0000, Martin Pitt wrote:
> Can you please precisely define 'the problem'? As far as I understand, the remaining bug is about a parallel printer not being automatically detected, but you can configure it manually. Is that right?
>
> ** Changed in: cupsys (Ubuntu)
> Status: Confirmed => Needs Info
>
> ** Summary changed:
>
> - cupsys cannot access printer/scanner device
> + cupsys does not automatically detect parallel printer
Julian Robbins (joolsr) wrote : | #30 |
Hi I can confirm with dapper flight 5 and with all updates with that with my HP laserjet 5L Parallel, it isn't detected automatically by Gnome-CUPS manager. The device is picked up in dmesg.
This printer did also work fine in hoary, breezy without issues.
I also have a USB Epson Stylus Color 680 which was picked up fine with my current dapper setup.
I havent tried any manual fixes, as its way past my bedtime, but will help bug check if reqd !
Mark W. Tomlinson (mark-tomlinson) wrote : | #31 |
Now, as of the 04/10/06 updates, I can't install my printer at all. With cupsys 1.1.99.
In gnome-cups-manager, when I click "Apply" after selecting the appropriate driver (from either HP or HPLIP lists), I'm immediately returned to the gnome-cups-manager window where the only icon visible is "New Printer". I've waited c. 20 minutes to make sure, I've tried it with "Detect LAN printers" enabled and disabled, I've rebooted - nothing.
Matthias Klose (doko) wrote : | #32 |
please recheck after a dist-upgrade to dapper 20060414, you should have installed
cupsys 1.1.99.
hplip-ppds 0.9.6-1ubuntu8
Changed in cupsys: | |
assignee: | nobody → doko |
Mark W. Tomlinson (mark-tomlinson) wrote : | #33 |
Matthias,
Yes, I do have those versions of cupsys and hplip-ppds. I'm now able to "manually" configure my printer (as before). It still doesn't recognize the printer, as Breezy did, though.
grendel970 (dn) wrote : | #34 |
Still a no go with my HP Deskjet 722c which is using the foomatic filters, the printer works fine, but it's not automatically detected.
essexman (ralphsmail) wrote : | #35 |
I think this is upstream, as I have tried the latest Simply MEPIS version 6.0 pre-alpha and got the same result as Dapper
essexman (ralphsmail) wrote : | #36 |
Matthias,
This is an old bug, but it is marked "Needs Info". What information do you need?
Martin Pitt (pitti) wrote : | #37 |
Can you please try again with this version?
cupsys (1.1.99.
.
* debian/
Closes: LP#40725
* debian/
privileges in scheduler/
concerning detection of parallel port printers and other 'permission
denied' bugs.
Changed in cupsys: | |
assignee: | doko → pitti |
Mark W. Tomlinson (mark-tomlinson) wrote : | #38 |
Martin - I installed the 1.1.99.rc2-0ubuntu2 cupsys, rebooted and got the same thing - "no printer found".
Martin Pitt (pitti) wrote : Re: [Bug 29050] Re: cupsys does not automatically detect parallel printer | #39 |
Hi Mark,
Mark W. Tomlinson [2006-04-24 21:41 -0000]:
> Martin - I installed the 1.1.99.rc2-0ubuntu2 cupsys, rebooted and got
> the same thing - "no printer found".
Alright, then let's dig a bit deeper. Can you please copy&paste the
output of the following two commands here:
ls -l /dev/lp*
sudo -u cupsys /usr/lib/
sudo /usr/lib/
Comparing the outputs shuold be interesting. BTW, the last bit of
output looks a bit like garbage, don't worry please.
Thank you!
Mark W. Tomlinson (mark-tomlinson) wrote : | #40 |
OK, here:
mark@anduril:~$ ls -l /dev/lp*
crw-rw---- 1 root lp 6, 0 2006-04-24 13:36 /dev/lp0
mark@anduril:~$ sudo -u cupsys /usr/lib/
Password:
DEBUG: [cups-deviced] Added device "hp:/no_
DEBUG: [cups-deviced] Added device "beh"...
DEBUG: [cups-deviced] Added device "ipp"...
DEBUG: [cups-deviced] Added device "lpd"...
DEBUG: [cups-deviced] Added device "smb"...
DEBUG: [cups-deviced] Added device "http"...
DEBUG: [cups-deviced] Added device "canon:/dev/lp0"...
DEBUG: [cups-deviced] Added device "epson:/dev/lp0"...
DEBUG: [cups-deviced] Added device "parallel:
DEBUG: [cups-deviced] Added device "socket"...
DEBUG: [cups-deviced] Added device "bluetooth"...
Content-Type: application/ipp
Gattribute
device-
device-urisocketA device-
I did a direct C&P of both of your "sudo" lines together, since there seemed to be some connection ( with the quotation (") marks). Let me know if this is what you wanted...
Martin Pitt (pitti) wrote : | #41 |
I only see the output of 'sudo -u cupsys ...', not the output of 'sudo /usr/lib/
Please note that the trailing '' are two single quotes, not a double quote. Please just copy&paste the commands into a terminal to avoid confusion. :)
Michael Crider (mecrider) wrote : | #42 |
If it helps any, I have the same problem with both a HP LaserJet 1100 and a HP DeskJet 920C. Here is the output I get from the above commands with the DeskJet attached:
username@ubuntu:~$ ls -l /dev/lp*
crw-rw---- 1 root lp 6, 0 2006-04-25 04:59 /dev/lp0
username@ubuntu:~$ sudo -u cupsys /usr/lib/
Password:
DEBUG: [cups-deviced] Added device "bluetooth"...
DEBUG: [cups-deviced] Added device "beh"...
DEBUG: [cups-deviced] Added device "smb"...
DEBUG: [cups-deviced] Added device "ipp"...
DEBUG: [cups-deviced] Added device "epson:/dev/lp0"...
DEBUG: [cups-deviced] Added device "canon:/dev/lp0"...
DEBUG: [cups-deviced] Added device "hp:/no_
DEBUG: [cups-deviced] Added device "http"...
DEBUG: [cups-deviced] Added device "lpd"...
DEBUG: [cups-deviced] Added device "parallel:
DEBUG: [cups-deviced] Added device "socket"...
Content-Type: application/ipp
Gattribute
device-
device-urisocketA device-id
username@ubuntu:~$ sudo /usr/lib/
DEBUG: [cups-deviced] Added device "bluetooth"...
DEBUG: [cups-deviced] Added device "beh"...
DEBUG: [cups-deviced] Added device "smb"...
DEBUG: [cups-deviced] Added device "ipp"...
DEBUG: [cups-deviced] Added device "epson:/dev/lp0"...
DEBUG: [cups-deviced] Added device "canon:/dev/lp0"...
DEBUG: [cups-deviced] Added device "hp:/no_
DEBUG: [cups-deviced] Added device "http"...
DEBUG: [cups-deviced] Added device "lpd"...
DEBUG: [cups-deviced] Added device "parallel:
DEBUG: [cups-deviced] Added device "socket"...
Content-Type: application/ipp
Gattribute
device-
device-urisocketA device-ido
Martin Pitt (pitti) wrote : | #43 |
Thanks, Mark. So it does not seem to be a permission problem at all, but the parallel backend simply doesn't seem to recognize your printer.
Mark W. Tomlinson (mark-tomlinson) wrote : | #44 |
Sorry, Martin - I definitely haven't reached guru stage yet:
mark@anduril:~$ ls -l /dev/lp*
crw-rw---- 1 root lp 6, 0 2006-04-25 03:50 /dev/lp0
mark@anduril:~$ sudo -u cupsys /usr/lib/
Password:
DEBUG: [cups-deviced] Added device "hp:/no_
DEBUG: [cups-deviced] Added device "beh"...
DEBUG: [cups-deviced] Added device "ipp"...
DEBUG: [cups-deviced] Added device "lpd"...
DEBUG: [cups-deviced] Added device "smb"...
DEBUG: [cups-deviced] Added device "http"...
DEBUG: [cups-deviced] Added device "canon:/dev/lp0"...
DEBUG: [cups-deviced] Added device "epson:/dev/lp0"...
DEBUG: [cups-deviced] Added device "parallel:
DEBUG: [cups-deviced] Added device "socket"...
DEBUG: [cups-deviced] Added device "bluetooth"...
Content-Type: application/ipp
Gattribute
device-
device-urisocketA device-
DEBUG: [cups-deviced] Added device "hp:/no_
DEBUG: [cups-deviced] Added device "beh"...
DEBUG: [cups-deviced] Added device "ipp"...
DEBUG: [cups-deviced] Added device "lpd"...
DEBUG: [cups-deviced] Added device "smb"...
DEBUG: [cups-deviced] Added device "http"...
DEBUG: [cups-deviced] Added device "canon:/dev/lp0"...
DEBUG: [cups-deviced] Added device "epson:/dev/lp0"...
DEBUG: [cups-deviced] Added device "parallel:
DEBUG: [cups-deviced] Added device "socket"...
DEBUG: [cups-deviced] Added device "bluetooth"...
Content-Type: application/ipp
Gattribute
device-
device-urisocketA device-
Although it sounds like you got what you needed from Michael's output, above.
Michael Crider (mecrider) wrote : | #45 |
As Mark's pictures posted March 6 show, the backend did recognize all of our printers in Breezy (or, in my case, Hoary - they were already installed when I dist-upgraded to Breezy).
Martin Pitt (pitti) wrote : | #46 |
Can you please give me the output of
dmesg|grep lp0
? If it indicates that the parallel port is used in 'ECP' mode, can you please switch it to EPP in the BIOS and check whether it works then?
Mark W. Tomlinson (mark-tomlinson) wrote : | #47 |
Martin - my system supports 4 parallel port modes: output only, bi-directional, EPP and ECP. None of the settings cause any change in the behavior of cupsys ("no printer found"). I added comments (;) to my terminal output:
mark@anduril:~$ dmesg|grep lp0 ;Output only mode
[4294688.737000] lp0: using parport0 (interrupt-driven).
mark@anduril:~$
mark@anduril:~$ dmesg|grep lp0 ;Bi-directional mode
[4294689.781000] lp0: using parport0 (interrupt-driven).
mark@anduril:~$
mark@anduril:~$ dmesg|grep lp0 ;EPP mode
[4294692.569000] lp0: using parport0 (interrupt-driven).
mark@anduril:~$
mark@anduril:~$ dmesg|grep lp0 ;ECP mode
[4294688.682000] lp0: using parport0 (interrupt-driven).
[4294764.613000] lp0: ECP mode
mark@anduril:~$
Also, my BIOS allows 3 separate parallel port states: disabled, enabled (select I/O, IRQ & DMA) and auto. Again, choosing between enabled and auto made no difference.
Michael Crider (mecrider) wrote : | #48 |
dmesg showed my Toshiba Satellite A50's parallel port was in ECP. However, BIOS only has two options: ECP and Standard Bi-Directional. Neither setting allowed my printers to be detected.
Martin Pitt (pitti) wrote : | #49 |
Julien, you mentioned that in Breezy the parallel printer was picked up in dmesg. How did that look like? Is the output (dmesg | grep lp) still the same or similar in Dapper, or does it indicate that the lp module did not detect the printer any more for some reason?
I. e. can anyone who experiences this do 'dmesg | grep lp' in Breezy and Dapper (using the live CDs should do) and give the results here? Please also save the 'lpinfo -v' output under Breezy and Dapper. (Gosh, I should really find a parallel printer to test this myself).
Thanks in advance for any help!
Martin Pitt (pitti) wrote : | #50 |
Just a note, when you test this under Breezy, please make sure that the printer is already turned on at boot time, since breezy's cups did not detect newly attached printers (not without restarting cups, that is).
Mark W. Tomlinson (mark-tomlinson) wrote : | #51 |
Martin,
From Breezy (Live CD, I replaced my Breezy install with Dapper):
ubuntu@ubuntu:~$ dmesg | grep lp
[4294671.645000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[4294679.437000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[4294765.827000] lp0: using parport0 (interrupt-driven).
[4294797.839000] lp0: ECP mode
[4294797.861000] lp0: ECP mode
[4294797.917000] lp0: ECP mode
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ lpinfo -v
network socket
network bluetooth
direct hp:/no_device_found
network http
network ipp
network lpd
direct canon:/dev/lp0
direct epson:/dev/lp0
direct parallel:/dev/lp0
direct usb:/dev/usb/lp0
direct usb:/dev/usb/lp1
direct usb:/dev/usb/lp2
direct usb:/dev/usb/lp3
direct usb:/dev/usb/lp4
direct usb:/dev/usb/lp5
direct usb:/dev/usb/lp6
direct usb:/dev/usb/lp7
direct usb:/dev/usb/lp8
direct usb:/dev/usb/lp9
direct usb:/dev/usb/lp10
direct usb:/dev/usb/lp11
direct usb:/dev/usb/lp12
direct usb:/dev/usb/lp13
direct usb:/dev/usb/lp14
direct usb:/dev/usb/lp15
network smb
ubuntu@ubuntu:~$
From Dapper:
mark@anduril:~$ dmesg | grep lp
[4294667.296000] On node 0 totalpages: 261935
[4294670.040000] Calibrating delay using timer specific routine.. 5589.95 BogoMIPS (lpj=2794976)
[4294670.581000] Calibrating delay using timer specific routine.. 5585.62 BogoMIPS (lpj=2792810)
[4294670.717000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[4294676.614000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[4294692.064000] lp0: using parport0 (interrupt-driven).
mark@anduril:~$
mark@anduril:~$ lpinfo -v
network socket
network beh
network bluetooth
direct hp:/no_device_found
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct canon:/dev/lp0
direct epson:/dev/lp0
network smb
mark@anduril:~$
Let me know if there's anything else you need!
ycopin (yannick-copin) wrote : | #52 |
I have the very same problem using HP Deskjet 695C on parallel port (with Ubuntu Dapper Beta with latest available updates).
Linux version 2.6.15-21-386 (buildd@rothera) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Fri Apr 21 16:43:33 UTC 2006
gnome-cups-manager: 0.31-1.1ubuntu6
cupsys: 1.1.99.rc3-0ubuntu1
The printer is not detected, and the CUPS configuration tools does not offer any extra possibility:
Use a detected printer: no printers detected
Use another printer by specifying a port: hp no_device_found
Still, the printer was detected at boot time (but nothing about lp device):
dmesg:
[4294682.357000] parport: PnPBIOS parport detected.
[4294682.358000] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[...]
[4294682.628000] parport0: Printer, HEWLETT-PACKARD DESKJET 690C
Cupsd is running, but there's no lp devices:
[sylvie@
ls: /dev/lp*: No such file or directory
Now, following your advice, I did:
[sylvie@
Password:
DEBUG: [cups-deviced] Added device "beh"...
DEBUG: [cups-deviced] Added device "bluetooth"...
DEBUG: [cups-deviced] Added device "hp:/no_
DEBUG: [cups-deviced] Added device "smb"...
DEBUG: [cups-deviced] Added device "ipp"...
DEBUG: [cups-deviced] Added device "http"...
DEBUG: [cups-deviced] Added device "lpd"...
FATAL: Error inserting lp (/lib/modules/
DEBUG: [cups-deviced] Added device "socket"...
Content-Type: application/ipp
[sylvie@
DEBUG: [cups-deviced] Added device "beh"...
DEBUG: [cups-deviced] Added device "bluetooth"...
DEBUG: [cups-deviced] Added device "hp:/no_
DEBUG: [cups-deviced] Added device "smb"...
DEBUG: [cups-deviced] Added device "ipp"...
DEBUG: [cups-deviced] Added device "http"...
DEBUG: [cups-deviced] Added device "lpd"...
DEBUG: [cups-deviced] Added device "parallel:
DEBUG: [cups-deviced] Added device "socket"...
Content-Type: application/ipp
This created the lp0 device:
dmesg:
[4295800.375000] lp0: using parport0 (interrupt-driven).
and offered me the possibility to specify a port for the printer:
Use another printer by specifying a port: LPT #1
After these steps (which I have to do after every reboot), the printer works properly. There's however still strange things happening **while printing**:
* the 'General status' of the printer (as quoted in the Deskjet-695C
Properties configuration tool) is:
Printer not connected; will retry in 30 seconds...
* the Connection tab says the printer is:
* Network printer CUPS (IPP)
* URI: parallel:/dev/lp0
Once the job is over, the status turns to 'Ready', and the Connection comes back to "Local printer" on LPT #1.
I hope it helps, it's really a nasty bug.
Martin Pitt (pitti) wrote : | #53 |
Part of the problem is bug 40826: /etc/modules does not contain 'lp' for systems installed with ubiquity (the live CD installer). Manually adding it there will make parallel printers work in general. However, they still don't seem to be detected automatically, which definitively is a breezy regression.
Can anyone with a parallel printer check whether this happens with the plain upstream 1.2rc3 as well?
Martin Pitt (pitti) wrote : Re: Bug #29050 | #54 |
Hi Mark,
Mark Tomlinson [2006-05-05 10:54 -0400]:
> Martin - I did read your latest bug reply. I'm gonna keep this "off-line",
> cause I've never done this before and I might be doing very stupid things
> here<g>...
Don't worry, you wouldn't believe which kind of bugs we get from time
to time :) (I don't blame anyone for it - after all, we are very happy
to see Ubuntu getting adopted by less experienced people!)
I do send this reply to the bug, though; I hope you do not mind.
> After rebooting, I brought up gnome-cups-manager & saw that my printer (HP
> LaserJet-6P) was still the default; printed a test page, no problem. I then
> tried "New Printer" & got the same "no printers detected". I did notice
> that "SCSI printer" was now listed under "Printer Port:", which I didn't
> recall seeing before.
In Ubuntu, the SCSI backend is disabled by default (something we
inherited from Debian). Enabling them is no problem, I'll think about
it.
Anyway, can you please remove your currently existing printer and
check if it gets detected then? Cups does not show detected printers
which are alreaady configured (it would be confusing otherwise). Also,
it would be helpful to get a nice debug log. So, please do the
following commands, which will take care of all that:
sudo killall cupsd
sudo rm /etc/cups/
sudo gedit /etc/cups/
sudo /usr/sbin/cupsd
This stops cupsd, cleans up printers and the log, and starts it again.
Then please start gnome-cups-add and check whether your printer
appears in the 'automatically detected' list. Then please do
sudo killall cupsd
again and attach /var/log/
> After selecting "LPT #1" and clicking Forward, I got...an empty
> list. There are no manufacturers or models listed - and that's
> where I'm at now.
That's quite understandable, since upstream cups does not look in
/usr/share/ppd, where printer drivers are in Debian/Ubuntu. I'm only
interested in whether cups automatically detects the parallel printer.
> I'm kinda over my head at this point - should I post this as a bug
> reply & let the smart people take over (& quit bothering you<g>)?
If you could just do the procedure I described above, that would be
incredibly helpful. Once I have the log, I'll pass this to upstream.
If just want to be sure that the problem is upstream's, and not a bug
we introduced in the Ubuntu package.
Thanks a lot for your help,
Martin
Mark W. Tomlinson (mark-tomlinson) wrote : CUPS 1.2rc3 Error Log | #55 |
Mark W. Tomlinson (mark-tomlinson) wrote : | #56 |
Okay, Martin, there's your log file, generated by doing the following:
mark@anduril:~$ sudo killall cupsd
Password:
mark@anduril:~$ sudo rm /etc/cups/
mark@anduril:~$ sudo gedit /etc/cups/
mark@anduril:~$ sudo /usr/sbin/cupsd
At this point, gnome-cups-add still shows "no printer detected".
mark@anduril:~$ sudo killall cupsd
mark@anduril:~$
and uploaded the log for you. Now, all I gotta do is figure out how to get my printer back<g>!
Mark W. Tomlinson (mark-tomlinson) wrote : | #57 |
Interestingly, the closest driver I could find from the CUPS 1.2rc3 tarball for my LaserJet-6P was "LaserJet-
Martin Pitt (pitti) wrote : | #58 |
Forwarded upstream: http://
Mark, thanks for your great help with debugging this! To get back your system to a normal state, please do a 'sudo make uninstall' in the upstream cups source directory and do
sudo dpkg -P --force-depends cupsys cupsys-client cupsys-bsd
sudo apt-get install cupsys cupsys-client cupsys-bsd
Martin Pitt (pitti) wrote : | #59 |
confirmed, forwarded upstream
Changed in cupsys: | |
status: | Needs Info → Confirmed |
Mark W. Tomlinson (mark-tomlinson) wrote : | #60 |
Martin - you're welcome. Let me know if I need to do anything else.
"To get back your system to a normal state"...Oops! Already wiped & reinstalled - but I'll keep your directions for the next time!
Trouilliez vincent (vincent-trouilliez-modulonet) wrote : | #61 |
Hi, just to say that as far as I am concerned, the bug is fixed.
I have a parport HP Laserjet 6P like Mark W. Tomlinson, and current Dapper now detects it properly.
Mark W. Tomlinson (mark-tomlinson) wrote : | #62 |
Vincent, unfortunately I can't agree. I just did the update that installed cupsys 1.1.99.
Can you think of anything that you're doing differently to me?
Trouilliez vincent (vincent-trouilliez-modulonet) wrote : | #63 |
Hmm yes, I may have an idea ! :-)
Try loading the "ppdev" module ("sudo modprobe ppdev").
I had forgotten about this module, which I had added manually, because of a program I installed, which required this module so as to gain (direct) control of the parallel port pins (not for printing). It creates /dev/parport0.
I fiddled with it a bit, removing and inserting this modules a few times, it seems to indeed be responsible for my good luck, so give it a try !
Now that helps, but that's still only a workaround and not a proper bug fix : why does one now need to load this modules to get that printer to work, when it wasn't necessary in Breezy ?
Mark W. Tomlinson (mark-tomlinson) wrote : | #64 |
Vincent - loading ppdev makes my LaserJet visible as well. It now "magically" appears when add printer is run. Hmm - I wonder if cupsys used to more closely monitor specific signals from the parallel port?
Oh, well - as you say, it's a workaround, not a fix. However, it may provide important information for the upstream folks (I see Martin has already passed it on to 'em).
Thanks, Vincent!
Martin Pitt (pitti) wrote : | #65 |
Can someone else confirm this? Is your printer detected after
sudo modprobe ppdev
? What does dmesg say after that command?
Mark W. Tomlinson (mark-tomlinson) wrote : | #66 |
Martin - here's some dmesg output, with comments:
mark@anduril:~$ dmesg | grep lp0 ;Before loading ppdev;
[4294689.655000] lp0: using parport0 (interrupt-driven).
mark@anduril:~$ sudo modprobe ppdev
Password:
mark@anduril:~$ dmesg | grep lp0 ;After loading ppdev;
[4294689.655000] lp0: using parport0 (interrupt-driven).
mark@anduril:~$ dmesg | grep lp0 ;After ppdev and after examing my printer's preoperties;
[4294689.655000] lp0: using parport0 (interrupt-driven).
[4294843.708000] lp0: ECP mode
[4294843.725000] lp0: ECP mode
[4294843.762000] lp0: ECP mode
mark@anduril:~$
Also, before ppdev, my printer port shows as "LPT #1"; after, it shows as "hp:/par/
If that's any help...
Mark W. Tomlinson (mark-tomlinson) wrote : | #67 |
To experiment, I added ppdev to my /etc/modules file. Now when I boot the systems "sees" my printer straightaway.
Is there a problem with leaving /etc/modules that way temporarily? I'm not seeing any adverse behavior...yet.
Martin Pitt (pitti) wrote : | #68 |
@Mark: no, not at all.
If that ppdev trick generally works, I will add loading of that module to the cupsys init script. I just want some confirmations that it does work.
Martin Pitt (pitti) wrote : | #69 |
cupsys (1.2.0-0ubuntu2) dapper; urgency=low
.
* debian/cupsys.init:
- Load the 'lp' module. Earlier installers did not put it in /etc/modules
and we keep getting dozens of bug reports about that, so let's just fix it
here once and for all.
- Load the 'ppdev' module. This should fix detection of parallel printers.
Closes: LP#29050
I got several success reports with the 'ppdev' module. Please check if it works for you now, and please cry out loudly and reopen this bug if it still does not work for you (but worked in dapper). Thank you!
Changed in cupsys: | |
status: | Confirmed → Fix Released |
essexman (ralphsmail) wrote : | #70 |
Fixed for me with latest update. Still slower than breezy when reading the database, but the on screen warning is good
Grant Ingram (g-l-ingram) wrote : | #71 |
Fixed for me (HP Deskjet 840C) after carrying out :
sudo modprobe ppdev
As requested.
Paolo Benvenuto (donpaolo) wrote : | #72 |
I've just dist-upgraded a breezy pc to just released dapper, gnome-cups-manager can't see any attacched printer.
I have a usb-only epson Stylus c45, which breezy recognized without problem.
The problem with usb printer still is present in dapper.
mogorvabb (andokan) wrote : | #73 |
gnome-cups-manager 0.31-1.1ubuntu13 /and older/
parallel port Canon BJC250 not detected. /ecp+epp/
dapper
root@endor:~# lpinfo -v
network socket
network beh
network bluetooth
direct hp:/no_device_found
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct canon:/dev/lp0
direct epson:/dev/lp0
network smb
root@endor:
[17179569.184000] On node 0 totalpages: 98283
[17179570.884000] Calibrating delay using timer specific routine.. 1609.80 BogoMIPS (lpj=3219605)
[17179572.368000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[17179572.784000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179596.612000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[17179598.840000] lp0: using parport0 (interrupt-driven).
i added manually canon:/dev/lp0 print crashed - IPP request failed with status 1030 -
-------
breezy ist ok hoary ok
root@endor:
network socket
network bluetooth
direct hp:/no_device_found
network http
network ipp
network lpd
direct canon:/dev/lp0
direct epson:/dev/lp0
direct parallel:/dev/lp0
direct usb:/dev/usb/lp0
...
direct usb:/dev/usb/lp15
network smb
mogorvabb (andokan) wrote : | #74 |
+++
manual - select - printer /canon/parallel port
Selected ppd file = linuxprinting.
** (gnome-
** (gnome-
user :''
host :''
port :0
resource :'/dev/lp0'
Nyomtatás/print: open device failed; will retry in 30 seconds...
Ante Karamatić (ivoks) wrote : | #75 |
Don't select canon:/dev/lp0 or epson:/dev/lp0, select parallel:/dev/lp0.
mogorvabb (andokan) wrote : | #76 |
select LPT#1 -- It is OK!!! after reboot OK!!!
THX
gcordoba (glgcg) wrote : | #77 |
- bug patch trials. Edit (4.2 KiB, text/plain)
Hi,
I am trying to fix the non-detection problem for a HP LaserJet 5L (parallel port). I am using Ubuntu6.06. I just tried with most of the tips without success. However, it seems to me that the problem is that the parallel port are used by someone/something.
I am attaching al the trials done.
Any idea?
Thanks,
Gustavo
Till Kamppeter (till-kamppeter) wrote : | #78 |
gcordoba, can you check whether the parallel port setting in the BIOS of your computer supports bi-directional communication?
Make also sure not having any other device (like a parallel scanner) on the same parallel port.
Do also not use any Canon or Epson entries for your parallel port.
Can you set up your printer manually (choose parallel port, then select model manually) and then print on it?
gcordoba (glgcg) wrote : | #79 |
Yes, it is Standart Bi-directional.
No other physical devices attached to the port
I do not know about any Canon or Epson entries
It do not print manually.
Best regards,
Gustavo
Till Kamppeter (till-kamppeter) wrote : | #80 |
What does the printer do if you enter
sudo cat ~/.bashrc > /dev/lp0
gcordoba (glgcg) wrote : | #81 |
gcordoba@
bash: /dev/lp0: Permission denied
It souds just as a permissions problem...
Gustavo
Martin Pitt (pitti) wrote : | #82 |
'sudo cat ~/.bashrc > /dev/lp0' does not work the way you intend it to. You need to do
echo hello | sudo tee /dev/lp0
gcordoba (glgcg) wrote : | #83 |
gcordoba@
Password:
hello
gcordoba@
As you can see, that line produced only the echo.
Gustavo
gcordoba (glgcg) wrote : | #84 |
Please, any idea?...
Gustavo
Chilleddu Malevadau (cm614) wrote : | #85 |
If I understand correctly, the solution to the problem is
sudo modprobe ppdev
I am running 6.06 fully updated 15 min ago and that doesn't solve the problem. I have an HP LJ 6MP on the parallel port which is not recognized. Installing it manually doesn't work either.
Am I missing something?
Thanks,
Chilleddu
Mark W. Tomlinson (mark-tomlinson) wrote : | #86 |
I've just set up Edgy RC1...and I'm seeing the same behavior. My LaserJet 6P is not detected. I'll experiment with ppdev, etc. when I get home from work tonight...
Trouilliez vincent (vincent-trouilliez-modulonet) wrote : | #87 |
Yep, the problem is still there (Edgy RC + updates)... kernel detects my parport HP Laserjet 6P just fine (based on messages I can see in /var/log/messages), but gnome-cups-manager doesn't, unless I manually load the ppdev module.
Mark W. Tomlinson (mark-tomlinson) wrote : | #88 |
Okay, I've essentially recreated the earlier scenario. Doing nothing, gnome-cups-manager gives "No printer detected" when I double-click "New Printer". After loading the ppdev module, it finds my HP LaserJet 6P immediately. Here's the shell session (with a couple of comments):
# "No printer found" in gnome-cups-manager
[mark@anduril:~$ dmesg | grep lp0
[17179594.376000] lp0: using parport0 (interrupt-driven).
mark@anduril:~$ sudo modprobe ppdev
Password:
# "HP LaserJet 6P" detected in gnome-cups-manager
mark@anduril:~$ dmesg | grep lp0
[17179594.376000] lp0: using parport0 (interrupt-driven).
[17180252.676000] lp0: ECP mode
[17180252.696000] lp0: ECP mode
[17180252.788000] lp0: ECP mode
[17180308.600000] lp0: ECP mode
[17180308.612000] lp0: ECP mode
[17180308.652000] lp0: ECP mode
[17180322.032000] lp0: ECP mode
[17180322.044000] lp0: ECP mode
[17180322.080000] lp0: ECP mode
mark@anduril:~$
I'm adding ppdev to my /etc.modules file and will report if I have any further trouble.
gcordoba (glgcg) wrote : | #89 |
Today, I tried the same without success:
gcordoba@
gcordoba@
gcordoba@
[17179569.184000] On node 0 totalpages: 65344
[17179571.836000] Calibrating delay using timer specific routine.. 3991.79 BogoMIPS (lpj=7983593)
[17179572.624000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[17179573.012000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179595.180000] lp: driver loaded but no devices found
gcordoba@
gcordoba@
[17179569.184000] On node 0 totalpages: 65344
[17179571.836000] Calibrating delay using timer specific routine.. 3991.79 BogoMIPS (lpj=7983593)
[17179572.624000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[17179573.012000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179595.180000] lp: driver loaded but no devices found
gcordoba@
gcordoba@
It seems that this is a very bug. Is it possible that this bug is related with some default permissions bug?
Again, please, any idea? (or better: please, help me!)
Thanks,
Gustavo
Ante Karamatić (ivoks) wrote : Re: [Bug 29050] Re: cupsys does not automatically detect parallel printer | #90 |
U Čet, 26. 10. 2006., u 07:30 +0000, gcordoba je napisao/la:
> [17179572.624000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[...]
> gcordoba@
You should add pci=routeirq to 'defoptions' in /boot/grub/
it looks like this:
# defoptions=quiet splash pci=routeirq
(don't erase that # on the begining). Then save and run 'sudo
update-initramfs' and reboot.
> gcordoba@
Adding output of 'dmesg' after this command would be usefull.
gcordoba (glgcg) wrote : | #91 |
gcordoba@
Password:
gcordoba@
You must specify at least one of -c, -u, or -d.
Usage: /usr/sbin/
Options:
-k [version] Specify kernel version or ALL
-c Create a new initramfs
-u Update an existing initramfs
-d Remove an existing initramfs
-t Take over a custom initramfs with this one
-v Be verbose
-h This message
gcordoba@
Afret reboot:
gcordoba@
[17179569.184000] On node 0 totalpages: 65344
[17179572.972000] Calibrating delay using timer specific routine.. 3991.84 BogoMIPS (lpj=7983690)
[17179573.760000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[17179574.152000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179596.504000] lp: driver loaded but no devices found
gcordoba@
A question: how can I know the permissions for the parallel port? How can I modify them?
I would like to see if the problem is about permissions.
Thanks,
Gustavo
Ante Karamatić (ivoks) wrote : | #92 |
U Čet, 26. 10. 2006., u 18:51 +0000, gcordoba je napisao/la:
> gcordoba@
> You must specify at least one of -c, -u, or -d.
My mistake. update-initramfs -u
> gcordoba@
Once again, dmesg is important after loading 'ppdev' module. Don't grep
it, just past last few lines.
> A question: how can I know the permissions for the parallel port? How can I modify them?
ls -dl /dev/lp0
gcordoba (glgcg) wrote : | #93 |
- dmesg message Edit (125.5 KiB, text/plain)
Hi, thanks for your advice.
The dmesg is very long, then I am attaching it as a file (dm.txt)
Here some of the output:
[17211146.124000] Inbound IN=eth0 OUT= MAC=00:
[17211159.200000] Inbound IN=eth0 OUT= MAC=00:
[17211241.672000] Inbound IN=eth0 OUT= MAC=00:
[17211244.632000] Inbound IN=eth0 OUT= MAC=00:
[17211266.092000] Inbound IN=eth0 OUT= MAC=00:
[17211279.888000] Inbound IN=eth0 OUT= MAC=00:
gcordoba@
gcordoba@
ls: /dev/lp: No such file or directory
gcordoba@
ls: /dev/lp0: No such file or directory
gcordoba@
I do not understand why neither lp0 nor lp exist!
Gustavo
Till Kamppeter (till-kamppeter) wrote : | #94 |
The original poster has reported the bug of parallel printers not being detected and that is not fixed yet. It is most probably a kernel problem.
The dmesg output of gcordoba says
[17179596.504000] lp: driver loaded but no devices found
So the "lp" kernel module did not find the printer. This must be caused by the kernel.
So I add the kernel package to this bug.
Changed in linux-source-2.6.17: | |
importance: | Undecided → High |
status: | Unconfirmed → Confirmed |
xtknight (xt-knight) wrote : | #95 |
Well, I'm having other troubles getting my Deskjet 722C to work out of the box. It looks like the pnm2ppa conf file problem (Version variable with HP printers) was fixed, but my printer is not detected at all in Edgy! Turns out I had to do 'sudo modprobe ppdev' before I did 'gksu gnome-cups-add'. Then, it finally detected my local parallel port printer.
xtknight (xt-knight) wrote : | #96 |
I should add that appending 'ppdev' to /etc/modules fixes my problem permanently.
gcordoba (glgcg) wrote : | #97 |
In my case 'gksu-cups-add' detected two ppds for ach driver tested (the gzipped and the gunzipped). e.g.:
** (gnome-
** (gnome-
** (gnome-
** (gnome-
Daniel Werner (demitsu) wrote : | #98 |
...and another frustrated person to confirm this problem, this time with Debian. I've had the same "no parallel port printer discovered" problem for some time now. The antiquated HP LaserJet worked just fine when attached to a Debian 'sarge' system running LPRng. If I remember correctly, it still worked when I switched to CUPS last year (eventually ;). On Debian 'etch', though, it doesn't work at all.
Currently recompiling my kernel package with ppdev-support. Let's see if this works...
Daniel Werner (demitsu) wrote : | #99 |
Bad luck. Even with lp, ppdev, parport, parport_pc loaded and cupsys restarted, gnome-cups-add won't detect anything at all. Some kernel output:
demitsu@jazzu:~$ dmesg | tail
[drm] Setting GART location based on new memory map
[drm] Loading R300 Microcode
[drm] writeback test succeeded in 1 usecs
pnp: Device 00:0a disabled.
pnp: Device 00:0a activated.
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,
parport0: Legacy device
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
gcordoba (glgcg) wrote : | #100 |
- printingbuginfo result Edit (2.2 KiB, text/plain)
I am attaching the the printingbuginfo output.
Just in case.
Gustavo
Don Knudson (donknudson) wrote : | #101 |
I have just upgraded to Debian "etch" Linux, and after three days of searching for how to get my HP Deskjet 722C to print again, I have finally found success. Here's what I did (except for what didn't work ; - ) . . .
I downloaded HP-DeskJet_
http://
then copied it to
/etc/cups/ppd
Visited http://
Rather than choosing a listed printer, I browsed to
/etc/cups/
I printed a test page and Voila! It worked! : - )
Description: HP Deskjet 722C
Location:
Make and Model: HP DeskJet 722C Foomatic/pnm2ppa (recommended)
Printer State: processing, accepting jobs, published.
Device URI: parallel:/dev/lp0
Apparently, the problem was just that the driver for this particular "Windows" style of printer was not already included with my cups installation.
steve.gensemer@gmail.com (steve-gensemer) wrote : | #102 |
The permissions are still set wrong in 6.10 - I just downloaded and installed it, and the printing worked fine on the live CD but not on the hd install.
I ran into this problem but it was only a permissions issue with lp0. Took me 1/2 hour of sifting through this and other threads to track it down. This thread is a year old - why the heck is something as major as wrong permissions for lp0 still hanging around?
Till Kamppeter (till-kamppeter) wrote : | #103 |
The problem here was that CUPS checked whether the "lp" module was loaded, and if not, it loaded both "lp" and "ppdev". With "lp" already loaded at CUPS startup (the usual case), CUPS did not load any module, so "ppdev" was not loaded again.
I have modified the CUPS startup script now, that CUPS tries to load both "lp" and "ppdev" if "LOAD_LP_
Packages for testing are here:
http://
Changed in cupsys: | |
status: | Fix Released → Fix Committed |
Till Kamppeter (till-kamppeter) wrote : | #104 |
Please install the new CUPS packages and check whether it really solves the problem, so that we can see whether we can close (reject) the kernel task.
Changed in cupsys: | |
status: | Fix Committed → Fix Released |
gcordoba (glgcg) wrote : | #105 |
Just today I tried to install the packages. However, I couldnt install them: They report:
1) Dependency is not satisfiable: libc6
2) Conflicts with installed libcupssys2-dev
Any advice?
Thanks,
Gustavo
Till Kamppeter (till-kamppeter) wrote : | #106 |
The packages are for Ubuntu Feisty. They do not work with older versions like Edgy or Dapper. To run the packages on an older version you will have to rebuild the source package.
Trouilliez vincent (vincent-trouilliez-modulonet) wrote : | #107 |
> from Till Kamppeter
> Please install the new CUPS packages and check whether it really solves the > problem, so that we can see whether we can close (reject) the kernel task.
Seems to work : I just did a fresh install of Feisty Herd 3, updated it, and it successfully found my HP Laserjet 6P, I didn't have to load ppdev manually or do anything.
Till Kamppeter (till-kamppeter) wrote : | #108 |
Fix in the cupsys package solves the problem, the kernel seems to be OK.
Changed in linux-source-2.6.17: | |
status: | Confirmed → Rejected |
Pascal De Vuyst (pascal-devuyst) wrote : | #109 |
> The problem here was that CUPS checked whether the "lp" module
> was loaded, and if not, it loaded both "lp" and "ppdev". With "lp"
> already loaded at CUPS startup (the usual case), CUPS did not load
> any module, so "ppdev" was not loaded again.
The usual case is that the lp module is loaded at boot because it is present in /etc/modules.
Simple workaround: removing lp from /etc/modules and rebooting fixes parallel printer autodetection for Dapper and Edgy.
Till Kamppeter (till-kamppeter) wrote : | #110 |
In Gutsy, perhaps already in Feisty this has falklen back to the original, broken state. I think the problem is that if we fix it at Ubuntu the fix survives only until the next sync with Debian. This needs really to be fixed at Debian and the Debian folks need to be made aware of this.
Changed in cupsys: | |
status: | Fix Released → Confirmed |
Till Kamppeter (till-kamppeter) wrote : | #111 |
The piece of code to load the kernel modules is:
if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/
-a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe \
-a -z "$(grep -e ' lp$' /proc/devices 2>/dev/null)" ]; then
modprobe -q lp || true
modprobe -q ppdev || true
fi
It should be
if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/
-a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe]; then
modprobe -q lp || true
modprobe -q ppdev || true
fi
so that the parallel port kernel modules are simply always loaded if $LOAD_LP_MODULE is set to "yes", /usr/lib/
Martin Pitt (pitti) wrote : | #112 |
Thanks; I'll commit it to Debian, too.
Changed in cupsys: | |
status: | Confirmed → In Progress |
Mark W. Tomlinson (mark-tomlinson) wrote : | #113 |
Should do; my laptop sees the LaserJet 6P connected to my desktop. Good job, guys!
Martin Pitt (pitti) wrote : | #114 |
cupsys (1.2.12-3ubuntu1) gutsy; urgency=low
* Merge latest fixes from Debian unstable. (LP: #29050)
* debian/
- Use abstractions/
- Drop the redundant "/usr/lib/** mr" rule (already in 'base').
- Enforce by default, so that we get actual protection.
-- Martin Pitt <email address hidden> Thu, 09 Aug 2007 21:16:34 +0200
Changed in cupsys: | |
status: | In Progress → Fix Released |
whatme33 (whatme33) wrote : | #115 |
I found that using the printer files for brother or other ones would not work. I changed the executable file to one that ubuntu uses and the files worked perfectly. this was on 2040 laser and some other laser printers.
Roland (rosun) wrote : | #116 |
Hi, I am using Feisty, and I set BIOS to Standart Bi-directional from ETC. Then did try some changes in modules file, such as ignoring lp and adding ppdev, it seems does have any effect. Provided http://
Any opinions ? Thanks
Thanks for your bug report. Which version of gnome-cups-manager do you use? Is cups running? Could you try to start gnome-cups-manager from a terminal and add the output as an attachment to the bug?