udev-ish replacement for hal-cups-utils?

Martin Pitt martin.pitt at ubuntu.com
Mon Jul 20 08:28:01 PDT 2009


Tim Waugh [2009-07-18 18:22 +0100]:
> There's no need, we are in C at the point we need to read the Device ID.
> So I guess I'll have to do it using libusb. (Not sure how libgudev or
> libudev would help there...)

Right, you probably won't need them then. If you match the specific
interfaces you are interested in in udev rules, and then just need an
attribute or two from sysfs, you could do this with simple open().

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20090720/220dc767/attachment.pgp 


More information about the devkit-devel mailing list