[Pkg-phototools-devel] experimental patch to libgphoto2 for udev issues

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Mon Jul 26 14:15:57 UTC 2010


Hello,

this patch should help with the tons of "my camera does not work" and 
"issues with udev" bugs found in the bts. This is marked experimental 
because i haven't tested it yet and don't know if the link should be 
placed in /etc/udev/rules.d or we should just drop the file in 
/lib/udev/rules.d like others are doing (see #586668).

Diffed on top of other changes sent to the list, please CC me since i'm 
not subscribed.

This is the commit message from the patch:

There are a lot of issues reported on Debian BTS of not handled
cameras or more in general issues with udev. Mine is not recognized
too while it should because there should be a generic rule for
ptp cameras.

Looking in /etc/udev/rules.d and in /lib/udev/rules.d i haven't
found any link to gphoto2 rules so maybe _that_ is why it's
not working. So my idea of fix is just makes thing more simple.

I've done these changes:
- force link of udev rules in every case and remove the old one
   if exists
- one user reports that moving the rule from 025 to 090 fixed the
   issue for him, i have no idea if that could make a difference,
   so move the rule later to 90 since the other scripts here are
   not using levels starting from zero.
   In upstream documentation they use 90 too.

thanks,
riccardo



More information about the Pkg-phototools-devel mailing list