Re: Canon Powershot S60
Grazie mille Giulio, ho fatto un po' di prove e l'utente paolo ora è nel
gruppo camera:
paolo@debian:~$ getent group camera
camera:x:107:paolo
e
paolo@debian:~$ cat /etc/hotplug/usb/libgphoto2
#!/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
Nonostante questo se da prompt lancio:
paolo@debian:~$ gphoto2 -l
*** Error ***
Could not detect any camera
*** Error (-105: 'Unknown model') ***
For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:
env LANG=C gphoto2 --debug -l
Please make sure there is sufficient quoting around the arguments.
mentre se lancio
paolo@debian:~$ sudo gphoto2 -l
Detected a 'Canon:PowerShot S60 (normal mode)'.
There are 2 folders in folder '/':
- DCIM
- MISC
There are 3 folders in folder '/DCIM':
- 103CANON
- 104CANON
- CANONMSC
There are no folders in folder '/DCIM/103CANON'.
There are no folders in folder '/DCIM/104CANON'.
There are no folders in folder '/DCIM/CANONMSC'.
There are no folders in folder '/MISC'.
Senza contare che poi non so se funzionerà con gthumb...
Comunque mille grazie
Piviul
Reply to: