Package: libgphoto2-2
Version: 2.1.6-7
Severity: important

While there are numerous bugs filed with problems similar to this one all of
them either are reported for previous versions of kernel/libraries and/or are
not exactly the same. I tried solutions offered in the bug reports (if
available) but nothing I tried worked.

After system update two days ago importing photos from camera stopped
working as regular user. It works fine when 'gthumb --import-photos' is run
as root or I run 'chmod -R a+rw /dev/bus/usb/' before trying as regular user.

Output of gthumb is attached below.

Regards,
Max


$ env LANG=C gphoto2 --debug --summary
0.000014 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG
MESSAGES TO THE MAILING LIST:
0.000413 main(2): gphoto2 2.1.6
0.000646 main(2): gphoto2 has been compiled with the following options:
0.000874 main(2):  + gcc (C compiler used)
0.001100 main(2):  + popt (for handling command-line parameters)
0.005892 main(2):  + exif (for displaying EXIF information)
0.006140 main(2):  + no cdk (for accessing configuration options)
0.006394 main(2):  + no aa (for displaying live previews)
0.006622 main(2):  + no jpeg (for displaying live previews in JPEG format)
0.006853 main(2):  + no readline (for easy navigation in the shell)
0.084834 main(2): libgphoto2 2.1.6
0.085081 main(2): libgphoto2 has been compiled with the following options:
0.093254 main(2):  + gcc (C compiler used)
0.093506 main(2):  + EXIF (for special handling of EXIF files)
0.093863 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.094095 main(2):  + /proc/meminfo (adapts cache size to memory available)
0.184442 main(2): libgphoto2_port 0.5.1
0.184707 main(2): libgphoto2_port has been compiled with the following
options:
0.184936 main(2):  + gcc (C compiler used)
0.185361 main(2):  + USB (for USB cameras)
0.189913 main(2):  + serial (for serial cameras)
0.190172 main(2):  + no resmgr (serial port access and locking)
0.190403 main(2):  + no baudboy (serial port locking)
0.190635 main(2):  + no ttylock (serial port locking)
0.276267 main(2):  + no lockdev (serial port locking)
0.276600 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.277774 main(2): The user has not specified both a model and a port. Try to
figure them out.
0.282757 gphoto2-port-info-list(2): Loading io-drivers from
'/usr/lib/gphoto2_port/0.5.1' without ltdl...
0.283505 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.382406 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.382770 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.387965 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.388335 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
0.573987 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
0.574256 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
0.574495 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
0.574735 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
0.580203 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
0.788405 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
0.788694 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
0.788934 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
0.789197 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
0.789436 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
0.794871 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
0.983094 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
0.983433 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
0.983673 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
0.983913 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
0.984176 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
1.083388 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
1.083635 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
1.083874 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
1.084131 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
1.089832 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
1.293310 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
1.293558 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
1.293807 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
1.408647 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
1.409067 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
1.409306 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
1.409545 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
1.409839 gphoto2-port-info-list(2): Loaded 'Serial Port 0'
(serial:/dev/ttyS0) from 'libgphoto2_port_serial.so'
1.620565 gphoto2-port-info-list(2): Loaded 'Serial Port 1'
(serial:/dev/ttyS1) from 'libgphoto2_port_serial.so'
1.620826 gphoto2-port-info-list(2): Loaded 'Serial Port 3'
(serial:/dev/ttyS3) from 'libgphoto2_port_serial.so'
1.621082 gphoto2-port-info-list(2): Loaded '' (^serial) from
'libgphoto2_port_serial.so'
1.723550 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' (usb:)
from 'libgphoto2_port_usb.so'
1.730336 gphoto2-port-info-list(2): Counting entries (5 available)...
1.829871 gphoto2-port-info-list(2): 4 regular entries available.
1.830127 gphoto2-port(2): Creating new device...
1.830381 gphoto2-port-info-list(2): Getting info of entry 0 (5 available)...
1.835352 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
1.835686 gphoto2-port(2): Setting settings...
1.836583 gphoto2-port-info-list(2): Getting info of entry 1 (5 available)...
1.940402 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
1.940676 gphoto2-port(2): Setting settings...
1.940948 gphoto2-port-info-list(2): Getting info of entry 2 (5 available)...
1.945974 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
1.946232 gphoto2-port(2): Setting settings...
2.052523 gphoto2-port-info-list(2): Getting info of entry 3 (5 available)...
2.059176 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
2.124153 gphoto2-port(2): Setting settings...
2.124434 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
2.124710 gphoto2-port(0): Could not find USB device (vendor 0x553, product
0x202). Make sure this device is connected to the computer.
2.125028 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product
0x403). Make sure this device is connected to the computer.
2.132197 gphoto2-port(0): Could not find USB device (vendor 0x6bd, product
0x404). Make sure this device is connected to the computer.
2.132451 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product
0x504b). Make sure this device is connected to the computer.
2.132692 gphoto2-port(0): Could not find USB device (vendor 0x553, product
0x202). Make sure this device is connected to the computer.
2.132951 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product
0x504a). Make sure this device is connected to the computer.
2.136543 gphoto2-port(0): Could not find USB device (vendor 0x553, product
0x202). Make sure this device is connected to the computer.
2.136796 gphoto2-port(0): Could not find USB device (vendor 0x8ca, product
0x111). Make sure this device is connected to the computer.
2.140577 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product
0x504a). Make sure this device is connected to the computer.
2.140824 gphoto2-port(0): Could not find USB device (vendor 0x4fc, product
0x504b). Make sure this device is connected to the computer.
2.141086 gphoto2-port(0): Could not find USB device (vendor 0x553, product
0x202). Make sure this device is connected to the computer.
2.141328 gphoto2-port(0): Could not find USB device (vendor 0x2770, product
0x9120). Make sure this device is connected to the computer.
2.144911 gphoto2-port(0): Could not find USB device (vendor 0x2770, product
0x913c). Make sure this device is connected to the computer.
2.145164 gphoto2-port(0): Could not find USB device (vendor 0x919, product
0x100). Make sure this device is connected to the computer.
2.145408 gphoto2-port(0): Could not find USB device (vendor 0x4a5, product
0x3003). Make sure this device is connected to the computer.
2.145649 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x3047). Make sure this device is connected to the computer.
2.149750 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x30c0). Make sure this device is connected to the computer.
2.150055 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x304d). Make sure this device is connected to the computer.
2.150299 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x3066). Make sure this device is connected to the computer.
2.150542 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x30bf). Make sure this device is connected to the computer.
2.150785 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x3075). Make sure this device is connected to the computer.
2.154227 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x3075). Make sure this device is connected to the computer.
2.154475 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x30ba). Make sure this device is connected to the computer.
2.154717 gphoto2-port(0): Could not find USB device (vendor 0x4a9, product
0x30ba). Make sure this device is connected to the computer.
2.154976 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product
0x30c1)... found.
2.159302 gphoto2-port-usb(1): Detected defaults: config 1, interface 0,
altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
2.159560 gphoto2-abilities-list.c(2): Found 'Canon Digital IXUS 50 (normal
mode)' (0x4a9,0x30c1)
2.159836 gphoto2-port(2): Freeing port...
2.160140 gphoto2-port(2): Closing port...
2.166573 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS 50
(normal mode)')...
2.168132 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
2.168663 setting/gphoto2-setting.c(2): Loading settings from file
"/home/max/.gphoto/settings"
2.169015 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital
IXUS 50 (normal mode)' (gphoto2)
2.172210 gphoto2-setting(2): Saving 4 setting(s) to file
"/home/max/.gphoto/settings"
2.512050 gphoto2-port-info-list(2): Loading io-drivers from
'/usr/lib/gphoto2_port/0.5.1' without ltdl...
2.512742 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
2.513270 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
2.518990 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
2.519262 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
2.519571 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
2.524130 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
2.524382 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
2.524624 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
2.524888 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
2.530223 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
2.530482 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
2.530730 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
2.530991 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
2.642021 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
2.642276 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
2.642516 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
2.642756 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
2.647966 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
2.648310 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
2.851895 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
2.852231 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
2.852478 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
2.852719 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
2.852979 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
2.857851 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
2.858101 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
2.858346 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
2.858587 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
2.963999 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
2.964249 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
2.964490 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
2.969880 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
2.970208 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
3.166121 gphoto2-port-info-list(2): Loaded 'Serial Port 0'
(serial:/dev/ttyS0) from 'libgphoto2_port_serial.so'
3.166381 gphoto2-port-info-list(2): Loaded 'Serial Port 1'
(serial:/dev/ttyS1) from 'libgphoto2_port_serial.so'
3.166614 gphoto2-port-info-list(2): Loaded 'Serial Port 3'
(serial:/dev/ttyS3) from 'libgphoto2_port_serial.so'
3.166923 gphoto2-port-info-list(2): Loaded '' (^serial) from
'libgphoto2_port_serial.so'
3.276645 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' (usb:)
from 'libgphoto2_port_usb.so'
3.277151 gphoto2-port-info-list(2): Looking for path 'usb:' (5 entries
available)...
3.277403 gphoto2-port-info-list(2): Getting info of entry 3 (5 available)...
3.277656 gphoto2-camera(2): Setting port info for port 'Universal Serial
Bus' at 'usb:'...
3.283575 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
3.381954 gphoto2-port(2): Setting settings...
3.382223 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
3.382468 gphoto2-setting(2): Saving 4 setting(s) to file
"/home/max/.gphoto/settings"
3.383336 gphoto2-camera(2): Initializing camera...
3.388827 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product
0x30c1)... found.
3.621007 gphoto2-port-usb(1): Detected defaults: config 1, interface 0,
altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01
3.621335 gphoto2-camera(2): Loading
'/usr/lib/gphoto2/2.1.6/libgphoto2_canon.so'...
3.622153 gphoto2-port(2): Opening USB port...
3.626987 gphoto2-port(0): Could not query kernel driver of device.
3.627267 gphoto2-port(0): 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.
3.627598 context(0): 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.

*** 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 (such as sdc2xx, stv680, spca50x) is using the
device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <[EMAIL PROTECTED]>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug --summary

Please make sure there is sufficient quoting around the arguments.

3.742428 gp-camera(2): Freeing camera...
3.742774 gphoto2-port(2): Freeing port...
3.743010 gphoto2-port(2): Closing port...
3.743281 gphoto2-port(0): Could not release interface 0 (Operation not
permitted).
3.842795 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
3.843130 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
3.843357 gphoto2-filesystem(2): Internally deleting all folders from '/'...




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-rc5-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libgphoto2-2 depends on:
ii  adduser                       3.85       Add and remove users and groups
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an
ii  libexif12                     0.6.13-4   library to parse EXIF files
ii  libgphoto2-port0              2.1.6-7    gphoto2 digital camera port librar
ii  libjpeg62                     6b-12      The Independent JPEG Group's JPEG 

Versions of packages libgphoto2-2 recommends:
ii  udev [hotplug]                0.088-2    /dev/ and hotplug management daemo

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to