gthumb non importa le foto

Installazione, configurazione e uso di programmi e strumenti.
Avatar utente
doktor_p
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 511
Iscrizione: martedì 14 marzo 2006, 0:02

gthumb non importa le foto

Messaggio da doktor_p »

non so se è la sezione giusta...
ho provato a importsare le foto della mia kodak c533 sulla nuova edgy utilizzando gthumb, come ho sempre fatto su dapper.
solo che ottengo questo errore:
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.
che significa????
dove devo mettere le mani???
Ultima modifica di Janvitus il lunedì 12 marzo 2007, 13:58, modificato 1 volta in totale.
Noli Contra Ventum Mingere
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: ghtumb non importa le foto

Messaggio da DktrKranz »

Controlla se libgphoto2 è installato.
Avatar utente
doktor_p
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 511
Iscrizione: martedì 14 marzo 2006, 0:02

Re: ghtumb non importa le foto

Messaggio da doktor_p »

ho installato gphoto2, ma non cambia nulla, mi da lo stesso errore di prima...
ho provato anche con gtkam, ma quando clicco rescan non succede nulla e se tneto di aggiungere la fotocamera all'elenco mi dice che è impossibile inizializzarla.

che devo fare ?????
Noli Contra Ventum Mingere
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17366
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: ghtumb non importa le foto

Messaggio da Stealth »

Verifica che non sia solo una questione di diritti, aprendo gthumb da terminale e con sudo

Codice: Seleziona tutto

gksu gthumb
e riprovando ad importare le foto
ciao
Avatar utente
doktor_p
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 511
Iscrizione: martedì 14 marzo 2006, 0:02

Re: ghtumb non importa le foto

Messaggio da doktor_p »

ok con i diritti di root va, ma come posso fare per non doverli usare per forza???
anche perchè così le cartelle che importo sono di proprietà di rooot e mi tocca fare ogni volta chown....
Noli Contra Ventum Mingere
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: ghtumb non importa le foto

Messaggio da DktrKranz »

Dopo aver collegato la videocamera, prova a dare questo comando:

Codice: Seleziona tutto

for dev in `ls /sys/bus/usb/devices`; do udevinfo -ap /sys/bus/usb/devices/$dev; done
Allega l'output generato e vediamo di inserire la riga di inizializzazione adatta ;)
Avatar utente
doktor_p
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 511
Iscrizione: martedì 14 marzo 2006, 0:02

Re: ghtumb non importa le foto

Messaggio da doktor_p »

eccolo:

Codice: Seleziona tutto

    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.0':
    ID=="0000:00:03.0"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="177"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.1/usb3/3-0:1.0':
    KERNEL=="3-0:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="09"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:03.1/usb3':
    ID=="usb3"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.1"
    SYSFS{product}=="OHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ohci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.1':
    ID=="0000:00:03.1"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="185"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4/4-0:1.0':
    KERNEL=="4-0:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="09"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4':
    ID=="usb4"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.2"
    SYSFS{product}=="OHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ohci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.2':
    ID=="0000:00:03.2"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4/4-2':
    KERNEL=="4-2"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="KCFFR63506386"
    SYSFS{product}=="KODAK EasyShare C533 Zoom Digital Camera"
    SYSFS{manufacturer}=="Eastman Kodak Company"
    SYSFS{maxchild}=="0"
    SYSFS{version}==" 2.00"
    SYSFS{devnum}=="2"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="8"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bcdDevice}=="0100"
    SYSFS{idProduct}=="05a2"
    SYSFS{idVendor}=="040a"
    SYSFS{bMaxPower}=="  2mA"
    SYSFS{bmAttributes}=="c0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4':
    ID=="usb4"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.2"
    SYSFS{product}=="OHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ohci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.2':
    ID=="0000:00:03.2"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4/4-2/4-2:1.0':
    KERNEL=="4-2:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v040Ap05A2d0100dc00dsc00dp00ic06isc01ip01"
    SYSFS{bInterfaceProtocol}=="01"
    SYSFS{bInterfaceSubClass}=="01"
    SYSFS{bInterfaceClass}=="06"
    SYSFS{bNumEndpoints}=="03"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4/4-2':
    ID=="4-2"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="KCFFR63506386"
    SYSFS{product}=="KODAK EasyShare C533 Zoom Digital Camera"
    SYSFS{manufacturer}=="Eastman Kodak Company"
    SYSFS{maxchild}=="0"
    SYSFS{version}==" 2.00"
    SYSFS{devnum}=="2"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="8"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bcdDevice}=="0100"
    SYSFS{idProduct}=="05a2"
    SYSFS{idVendor}=="040a"
    SYSFS{bMaxPower}=="  2mA"
    SYSFS{bmAttributes}=="c0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4':
    ID=="usb4"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.2"
    SYSFS{product}=="OHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ohci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.2':
    ID=="0000:00:03.2"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.3/usb1':
    KERNEL=="usb1"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.3"
    SYSFS{product}=="EHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ehci_hcd"
    SYSFS{maxchild}=="6"
    SYSFS{version}==" 2.00"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="480"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="01"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.3':
    ID=="0000:00:03.3"
    BUS=="pci"
    DRIVER=="ehci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007002sv00001458sd00005004bc0Csc03i20"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="169"
    SYSFS{class}=="0x0c0320"
    SYSFS{subsystem_device}=="0x5004"
    SYSFS{subsystem_vendor}=="0x1458"
    SYSFS{device}=="0x7002"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.0/usb2':
    KERNEL=="usb2"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.0"
    SYSFS{product}=="OHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ohci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.0':
    ID=="0000:00:03.0"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="177"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.1/usb3':
    KERNEL=="usb3"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.1"
    SYSFS{product}=="OHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ohci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.1':
    ID=="0000:00:03.1"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="185"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:03.2/usb4':
    KERNEL=="usb4"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:03.2"
    SYSFS{product}=="OHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ohci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:03.2':
    ID=="0000:00:03.2"
    BUS=="pci"
    DRIVER=="ohci_hcd"
    SYSFS{modalias}=="pci:v00001039d00007001sv00001039sd00007001bc0Csc03i10"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0310"
    SYSFS{subsystem_device}=="0x7001"
    SYSFS{subsystem_vendor}=="0x1039"
    SYSFS{device}=="0x7001"
    SYSFS{vendor}=="0x1039"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""
non ci si capisce nulla......
Noli Contra Ventum Mingere
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: ghtumb non importa le foto

Messaggio da DktrKranz »

Fantastico, ho tutte le informazioni che mi servivano :D
Ora devi aprire, da root, il file /etc/udev/rules.d/45-libgphoto2.rules (il numero può cambiare) e inserire in coda all'elenco ma prima di libgphoto2_rules_end la seguente stringa:

Codice: Seleziona tutto

SYSFS{idVendor}=="040a", SYSFS{idProduct}=="05a2", MODE="0660", GROUP="plugdev"
Ora devi riavviare udev (/etc/init.d/udev restart) e dovresti essere in grado di accedere alla videocamera. Eventualmente accertati di appartenere al gruppo plugdev con il comando id.
Avatar utente
Delio
Prode Principiante
Messaggi: 223
Iscrizione: giovedì 8 marzo 2007, 22:37
Località: Palermo
Contatti:

Re: ghtumb non importa le foto

Messaggio da Delio »

Io ho lo stesso problema con la Kodak Easyshare V610. Ho provato ad aprire da root e le foto si visualizzano e si possono scaricare. Ora però vorrei poterle aprire anche come utente. Questo è l'output che chiedeva Krantz, che riga devo aggiungere io?

Codice: Seleziona tutto

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.0/usb1/1-0:1.0':
    KERNEL=="1-0:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="09"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:1d.0/usb1':
    ID=="usb1"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.0"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.0':
    ID=="0000:00:1d.0"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D2sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="177"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d2"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.7/usb2/2-0:1.0':
    KERNEL=="2-0:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v0000p0000d0206dc09dsc00dp01ic09isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="09"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:1d.7/usb2':
    ID=="usb2"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.7"
    SYSFS{product}=="EHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ehci_hcd"
    SYSFS{maxchild}=="8"
    SYSFS{version}==" 2.00"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="480"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="01"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.7':
    ID=="0000:00:1d.7"
    BUS=="pci"
    DRIVER=="ehci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024DDsv00001043sd000080A6bc0Csc03i20"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="185"
    SYSFS{class}=="0x0c0320"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24dd"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3/3-0:1.0':
    KERNEL=="3-0:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="09"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3':
    ID=="usb3"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.1"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.1':
    ID=="0000:00:1d.1"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D4sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d4"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2':
    KERNEL=="3-2"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="KCKFV62602121"
    SYSFS{product}=="KODAK EasyShare V610 Dual Lens Digital Camera"
    SYSFS{manufacturer}=="Eastman Kodak Company"
    SYSFS{maxchild}=="0"
    SYSFS{version}==" 2.00"
    SYSFS{devnum}=="5"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bcdDevice}=="0100"
    SYSFS{idProduct}=="05ac"
    SYSFS{idVendor}=="040a"
    SYSFS{bMaxPower}=="  2mA"
    SYSFS{bmAttributes}=="c0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3':
    ID=="usb3"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.1"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.1':
    ID=="0000:00:1d.1"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D4sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d4"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0':
    KERNEL=="3-2:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v040Ap05ACd0100dc00dsc00dp00ic06isc01ip01"
    SYSFS{bInterfaceProtocol}=="01"
    SYSFS{bInterfaceSubClass}=="01"
    SYSFS{bInterfaceClass}=="06"
    SYSFS{bNumEndpoints}=="03"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2':
    ID=="3-2"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="KCKFV62602121"
    SYSFS{product}=="KODAK EasyShare V610 Dual Lens Digital Camera"
    SYSFS{manufacturer}=="Eastman Kodak Company"
    SYSFS{maxchild}=="0"
    SYSFS{version}==" 2.00"
    SYSFS{devnum}=="5"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bcdDevice}=="0100"
    SYSFS{idProduct}=="05ac"
    SYSFS{idVendor}=="040a"
    SYSFS{bMaxPower}=="  2mA"
    SYSFS{bmAttributes}=="c0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3':
    ID=="usb3"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.1"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.1':
    ID=="0000:00:1d.1"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D4sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d4"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.2/usb4/4-0:1.0':
    KERNEL=="4-0:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="09"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:1d.2/usb4':
    ID=="usb4"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.2"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.2':
    ID=="0000:00:1d.2"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D7sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="169"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d7"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.3/usb5/5-0:1.0':
    KERNEL=="5-0:1.0"
    SUBSYSTEM=="usb"
    SYSFS{modalias}=="usb:v0000p0000d0206dc09dsc00dp00ic09isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="09"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:1d.3/usb5':
    ID=="usb5"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.3"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.3':
    ID=="0000:00:1d.3"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024DEsv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="177"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24de"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.0/usb1':
    KERNEL=="usb1"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.0"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.0':
    ID=="0000:00:1d.0"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D2sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="177"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d2"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.7/usb2':
    KERNEL=="usb2"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.7"
    SYSFS{product}=="EHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic ehci_hcd"
    SYSFS{maxchild}=="8"
    SYSFS{version}==" 2.00"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="480"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="01"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.7':
    ID=="0000:00:1d.7"
    BUS=="pci"
    DRIVER=="ehci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024DDsv00001043sd000080A6bc0Csc03i20"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="185"
    SYSFS{class}=="0x0c0320"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24dd"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.1/usb3':
    KERNEL=="usb3"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.1"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.1':
    ID=="0000:00:1d.1"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D4sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="193"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d4"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.2/usb4':
    KERNEL=="usb4"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.2"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.2':
    ID=="0000:00:1d.2"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024D7sv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="169"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24d7"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""


udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/devices/pci0000:00/0000:00:1d.3/usb5':
    KERNEL=="usb5"
    SUBSYSTEM=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:1d.3"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.17-10-generic uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="e0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:1d.3':
    ID=="0000:00:1d.3"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00008086d000024DEsv00001043sd000080A6bc0Csc03i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="177"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x80a6"
    SYSFS{subsystem_vendor}=="0x1043"
    SYSFS{device}=="0x24de"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: ghtumb non importa le foto

Messaggio da DktrKranz »

Dovrebbe essere la seguente:

Codice: Seleziona tutto

SYSFS{idVendor}=="040a", SYSFS{idProduct}=="05ac", MODE="0660", GROUP="plugdev"
trichy
Prode Principiante
Messaggi: 69
Iscrizione: martedì 5 dicembre 2006, 13:43

Re: ghtumb non importa le foto

Messaggio da trichy »

Scusami DktrKranz, appena ho consigliato a Delio di visitare questa pagina del forum, che a me era stata molto utile, mi sono ricordato che avevo foto da scaricare e con molta sorpresa ho notato  che non potevo più farlo in automatico  ma solo attraverso gThumb da root nella shell.
Strano! fino alla settimana scorsa, come collegavo la fotocamera, appariva la finestra per l'importazione automatica, adesso la finestra si apre ma appare questo messaggio di errore:

Codice: Seleziona tutto

Si è verificato un errore nella libreria di I/O ("Impossibile reclamare il dispositivo USB"): Impossibile reclamare l'interfaccia 0 (Funzione non permessa). Assicurarsi che nessun altro programma o un modulo del kernel (come sdc2xx, stv680, spca50x) stia usando il dispositivo, e che si abbia accesso in lettura e scrittura al dispositivo.
Hai qualche consiglio? Cito quanto da te postato in passato:

Codice: Seleziona tutto

Ora devi riavviare udev (/etc/init.d/udev restart) e dovresti essere in grado di accedere alla videocamera. Eventualmente accertati di appartenere al gruppo plugdev con il comando id.
Come fare per ottenere l'appartenenza al gruppo di "plugdev"?
Avatar utente
Delio
Prode Principiante
Messaggi: 223
Iscrizione: giovedì 8 marzo 2007, 22:37
Località: Palermo
Contatti:

Re: ghtumb non importa le foto

Messaggio da Delio »

Ehm... dopo che apro il file come root nella konsole, come faccio ad aggiungere la riga? :)
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17366
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: ghtumb non importa le foto

Messaggio da Stealth »

Delio ha scritto: Ehm... dopo che apro il file come root nella konsole, come faccio ad aggiungere la riga? :)
beh....con la tastiera. Mica ho capito quale sia il tuo problema, ma facciamo così: chiudi tutto, apri un terminale e scrivi:

Codice: Seleziona tutto

sudo nano /etc/udev/rules.d/45-libgphoto2.rules
come dice DktrKranz, il numero può cambiare. Con le frecce ti muovi fino al punto in cui vuoi inserire la riga, la inserisci, salvi con ctrl+o (vocale, non zero) e invio, ed esci con ctrl+x.
A quel punto, sempre dal terminale, riavvii udev, come indicato nei post precedenti

Codice: Seleziona tutto

sudo /etc/init.d/udev restart
riprovi con la camera.......e vedi come è andata
ciao
Avatar utente
Delio
Prode Principiante
Messaggi: 223
Iscrizione: giovedì 8 marzo 2007, 22:37
Località: Palermo
Contatti:

Re: ghtumb non importa le foto

Messaggio da Delio »

No il problema era che aprivo il file con less e non riuscivo a modificarlo.

Comunque ho fatto tutto, ma ugualmente se non sono root non riesco a visualizzare le foto. Come utente faccio parte del gruppo plugdev, ma niente. ???
Avatar utente
DipoAirStyle
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 678
Iscrizione: mercoledì 21 febbraio 2007, 20:28
Località: provincia varese
Contatti:

Re: ghtumb non importa le foto

Messaggio da DipoAirStyle »

Comunque ho fatto tutto, ma ugualmente se non sono root non riesco a visualizzare le foto
idem.........e sono praticamente sicuro che sia successo dopo un aggiornamento proposto all'avvio del sistema perchè ieri ho importato..
oggi fatto agg
e da oggi se non sono root non ho i permessi per accedere........ >:(
emilio
Prode Principiante
Messaggi: 42
Iscrizione: giovedì 17 novembre 2005, 23:41

Re: ghtumb non importa le foto

Messaggio da emilio »

Anch'io ho avuto lo stesso problema. Non è stato più possibile importare le foto automaticamente dopo l'aggiornamento da libgphoto 2.2 a 2.3. Trattasi di un bug dal momento che ad esempio la mia canon powershot a70 risulta comunque  essere supportata? E ripeto, mai avuto problemi in precedenza.
Attendiamo lumi
Grazie
Emilio
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: ghtumb non importa le foto

Messaggio da DktrKranz »

Purtroppo confermo questa situazione. Ho verificato e anche io soffro di questa problematica. Indagherò.
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: ghtumb non importa le foto

Messaggio da DktrKranz »

Provate in questo modo. Create il file /etc/udev/rules.d/45-nomevideocamera.rules e all'interno inserite la seguente stringa:

Codice: Seleziona tutto

ACTION=="add", SYSFS{idVendor}=="XXXX", SYSFS{idProduct}=="YYYY", MODE="0660", GROUP="plugdev"
dove XXXX e YYYY sono rispettivamente i valori di idVendor e idProduct ottenuti dall'analisi dell'output del comando

Codice: Seleziona tutto

for dev in `ls /sys/bus/usb/devices`; do udevinfo -ap /sys/bus/usb/devices/$dev; done
Riavviando udev (sudo /etc/init.d/udev restart) la telecamera dovrebbe tornare accessibile.
Avatar utente
Delio
Prode Principiante
Messaggi: 223
Iscrizione: giovedì 8 marzo 2007, 22:37
Località: Palermo
Contatti:

Re: ghtumb non importa le foto

Messaggio da Delio »

Appena fatto, funziona perfettamente. Grazie! ;D
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: ghtumb non importa le foto

Messaggio da DktrKranz »

Un altro vantaggio di questa soluzione è che quando verranno installati altri aggiornamenti del pacchetto libgphoto non occorrerà rigenerare la configurazione. Grazie per la tempestiva segnalazione ;)
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti