Debian Bug report logs - #760096
gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable

version graph

Package: gphoto2; Maintainer for gphoto2 is Debian PhotoTools Maintainers <[email protected]>; Source for gphoto2 is src:gphoto2 (PTS, buildd, popcon).

Reported by: Helge Kreutzmann <[email protected]>

Date: Sun, 31 Aug 2014 18:21:01 UTC

Severity: important

Found in version gphoto2/2.5.4-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian PhotoTools Maintainers <[email protected]>:
Bug#760096; Package gphoto2. (Sun, 31 Aug 2014 18:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Helge Kreutzmann <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian PhotoTools Maintainers <[email protected]>. (Sun, 31 Aug 2014 18:21:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Helge Kreutzmann <[email protected]>
To: [email protected]
Subject: gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable
Date: Sun, 31 Aug 2014 20:18:44 +0200
[Message part 1 (text/plain, inline)]
Package: gphoto2
Version: 2.5.4-1
Severity: important

After update from stable gphoto2 is unable to access pictures from the
camera. It is detected, but still not usable. (Log is attached).
Rebuilding the version from stable 2.4.14-1 in current testing and
replacing 2.5.4-1 by the rebuild 2.4.14-1 makes everything functional
as before in stable. (I.e. a regression from stable)

Please tell me which further other information I can provide to help
you (strace, gdb, …)

Now the full trace for the non-functional 2.5.4-1 from testing:

0.000158 main(2): BITTE IMMER FOLGENDE ZEILE EINFÜGEN WENN DEBUG MESSAGES AN DIE MAILINGLISTE GESCHICKT WERDEN:
0.000274 main(2): gphoto2 2.5.4
0.000302 main(2): gphoto2 wurde mit den folgenden Optionen übersetzt:
0.000317 main(2):  + gcc (C compiler used)
0.000331 main(2):  + popt (mandatory, for handling command-line parameters)
0.000344 main(2):  + exif (for displaying EXIF information)
0.000358 main(2):  + cdk (for accessing configuration options)
0.000371 main(2):  + aa (for displaying live previews)
0.000384 main(2):  + jpeg (for displaying live previews in JPEG format)
0.000397 main(2):  + readline (for easy navigation in the shell)
0.000423 main(2): libgphoto2 2.5.4
0.000440 main(2): libgphoto2 wurde mit den folgenden Optionen übersetzt:
0.000453 main(2):  + all camlibs
0.000467 main(2):  + gcc (C compiler used)
0.000480 main(2):  + ltdl (for portable loading of camlibs)
0.000493 main(2):  + EXIF (for special handling of EXIF files)
0.000510 main(2): libgphoto2_port 0.10.0
0.000525 main(2): libgphoto2_port wurde mit den folgenden Optionen übersetzt:
0.000538 main(2):  + gcc (C compiler used)
0.000551 main(2):  + ltdl (for portable loading of camlibs)
0.000564 main(2):  + USB (libusb1, for USB cameras)
0.000577 main(2):  + serial (for serial cameras)
0.000590 main(2):  + no resmgr (serial port access and locking)
0.000603 main(2):  + no ttylock (serial port locking)
0.000615 main(2):  + no lockdev (serial port locking)
0.000634 main(2): CAMLIBS env var not set, using compile-time default instead
0.000647 main(2): IOLIBS env var not set, using compile-time default instead
0.000660 main(2): invoked with following arguments:
0.000674 main(2):   --debug
0.000686 main(2):   --debug-logfile=my-logfile.txt
0.000699 main(2):   -L
0.000792 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.000941 setting/gphoto2-setting.c(2): Loading settings from file "/home/helge/.gphoto/settings"
0.001512 main(2): The user has not specified both a model and a port. Try to figure them out.
0.001574 gphoto2-port-info-list(2): Benutze ltdl um I/O Treiber von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0' zu laden...
0.001856 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/disk«.
0.002421 gphoto2-port/disk(2): found fstab fsname proc
0.002464 gphoto2-port/disk(2): found fstab fsname UUID=d177edaa-ecb6-4c8a-b08d-7e8eb95ec8d3
0.002515 gphoto2-port/disk(2): found fstab fsname UUID=f4e83039-83ca-4cbc-bd67-79d1f7a215e3
0.002558 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-home_vg
0.002601 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-tmp_lv
0.002643 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-usr_vg
0.002683 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-var_vg
0.002723 gphoto2-port/disk(2): found fstab fsname tmpfs
0.002769 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-swap_vg
0.002810 gphoto2-port/disk(2): found fstab fsname /dev/sr0
0.002850 gphoto2-port/disk(2): found fstab fsname /dev/sdb1
0.002888 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-build_lv
0.002931 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-mirror_lv
0.002971 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-cache_lv
0.003013 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-media_lv
0.003053 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-video_lv
0.003117 gphoto2-port/disk(2): found fstab fsname /dev/mapper/system_vg-aptcache_lv
0.003346 gphoto2-port/disk(2): found mtab fsname rootfs
0.003388 gphoto2-port/disk(2): found mtab fsname /dev/root
0.003422 gphoto2-port/disk(2): found mtab fsname devtmpfs
0.003445 gphoto2-port/disk(2): found mtab fsname sysfs
0.003467 gphoto2-port/disk(2): found mtab fsname tmpfs
0.003506 gphoto2-port/disk(2): found mtab fsname tmpfs
0.003547 gphoto2-port/disk(2): found mtab fsname proc
0.003568 gphoto2-port/disk(2): found mtab fsname tmpfs
0.003607 gphoto2-port/disk(2): found mtab fsname devpts
0.003629 gphoto2-port/disk(2): found mtab fsname fusectl
0.003674 gphoto2-port/disk(2): found mtab fsname /dev/sda2
0.003712 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-home_vg
0.003753 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-tmp_lv
0.003839 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-usr_vg
0.003879 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-var_vg
0.003917 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-build_lv
0.003958 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-mirror_lv
0.003999 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-cache_lv
0.004039 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-media_lv
0.004079 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-aptcache_lv
0.004122 gphoto2-port/disk(2): found mtab fsname binfmt_misc
0.004178 gphoto2-port/disk(2): found mtab fsname /dev/mapper/system_vg-video_lv
0.004339 gphoto2-port-info-list(2): Konnte Port Treiberliste»Unspezifizierter Fehler« nicht laden.
0.004371 gphoto2-port-info-list(2): Habe '' ('^disk:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/disk' geladen.
0.004391 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/ptpip«.
0.004687 gphoto2-port-info-list(2): Habe 'PTP/IP Connection' ('ptpip:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/ptpip' geladen.
0.004711 gphoto2-port-info-list(2): Habe '' ('^ptpip:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/ptpip' geladen.
0.004729 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial«.
0.005300 gphoto2-port-info-list(2): Habe 'Serieller Port 0' ('serial:/dev/ttyS0') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005324 gphoto2-port-info-list(2): Habe 'Serieller Port 1' ('serial:/dev/ttyS1') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005342 gphoto2-port-info-list(2): Habe 'Serieller Port 2' ('serial:/dev/ttyS2') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005359 gphoto2-port-info-list(2): Habe 'Serieller Port 3' ('serial:/dev/ttyS3') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005376 gphoto2-port-info-list(2): Habe '' ('^serial:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/serial' geladen.
0.005394 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usb1«.
0.008161 gphoto2-port-info-list(2): Habe '' ('^usb:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usb1' geladen.
0.008199 gphoto2-port-info-list(2): Habe 'Universal Serial Bus' ('usb:') von '/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usb1' geladen.
0.008220 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usbdiskdirect«.
0.008568 gphoto2-port-info-list(2): Aufgerufen für »/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.10.0/usbscsi«.
0.008888 gphoto2-port-info-list(2): Counting entries (10 available)...
0.008916 gphoto2-port-info-list(2): 6 regular entries available.
0.008963 gphoto2-abilities-list(2): Using ltdl to load camera libraries from '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4'...
0.009501 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/adc65'.
0.009534 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/agfa_cl20'.
0.009552 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/aox'.
0.009568 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ax203'.
0.009585 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/barbie'.
0.009601 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/canon'.
0.009617 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/casio_qv'.
0.009633 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/clicksmart310'.
0.009649 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/digigr8'.
0.009691 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/digita'.
0.009708 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/dimagev'.
0.009724 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/dimera3500'.
0.009741 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/directory'.
0.009756 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/enigma13'.
0.009772 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/fuji'.
0.009788 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/gsmart300'.
0.009805 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/hp215'.
0.009821 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/iclick'.
0.009837 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jamcam'.
0.009853 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jd11'.
0.009868 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jl2005a'.
0.009884 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/jl2005c'.
0.009900 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc120'.
0.009916 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc210'.
0.009932 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc240'.
0.009947 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_dc3200'.
0.009963 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/kodak_ez200'.
0.009979 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/konica'.
0.009995 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/konica_qm150'.
0.010011 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/largan'.
0.010026 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/lg_gsm'.
0.010042 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/mars'.
0.010058 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/mustek'.
0.010075 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_coolshot'.
0.010091 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_dc1000'.
0.010107 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_dc1580'.
0.010123 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/panasonic_l859'.
0.010139 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/pccam300'.
0.010155 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/pccam600'.
0.010171 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/pentax'.
0.010187 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/polaroid_pdc320'.
0.010203 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/polaroid_pdc640'.
0.010219 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/polaroid_pdc700'.
0.010235 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ptp2'.
0.010250 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ricoh'.
0.010266 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/ricoh_g3'.
0.010282 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/samsung'.
0.010298 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sierra'.
0.010313 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sipix_blink2'.
0.010329 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sipix_web2'.
0.010345 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/smal'.
0.010376 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sonix'.
0.010393 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sony_dscf1'.
0.010409 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sony_dscf55'.
0.010425 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/soundvision'.
0.010440 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/spca50x'.
0.010456 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sq905'.
0.010472 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/st2205'.
0.010488 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/stv0674'.
0.010504 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/stv0680'.
0.010519 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/sx330z'.
0.010535 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/topfield'.
0.010551 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/toshiba_pdrm11'.
0.010567 gphoto2-abilities-list(2): Found '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.4/tp6801'.
0.010595 gp-abilities-list(2): Found 64 camera drivers.
0.100856 gphoto2-port-info-list(2): Counting entries (10 available)...
0.100911 gphoto2-port-info-list(2): 6 regular entries available.
0.100937 gphoto2-port(2): Lege neues Gerät an...
0.100968 gphoto2-port-info-list(2): Getting info of entry 0 (10 available)...
0.101281 gphoto2-port(2): Setze Einstellungen...
0.101320 gphoto2-port-info-list(2): Getting info of entry 1 (10 available)...
0.101614 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.101636 gphoto2-port(2): Setze Einstellungen...
0.101659 gphoto2-port-info-list(2): Getting info of entry 2 (10 available)...
0.101923 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.101944 gphoto2-port(2): Setze Einstellungen...
0.101966 gphoto2-port-info-list(2): Getting info of entry 3 (10 available)...
0.102220 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.102241 gphoto2-port(2): Setze Einstellungen...
0.102263 gphoto2-port-info-list(2): Getting info of entry 4 (10 available)...
0.102513 gphoto2-port(2): Setze Timeout auf 500 Millisekunden...
0.102534 gphoto2-port(2): Setze Einstellungen...
0.102556 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.104605 gphoto2-port(2): Setze Timeout auf 5000 Millisekunden...
0.104638 gphoto2-port(2): Setze Einstellungen...
0.104666 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.104683 gphoto2-abilities-list.c(1): Auto-detecting USB cameras...
0.117409 gphoto2-port(2): Lösche Port...
0.117448 gphoto2-port(2): Schließe Port...
0.117996 gphoto2-camera(2): Setting abilities ('Canon PowerShot G5 (PTP mode)')...
0.118027 gphoto2-setting(2): Setting key 'model' to value 'Canon PowerShot G5 (PTP mode)' (gphoto2)
0.118047 gphoto2-setting(2): Saving 2 setting(s) to file "/home/helge/.gphoto/settings"
0.118263 gphoto2-port-info-list(2): Looking for path 'usb:' (10 entries available)...
0.118300 gphoto2-port-info-list(2): Getting info of entry 5 (10 available)...
0.118322 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.120261 gphoto2-port(2): Setze Timeout auf 5000 Millisekunden...
0.120295 gphoto2-port(2): Setze Einstellungen...
0.120323 libusb1(2): gp_port_usb_update(old int=0, conf=-1, alt=-1) port usb:, (new int=0, conf=-1, alt=-1) port usb:
0.120344 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.120363 gphoto2-setting(2): Saving 2 setting(s) to file "/home/helge/.gphoto/settings"
0.120510 gphoto2-camera(2): Initializing camera...

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.61sneo.02-grsec (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gphoto2 depends on:
ii  libaa1             1.4p5-43
ii  libc6              2.19-9
ii  libcdk5            5.0.20060507-4
ii  libexif12          0.6.21-2
ii  libgphoto2-6       2.5.4-1
ii  libgphoto2-port10  2.5.4-1
ii  libjpeg8           8d1-1
ii  libncurses5        5.9+20140712-2
ii  libpopt0           1.16-8
ii  libreadline6       6.3-8

gphoto2 recommends no packages.

Versions of packages gphoto2 suggests:
pn  gthumb  <none>
pn  gtkam   <none>

-- no debconf information
-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian PhotoTools Maintainers <[email protected]>:
Bug#760096; Package gphoto2. (Tue, 26 Jul 2016 10:15:08 GMT) (full text, mbox, link).


Acknowledgement sent to Helge Kreutzmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PhotoTools Maintainers <[email protected]>. (Tue, 26 Jul 2016 10:15:08 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Helge Kreutzmann <[email protected]>
To: [email protected]
Subject: Re: Bug#760096: Acknowledgement (gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable)
Date: Tue, 26 Jul 2016 12:13:44 +0200
[Message part 1 (text/plain, inline)]
Hello,
my stable machine died and I set up a testing machine having version
2.5.10-1.

However, gphoto2 does work even less: now the camera is not detected.
When I plug it in, I see (in /var/log/syslog):

Jul 26 12:09:21 samd kernel: [11905.608945] usb 11-3: new full-speed USB device number 3 using ohci-pci
Jul 26 12:09:22 samd kernel: [11905.780175] usb 11-3: New USB device found, idVendor=04a9, idProduct=3085
Jul 26 12:09:22 samd kernel: [11905.780182] usb 11-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 26 12:09:22 samd kernel: [11905.780187] usb 11-3: Product: Canon Digital Camera
Jul 26 12:09:22 samd kernel: [11905.780191] usb 11-3: Manufacturer: Canon Inc.
Jul 26 12:09:22 samd mtp-probe: checking bus 11, device 3: "/sys/devices/pci0000:00/0000:00:16.0/usb11/11-3"
Jul 26 12:09:22 samd mtp-probe: bus: 11, device: 3 was not an MTP device

However, gphoto2 does not see it, running
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -L
yields:
*** Fehler ***
Konnte keine Kamera finden
*** Fehler (-105: »Unbekanntes Modell«) ***

(In english: Error, could not find a camera, error (-104, "unknown model")).

It worked in 2.4.x, however, I'm no longer able to (trivially) forward port 
this version :-((

The log file is attached, any idea how to rectify this greatly
appreciated.

Greetings

          Helge

-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
[my-logfile.txt (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian PhotoTools Maintainers <[email protected]>:
Bug#760096; Package gphoto2. (Tue, 26 Jul 2016 14:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Herbert Fortes <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PhotoTools Maintainers <[email protected]>. (Tue, 26 Jul 2016 14:09:03 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Herbert Fortes <[email protected]>
To: Helge Kreutzmann <[email protected]>, [email protected]
Subject: Re: [Pkg-phototools-devel] Bug#760096: Acknowledgement (gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable)
Date: Tue, 26 Jul 2016 11:04:30 -0300
[Message part 1 (text/plain, inline)]
Hi Helge,

Thanks to stopping by.

Em Ter, 2016-07-26 às 12:13 +0200, Helge Kreutzmann escreveu:
> Hello,
> my stable machine died and I set up a testing machine having version
> 2.5.10-1.
> 
> However, gphoto2 does work even less: now the camera is not detected.
> When I plug it in, I see (in /var/log/syslog):
> 
> Jul 26 12:09:21 samd kernel: [11905.608945] usb 11-3: new full-speed USB device number 3 using ohci-pci
> Jul 26 12:09:22 samd kernel: [11905.780175] usb 11-3: New USB device found, idVendor=04a9, idProduct=3085
> Jul 26 12:09:22 samd kernel: [11905.780182] usb 11-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> Jul 26 12:09:22 samd kernel: [11905.780187] usb 11-3: Product: Canon Digital Camera
> Jul 26 12:09:22 samd kernel: [11905.780191] usb 11-3: Manufacturer: Canon Inc.
> Jul 26 12:09:22 samd mtp-probe: checking bus 11, device 3: "/sys/devices/pci0000:00/0000:00:16.0/usb11/11-3"
> Jul 26 12:09:22 samd mtp-probe: bus: 11, device: 3 was not an MTP device
> 
> However, gphoto2 does not see it, running
> env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -L
> yields:
> *** Fehler ***
> Konnte keine Kamera finden
> *** Fehler (-105: »Unbekanntes Modell«) ***
> 
> (In english: Error, could not find a camera, error (-104, "unknown model")).
> 
> It worked in 2.4.x, however, I'm no longer able to (trivially) forward port 
> this version :-((
> 
> The log file is attached, any idea how to rectify this greatly
> appreciated.

A quick 'grep' shows that the camera is supported:
./libgphoto2/camlibs/canon/doc/Protocol.xml:            <row><entry>PowerShot G5</entry><entry>02-May-03</entry><entry>yes</entry></row>
./libgphoto2/camlibs/canon/doc/Protocol.xml:	  as the product ID, which is correct for the PowerShot G5.</para>
./libgphoto2/camlibs/canon/canon.c:        {"Canon:PowerShot G5 (normal mode)", CANON_CLASS_5,     0x04A9, 0x3085, CAP_SUP, SL_MOVIE_LARGE, SL_THUMB, SL_PICTURE, NULL},
./libgphoto2/camlibs/ptp2/library.c:	{"Canon:PowerShot G5 (PTP mode)",       0x04a9, 0x3085, PTPBUG_DELETE_SENDS_EVENT|PTP_CAP|PTP_CAP_PREVIEW},

Can you tell me which mode (normal/PTP) did you use ? 

Can you set '--camera MODEL' and see what happens ? It 
will necessary to use '--port' too. 

"--list-cameras" (List supported camera models.) and
"--list-ports" (List supported port devices) can be
a help.



regards,
-- Herbert Parentes Fortes Neto (hpfn)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian PhotoTools Maintainers <[email protected]>:
Bug#760096; Package gphoto2. (Tue, 26 Jul 2016 15:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Helge Kreutzmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PhotoTools Maintainers <[email protected]>. (Tue, 26 Jul 2016 15:57:04 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Helge Kreutzmann <[email protected]>
To: Herbert Fortes <[email protected]>
Cc: [email protected]
Subject: Re: [Pkg-phototools-devel] Bug#760096: Acknowledgement (gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable)
Date: Tue, 26 Jul 2016 17:55:09 +0200
[Message part 1 (text/plain, inline)]
Hello Herbert,
thanks for your speedy reply.

On Tue, Jul 26, 2016 at 11:04:30AM -0300, Herbert Fortes wrote:
> Thanks to stopping by.
> 
> Em Ter, 2016-07-26 às 12:13 +0200, Helge Kreutzmann escreveu:
> > Hello,
> > my stable machine died and I set up a testing machine having version
> > 2.5.10-1.
> > 
> > However, gphoto2 does work even less: now the camera is not detected.
> > When I plug it in, I see (in /var/log/syslog):
> > 
> > Jul 26 12:09:21 samd kernel: [11905.608945] usb 11-3: new full-speed USB device number 3 using ohci-pci
> > Jul 26 12:09:22 samd kernel: [11905.780175] usb 11-3: New USB device found, idVendor=04a9, idProduct=3085
> > Jul 26 12:09:22 samd kernel: [11905.780182] usb 11-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> > Jul 26 12:09:22 samd kernel: [11905.780187] usb 11-3: Product: Canon Digital Camera
> > Jul 26 12:09:22 samd kernel: [11905.780191] usb 11-3: Manufacturer: Canon Inc.
> > Jul 26 12:09:22 samd mtp-probe: checking bus 11, device 3: "/sys/devices/pci0000:00/0000:00:16.0/usb11/11-3"
> > Jul 26 12:09:22 samd mtp-probe: bus: 11, device: 3 was not an MTP device
> > 
> > However, gphoto2 does not see it, running
> > env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -L
> > yields:
> > *** Fehler ***
> > Konnte keine Kamera finden
> > *** Fehler (-105: »Unbekanntes Modell«) ***
> > 
> > (In english: Error, could not find a camera, error (-104, "unknown model")).
> > 
> > It worked in 2.4.x, however, I'm no longer able to (trivially) forward port 
> > this version :-((
> > 
> > The log file is attached, any idea how to rectify this greatly
> > appreciated.
> 
> A quick 'grep' shows that the camera is supported:
> ./libgphoto2/camlibs/canon/doc/Protocol.xml:            <row><entry>PowerShot G5</entry><entry>02-May-03</entry><entry>yes</entry></row>
> ./libgphoto2/camlibs/canon/doc/Protocol.xml:	  as the product ID, which is correct for the PowerShot G5.</para>
> ./libgphoto2/camlibs/canon/canon.c:        {"Canon:PowerShot G5 (normal mode)", CANON_CLASS_5,     0x04A9, 0x3085, CAP_SUP, SL_MOVIE_LARGE, SL_THUMB, SL_PICTURE, NULL},
> ./libgphoto2/camlibs/ptp2/library.c:	{"Canon:PowerShot G5 (PTP mode)",       0x04a9, 0x3085, PTPBUG_DELETE_SENDS_EVENT|PTP_CAP|PTP_CAP_PREVIEW},
> 
> Can you tell me which mode (normal/PTP) did you use ? 

How do I find out? I just plug the camera in.

> Can you set '--camera MODEL' and see what happens ? It 
> will necessary to use '--port' too. 
> 
> "--list-cameras" (List supported camera models.) and

This "only" gives:
helge@samd:~$ gphoto2 --list-cameras | grep G5
        »Canon PowerShot G5 (PTP mode)«

> "--list-ports" (List supported port devices) can be
> a help.

helge@samd:~$ LC_ALL=C gphoto2 -L --camera "Canon PowerShot G5 (PTP mode)" --port "usb:"

*** Error ***
An error occurred in the io-library ('Bad parameters'): No error description available
*** Error (-2: 'Bad parameters') ***

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-logfile=my-logfile.txt -L --camera "Canon PowerShot G5 (PTP mode)" --port usb:

Please make sure there is sufficient quoting around the arguments.

However, I just by chance tried as root:
root@samd:~# LC_ALL=C gphoto2 -L
There is no file in folder '/'.
There is no file in folder '/store_00010001'.
There is no file in folder '/store_00010001/MISC'.
There is no file in folder '/store_80000001'.

Strange, so it must be a permission problem. Also -P works (as root).

Greetings

          Helge

-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian PhotoTools Maintainers <[email protected]>:
Bug#760096; Package gphoto2. (Tue, 26 Jul 2016 16:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Herbert Fortes <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PhotoTools Maintainers <[email protected]>. (Tue, 26 Jul 2016 16:57:04 GMT) (full text, mbox, link).


Message #25 received at [email protected] (full text, mbox, reply):

From: Herbert Fortes <[email protected]>
To: Helge Kreutzmann <[email protected]>
Cc: [email protected]
Subject: Re: [Pkg-phototools-devel] Bug#760096: Acknowledgement (gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable)
Date: Tue, 26 Jul 2016 13:55:10 -0300
[Message part 1 (text/plain, inline)]
> > Can you tell me which mode (normal/PTP) did you use ? 
> 
> How do I find out? I just plug the camera in.

I do not have a camera. But when I plug my
cell phone I have two options (in the cell
phone):

 - media device. Like a pendrive I guess.
 - camera (PTP))


Is there something similar in your camera ?


> > Can you set '--camera MODEL' and see what happens ? It 
> > will necessary to use '--port' too. 
> > 
> > "--list-cameras" (List supported camera models.) and
> 
> This "only" gives:
> helge@samd:~$ gphoto2 --list-cameras | grep G5
>         »Canon PowerShot G5 (PTP mode)«

PTP mode is the only way.


> > "--list-ports" (List supported port devices) can be
> > a help.
> 
> helge@samd:~$ LC_ALL=C gphoto2 -L --camera "Canon PowerShot G5 (PTP mode)" --port "usb:"
> 
> *** Error ***
> An error occurred in the io-library ('Bad parameters'): No error description available
> *** Error (-2: 'Bad parameters') ***

Yes, PTP must be set on the device, if possible. Did
you try '--auto-detect' ? The manpage says it list 
auto-detected cameras.

> 
> 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-logfile=my-logfile.txt -L --camera "Canon PowerShot G5 (PTP mode)" --port usb:
> 
> Please make sure there is sufficient quoting around the arguments.
> 
> However, I just by chance tried as root:
> root@samd:~# LC_ALL=C gphoto2 -L
> There is no file in folder '/'.
> There is no file in folder '/store_00010001'.
> There is no file in folder '/store_00010001/MISC'.
> There is no file in folder '/store_80000001'.
> 
> Strange, so it must be a permission problem. Also -P works (as root).

Did you check /dev/* ? lsusb and ls -l /dev/bus/usb/003/012 (in my case)
can show the permissions.



regards,
-- Herbert Parentes Fortes Neto (hpfn)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian PhotoTools Maintainers <[email protected]>:
Bug#760096; Package gphoto2. (Sun, 02 Jul 2017 07:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Helge Kreutzmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian PhotoTools Maintainers <[email protected]>. (Sun, 02 Jul 2017 07:03:02 GMT) (full text, mbox, link).


Message #30 received at [email protected] (full text, mbox, reply):

From: Helge Kreutzmann <[email protected]>
To: Herbert Fortes <[email protected]>
Cc: [email protected]
Subject: Re: [Pkg-phototools-devel] Bug#760096: Acknowledgement (gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable)
Date: Sun, 2 Jul 2017 08:54:54 +0200
[Message part 1 (text/plain, inline)]
Hello Herbert,
On Tue, Jul 26, 2016 at 01:55:10PM -0300, Herbert Fortes wrote:
> 
> > > Can you tell me which mode (normal/PTP) did you use ? 
> > 
> > How do I find out? I just plug the camera in.
> 
> I do not have a camera. But when I plug my
> cell phone I have two options (in the cell
> phone):
> 
>  - media device. Like a pendrive I guess.
>  - camera (PTP))
> 
> 
> Is there something similar in your camera ?

No.

> > > Can you set '--camera MODEL' and see what happens ? It 
> > > will necessary to use '--port' too. 
> > > 
> > > "--list-cameras" (List supported camera models.) and
> > 
> > This "only" gives:
> > helge@samd:~$ gphoto2 --list-cameras | grep G5
> >         »Canon PowerShot G5 (PTP mode)«
> 
> PTP mode is the only way.

Yes, I believe so as well.

> > > "--list-ports" (List supported port devices) can be
> > > a help.
> > 
> > helge@samd:~$ LC_ALL=C gphoto2 -L --camera "Canon PowerShot G5 (PTP mode)" --port "usb:"
> > 
> > *** Error ***
> > An error occurred in the io-library ('Bad parameters'): No error description available
> > *** Error (-2: 'Bad parameters') ***
> 
> Yes, PTP must be set on the device, if possible. Did
> you try '--auto-detect' ? The manpage says it list 
> auto-detected cameras.

As normal user: does not change anything
As root user: works as expected
…
Canon PowerShot G5 (PTP mode)  usb:011,002

> > 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-logfile=my-logfile.txt -L --camera "Canon PowerShot G5 (PTP mode)" --port usb:
> > 
> > Please make sure there is sufficient quoting around the arguments.
> > 
> > However, I just by chance tried as root:
> > root@samd:~# LC_ALL=C gphoto2 -L
> > There is no file in folder '/'.
> > There is no file in folder '/store_00010001'.
> > There is no file in folder '/store_00010001/MISC'.
> > There is no file in folder '/store_80000001'.
> > 
> > Strange, so it must be a permission problem. Also -P works (as root).
> 
> Did you check /dev/* ? lsusb and ls -l /dev/bus/usb/003/012 (in my case)
> can show the permissions.

Which device in /dev are you looking for?

root@samd:~# lsusb
…
Bus 011 Device 002: ID 04a9:3085 Canon, Inc. PowerShot G5
…

root@samd:~# ls -lh /dev/bus/usb/011/002
crw-rw-r--+ 1 root plugdev 189, 1281 Jul  2 08:39 /dev/bus/usb/011/002

I'm a member:
root@samd:~# grep plugdev /etc/group
plugdev:x:46:helge

(and I can ls the above file as well)

I run strace -eopen as root and as normal user, and the difference
starts here:
open("/sys/bus", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EACCES (Permission denied)

I tried to chown /sys/bus (and subdirectories) to root:plugdev, but
this does not work :-((

> regards,
> -- Herbert Parentes Fortes Neto (hpfn)



-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:50:56 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.