Last week I was suddenly faced with the loss of all printers in my settings. This is on a netbook that I carry around and therefore have 5-6 printers set up for use.
What I have noticed since then are the following features figured out with lots of trial and error, finally some success.
1. Plug-n-play automatic detection and setup of printers no longer happens. Other USB devices get found as usual. 2. trying to use the menu-based Printer configuration ends with it finding the printer, then telling packagekit to look for drivers, after which it says that the drivers are installed, and it quits with an error. 3. Using the menu-based HPLIP, it cannot find any printers connected to a USB interface, another show-stopper. 4. Using 'hp-setup' on the command line by root will allow for USB-USB printers to be set up. This will not work for USB-parallel connections, since this still cannot find any devices connected to the USB interface. 5. Using 'system-config-printer' on the command line by root will allow for setting up a USB-parallel connections printer.
I've tried going back a couple of kernels to see if that made a difference, but it didn't.
This is very annoying, and I wondering if anyone has any explanation for it.
Greg Pittman
On Wed, 2010-08-25 at 15:32 -0400, Gregory Pittman wrote:
- Plug-n-play automatic detection and setup of printers no longer
happens. Other USB devices get found as usual.
Do you still have system-config-printer-udev installed? Take a look in /var/log/messages -- if necessary, edit /etc/rsyslog.conf and get it to log "debug" messages by changing '*.info' to '*.debug' in the /var/log/messages line and restarting it; then plug in a printer and see what messages you get.
- trying to use the menu-based Printer configuration ends with it
finding the printer, then telling packagekit to look for drivers, after which it says that the drivers are installed, and it quits with an error.
PackageKit bug: https://bugzilla.redhat.com/show_bug.cgi?id=585601
But "it quits" -- the "install packages" dialog, run by gnome-packagekit, quits, yes. But system-config-printer should still be there and ready for you to carry on creating the queue. Are you finding that system-config-printer itself has quit? Would love to see if there is a message about that in your ~/.xsession-errors file.
- Using 'system-config-printer' on the command line by root will allow
for setting up a USB-parallel connections printer.
This shouldn't be any different at all to running it from the menu as a non-root user, aside from some PolicyKit dialogs. All the privileged stuff is running by cupsd.
Tim. */
On 08/26/2010 05:06 AM, Tim Waugh wrote:
On Wed, 2010-08-25 at 15:32 -0400, Gregory Pittman wrote:
- Plug-n-play automatic detection and setup of printers no longer
happens. Other USB devices get found as usual.
Do you still have system-config-printer-udev installed?
Yes.
Take a look
in /var/log/messages -- if necessary, edit /etc/rsyslog.conf and get it to log "debug" messages by changing '*.info' to '*.debug' in the /var/log/messages line and restarting it; then plug in a printer and see what messages you get.
I get no messages related to this. Still no acknowledgment of attaching a printer.
- trying to use the menu-based Printer configuration ends with it
finding the printer, then telling packagekit to look for drivers, after which it says that the drivers are installed, and it quits with an error.
PackageKit bug: https://bugzilla.redhat.com/show_bug.cgi?id=585601
But "it quits" -- the "install packages" dialog, run by gnome-packagekit, quits, yes. But system-config-printer should still be there and ready for you to carry on creating the queue. Are you finding that system-config-printer itself has quit? Would love to see if there is a message about that in your ~/.xsession-errors file.
It doesn't exactly quit, you just get stuck in a rut -- it finds the printer, I click Forward, it searches for packages, then says packages are already installed, I click Forward, it searches for packages, then says packages are installed...(repeat ad infinitum)
- Using 'system-config-printer' on the command line by root will allow
for setting up a USB-parallel connections printer.
This shouldn't be any different at all to running it from the menu as a non-root user, aside from some PolicyKit dialogs. All the privileged stuff is running by cupsd.
Well, maybe it shouldn't be, but it is. I just did this again, choosing the config-printer from the menu, got the same result as above, then ran it from the command line as root and it worked, not searching for packages, but simply just getting the printer info and going on with the process.
Greg
On Fri, 2010-08-27 at 12:59 -0400, Gregory Pittman wrote:
I get no messages related to this. Still no acknowledgment of attaching a printer.
That sounds like the udev hook isn't get run at all. Maybe check that 'rpm -V system-config-printer-udev udev' doesn't give any warnings.
It doesn't exactly quit, you just get stuck in a rut -- it finds the printer, I click Forward, it searches for packages, then says packages are already installed, I click Forward, it searches for packages, then says packages are installed...(repeat ad infinitum)
Please could you file a bug report about it in Bugzilla? Choose 'system-config-printer' as the component, and mention that the problem is not that PackageKit gives the error (this problem is already filed in Bugzilla) but how system-config-printer deals with the error.
It would also be useful to include the output of this command:
system-config-printer --debug
when you repeat the problem.
Tim. */