Bug 235080 - cups/hal hotpluggin printer does not work
cups/hal hotpluggin printer does not work
Status: CLOSED DUPLICATE of bug 424331
Product: Fedora
Classification: Fedora
Component: cups (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2007-04-03 14:16 EDT by Jussi Eloranta
Modified: 2008-01-16 05:40 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-16 05:40:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jussi Eloranta 2007-04-03 14:16:34 EDT
Description of problem:

A printer created by HAL stops working if it is turned off / on
(e.g. hotplugging does not work). A reboot is required to get the
printer working again. If I create the printer manually and choose
not use HAL (from the device list), hotplugging works.

Version-Release number of selected component (if applicable):

The latest FC6 with up to date patches from yum.

How reproducible:

At least in my case always.

Steps to Reproduce:
Plug in a new USB printer (in my case Lexmark E234) and let HAL add the printer.
Print a test page - everyting ok at this point. Unplug the printer (or turn
it off) and plug it in again. Try to print - cups gets stuck on this.
Enabling the queue does not help. Rebooting the machine helps. Restarting
cups does not help either.
Actual results:

Printing gets stuck.

Expected results:

Printing should obviously work.

Additional info:

Linux XXXX 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26 EDT 2007 i686 i686 i386

On Macbook Pro (intel).
Comment 1 Tim Waugh 2007-05-23 05:43:09 EDT
Do you still see this?  If so, what does 'rpm -q hal-cups-utils' say?
Comment 2 David W. Legg 2007-06-08 15:29:33 EDT
My Dad still gets this problem with his FC6 and a USB Epson C46 printer.

'rpm -q hal-cups-utils' gives:-
Comment 3 Tim Waugh 2007-08-09 09:00:31 EDT
What does 'lpstat -s' say?  If you disconnect the printer, remove the queue,
then connect the printer again, do you see the same symptoms?

The indicated version of hal-cups-utils now avoids using the HAL CUPS backend
when it can.
Comment 4 Jussi Eloranta 2008-01-12 21:48:47 EST
With Fedora 8 (up to date with yum) plugging in a new USB printer does not work.
I have the following version of hal/cups package: hal-cups-utils-0.6.13-2.fc8.

When I go to (graphical) printer configuration, I can see that HAL added the
following device for the printer:


Printing test page (or anything else) fails. 

If I change the device URI to:


the printer starts working immediately. (This was one of the choices in change
device list)

So %20 (hex?) is ascii for space and HAL used underscore _ there. That's the
only difference I can see...

I haven't tried rebooting and seeing if everything still work.

Comment 5 Jussi Eloranta 2008-01-12 21:50:09 EST
oh - and of course - hp -> usb

Comment 6 Jussi Eloranta 2008-01-12 21:52:23 EST
Just checked. Not an issue with space & underscore.
Comment 7 Tim Waugh 2008-01-14 06:24:11 EST
What does 'rpm -q udev' say?  If you have 116, try the test update:
Comment 8 Jussi Eloranta 2008-01-15 21:55:43 EST
Yes, this solved my problem. Thanks!
Comment 9 Tim Waugh 2008-01-16 05:40:03 EST

*** This bug has been marked as a duplicate of 424331 ***

Note You need to log in before you can comment on or make changes to this bug.