Ah well I see. But I just found a problem. The fdi file shipped with the debian file does not contain any matching except info.subsystem "usb". This is because print-camera-list is built with a libtool wrapper script that seems to be used during package building instead of the final binary file. This should not, but indeed does, produce a different output than the final binary file which is located in packaging/generic/.libs/print-camera-list after building. Possibly the udev file is also generated
Besides that, there is another problem. If I use the correct print-camera-list program with the hal-fdi argument, the fdi file is generated BUT the matching for Apple iPhones is still incorrect, using usb.interface.class=0, usb.interface.subclass=0, and usb.interface.protocol=0. Attached is the corrected patch from above using 6:1:1.
@Marcus: You should fix this in libgphoto2 SVN, too.
@Martin: Perhaps you should use
./packaging/generic/.libs/print-camera-list udev-rules [...]
and
./packaging/generic/.libs/print-camera-list hal-fdi
instead of
./packaging/generic/print-camera-list udev-rules [...]
and
./packaging/generic/print-camera-list hal-fdi
Ah well I see. But I just found a problem. The fdi file shipped with the debian file does not contain any matching except info.subsystem "usb". This is because print-camera-list is built with a libtool wrapper script that seems to be used during package building instead of the final binary file. This should not, but indeed does, produce a different output than the final binary file which is located in packaging/ generic/ .libs/print- camera- list after building. Possibly the udev file is also generated class=0, usb.interface. subclass= 0, and usb.interface. protocol= 0. Attached is the corrected patch from above using 6:1:1.
Besides that, there is another problem. If I use the correct print-camera-list program with the hal-fdi argument, the fdi file is generated BUT the matching for Apple iPhones is still incorrect, using usb.interface.
@Marcus: You should fix this in libgphoto2 SVN, too.
@Martin: Perhaps you should use generic/ .libs/print- camera- list udev-rules [...] generic/ .libs/print- camera- list hal-fdi
./packaging/
and
./packaging/
instead of generic/ print-camera- list udev-rules [...] generic/ print-camera- list hal-fdi
./packaging/
and
./packaging/
inside the debian/rules file which worked for me.