Hi, I modified /etc/hotplug/usb/libgphoto2 to enable gThumb to import images from my camera under udev (see attachment).

This may not be an acceptable solution without the libgphoto2 program and libraries' maintainers also approving, but it helped me to get working again.

Regards,

Arthur.
#!/bin/bash

GROUP=camera

if [ "$ACTION" = "add" ] && [ -f "$DEVICE" ]
then
    # check if $GROUP really exists
    if getent group $GROUP > /dev/null; then
        chmod 660 "$DEVICE"
        chown root:$GROUP "$DEVICE"
    fi
fi
if [ "$ACTION" = "add" ] && [ -c "$DEVNAME" ]
then
    # check if $GROUP really exists
    if getent group $GROUP > /dev/null; then
        echo "modifying" > /tmp/devname.tmp
        chmod 660 "$DEVNAME"
        chown root:$GROUP "$DEVNAME"
    fi
fi

Reply via email to