[PLUTO-help] USB e gphoto2 :(
Giuseppe Guglielmi
ue003024 a guest.telecomitalia.it
Mar 18 Maggio 2004 17:12:15 CEST
Purtroppo ho ancora problemi con la mia fotocamera digitale :(
La versione del kernel che utilizzo e' la 2.6.5.
I moduli che carico all'avvio sono:
usb_storage 59552 0
usbcore 95708 5 ehci_hcd,usb_storage,uhci_hcd
scsi_mod 65088 4 usb_storage,sd_mod,sr_mod,aic7xxx
Nel mio fstab ho inserito le seguenti righe:
none /proc/bus/usb usbdevfs
noauto,users,uid=mio_utente,gid=mio_gruppo 0 0
/dev/sda1 /mnt/usb vfat noauto,owner,user,umask=000
0 0
Quando collego la fotocamera al pc ricevo questi messaggi dal kernel:
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 6 status 001002 POWER
sig=se0 CSC
kernel: hub 4-0:1.0: port 6, status 100, change 1, 12 Mb/s
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 6 status 001803 POWER
sig=j CSC CONNECT
kernel: hub 4-0:1.0: port 6, status 501, change 1, 480 Mb/s
kernel: hub 4-0:1.0: debounce: port 6: delay 100ms stable 4 status 0x501
kernel: ehci_hcd 0000:00:1d.7: port 6 full speed --> companion
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 6 status 003801 POWER
OWNER sig=j CONNECT
kernel: uhci_hcd 0000:00:1d.2: wakeup_hc
kernel: uhci_hcd 0000:00:1d.2: port 2 portsc 0093
kernel: hub 3-0:1.0: port 2, status 101, change 1, 12 Mb/s
kernel: hub 3-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101
kernel: usb 3-2: new full speed USB device using address 10
kernel: usb 3-2: new device strings: Mfr=1, Product=2, SerialNumber=3
kernel: drivers/usb/core/message.c: USB device number 10 default
language ID 0x409
kernel: usb 3-2: Product: KODAK EasyShare CX4200 Digital Camera
kernel: usb 3-2: Manufacturer: Eastman Kodak Company
kernel: usb 3-2: SerialNumber: CX42041522646
kernel: drivers/usb/core/usb.c: usb_hotplug
kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0)
kernel: drivers/usb/core/usb.c: usb_hotplug
Fin qui sembra tutto regolare.
Se provo ad utilizzare gphoto2 da root tutto funzia:
/# gphoto2 --summary
Camera summary:
Model: CX4200 Digital Camera
device version: 1.01000
serial number: CX42041522646
Vendor extension ID: 0x00000001
Vendor extension description: Eastman Kodak PTP Extensions
Se invece provo da utente ottengo questo output:
$ gphoto2 --summary
*** Error ***
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 (e.g. dc2xx or stv680) is using the
device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***
I moduli dc2xx e stv680 non sono caricati nel kernel. Su quale device
non ho permessi??????
Inoltre se provo a montare /dev/sda1 sia da user che da root non ci riesco.
# mount /dev/sda1
mount: /dev/sda1 is not a valid block device
Spero che qualcuno di voi possa aiutarmi.
Grazie a tutti
--
Linux registered user #355362, http://counter.li.org
More information about the pluto-help
mailing list