udev-ish replacement for hal-cups-utils?

Tim Waugh twaugh at redhat.com
Wed Jul 22 15:01:18 PDT 2009


On Wed, 2009-07-22 at 21:30 +0200, Till Kamppeter wrote:
> Great, have you also posted an upstream bug report with the patch, on 
> http://launchpad.net/hplip/?

No, not yet.

> The "usb"-and-"hp"-only CUPS_GET_DEVICES IPP request does not actually 
> work for me (CUPS 1.3.11). I get back the answers of all CUPS backends, 
> not only of "hp" and "usb". Therefore I have inserted this code piece to 
> filter out the unwished backends manually.

That must be new in CUPS 1.4 then.  Thanks.

> The very last change is to take into account that serial numbers can be 
> shorter than 12 characters.

Serial numbers from the Device ID field can be any length, yes, but
'serial' in that context is the USB serial number.  As I understand it
these must have a minimum of 12 characters.

> -	    uris->uri[uris->n_uris + i] = uris_noserial.uri[i];
> +	    uris->uri[uris->n_uris + i] = strdup(uris_noserial.uri[i]);

Good catch, thanks.

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20090722/6511f15e/attachment.pgp 


More information about the devkit-devel mailing list