bash-2.05b# emerge gphoto Calculating dependencies ...done! >>> emerge (1 of 1) media-gfx/gphoto-0.4.3-r2 to / >>> md5 src_uri ;-) gphoto-0.4.3.tar.gz >>> Unpacking source... >>> Unpacking gphoto-0.4.3.tar.gz to /var/tmp/portage/gphoto-0.4.3-r2/work patching file command.c >>> Source unpacked. nls creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found [snip] Making all in directory make[2]: Entering directory `/var/tmp/portage/gphoto-0.4.3-r2/work/gphoto-0.4.3/directory' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -march=athlon-xp -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -c directory.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -march=athlon-xp -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -c -fPIC -DPIC directory.c -o .libs/directory.lo directory.c:209:1: missing terminating " character directory.c: In function `dir_description': directory.c:210: error: syntax error before "Allows" directory.c:210: error: stray '\' in program directory.c:210:21: missing terminating " character directory.c:212: error: stray '\' in program directory.c:215:14: missing terminating " character make[2]: *** [directory.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/gphoto-0.4.3-r2/work/gphoto-0.4.3/directory' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gphoto-0.4.3-r2/work/gphoto-0.4.3' make: *** [all-recursive-am] Error 2 !!! ERROR: media-gfx/gphoto-0.4.3-r2 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) bash-2.05b# emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 mobile AMD Athlon(tm) XP-M 2600+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype wmf x86 xinerama xml2 xmms xv zlib" bash-2.05b#
Way old. emerge gphoto2. Any reason we still have this? Can't we delte from portage?
My Olympus C-800 L isn't supported by gphoto2. I asked the gphoto folks for supporting the camera, but I didn't get any response (2 years ago). For me it's helpful to still have gphoto-0.4.3. As far as I can see, the problem is the syntax, the developper used for constant string definition, which gcc-3.3.2 doesn't accept. Having a backslash at the end of the continued lines fixes the error. The same problem occours in a few more files.
fix us a patch and we'll put it in.
Ok, I'll do it - can take about six weeks or so.
That camera is showed as being supported in gphoto2. Do you get an error message or something?
bash-2.05b$ gphoto2 --camera="Olympus C-800L" --port=/dev/ttyS0 --capture-image *** Error *** Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. *** Error *** Could not find file 'P1012664.JPG'. ERROR: Could not capture. *** Error (-108: 'File not found') *** 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 <gphoto-devel@lists.sourceforge.net>, please run gphoto2 as follows: env LANG=C gphoto2 --debug --camera=Olympus C-800L --port=/dev/ttyS0 --capture-image Please make sure there is sufficient quoting around the arguments. bash-2.05b$ env LANG=C gphoto2 --debug --camera="Olympus C-800L" --port=/dev/ttyS0 --capture-image 0.000047 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.000506 main(2): gphoto2 2.1.4 0.000661 main(2): gphoto2 has been compiled with the following options: 0.000827 main(2): + gcc (C compiler used) 0.000988 main(2): + popt (for handling command-line parameters) 0.001151 main(2): + exif (for displaying EXIF information) 0.001311 main(2): + cdk (for accessing configuration options) 0.001472 main(2): + aa (for displaying live previews) 0.001630 main(2): + jpeg (for displaying live previews in JPEG format) 0.001793 main(2): + readline (for easy navigation in the shell) 0.001974 main(2): libgphoto2 2.1.4 0.002123 main(2): libgphoto2 has been compiled with the following options: 0.002291 main(2): + gcc (C compiler used) 0.002444 main(2): + EXIF (for special handling of EXIF files) 0.002604 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.002764 main(2): + /proc/meminfo (adapts cache size to memory available) 0.002940 main(2): libgphoto2_port 0.5.1 0.003099 main(2): libgphoto2_port has been compiled with the following options: 0.003266 main(2): + gcc (C compiler used) 0.003415 main(2): + USB (for USB cameras) 0.003564 main(2): + serial (for serial cameras) 0.003717 main(2): + no resmgr (serial port access and locking) 0.003877 main(2): + no baudboy (serial port locking) 0.004041 main(2): + no ttylock (serial port locking) 0.004198 main(2): + no lockdev (serial port locking) 0.004352 main(2): + no ltdl (working around buggy libltdl, eh? :-) 0.004542 main(2): Processing 'model' option ('Olympus C-800L')... 0.004810 gphoto2-camera(2): Setting abilities ('Olympus C-800L')... 0.004999 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto 0.005339 setting/gphoto2-setting.c(2): Loading settings from file "/home/wolle/.gphoto/settings" 0.005573 gphoto2-setting(2): Setting key 'model' to value 'Olympus C-800L' (gphoto2) 0.005761 gphoto2-setting(2): Saving 2 setting(s) to file "/home/wolle/.gphoto/settings" 0.006141 main(2): Processing 'port' option ('/dev/ttyS0')... 0.006331 main(2): Ports must look like 'serial:/dev/ttyS0' or 'usb:', but '/dev/ttyS0' is missing a colon so I am going to guess what you mean. 0.006559 main(2): Guessed port name. Using port 'serial:/dev/ttyS0' from now on. 0.006756 gp-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1'... 0.007177 gphoto2-port-serial(2): Trying to lock '/dev/tts/0'... 0.007513 gphoto2-port-serial(2): Trying to lock '/dev/tts/1'... 0.007696 gphoto2-port-serial(2): Trying to lock '/dev/tts/2'... 0.007900 gphoto2-port-serial(2): Trying to lock '/dev/tts/3'... 0.008106 gphoto2-port-serial(2): Trying to lock '/dev/tts/4'... 0.008303 gphoto2-port-serial(2): Trying to lock '/dev/tts/5'... 0.008500 gphoto2-port-serial(2): Trying to lock '/dev/tts/6'... 0.008697 gphoto2-port-serial(2): Trying to lock '/dev/tts/7'... 0.008894 gphoto2-port-serial(2): Trying to lock '/dev/tts/8'... 0.013732 gphoto2-port-serial(2): Trying to lock '/dev/tts/9'... 0.018394 gphoto2-port-serial(2): Trying to lock '/dev/tts/10'... 0.038201 gphoto2-port-serial(2): Trying to lock '/dev/tts/11'... 0.252304 gphoto2-port-serial(2): Trying to lock '/dev/tts/12'... 0.257116 gphoto2-port-serial(2): Trying to lock '/dev/tts/13'... 0.261653 gphoto2-port-serial(2): Trying to lock '/dev/tts/14'... 0.266248 gphoto2-port-serial(2): Trying to lock '/dev/tts/15'... 0.270803 gphoto2-port-serial(2): Trying to lock '/dev/tts/16'... 0.275377 gphoto2-port-serial(2): Trying to lock '/dev/tts/17'... 0.279951 gphoto2-port-serial(2): Trying to lock '/dev/tts/18'... 0.285107 gphoto2-port-serial(2): Trying to lock '/dev/tts/19'... 0.289986 gphoto2-port-serial(2): Trying to lock '/dev/tts/20'... 0.299607 gphoto2-port-serial(2): Trying to lock '/dev/tts/21'... 0.304533 gphoto2-port-serial(2): Trying to lock '/dev/tts/22'... 0.309324 gphoto2-port-serial(2): Trying to lock '/dev/tts/23'... 0.313985 gphoto2-port-serial(2): Trying to lock '/dev/tts/24'... 0.318493 gphoto2-port-serial(2): Trying to lock '/dev/tts/25'... 0.323031 gphoto2-port-serial(2): Trying to lock '/dev/tts/26'... 0.327600 gphoto2-port-serial(2): Trying to lock '/dev/tts/27'... 0.332231 gphoto2-port-serial(2): Trying to lock '/dev/tts/28'... 0.336750 gphoto2-port-serial(2): Trying to lock '/dev/tts/29'... 0.344751 gphoto2-port-serial(2): Trying to lock '/dev/tts/30'... 0.349555 gphoto2-port-serial(2): Trying to lock '/dev/tts/31'... 0.354101 gphoto2-port-serial(2): Trying to lock '/dev/tts/32'... 0.358634 gphoto2-port-core(2): Loaded 'Serial Port 0' (serial:/dev/tts/0) from 'libgphoto2_port_serial.so' 0.359018 gphoto2-port-core(2): Loaded 'Serial Port 2' (serial:/dev/tts/2) from 'libgphoto2_port_serial.so' 0.359213 gphoto2-port-core(2): Loaded 'Serial Port 3' (serial:/dev/tts/3) from 'libgphoto2_port_serial.so' 0.359404 gphoto2-port-core(2): Loaded 'Serial Port 4' (serial:/dev/tts/4) from 'libgphoto2_port_serial.so' 0.359594 gphoto2-port-core(2): Loaded 'Serial Port 5' (serial:/dev/tts/5) from 'libgphoto2_port_serial.so' 0.359785 gphoto2-port-core(2): Loaded 'Serial Port 6' (serial:/dev/tts/6) from 'libgphoto2_port_serial.so' 0.359983 gphoto2-port-core(2): Loaded 'Serial Port 7' (serial:/dev/tts/7) from 'libgphoto2_port_serial.so' 0.360174 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' 0.360694 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 0.361071 gphoto2-port-info-list(2): Looking for path 'serial:/dev/ttyS0' (9 entries available)... 0.361281 gphoto2-port-info-list(2): Starting regex search for 'serial:/dev/ttyS0'... 0.361463 gphoto2-port-info-list(2): Trying '^serial'... 0.361826 gphoto2-port-info-list(2): Getting info of entry 7 (10 available)... 0.362042 gphoto2-camera(2): Setting port info for port 'Generic Port' at 'serial:/dev/ttyS0'... 0.362338 gphoto2-port(2): Setting timeout to 500 millisecond(s)... 0.362520 gphoto2-port(2): Setting settings... 0.362675 gphoto2-setting(2): Setting key 'port' to value 'serial:/dev/ttyS0' (gphoto2) 0.362862 gphoto2-setting(2): Saving 2 setting(s) to file "/home/wolle/.gphoto/settings" 0.363334 gphoto2-camera(2): Initializing camera... 0.363500 gphoto2-camera(2): Loading '/usr/lib/gphoto2/2.1.4/libgphoto2_sierra.so'... 0.363877 gphoto2-port(2): Opening SERIAL port... 0.364067 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'... 0.364371 gphoto2-port(2): Setting settings... 0.364534 gphoto2-port-serial(2): Setting baudrate to 115200... 0.364761 gphoto2-port(2): Setting settings... 0.364924 gphoto2-port-serial(2): Setting baudrate to 19200... 0.365103 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 0.365279 sierra/library.c(2): Sending initialization sequence to the camera 0.365456 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'... 0.365658 sierra/library.c(2): Checking if connection is still open 0.365832 gphoto2-port(2): Getting timeout... 0.365993 gphoto2-port(2): Current timeout: 2000 milliseconds 0.366153 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 0.366323 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.385912 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 0.386330 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 0.386508 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 00 - . 0.387974 sierra/library.c(2): Reading packet... 0.388142 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.836901 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 15 - . 0.836957 sierra/library.c(2): Packet read. Returning GP_OK. 0.836990 sierra/sierra.c(2): Establishing connection 0.837020 sierra/library.c(2): Setting speed to 5 (115200 bps) 0.837050 sierra/library.c(2): sierra_set_int_register: register 17 value 5 0.837074 sierra/library.c(2): Checking if connection is still open 0.837086 gphoto2-port(2): Getting timeout... 0.837095 gphoto2-port(2): Current timeout: 2000 milliseconds 0.837105 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 0.837114 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.856844 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 0.856899 gphoto2-port(2): Writing 12=0xc byte(s) to port... 0.856916 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 53 06 00 00 11 05 00-00 00 16 00 .S.......... 0.863841 sierra/library.c(2): Reading packet... 0.863898 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.889864 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 0.889920 sierra/library.c(2): Packet read. Returning GP_OK. 0.889932 sierra/library.c(2): Packet successfully read. 0.889944 sierra/library.c(2): Transmission successful. 0.889956 gphoto2-port(2): Setting settings... 0.889969 gphoto2-port-serial(2): Setting baudrate to 115200... 0.890011 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'... 0.906574 sierra/library.c(2): sierra_get_int_register: register 0x01... 0.906624 sierra/library.c(2): Checking if connection is still open 0.906636 gphoto2-port(2): Getting timeout... 0.906646 gphoto2-port(2): Current timeout: 2000 milliseconds 0.906656 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 0.906665 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.925830 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 0.925884 gphoto2-port(2): Writing 8=0x8 byte(s) to port... 0.925902 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows: 0000 1b 43 02 00 01 01 02 00- .C...... 0.926820 sierra/library.c(2): Reading packet... 0.926840 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.957859 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 03 - . 0.957917 gphoto2-port(2): Reading 3=0x3 bytes from port... 0.957936 gphoto2-port(3): Hexdump of 3 = 0x3 bytes follows: 0000 00 04 00 - ... 0.957949 gphoto2-port(2): Reading 6=0x6 bytes from port... 0.957961 gphoto2-port(3): Hexdump of 6 = 0x6 bytes follows: 0000 02 00 00 00 02 00 - ...... 0.957975 sierra/library.c(2): Packet successfully read. 0.957987 sierra/library.c(2): Successfully read packet. Interpreting result (0x03) 0.957999 sierra/library.c(2): Value of register 0x01: 0x02. 0.958009 sierra/library.c(2): Writing acknowledgement... 0.958019 sierra/library.c(2): Checking if connection is still open 0.958029 gphoto2-port(2): Getting timeout... 0.958038 gphoto2-port(2): Current timeout: 2000 milliseconds 0.958047 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 0.958056 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.977823 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 0.977873 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 0.977890 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 0.978810 sierra/library.c(2): Successfully wrote acknowledgement. 0.978830 sierra/library.c(2): Read value of register 0x01 and wrote acknowledgement. Returning. 0.978842 gphoto2-port(2): Setting timeout to 50 millisecond(s)... 0.978878 sierra/library.c(2): sierra_set_string_register: reg 84, value '\' 0.978909 sierra/library.c(2): Checking if connection is still open 0.978921 gphoto2-port(2): Getting timeout... 0.978929 gphoto2-port(2): Current timeout: 50 milliseconds 0.978938 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 0.978947 gphoto2-port(2): Reading 1=0x1 bytes from port... 0.998826 gphoto2-port(2): Setting timeout to 50 millisecond(s)... 0.998885 gphoto2-port(2): Writing 9=0x9 byte(s) to port... 0.998902 gphoto2-port(3): Hexdump of 9 = 0x9 bytes follows: 0000 1b 43 03 00 03 54 5c b3-00 .C...T\.. 0.999810 sierra/library.c(2): Reading packet... 0.999831 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.000819 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 18 - . 1.000911 context(0): The first byte received (0x18) is not valid. 1.000922 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.050820 sierra(2): Operation failed (-102)! 1.050876 sierra/library.c(2): Checking if connection is still open 1.050888 gphoto2-port(2): Getting timeout... 1.050898 gphoto2-port(2): Current timeout: 50 milliseconds 1.050908 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 1.050918 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.070808 gphoto2-port(2): Setting timeout to 50 millisecond(s)... 1.070862 gphoto2-port(2): Writing 9=0x9 byte(s) to port... 1.070879 gphoto2-port(3): Hexdump of 9 = 0x9 bytes follows: 0000 1b 43 03 00 03 54 5c b3-00 .C...T\.. 1.071798 sierra/library.c(2): Reading packet... 1.071818 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.072811 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 18 - . 1.072851 context(0): The first byte received (0x18) is not valid. 1.072861 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.122811 sierra(2): Operation failed (-102)! 1.122870 sierra/library.c(2): Checking if connection is still open 1.122882 gphoto2-port(2): Getting timeout... 1.122892 gphoto2-port(2): Current timeout: 50 milliseconds 1.122901 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 1.122911 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.142801 gphoto2-port(2): Setting timeout to 50 millisecond(s)... 1.142856 gphoto2-port(2): Writing 9=0x9 byte(s) to port... 1.142873 gphoto2-port(3): Hexdump of 9 = 0x9 bytes follows: 0000 1b 43 03 00 03 54 5c b3-00 .C...T\.. 1.143788 sierra/library.c(2): Reading packet... 1.143809 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.144803 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 18 - . 1.144846 context(0): The first byte received (0x18) is not valid. 1.144856 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.194802 sierra(2): Operation failed (-102)! 1.194879 context(0): Could not transmit packet even after several retries. 1.194891 sierra(2): Operation failed (-102)! 1.194904 sierra/sierra.c(2): *** folder support: no 1.194916 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 1.194998 sierra/sierra.c(2): Closing connection 1.195010 sierra/library.c(2): Setting speed to 2 (19200 bps) 1.195023 sierra/library.c(2): sierra_set_int_register: register 17 value 2 1.195037 sierra/library.c(2): Checking if connection is still open 1.195047 gphoto2-port(2): Getting timeout... 1.195057 gphoto2-port(2): Current timeout: 2000 milliseconds 1.195066 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 1.195075 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.214796 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 1.214854 gphoto2-port(2): Writing 12=0xc byte(s) to port... 1.214871 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 53 06 00 00 11 02 00-00 00 13 00 .S.......... 1.216776 sierra/library.c(2): Reading packet... 1.216795 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.236815 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 1.236872 sierra/library.c(2): Packet read. Returning GP_OK. 1.236884 sierra/library.c(2): Packet successfully read. 1.236895 sierra/library.c(2): Transmission successful. 1.236908 gphoto2-port(2): Setting settings... 1.236920 gphoto2-port-serial(2): Setting baudrate to 19200... 1.236960 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'... 1.253559 sierra/sierra.c(2): ****************** sierra initialization OK 1.253623 sierra/sierra.c(2): Establishing connection 1.253638 sierra/library.c(2): Setting speed to 5 (115200 bps) 1.253650 sierra/library.c(2): sierra_set_int_register: register 17 value 5 1.253665 sierra/library.c(2): Checking if connection is still open 1.253676 gphoto2-port(2): Getting timeout... 1.253685 gphoto2-port(2): Current timeout: 2000 milliseconds 1.253695 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 1.253704 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.272778 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 1.272832 gphoto2-port(2): Writing 12=0xc byte(s) to port... 1.272849 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 53 06 00 00 11 05 00-00 00 16 00 .S.......... 1.279776 sierra/library.c(2): Reading packet... 1.279833 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.310804 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 1.310861 sierra/library.c(2): Packet read. Returning GP_OK. 1.310873 sierra/library.c(2): Packet successfully read. 1.310885 sierra/library.c(2): Transmission successful. 1.310897 gphoto2-port(2): Setting settings... 1.310909 gphoto2-port-serial(2): Setting baudrate to 115200... 1.310950 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'... 1.325795 sierra/library.c(2): * sierra_capture 1.325846 sierra/library.c(2): sierra_get_int_register: register 0x33... 1.325860 sierra/library.c(2): Checking if connection is still open 1.325872 gphoto2-port(2): Getting timeout... 1.325882 gphoto2-port(2): Current timeout: 2000 milliseconds 1.325891 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 1.325901 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.345769 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 1.345823 gphoto2-port(2): Writing 8=0x8 byte(s) to port... 1.345840 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows: 0000 1b 43 02 00 01 33 34 00- .C...34. 1.346758 sierra/library.c(2): Reading packet... 1.346777 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.347765 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 11 - . 1.347787 sierra/library.c(2): Packet read. Returning GP_OK. 1.347797 sierra/library.c(2): Packet successfully read. 1.347806 sierra/library.c(2): Successfully read packet. Interpreting result (0x11) 1.347835 context(0): Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. *** Error *** Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. 1.347860 gphoto2-port(2): Getting timeout... 1.347871 gphoto2-port(2): Current timeout: 2000 milliseconds 1.347881 gphoto2-port(2): Setting timeout to 20000 millisecond(s)... 1.347917 sierra/library.c(2): sierra_sub_action: action 2, sub action 0 1.347930 sierra/library.c(2): Checking if connection is still open 1.347942 gphoto2-port(2): Getting timeout... 1.347951 gphoto2-port(2): Current timeout: 20000 milliseconds 1.347960 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 1.347969 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.367772 gphoto2-port(2): Setting timeout to 20000 millisecond(s)... 1.367827 gphoto2-port(2): Writing 9=0x9 byte(s) to port... 1.367844 gphoto2-port(3): Hexdump of 9 = 0x9 bytes follows: 0000 1b 43 03 00 02 02 00 04-00 .C....... 1.368753 sierra/library.c(2): Reading packet... 1.368772 gphoto2-port(2): Reading 1=0x1 bytes from port... 1.397792 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 1.397849 sierra/library.c(2): Packet read. Returning GP_OK. 1.397862 sierra/library.c(2): Packet successfully read. 1.397874 sierra/library.c(2): Transmission successful. 1.397884 sierra/library.c(2): Waiting for acknowledgement... 1.397896 sierra/library.c(2): Reading packet... 1.397906 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.542550 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 05 - . 9.543041 sierra/library.c(2): Packet read. Returning GP_OK. 9.543208 sierra/library.c(2): Packet successfully read. 9.543370 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.543549 sierra/library.c(2): Getting picture number. 9.543563 sierra/library.c(2): sierra_get_int_register: register 0x04... 9.543578 sierra/library.c(2): Checking if connection is still open 9.543588 gphoto2-port(2): Getting timeout... 9.543597 gphoto2-port(2): Current timeout: 2000 milliseconds 9.543606 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.543616 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.563520 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.563958 gphoto2-port(2): Writing 8=0x8 byte(s) to port... 9.564133 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows: 0000 1b 43 02 00 01 04 05 00- .C...... 9.565507 sierra/library.c(2): Reading packet... 9.565675 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.566520 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 03 - . 9.566745 gphoto2-port(2): Reading 3=0x3 bytes from port... 9.566909 gphoto2-port(3): Hexdump of 3 = 0x3 bytes follows: 0000 00 04 00 - ... 9.567125 gphoto2-port(2): Reading 6=0x6 bytes from port... 9.567288 gphoto2-port(3): Hexdump of 6 = 0x6 bytes follows: 0000 68 0a 00 00 72 00 - h...r. 9.567512 sierra/library.c(2): Packet successfully read. 9.567524 sierra/library.c(2): Successfully read packet. Interpreting result (0x03) 9.567536 sierra/library.c(2): Value of register 0x04: 0xa68. 9.567546 sierra/library.c(2): Writing acknowledgement... 9.567555 sierra/library.c(2): Checking if connection is still open 9.567564 gphoto2-port(2): Getting timeout... 9.567573 gphoto2-port(2): Current timeout: 2000 milliseconds 9.567582 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.567591 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.587525 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.587974 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 9.588146 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.588573 sierra/library.c(2): Successfully wrote acknowledgement. 9.588746 sierra/library.c(2): Read value of register 0x04 and wrote acknowledgement. Returning. 9.588935 sierra/library.c(2): Getting filename of file 2664. 9.589134 sierra/library.c(2): sierra_get_string_register: reg 79, file number 0, total 0, flags 0x0 9.589349 sierra/library.c(2): sierra_set_int_register: register 4 value 0 9.589535 sierra/library.c(2): Checking if connection is still open 9.589558 gphoto2-port(2): Getting timeout... 9.589567 gphoto2-port(2): Current timeout: 2000 milliseconds 9.589577 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.589586 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.609517 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.609954 gphoto2-port(2): Writing 12=0xc byte(s) to port... 9.610125 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 43 06 00 00 04 00 00-00 00 04 00 .C.......... 9.611505 sierra/library.c(2): Reading packet... 9.611754 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.612523 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.612835 sierra/library.c(2): Packet read. Returning GP_OK. 9.613000 sierra/library.c(2): Packet successfully read. 9.613159 sierra/library.c(2): Transmission successful. 9.613318 sierra/library.c(2): Checking if connection is still open 9.613536 gphoto2-port(2): Getting timeout... 9.613690 gphoto2-port(2): Current timeout: 2000 milliseconds 9.613850 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.614013 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.633505 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.633874 gphoto2-port(2): Writing 8=0x8 byte(s) to port... 9.634044 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows: 0000 1b 43 02 00 04 4f 53 00- .C...OS. 9.635502 sierra/library.c(2): Reading packet... 9.635687 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.636506 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 03 - . 9.636745 gphoto2-port(2): Reading 3=0x3 bytes from port... 9.636909 gphoto2-port(3): Hexdump of 3 = 0x3 bytes follows: 0000 00 00 00 - ... 9.637125 gphoto2-port(2): Reading 2=0x2 bytes from port... 9.637287 gphoto2-port(3): Hexdump of 2 = 0x2 bytes follows: 0000 00 00 - .. 9.637514 sierra/library.c(2): sierra_get_string_register p[0] is 3 9.637528 sierra/library.c(2): Writing acknowledgement... 9.637537 sierra/library.c(2): Checking if connection is still open 9.637548 gphoto2-port(2): Getting timeout... 9.637557 gphoto2-port(2): Current timeout: 2000 milliseconds 9.637567 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.637576 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.657501 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.657551 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 9.657568 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.658493 sierra/library.c(2): Successfully wrote acknowledgement. 9.658511 sierra/library.c(2): Packet length: 0 9.658521 sierra/library.c(2): sierra_get_string_register: completed OK, *b_len 0 9.658564 sierra/library.c(2): ... done ('P1012664.JPG') 9.658586 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list... 9.658596 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty 9.658612 gphoto2-filesystem(2): Internally deleting all folders from '/'... 9.658644 gphoto2-filesystem(2): Scanning / for P1012664.JPG... 9.659361 gphoto2-filesystem(2): Listing files in '/'... 9.659384 gphoto2-filesystem(2): Querying folder /... 9.659395 sierra/sierra.c(2): Establishing connection 9.659418 sierra/library.c(2): Listing files in folder '/' 9.659429 sierra/library.c(2): sierra_get_int_register: register 0x33... 9.659442 sierra/library.c(2): Checking if connection is still open 9.659452 gphoto2-port(2): Getting timeout... 9.659462 gphoto2-port(2): Current timeout: 2000 milliseconds 9.659471 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.659491 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.679502 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.679554 gphoto2-port(2): Writing 8=0x8 byte(s) to port... 9.679571 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows: 0000 1b 43 02 00 01 33 34 00- .C...34. 9.680490 sierra/library.c(2): Reading packet... 9.680510 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.681508 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 11 - . 9.681534 sierra/library.c(2): Packet read. Returning GP_OK. 9.681544 sierra/library.c(2): Packet successfully read. 9.681555 sierra/library.c(2): Successfully read packet. Interpreting result (0x11) 9.681583 context(0): Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. 9.681626 sierra/library.c(2): *** sierra_change_folder 9.681637 sierra/library.c(2): *** folder: / 9.681647 sierra/library.c(2): Counting files in '/'... 9.681657 sierra/library.c(2): sierra_get_int_register: register 0x0a... 9.681668 sierra/library.c(2): Checking if connection is still open 9.681678 gphoto2-port(2): Getting timeout... 9.681686 gphoto2-port(2): Current timeout: 2000 milliseconds 9.681695 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.681705 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.701506 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.701562 gphoto2-port(2): Writing 8=0x8 byte(s) to port... 9.701579 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows: 0000 1b 43 02 00 01 0a 0b 00- .C...... 9.702494 sierra/library.c(2): Reading packet... 9.702513 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.703508 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 03 - . 9.703539 gphoto2-port(2): Reading 3=0x3 bytes from port... 9.703554 gphoto2-port(3): Hexdump of 3 = 0x3 bytes follows: 0000 00 04 00 - ... 9.703567 gphoto2-port(2): Reading 6=0x6 bytes from port... 9.704494 gphoto2-port(3): Hexdump of 6 = 0x6 bytes follows: 0000 0c 00 00 00 0c 00 - ...... 9.704518 sierra/library.c(2): Packet successfully read. 9.704530 sierra/library.c(2): Successfully read packet. Interpreting result (0x03) 9.704542 sierra/library.c(2): Value of register 0x0a: 0x0c. 9.704551 sierra/library.c(2): Writing acknowledgement... 9.704560 sierra/library.c(2): Checking if connection is still open 9.704570 gphoto2-port(2): Getting timeout... 9.704580 gphoto2-port(2): Current timeout: 2000 milliseconds 9.704589 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.704598 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.724496 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.724552 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 9.724569 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.725482 sierra/library.c(2): Successfully wrote acknowledgement. 9.725503 sierra/library.c(2): Read value of register 0x0a and wrote acknowledgement. Returning. 9.725514 sierra/library.c(2): ... done. Found 12 file(s). 9.725526 sierra/library.c(2): Getting filename of first file 9.725536 sierra/library.c(2): sierra_get_string_register: reg 79, file number 1, total 0, flags 0x0 9.725550 sierra/library.c(2): sierra_set_int_register: register 4 value 1 9.725566 sierra/library.c(2): Checking if connection is still open 9.725577 gphoto2-port(2): Getting timeout... 9.725587 gphoto2-port(2): Current timeout: 2000 milliseconds 9.725595 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.725605 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.745497 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.745554 gphoto2-port(2): Writing 12=0xc byte(s) to port... 9.745572 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 43 06 00 00 04 01 00-00 00 05 00 .C.......... 9.747487 sierra/library.c(2): Reading packet... 9.747519 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.751521 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.751575 sierra/library.c(2): Packet read. Returning GP_OK. 9.751586 sierra/library.c(2): Packet successfully read. 9.751598 sierra/library.c(2): Transmission successful. 9.751610 sierra/library.c(2): Checking if connection is still open 9.751622 gphoto2-port(2): Getting timeout... 9.751631 gphoto2-port(2): Current timeout: 2000 milliseconds 9.751641 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.751650 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.771498 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.771551 gphoto2-port(2): Writing 8=0x8 byte(s) to port... 9.771569 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows: 0000 1b 43 02 00 04 4f 53 00- .C...OS. 9.772475 sierra/library.c(2): Reading packet... 9.772494 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.773485 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 03 - . 9.773504 gphoto2-port(2): Reading 3=0x3 bytes from port... 9.773517 gphoto2-port(3): Hexdump of 3 = 0x3 bytes follows: 0000 00 00 00 - ... 9.773529 gphoto2-port(2): Reading 2=0x2 bytes from port... 9.773541 gphoto2-port(3): Hexdump of 2 = 0x2 bytes follows: 0000 00 00 - .. 9.773553 sierra/library.c(2): sierra_get_string_register p[0] is 3 9.773563 sierra/library.c(2): Writing acknowledgement... 9.773572 sierra/library.c(2): Checking if connection is still open 9.773581 gphoto2-port(2): Getting timeout... 9.773590 gphoto2-port(2): Current timeout: 2000 milliseconds 9.773599 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.773607 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.793495 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.793556 gphoto2-port(2): Writing 1=0x1 byte(s) to port... 9.793574 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.794472 sierra/library.c(2): Successfully wrote acknowledgement. 9.794489 sierra/library.c(2): Packet length: 0 9.794498 sierra/library.c(2): sierra_get_string_register: completed OK, *b_len 0 9.794560 sierra/sierra.c(2): Closing connection 9.794574 sierra/library.c(2): Setting speed to 2 (19200 bps) 9.794586 sierra/library.c(2): sierra_set_int_register: register 17 value 2 9.794601 sierra/library.c(2): Checking if connection is still open 9.794611 gphoto2-port(2): Getting timeout... 9.794620 gphoto2-port(2): Current timeout: 2000 milliseconds 9.794629 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.794639 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.814491 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.814547 gphoto2-port(2): Writing 12=0xc byte(s) to port... 9.814564 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 53 06 00 00 11 02 00-00 00 13 00 .S.......... 9.816475 sierra/library.c(2): Reading packet... 9.816513 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.848610 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.848667 sierra/library.c(2): Packet read. Returning GP_OK. 9.848679 sierra/library.c(2): Packet successfully read. 9.848691 sierra/library.c(2): Transmission successful. 9.848703 gphoto2-port(2): Setting settings... 9.848715 gphoto2-port-serial(2): Setting baudrate to 19200... 9.848757 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'... 9.864980 gphoto2-filesystem(2): Added 'P1010001.JPG' 9.865049 gphoto2-filesystem(2): Added 'P1010002.JPG' 9.865063 gphoto2-filesystem(2): Added 'P1010003.JPG' 9.865074 gphoto2-filesystem(2): Added 'P1010004.JPG' 9.865085 gphoto2-filesystem(2): Added 'P1010005.JPG' 9.865100 gphoto2-filesystem(2): Added 'P1010006.JPG' 9.865111 gphoto2-filesystem(2): Added 'P1010007.JPG' 9.865121 gphoto2-filesystem(2): Added 'P1010008.JPG' 9.865132 gphoto2-filesystem(2): Added 'P1010009.JPG' 9.865143 gphoto2-filesystem(2): Added 'P1010010.JPG' 9.865153 gphoto2-filesystem(2): Added 'P1010011.JPG' 9.865164 gphoto2-filesystem(2): Added 'P1010012.JPG' 9.865175 filesys(2): Listed 'P1010001.JPG' 9.865185 filesys(2): Listed 'P1010002.JPG' 9.865194 filesys(2): Listed 'P1010003.JPG' 9.865203 filesys(2): Listed 'P1010004.JPG' 9.865212 filesys(2): Listed 'P1010005.JPG' 9.865221 filesys(2): Listed 'P1010006.JPG' 9.865229 filesys(2): Listed 'P1010007.JPG' 9.865238 filesys(2): Listed 'P1010008.JPG' 9.865247 filesys(2): Listed 'P1010009.JPG' 9.865255 filesys(2): Listed 'P1010010.JPG' 9.865264 filesys(2): Listed 'P1010011.JPG' 9.865273 filesys(2): Listed 'P1010012.JPG' 9.865290 gphoto2-filesystem(2): Listing folders in '/'... 9.865305 sierra/sierra.c(2): Establishing connection 9.865319 sierra/library.c(2): Setting speed to 5 (115200 bps) 9.865331 sierra/library.c(2): sierra_set_int_register: register 17 value 5 9.865344 sierra/library.c(2): Checking if connection is still open 9.865357 gphoto2-port(2): Getting timeout... 9.865367 gphoto2-port(2): Current timeout: 2000 milliseconds 9.865377 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.865386 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.884498 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.884551 gphoto2-port(2): Writing 12=0xc byte(s) to port... 9.884568 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 53 06 00 00 11 05 00-00 00 16 00 .S.......... 9.891471 sierra/library.c(2): Reading packet... 9.891525 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.914500 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.914557 sierra/library.c(2): Packet read. Returning GP_OK. 9.914568 sierra/library.c(2): Packet successfully read. 9.914580 sierra/library.c(2): Transmission successful. 9.914591 gphoto2-port(2): Setting settings... 9.914604 gphoto2-port-serial(2): Setting baudrate to 115200... 9.914647 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'... 9.929506 sierra/sierra.c(2): Closing connection 9.929558 sierra/library.c(2): Setting speed to 2 (19200 bps) 9.929572 sierra/library.c(2): sierra_set_int_register: register 17 value 2 9.929587 sierra/library.c(2): Checking if connection is still open 9.929600 gphoto2-port(2): Getting timeout... 9.929610 gphoto2-port(2): Current timeout: 2000 milliseconds 9.929619 gphoto2-port(2): Setting timeout to 20 millisecond(s)... 9.929629 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.949457 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 9.949509 gphoto2-port(2): Writing 12=0xc byte(s) to port... 9.949526 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows: 0000 1b 53 06 00 00 11 02 00-00 00 13 00 .S.......... 9.951454 sierra/library.c(2): Reading packet... 9.951490 gphoto2-port(2): Reading 1=0x1 bytes from port... 9.978491 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows: 0000 06 - . 9.978549 sierra/library.c(2): Packet read. Returning GP_OK. 9.978561 sierra/library.c(2): Packet successfully read. 9.978572 sierra/library.c(2): Transmission successful. 9.978584 gphoto2-port(2): Setting settings... 9.978597 gphoto2-port-serial(2): Setting baudrate to 19200... 9.978639 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'... 9.994572 gphoto2-filesystem(2): Internally deleting all folders from '/'... 9.994629 gphoto2-filesystem(2): Folder / contains 12 files. 9.994756 context(0): Could not find file 'P1012664.JPG'. *** Error *** Could not find file 'P1012664.JPG'. 9.994781 sierra(2): Operation failed (-108)! 9.994791 sierra/sierra.c(2): Operation failed (-108)! 9.994801 sierra/sierra.c(2): Closing connection 9.994813 gphoto2-camera(2): Operation failed! ERROR: Could not capture. *** Error (-108: 'File not found') *** 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 <gphoto-devel@lists.sourceforge.net>, please run gphoto2 as follows: env LANG=C gphoto2 --debug --debug --camera=Olympus C-800L --port=/dev/ttyS0 --capture-image Please make sure there is sufficient quoting around the arguments. 9.995059 gp-camera(2): Freeing camera... 9.995078 gphoto2-camera(2): Exiting camera ('Olympus C-800L')... 9.995088 sierra/sierra.c(2): sierra camera_exit 9.995113 gphoto2-port(2): Closing port... 9.995244 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list... 9.995256 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty 9.995265 gphoto2-filesystem(2): Internally deleting all folders from '/'... 9.995287 gphoto2-port(2): Freeing port... 9.995299 gphoto2-port(2): Closing port... 9.995332 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list... 9.995343 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty 9.995352 gphoto2-filesystem(2): Internally deleting all folders from '/'... bash-2.05b$ su Password: bash-2.05b# emerge -vp gphoto2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-gfx/gphoto2-2.1.4 +aalib +jpeg +ncurses +nls +readline 0 kB Total size of downloads: 0 kB bash-2.05b#
whats the progress here ?
I created a patch: http://www.wolle-hamburg.de/Bugs/gphoto-0.4.3/gphoto-0.4.3-1.dif.gz
This is just a patch to fix the compile errors for .0.4.3, right? The last time I talked with you, Wolfgang, everything in gphoto2 worked but the capture? foser: Has a dev talked to the gphoto guys on supporting gphoto1? I think the last I heard was that everything should work in gphoto2 and if not bugs should be submitted. Should we still support gphoto1 or maybe mask it for people who still need it till bugs are fixed in ghpoto2. I think this capture bug should probably be moved upstream.
Right. The patch just just fixes compiler errors - no code change. I'm on hollydays now and don't remember the gphoto2 status. I can report next week.
*** Bug 56255 has been marked as a duplicate of this bug. ***
Here is the actual gphoto2 status: I've done a snapshot and a download of a picture and sent the logfiles to Robert. The logfiles are here: http://www.wolle-hamburg.de/Bugs/gphoto-0.4.3/capture.log.gz http://www.wolle-hamburg.de/Bugs/gphoto-0.4.3/get.log.gz The mail body: [...] I've created two logs from the gphoto2 cli, one capturing an image, the other one requesting a download. Both are claiming about register 51. Capture calls it an error (you can see it in the log), get does not. Maybe it's helpful. bash-2.05b$ env LANG=C gphoto2 --debug --camera="Olympus C-800L" --port=/dev/ttyS0 --capture-image > capture.log 2>&1 bash-2.05b$ env LANG=C gphoto2 --debug --camera="Olympus C-800L" --port=/dev/ttyS0 --get-all-files > get.log 2>&1 bash-2.05b$ grep "register 51" *.log capture.log:1.317210 context(0): Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. capture.log:Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. capture.log:9.061048 context(0): Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. get.log:1.265053 context(0): Could not get register 51. Please contact <gphoto-devel@lists.sourceforge.net>. bash-2.05b$ Wolfgang Thiess At this point we're talking about a different product. Does it make sense to open a thread for gphoto2?
well, the multiline literal problem is now patched in portage, but i'm going to mask gphoto because it isn't supported upstream anymore. you can use /etc/portage/package.unmask if you still want to use it, but it won't be supported by us anymore.