View previous topic :: View next topic |
Author |
Message |
letchideslandes Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/113856849342788409d41dc.png)
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Sat Jun 04, 2005 4:49 pm Post subject: [gphoto2] ne marche qu'en root (resolu) |
|
|
Bonjour
Je viens de m'offrir un Canon Ixus 50. J'utilise gphoto2 pour télécharger les images :
en user
Code: | bash-2.05b$ gphoto2 --list-files
*** Erreur ***
Une erreur est intervenue dans la bibliothèque d'entrée-sortie ('Impossible d'utiliser le périphérique USB'): Could not claim interface 0 (Opération non permise). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Erreur (-53: 'Impossible d'utiliser le périphérique USB') ***
Pour obtenir les messages de débogage, merci d'utiliser l'option --debug.
Ces messages peuvent aider à trouver une solution à votre problème.
Si vous avez l'intention d'envoyer un message d'erreur ou de débogage à la
liste de distribution des développeurs gPhoto <gphoto-devel@lists.sourceforge.net>,
merci de lancer gphoto2 comme suit :
env LANG=C gphoto2 --debug --list-files
Please make sure there is sufficient quoting around the arguments.
|
en root
Code: | gphoto2 --list-files
Pas de fichiers dans le dossier '/'.
Pas de fichiers dans le dossier '/store_00010001'.
Pas de fichiers dans le dossier '/store_00010001/DCIM'.
Il existe 39 fichiers dans le dossier '/store_00010001/DCIM/100CANON'.
#1 IMG_0062.JPG 1211 KB 2592x1944 image/jpeg
#2 IMG_0063.JPG 1508 KB 2592x1944 image/jpeg
#3 IMG_0064.JPG 1527 KB 2592x1944 image/jpeg
#4 IMG_0065.JPG 1699 KB 2592x1944 image/jpeg
#5 IMG_0066.JPG 1966 KB 2592x1944 image/jpeg
#6 IMG_0067.JPG 1942 KB 2592x1944 image/jpeg
#7 IMG_0068.JPG 1535 KB 2592x1944 image/jpeg
#8 IMG_0069.JPG 2070 KB 2592x1944 image/jpeg
#9 IMG_0070.JPG 2086 KB 2592x1944 image/jpeg
#10 IMG_0071.JPG 2064 KB 2592x1944 image/jpeg
#11 IMG_0072.JPG 1907 KB 2592x1944 image/jpeg
#12 IMG_0073.JPG 1944 KB 2592x1944 image/jpeg
#13 IMG_0074.JPG 1778 KB 2592x1944 image/jpeg
#14 IMG_0075.JPG 1793 KB 2592x1944 image/jpeg
#15 IMG_0076.JPG 2184 KB 2592x1944 image/jpeg
#16 IMG_0077.JPG 1978 KB 2592x1944 image/jpeg
#17 IMG_0078.JPG 2153 KB 2592x1944 image/jpeg
#18 IMG_0079.JPG 2134 KB 2592x1944 image/jpeg
#19 IMG_0080.JPG 1571 KB 2592x1944 image/jpeg
#20 IMG_0081.JPG 1741 KB 2592x1944 image/jpeg
#21 IMG_0082.JPG 1751 KB 2592x1944 image/jpeg
#22 IMG_0083.JPG 1555 KB 2592x1944 image/jpeg
#23 IMG_0084.JPG 1485 KB 2592x1944 image/jpeg
#24 IMG_0085.JPG 1398 KB 2592x1944 image/jpeg
#25 IMG_0086.JPG 1435 KB 2592x1944 image/jpeg
#26 IMG_0087.JPG 1390 KB 2592x1944 image/jpeg
#27 IMG_0088.JPG 1379 KB 2592x1944 image/jpeg
#28 IMG_0093.JPG 2679 KB 2592x1944 image/jpeg
#29 IMG_0094.JPG 2104 KB 2592x1944 image/jpeg
#30 IMG_0095.JPG 1105 KB 2592x1944 image/jpeg
#31 IMG_0096.JPG 1239 KB 2592x1944 image/jpeg
#32 IMG_0097.JPG 756 KB 2592x1944 image/jpeg
#33 IMG_0098.JPG 816 KB 2592x1944 image/jpeg
#34 IMG_0099.JPG 828 KB 2592x1944 image/jpeg
#35 IMG_0100.JPG 995 KB 2592x1944 image/jpeg
#36 STA_0089.JPG 1681 KB 2592x1944 image/jpeg
#37 STB_0090.JPG 1611 KB 2592x1944 image/jpeg
#38 STC_0091.JPG 1640 KB 2592x1944 image/jpeg
#39 STD_0092.JPG 1644 KB 2592x1944 image/jpeg
Pas de fichiers dans le dossier '/store_00010001/MISC'.
Pas de fichiers dans le dossier '/store_80000001'.
|
C'est bien dommage, je cherche mais ne trouve pas de solution. Merci de vos conseils.
Edit : ilsemble que quelqu'un d'autre ait le meme probleme : https://forums.gentoo.org/viewtopic-t-282867-highlight-gphoto2+root.html
Last edited by letchideslandes on Mon Jun 06, 2005 5:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nichocouk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/137876035342664f3a55606.jpg)
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Mon Jun 06, 2005 11:18 am Post subject: |
|
|
Est-ce que ton user appartient au groupe usb?
Sinon essaye aussi de rajouter l'option de deboggage pour voir ce que ca dit. _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GentooUser@Clubic l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/149803128341b5c95e0cc54.jpg)
Joined: 01 Nov 2004 Posts: 829
|
Posted: Mon Jun 06, 2005 12:48 pm Post subject: |
|
|
Pour faire marcher mon Sony DSC-L1 en user j'ai du modifier le fichier etc/hotplug/usb/usbcam comme ça :
Code: | if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chown root:users "${DEVICE}"
chmod 0660 "${DEVICE}"
fi
|
Ça donne l'accès en lecture écriture au périphérique a tous les membres du groupe users, tu peut modifier le groupe si tu veut donner les droits qu'a des utilisateurs spécifiques. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
letchideslandes Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/113856849342788409d41dc.png)
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Mon Jun 06, 2005 5:11 pm Post subject: |
|
|
Quote: | Pour faire marcher mon Sony DSC-L1 en user j'ai du modifier le fichier etc/hotplug/usb/usbcam comme ça :
Code:
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chown root:users "${DEVICE}"
chmod 0660 "${DEVICE}"
fi
Ça donne l'accès en lecture écriture au périphérique a tous les membres du groupe users, tu peut modifier le groupe si tu veut donner les droits qu'a des utilisateurs spécifiques. |
Parfait, ca fonctionne en ligne de commande. Je test tout ca sous digikam .
Merci |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|