Hi Marco,
> > So maybe this is an udev bug?
> I highly doubt this. Keep investigating.
> Also, you really really want to add other parameters (e.g. a SUBSYSTEM
> key) or these rules will be matched against *everything* and will try to
> open files in sysfs for every event.
libgphoto2.rules starts with this:
ACTION!="add", GOTO="libgphoto2_rules_end"
SUBSYSTEM=="usb_device", GOTO="libgphoto2_rules_real"
SUBSYSTEM=="usb", GOTO="libgphoto2_rules_real"
BUS!="usb", GOTO="libgphoto2_rules_end"
LABEL="libgphoto2_rules_real"
And then come the individual rules, matching idVendor and idProduct. And
occasionnaly bInterfaceClass, bInterfaceSubClass and bInterfaceProtocol.
How would you reformat those ?
Thanks,
Frederic
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]