Le Fri  3/09/2004, Laurent Meurillon disait
> Bonjour,
> 
> J'ai install� ceci :
> apt-get install gphoto
> apt-get install gtkam
> 
> Je lance gtkam. Il d�tecte bien mon appareil ( MEDION 9700 )
> mais quand je valide ce choix, il m'indique qu'il n'arrive pas � 
> acc�der � la liste des photos ???...
> 
> Pourtant sur ma mandrake tout aller bien.... Alors je suis
> perdu ???...

Il faut aller bidouiller dans hotplug pour qu'il te donne les droits
de lecture sur le device quand tu branche ton appareil photo.

Voil� ce que j'utilise (merci � J. Blache qui m'a aid� � afaire le truc).

/etc/hotplug/apn.usermap:

# Fichier de E. David
#
# Sample entry (replace 0xVVVV and 0xPPPP with vendor ID and product ID 
respectively) :
apn-mode      0x0003      0x04a9   0x3055    0x0000       0x0000       0x00     
    0x00            0x00            0x00            0x00               0x00     
          0x00000000
#
# usb module         match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi 
bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass 
bInterfaceProtocol driver_info
#

et
/etc/hotplug/usb/apn-mode

#!/bin/sh

#
# This script changes the permissions and ownership of a USB device under
# /proc/bus/usb to grant access to this device to users in the video group.
#
# Ownership is set to root:video, permissions are set to 0660.
#
# Arguments :
# -----------
# ACTION=[add|remove]
# DEVICE=/proc/bus/usb/BBB/DDD
# TYPE=usb

if [ "$ACTION" = "add" -a "$TYPE" = "usb" ]; then
  chown root:video "$DEVICE"
  chmod 0660 "$DEVICE"
fi


�a donne acc�s � l'appareil photo pour tous les utilisateurs du groupe
video.

le vendor IP/Product Id correspond � un canon powershot G2.
un lsusb te donnera les valeurs pour ton appareil photo.


-- 
Erwan

Répondre à