not detecting CUPS URI correctly in Gutsy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal-cups-utils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I only use "gutenprint" drivers ("hplip" is not installed).
When my "HP LaserJet 1010" is connected to USB, the printer is added with the wrong URI: "usb://
With this in change in "/usr/lib/
def get_cups_uris(self, removed=False):
.
.
if vendor == "hewlett-packard":
elif vendor == "lexmark international":
#### if model.startswith (make):
if model.lower(
model = model.rstrip ()
Related branches
Changed in hal-cups-utils: | |
status: | New → Fix Committed |
hal-cups-utils (0.6.13+ svn86-0ubuntu1) hardy; urgency=low
* New upstream release
case-insensitiv e (LP: #150219). patches/ 01_interpreter_ path.patch: Regenerated.
o Subversion snapshot r86
o Use "lsusb" and "hp-makeuri" instead of "hp-probe" and "hp-info", this
needs less I/O.
o Fork the creation of the print queue into a sub-process. This is
needed as on detection of an HP LaserJet 1018/1020 HPLIP loads
(triggered by UDEV) the firmware into the printer and this uncouples
the printer from the usblp kernel module. This lets HAL assume that
the printer got disconnected and HAL kills the hal_lpadmin process
which creates the queue. The child process does not get killed so
that this is the only solution to get a queue automatically created
for these printers.
o Do only one notification at the tray icon when a new printer got set
up, also if it needs two queues (printer and fax). Otherwise the tray
icon will disappear on clicking the first notification and the second
one appears without icon.
o Replaced a wrong "os.exit()" by "sys.exit()" (LP: #160386).
o Made check for removal of manufacturer name from model name
o Let hal_admin not fail if "lsusb" or "hp-makeuri" are not installed.
Simply do not use HPLIP URIs then.
* debian/
* debian/control: Added dependency on python-cups (LP: #144586).
* debian/control: Added "Recommends: hplip, usbutils". These are needed
to automatically set up print queues with HPLIP.
-- Till Kamppeter <email address hidden> Fri, 07 Dec 2007 20:49:31 +0000