Description of problem: Hal not recognizing USB printer Version-Release number of selected component (if applicable): hal-0.5.7.1-2.fc6 dbus-0.90-8 cups-1.2.2-4 kernel-PAE-2.6.17-1.2462.fc6 How reproducible: System->Administration->Printing Select printer click on "enabled" click on "apply" Steps to Reproduce: 1. 2. 3. Actual results: E [30/Jul/2006:14:22:19 -0500] cupsdAcceptClient: skipping getpeercon() E [30/Jul/2006:14:22:19 -0500] cupsdAcceptClient: skipping getpeercon() I [30/Jul/2006:14:22:19 -0500] Saving printers.conf... I [30/Jul/2006:14:22:19 -0500] Printer "DESKJET_880C" started by "root". I [30/Jul/2006:14:22:19 -0500] Started filter /usr/lib/cups/filter/pstops (PID 3046) for job 143. I [30/Jul/2006:14:22:19 -0500] Started filter /usr/lib/cups/filter/foomatic-rip (PID 3047) for job 143. I [30/Jul/2006:14:22:19 -0500] Started backend /usr/lib/cups/backend/hal (PID 3048) for job 143. E [30/Jul/2006:14:22:19 -0500] [Job 143] Unable to open HAL device "hal:/org/freedesktop/Hal/devices/usb_device_3f0_104_MY93N151ZNGE_if0_printer_MY93N151ZNGE" E [30/Jul/2006:14:22:19 -0500] PID 3048 (/usr/lib/cups/backend/hal) stopped with status 1! I [30/Jul/2006:14:22:19 -0500] Hint: Try setting the LogLevel to "debug" to find out more. E [30/Jul/2006:14:22:21 -0500] PID 3047 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9! I [30/Jul/2006:14:22:21 -0500] Hint: Try setting the LogLevel to "debug" to find out more. I [30/Jul/2006:14:22:21 -0500] [Job 143] Backend returned status 1 (failed) I [30/Jul/2006:14:22:21 -0500] Saving printers.conf... Expected results: Additional info: Similar to bug filed last week, but that bug was resolved via rawhide update and correctly closed. This ia a new report with the latest rawhide (7/30/06) applied.
Created attachment 133294 [details] output from lshal
Looks like it is missing the "//" in the protocol URI element (i.e. it should be hal:// not just hal: so hal:///org/freedesktop/Hal/devices/usb_device_3f0_104_MY93N151ZNGE_if0_printer_MY93N151ZNGE would be the correct URI). Reasigning to system-config-printer.
hal_lpadmin problem perhaps (from hal-cups-utils)
I've built hal-cups-utils-0.6.2-3 with this patch: --- hal-cups-utils-0.6.2/systemv/hal_lpadmin.uri 2006-08-01 10:39:39.000000000 +0100 +++ hal-cups-utils-0.6.2/systemv/hal_lpadmin 2006-08-01 10:44:03.000000000 +0100 @@ -41,11 +41,11 @@ return name.replace("#", "_") def get_cups_uris(self): - return ["hal:%s" % self.uid, + return ["hal://%s" % self.uid, ] def get_cups_uri(self): - return "hal:%s" % self.uid + return "hal://%s" % self.uid def match(self, printer): if printer.is_class: return False so hopefully that will fix it.
Created attachment 133438 [details] output from system-config-printer