Tim Waugh [2009-07-17 12:08 +0100]:
> Please take a look at the 'udev' branch of system-config-printer:
> 
> http://git.fedorahosted.org/git/?p=system-config-printer.git;a=shortlog;h=refs/heads/udev

Can you please put this line on top of the .rules?

SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export 
%p"

This will ensure that ID_USB_INTERFACES is actually present. (That was
the reason why it didn't work on my test system, since no other rule
invoked usb_id for printer devices yet).

The second test ensures that usb_id isn't called twice on a device.

Thanks!

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to