fixed the PTP generic matcher... again. :(

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14697 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2014-01-11 08:33:39 +00:00
parent 33737b0b67
commit 39b79a84a1

View File

@@ -782,7 +782,7 @@ hwdb_camera_func (const func_params_t *params,
/* device class matcher ... */
/*printf("usb:v*p*d*dc%02ddsc%02dp%02d*\"\n GPHOTO2_DRIVER=PTP\n", class, subclass, proto);*/
/* but we need an interface class matcher, ptp is a interface */
printf("usb:v*p*d*ic%02disc%02ip%02d*\n GPHOTO2_DRIVER=PTP\n", class, subclass, proto);
printf("usb:v*ic%02disc%02dip%02d*\n GPHOTO2_DRIVER=PTP\n", class, subclass, proto);
has_valid_rule = 1;
} else {
if (class == 666) {