gonzalo / gphoto2-updater

Gphoto2 compiler and installer script. This script was initially created for Raspbian and Raspberry Pi but it is also tested for Ubuntu and Debian Jessie & Wheezy.
http://github.com/gonzalo/gphoto2-updater
292 stars 72 forks source link

error during boot with rules #9

Closed pipersw closed 10 years ago

pipersw commented 10 years ago

On raspberry, I have a error message at boot : udevd[235]: failed to execute ‘/lib/udev/check-ptp-camera’ ‘check-ptp-camera 06/01/01′: No such file or directory. The line "PROGRAM="/lib/udev/check-ptp-camera"" is in /etc/udev/rules.d/90-libgphoto2.rules. What is the fix ?

pipersw commented 10 years ago

Putting in comment the line "PROGRAM="/lib/udev/check-ptp-camera"" is in /etc/udev/rules.d/90-libgphoto2.rules remove the error message. No impact on gphoto2. You could remove this line.

gonzalo commented 10 years ago

As said in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685844

With udev 175, check-ptp-camera is not needed anymore.

So it seems that your workaround is valid. However I'm asking at libgphoto-devel list if this is correct and how I can solve it automatically.

Thanks for your feedback

gonzalo commented 10 years ago

After asking Marcus (the main developer) I've released a new version of gphoto2-updater with improved rules in order to fix udev rules problems.

Please check it and confirm you have not more errors during boot.

pipersw commented 10 years ago

I confirm the fix is ok.