Alberto Hernando wrote:
Hi.
I'm trying to connect to my digital camera using digikam&gphoto, and I have a
problem with permissions, because root can access. When I connect the camera,
I get a /dev/usbdevX device, owned by root.root and with 660. I've read all
my udev rules and there is nothing for this, so I don't know what to do. I
tried to install the latest udev (kernel i 2.6.16) but it conflicts with
hotplug and even if I remove the hotplug init script, the system doesn't work
well, or doesn't boot. So I'm bak to udev-056. What do I need to do to access
my camera?
It looks like you need to write a udev rule that matches the device and
mounts it on a /dev node that is owned by root:video and add yourself to
the video group. If no rule matches a device, the default is to put it
on a node in /dev with the name that the kernel gives it, permissions
0660 and owned by root:root. To find out how to write a udev rule read
file:///usr/share/doc/udev-$ver/index.html (or
http://www.reactivated.net/writing_udev_rules.html). To find out how to
add yourself to the video group read man usermod.
Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page