Bug 550243
| Summary: | HL-2040 printer not getting configured automatically | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nivag <gavin42> | ||||||||
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | 12 | CC: | gavin42, jpopelka, twaugh | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2009-12-24 12:43:55 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Nivag
2009-12-24 06:28:01 UTC
Thanks. That's all looking correct: the printer queue is getting enabled and disabled as expected. What about if you delete the queue, unplug the printer, then reconnect it? It should configure a new queue for it automatically, and display a notification on the screen to tell you about it. I disconnected the printer. Deleted the entry in the Printer configuration dialog. Reconnected the printer, got a popup notice saying there was no driver for the HL-2040 printer. Went to add a 'new' printer, recognized it was an HL-2040, but no HL-2040 driver listed, it suggested a choice of 4 HL-2060 drivers. Created attachment 380185 [details]
printer driver dialog
from /var/log/messages Dec 25 01:29:59 saturn kernel: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0028 Dec 25 01:29:59 saturn udev-configure-printer: add /devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.0 Dec 25 01:29:59 saturn udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:13.1/usb6/6-2 Dec 25 01:29:59 saturn udev-configure-printer: Device vendor/product is 04F9:0028 Dec 25 01:29:59 saturn udev-configure-printer: add /devices/pci0000:00/0000:00:13.1/usb6/6-2/6-2:1.0/usb/lp0 Dec 25 01:29:59 saturn udev-configure-printer: failed to claim interface Dec 25 01:29:59 saturn udev-configure-printer: invalid or missing IEEE 1284 Device ID Dec 25 01:29:59 saturn udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:13.1/usb6/6-2 Dec 25 01:29:59 saturn udev-configure-printer: MFG:Brother MDL:HL-2040 series SERN:- serial:B6J866648 Dec 25 01:30:15 saturn udev-configure-printer: URI matches without serial number: usb://Brother/HL-2040%20series Dec 25 01:30:15 saturn udev-configure-printer: No serial number URI matches so using those without Dec 25 01:30:15 saturn udev-configure-printer: About to add queue for usb://Brother/HL-2040%20series Dec 25 01:30:15 saturn udev-add-printer: add_queue: URIs=['usb://Brother/HL-2040%20series'] Dec 25 01:30:17 saturn udev-add-printer: PPD: gutenprint.5.2://brother-hl-2060/simple; Status: 1 Dec 25 01:30:18 saturn udev-configure-printer: add /module/lp Dec 25 01:30:18 saturn udev-configure-printer: Failed to get parent Ah, OK: you don't have the 'foomatic' package installed, which is the package providing an exact-match driver for the HL-2040 based on the IEEE 1284 Device ID (I think). That all seems to be working correctly then. According to 'yum', I have the 'foomatic' package installed! # yum install foomatic Loaded plugins: presto, refresh-packagekit Setting up Install Process Package foomatic-4.0.3-5.fc12.x86_64 already installed and latest version Nothing to do # time real 0m0.000s user 0m0.000s sys 0m0.000s # I remove and reinstalled foomatic, then deleted and tried again to add the HL-2-40 as a new printer. Still no sign of the correct driver. Created attachment 380233 [details]
yum output of removing and re-installing foomatic
Just upgraded to cups-1.4.2-20 via yum, still no sign of HL-2040 drivers, despite foomatic being installed - even when deleting printer and going through the new printer dialog. Dec 28 13:41:43 saturn kernel: usblp0: off-line Dec 28 13:42:15 saturn kernel: usb 6-2: USB disconnect, address 2 Dec 28 13:42:15 saturn kernel: usblp0: nonzero write bulk status received: -108 Dec 28 13:42:15 saturn kernel: usblp0: removed Dec 28 13:42:15 saturn udev-configure-printer: remove /devices/pci0000:00/0000:00:13.1/usb6/6-2 Dec 28 13:42:54 saturn kernel: usb 6-3: new full speed USB device using ohci_hcd and address 3 Dec 28 13:42:55 saturn kernel: usb 6-3: New USB device found, idVendor=04f9, idProduct=0028 Dec 28 13:42:55 saturn kernel: usb 6-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Dec 28 13:42:55 saturn kernel: usb 6-3: Product: HL-2040 series Dec 28 13:42:55 saturn kernel: usb 6-3: Manufacturer: Brother Dec 28 13:42:55 saturn kernel: usb 6-3: SerialNumber: B6J866648 Dec 28 13:42:55 saturn kernel: usb 6-3: configuration #1 chosen from 1 choice Dec 28 13:42:55 saturn kernel: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0028 Dec 28 13:42:55 saturn udev-configure-printer: add /devices/pci0000:00/0000:00:13.1/usb6/6-3/6-3:1.0 Dec 28 13:42:55 saturn udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:13.1/usb6/6-3 Dec 28 13:42:55 saturn udev-configure-printer: Device vendor/product is 04F9:0028 Dec 28 13:42:55 saturn udev-configure-printer: add /devices/pci0000:00/0000:00:13.1/usb6/6-3/6-3:1.0/usb/lp0 Dec 28 13:42:55 saturn udev-configure-printer: failed to claim interface Dec 28 13:42:55 saturn udev-configure-printer: invalid or missing IEEE 1284 Device ID Dec 28 13:42:55 saturn udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:13.1/usb6/6-3 Dec 28 13:42:55 saturn udev-configure-printer: MFG:Brother MDL:HL-2040 series SERN:- serial:B6J866648 Dec 28 13:43:11 saturn udev-configure-printer: URI matches without serial number: usb://Brother/HL-2040%20series Dec 28 13:43:11 saturn udev-configure-printer: No serial number URI matches so using those without Dec 28 13:43:11 saturn udev-configure-printer: About to add queue for usb://Brother/HL-2040%20series Dec 28 13:43:11 saturn udev-add-printer: add_queue: URIs=['usb://Brother/HL-2040%20series'] Dec 28 13:43:14 saturn udev-add-printer: PPD: foomatic:Brother-HL-2060-Postscript.ppd; Status: 0 This driver is getting used: "foomatic:Brother-HL-2060-Postscript.ppd". This has an exact match for the Brother HL-2040 Device ID, so is correct.
$ lpinfo -l --include-schemes=foomatic -m | grep -3 'HL-2060 Foomatic/P'
device-id = MFG:Brother;MDL:HL-2040 series;CMD:PJL,HBP;DRV:Dljet4,R0,M0,Sv,TG,X600,Y600,C0,t90,l90,g60,p30,s90;
Model: name = foomatic:Brother-HL-2060-Postscript.ppd
natural_language = en
make-and-model = Brother HL-2060 Foomatic/Postscript
device-id = MFG:Brother;MDL:HL-2040 series;CMD:PJL,HBP;DRV:DPostscript,R0,M0,TP;
Model: name = foomatic:Brother-HL-2060-pxlmono.ppd
natural_language = en
I noted that there have been several updates relating to CUPS, plus a couple of kernel upgrades over the last few weeks. So I just tried my HL-2040 printer on my Fedora 12 box; and it not only got preconfigured almost correctly (I had to manually change it to the standard A4 paper size), but it now also prints properly. Thanks Tim. |