md wrote: > > How would you reformat those ? > Then they are fine.
Sorry to bother you again, but there is still one problem; consider this rules file: 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" SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="30fd", \ MODE="0660", GROUP="plugdev" SYSFS{bInterfaceClass}=="06", SYSFS{bInterfaceSubClass}=="01", \ SYSFS{bInterfaceProtocol}=="01", \ MODE="0660", GROUP="plugdev" LABEL="libgphoto2_rules_end" It will match my camera on its USB ID and it will work fine. What I would like to achieve would be that if a specific USB ID can't be matched, at least there is a generic rule matching 'PTP camera' and it works without adding a new rule. Unfortunately the rule as it is written now doesn't work, could you enlighten me on this, how can I match against bInterface* when a camera is plugged ? Thanks, Frederic -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]