| Summary: | media-libs/libgphoto2-2.4.0-r1 - wrong rule in 70-libgphoto2.rules every USB device is in plugdev group | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gaspar <blakeyed> |
| Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | graphics+disabled |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
70-libgphoto2.rules
print-camera-list udev-rules version 0.98 group plugdev > 70-libgphoto2.rules |
||
|
Description
Gaspar
2008-03-07 11:24:05 UTC
Attach the file here and post emerge -pv libgphoto2 output as well. Created attachment 145477 [details]
70-libgphoto2.rules
I commented line 34:
GROUP="plugdev"
to make it work fine
BixarracO gaspy # emerge -pv libgphoto2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/libgphoto2-2.4.0-r1 USE="exif hal nls -doc" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Don't have any such line here. Re-emerge media-libs/libgphoto2 and check again. If you don't want to recompile it, then running `/usr/lib/libgphoto2/print-camera-list udev-rules version 0.98 group plugdev > /etc/udev/rules.d/70-libgphoto2.rules` does the same thing like the ebuild. It outputs the same wrong file. I emerged the last version, and I have downloaded the tar.bz2, configured and maked by myself, then generated the rules file, and that wrong line is still appearing.
Configured with this line (c&p from emerge stdout):
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-drivers=adc65,agfa_cl20,aox,barbie,canon,casio_qv,clicksmart310,digigr8,digita,dimera3500,directory,enigma13,fuji,gsmart300,hp215,iclick,jamcam,jd11,kodak_dc120,kodak_dc210,kodak_dc240,kodak_dc3200,kodak_ez200,konica,konica_qm150,largan,lg_gsm,mars,dimagev,mustek,panasonic_coolshot,panasonic_l859,panasonic_dc1000,panasonic_dc1580,pccam300,pccam600,polaroid_pdc320,polaroid_pdc640,polaroid_pdc700,ptp2,ricoh,ricoh_g3,samsung,sierra,sipix_blink,sipix_blink2,sipix_web2,smal,sonix,sony_dscf1,sony_dscf55,soundvision,spca50x,sq905,stv0674,stv0680,sx330z,template,toshiba_pdrm11 --with-doc-dir=/usr/share/doc/libgphoto2-2.4.0-r1 --with-html-dir=/usr/share/doc/libgphoto2-2.4.0-r1/html --with-hotplug-doc-dir=/usr/share/doc/libgphoto2-2.4.0-r1/hotplug --enable-nls --with-rpmbuild=/bin/true --disable-docs udevscriptdir=/lib/udev GTKDOC=/bin/true --with-exif-prefix=/usr --build=i686-pc-linux-gnu
Here is the stdout/stderr:
..... A lot of idVendors...
ATTRS{idVendor}=="0919", ATTRS{idProduct}=="0100", GROUP="plugdev"
ATTRS{idVendor}=="093a", ATTRS{idProduct}=="010f", GROUP="plugdev"
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="3003", GROUP="plugdev"
Error: Trying to output device 0/0 with incorrect match flags.
GROUP="plugdev"
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="3047", GROUP="plugdev"
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="30c0", GROUP="plugdev"
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="30c0", GROUP="plugdev"
..... A lot of idVendors...
Cannot reproduce it at all; you should recompile this thing with CAMERAS variable unset as that's the only thing that upstream supports anyway. ebuild R ] media-libs/libgphoto2-2.4.0-r1 USE="-doc exif hal nls" CAMERAS="-adc65 -agfa_cl20 -aox -barbie -canon -casio_qv -clicksmart310 -digigr8 -digita -dimagev -dimera3500 -directory -enigma13 -fuji -gsmart300 -hp215 -iclick -jamcam -jd11 -kodak_dc120 -kodak_dc210 -kodak_dc240 -kodak_dc3200 -kodak_ez200 -konica -konica_qm150 -largan -lg_gsm -mars -mustek -panasonic_coolshot -panasonic_dc1000 -panasonic_dc1580 -panasonic_l859 -pccam300 -pccam600 -polaroid_pdc320 -polaroid_pdc640 -polaroid_pdc700 -ptp2 -ricoh -ricoh_g3 -samsung -sierra -sipix_blink -sipix_blink2 -sipix_web2 -smal -sonix -sony_dscf1 -sony_dscf55 -soundvision -spca50x -sq905 -stv0674 -stv0680 -sx330z -template -toshiba_pdrm11" 3,106 kB Created attachment 145480 [details]
print-camera-list udev-rules version 0.98 group plugdev > 70-libgphoto2.rules
I don't have this as well, I use CAMERAS="canon ptp2", maybe one of the drivers in your list generates a wrong rule. Would you be kind enough to find which one does this and report upstream ? *** This bug has been marked as a duplicate of bug 201028 *** |