Bug 576616
| Summary: | HP LaserJet 1018 doesn't get installed in Fedora-13 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Niranjan Mallapadi Raghavender <mniranja> |
| Component: | cups | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 13 | CC: | jpopelka, rickrich, 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: | 2010-03-29 16:16:50 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: | |||
|
Description
Niranjan Mallapadi Raghavender
2010-03-24 16:12:09 UTC
Please try this, as root: echo blacklist usblp > /etc/modprobe.d/blacklist-usblp.conf Then reboot, and try again. Does that work around the problem? This is wrong! usblp is necessary for the foo2zjs driver to work! Rick: the hp backend is being used here. That uses libusb, and so *requires* that usblp is *not* loaded. If it is loaded, it detaches it. I think what's happening is that there is a battle going on between the hp backend trying to unload usblp, and the foo2zjs firmware downloader (and the CUPS usb backend) trying to load it. Nope backlisting usblp did not work installing hplip manually and running hp-setup did download the foo2zjs firmware Received the following messages probably relevant <snip> Mar 25 20:53:16 dhcp209-225 udev-configure-printer: invalid or missing IEEE 1284 Device ID Mar 25 20:53:16 dhcp209-225 /etc/hotplug/usb/hplj1018: foo2zjs: loading HP LaserJet 1018 firmware /usr/share/foo2zjs/firmware/sihp1018.dl to /dev/usb/lp0 ... Mar 25 20:53:16 dhcp209-225 libvirtd: 20:53:16.924: info : udevGetDeviceProperty:116 : udev reports device 'lp0' does not have property 'DRIVER' Mar 25 20:53:16 dhcp209-225 libvirtd: 20:53:16.924: info : udevGetDeviceProperty:116 : udev reports device 'lp0' does not have property 'PCI_CLASS' Mar 25 20:53:16 dhcp209-225 libvirtd: 20:53:16.924: info : udevGetDeviceProperty:116 : udev reports device 'lp0' does not have property 'INTERFACE' Mar 25 20:53:16 dhcp209-225 libvirtd: 20:53:16.926: info : udevGetDeviceType:1135 : Could not determine device type for device with sysfs path 'lp0'#012 Mar 25 20:53:17 dhcp209-225 /etc/hotplug/usb/hplj1018: foo2zjs: ... download successful. </snip> I think the basic problem is that several programs all race to talk to the device, some using usblp and some using libusb. Not sure what the best approach for fixing it is unfortunately. How about if you remove the system-config-printer-udev package? Does that help at all? From the foo2zjs INSTALL file:
FEDORA NOTES
------------
If you are using a USB printer AND Fedora 12+, do this:
# grep udev-configure-printer /var/log/messages
/var/log/messages:Jan 23 07:32:54 dual udev-configure-printer: \
invalid or missing IEEE 1284 Device ID
# yum remove system-config-printer-udev
# shutdown -r now
Power off then on the printer.
It was not a problem in Fedora 11.
After removing the system-config-printer-udev and rebooted the system with printer off, Powering on the Printer did not show any icon that HP LaserJet1018 is connected if drivers has to be installed.
But when system-config-printer is run manually and selected "HP LaserJet 1018" under devices. it worked , but had to manually install foomatic as foomatic-rip was required for printer to print test page.
Running check-device-ids.py manually before doing the above resulted in below error
<snip>
python /usr/share/system-config-printer/check-device-ids.py
Examining connected devices
Installing relevant drivers using session service
ERROR:dbus.proxies:Introspect error on :1.4:/org/freedesktop/PackageKit: dbus.exceptions.IntrospectionParserException: Error parsing introspect data: <class 'xml.parsers.expat.ExpatError'>: unbound prefix: line 5, column 4
Traceback (most recent call last):
File "/usr/share/system-config-printer/check-device-ids.py", line 89, in <module>
except dbus.exceptions.DBusException, (e, r):
ValueError: need more than 1 value to unpack
</snip>
(In reply to comment #10) > After removing the system-config-printer-udev and rebooted the system with > printer off, Powering on the Printer did not show any icon that HP > LaserJet1018 is connected if drivers has to be installed. Yes, I don't know how we can have both the firmware downloader and the automatic queue configuration both working. > Running check-device-ids.py manually before doing the above resulted in below > error Can you try using a newer build of system-config-printer please? https://admin.fedoraproject.org/updates/system-config-printer-1.2.0-11.fc13 *** This bug has been marked as a duplicate of bug 558162 *** |