Hello Frederic.
Thank you for updating the package so fast, it was impressive! I
hope it could save some time for someone.
El 18/09/06 05:42, Frederic Peters escribió:
Ivan Baldo wrote:
Package: libgphoto2-2
Version: 2.2.1-2
Severity: normal
Tags: patch
I can't believe this, is it really necessary to add absolutely all the
vendor and product ids in order to have proper permissions?
UDEV can't look at the interface class and subclass (6 represents Imaging and
1 in the subclass represents Still Image Capture) in order to set permissions
to "camera"?
It should already do this, if it doesn't work it may be a udev bug or
misunderstanding of my part, but that line was checked with udev
maintainer.
SYSFS{bInterfaceClass}=="06", SYSFS{bInterfaceSubClass}=="01",
SYSFS{bInterfaceProtocol}=="01", MODE="0660", GROUP="camera"
I had added a similar one at that time without the
bInterfaceProtocol and it didn't work.
It seems that this camera has subdevices, because the root device
has all zeros on the bInterfaceClass and bInterfaceSubClass and one
subdevice has those correct values, but it seems that udev doesn't look
at the subdevices, only on the root device (which is correct behaviour I
think), though maybe there is some way to tell udev to "look at the
bInterfaceClass and bInterfaceSubClass and bInterfaceProtocol of the
subdevice instead of the root device and assign mode 0660 and group
camera if they match 06, 01 and 01 respectively".
Do you know if thats possible or can ask the upstream author of udev
if thats possible? Or maybe the Debian maintainer for udev does know.
IMHO that capability should be added to udev if at all possible if
it doesn't has it already, it could detect some other cameras without
needing to add the exact vendor and product ids.
The camera is of my girlfriend and I don't have it now, I can get it
this Thursday though and send you the output of lsusb -v for it, so you
can see the main device and the subdevice that lsusb reports to
understand better what I mean (if it is not clear already).
If there is anything you want me to do then don't hesitate to ask
and give me instructions, I will try to do it on Thursday and I will be
very happy to help.
I appreciate your time and dedication to Debian and Free Software in
general, thanks!!!
Goodbye.
--
Ivan Baldo - [EMAIL PROTECTED] - http://ibaldo.codigolibre.net/
ICQ 10215364 - Phone/FAX (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America.
We believe that we are free, but in reality we are not! Are we?
Alternatives: [EMAIL PROTECTED] - http://go.to/ibaldo