Bug 507244 - usb printer doesn't attach to the device I select
Summary: usb printer doesn't attach to the device I select
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-21 22:31 UTC by Martí­n Marqués
Modified: 2009-07-23 19:08 UTC (History)
2 users (show)

Fixed In Version: 1.4-0.rc1.10.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-23 19:08:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
troubleshoot from system-config-printer (48.71 KB, text/plain)
2009-06-21 22:31 UTC, Martí­n Marqués
no flags Details
Output of lpinfo (1.86 KB, text/plain)
2009-06-22 11:03 UTC, Martí­n Marqués
no flags Details
Output of lpinfo with the printer on. (2.40 KB, text/plain)
2009-06-22 11:33 UTC, Martí­n Marqués
no flags Details
Output of lpinfo, now with LANG unset (2.22 KB, text/plain)
2009-06-22 11:34 UTC, Martí­n Marqués
no flags Details


Links
System ID Private Priority Status Summary Last Updated
CUPS Bugs and Features 3259 0 None None None Never

Description Martí­n Marqués 2009-06-21 22:31:03 UTC
Created attachment 348828 [details]
troubleshoot from system-config-printer

Description of problem:

I'm having trouble with a USB printer. I endlessly trys to attach it self againt usb://Lexmark/E120 where it doesn't work (printing doesn't go anywhere), instead of using usb://Lexmark/Lexmark%20E120 (USB device that works with my printer).

I can change the device manually, but after stopping and starting again the printer, changes get undone.

Added an attachment of troubleshoot from system-config-printer.

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

# rpm -q cups
cups-1.4-0.rc1.3.fc11.x86_64
# rpm -q system-config-printer
system-config-printer-1.1.8-1.fc11.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Tim Waugh 2009-06-22 08:46:20 UTC
Please open a terminal window and run 'su -', then enter the root password.  Then, run 'lpinfo -l -v' and attach the output to this bug report.  Thanks!

Comment 2 Martí­n Marqués 2009-06-22 11:03:13 UTC
Created attachment 348875 [details]
Output of lpinfo

Comment 3 Tim Waugh 2009-06-22 11:20:53 UTC
It looks like the printer was not connected when you did this.  Please redo it with the printer connected and powered on.  Thanks.

Comment 4 Martí­n Marqués 2009-06-22 11:33:06 UTC
Created attachment 348878 [details]
Output of lpinfo with the printer on.

Comment 5 Martí­n Marqués 2009-06-22 11:34:34 UTC
Created attachment 348879 [details]
Output of lpinfo, now with LANG unset

Comment 6 Tim Waugh 2009-06-22 11:45:51 UTC
Thanks.  The CUPS usb backend seems to be giving us the correct device URI.

Under which circumstances do you find the incorrect device URI?  Is it when plugging in the printer when no queue is configured for it, and a queue is automatically created?

Comment 7 Martí­n Marqués 2009-06-22 11:59:50 UTC
When I plug the printer, I get usb://Lexmark/E120, like right now.

I tried deleting the printer and creating it again, but after turning it off and back on, a second printer with the wrong uri comes up.

Comment 8 Tim Waugh 2009-06-22 12:18:58 UTC
OK, definitely a hal-cups-utils problem.  It is guessing the wrong device URI.

Comment 9 Martí­n Marqués 2009-06-29 14:41:28 UTC
Is there something to about this?

I don't see changes in the bug report.

Comment 10 Tim Waugh 2009-06-29 15:03:58 UTC
Please be patient, I will get to this.

Comment 11 Martí­n Marqués 2009-06-29 15:26:37 UTC
Attached the USB printer to my Notebook which has F11 too and it prints OK.

Why doesn't my desktop computer work, having both F11 with the latest updates?

Comment 12 Tim Waugh 2009-07-13 15:43:12 UTC
Hmm, not so definitely a hal-cups-utils problem after all.  It turns out that CUPS used to assign the device URI usb://Lexmark/E120 to this model of device.  I wonder if that change is intentional.

Comment 13 Tim Waugh 2009-07-15 09:03:54 UTC
OK, change was not intentional.  Changing component.

Comment 14 Fedora Update System 2009-07-19 10:16:01 UTC
cups-1.4-0.rc1.10.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cups'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6680

Comment 15 Martí­n Marqués 2009-07-21 02:52:47 UTC
This update worked like a charme.

Thanks to all the hard work.

Comment 16 Fedora Update System 2009-07-23 19:07:50 UTC
cups-1.4-0.rc1.10.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


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