Fotoaparat
poilkos
Član
Imam fotoaparat Canon PowerShot A530. Povežem ga na USB, prižgem, odpre se mi okvir: Uvoz iz fotoaparata. Kliknem uvozi fotografije in javi mi napako :
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted). 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.
Kakšna bi bila rešitev problema??
Sem na Ubuntu 6.10.
Slike sem probal prenesti tudi z programom gtkam. Stisno sem add camera. Pol na detect. Našlo je pravi fotoaparat. Stisnem Uporabi ali vredu in sledi: Could not initialize camera.
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted). 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.
Kakšna bi bila rešitev problema??
Sem na Ubuntu 6.10.
Slike sem probal prenesti tudi z programom gtkam. Stisno sem add camera. Pol na detect. Našlo je pravi fotoaparat. Stisnem Uporabi ali vredu in sledi: Could not initialize camera.
Komentarji
Opis rešitve:
Priklopiš fotoaparat in ga prižgeš.
V terminal vpišeš:
for dev in `ls /sys/bus/usb/devices`; do udevinfo -ap /sys/bus/usb/devices/$dev; done
Poiščeš svoj fotoaparat in si prepišeš naslednji cifri idVendor in idProduct
Pol v terminal:
sudo gedit /etc/udev/rules.d/45-libgphoto2.rules
In čisto na koncu (pred LABEL="libgphoto2_rules_end":), dodaš vrstico:
SYSFS{idVendor}=="tvoj_idVendor", SYSFS{idProduct}=="tvoj_idProduct", MODE="0660", GROUP="plugdev"
shraniš, nato sledi še:
sudo /etc/init.d/udev restart
In to bi naj blo to. Če to ne pomaga:
sudo gedit /etc/udev/rules.d/45-ime_fotoaparata.rules
not nalimaš :
SYSFS{idVendor}=="tvoj_idVendor", SYSFS{idProduct}=="tvoj_idProduct", MODE="0660", GROUP="plugdev"
pol pa še:
sudo /etc/init.d/udev restart