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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user