Bug 110309 - Sanyo VPC-G200 camera is recognised, but digiKam cannot find images.
Summary: Sanyo VPC-G200 camera is recognised, but digiKam cannot find images.
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.7.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-06 21:17 UTC by Graham Todd
Modified: 2023-12-01 12:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.3.0


Attachments
The Output I Get From TyGemo Indicating the Camera Is Recognised (9.00 KB, image/png)
2005-08-08 09:21 UTC, Graham Todd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Todd 2005-08-06 21:17:28 UTC
Version:           0.7.2 (using KDE 3.3.2,  (testing/unstable))
Compiler:          gcc version 3.3.6 (Debian 1:3.3.6-7)
OS:                Linux (i686) release 2.6.10

When the Sanyo VPC-G200 is selected from the long list, it shows this correctly as a serial camera and its serial device as /dev/ttyS0.  When you add the camera and then click on it from the Camera menu, it first connects with the camera and then looks in folder / for images.  It never finds any, whether the camera is on or off.  Using the old program TyGeMo at /dev/ttyS0, images are found and downloaded to a selected folder and even deleted from the camera, so images can be detected and downloaded.

It seems that images are being sought only in the folder / and not in any subfolders, and there seems to be no way to change this.
Comment 1 Tom Albers 2005-08-07 23:42:30 UTC
Can you try fetching the images via gphoto, for example with
gphoto2 -P
Comment 2 Graham Todd 2005-08-08 09:21:51 UTC
Created attachment 12144 [details]
The Output I Get From TyGemo Indicating the Camera Is Recognised

While digiKam registers I have the camera attached, it does not show any
images.  TyGeMo shows the camera attached, the serial connection, the
resolution, and offers me a file to download the pic and remove it from my
camera.
Comment 3 Tom Albers 2005-08-08 09:44:41 UTC
Again: please try with gphoto2
Comment 4 Graham Todd 2005-08-08 19:21:34 UTC
Tried again and here is the output:

graham@1[~]$ gphoto2 -P

*** Error ***
Could not detect any camera
*** Error (-105: 'Unknown model') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.

TyGeMo is still recognising that the camera is connected and I can download images.
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 -P

Please make sure there is sufficient quoting around the arguments.

graham@1[~]$
Comment 5 Graham Todd 2005-08-08 19:22:59 UTC
Sorry the above got garbled.  Here is the output from using gphoto2:

graham@1[~]$ gphoto2 -P

*** Error ***
Could not detect any camera
*** Error (-105: 'Unknown model') ***

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 -P

Please make sure there is sufficient quoting around the arguments.

graham@1[~]$
Comment 6 Graham Todd 2005-08-08 19:25:58 UTC
Sorry the above got garbled.  Here is the output from using gphoto2:

graham@1[~]$ gphoto2 -P

*** Error ***
Could not detect any camera
*** Error (-105: 'Unknown model') ***

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 -P

Please make sure there is sufficient quoting around the arguments.

graham@1[~]$
Comment 7 Marcus Meissner 2005-08-08 19:32:36 UTC
Use:

gphoto2 --camera "Sanyo VPC-G200" --port serial:/dev/ttyS0 -P
Comment 8 Graham Todd 2005-08-08 23:47:46 UTC
Here is the output and the debugging output:

graham@1[~]$ gphoto2 --camera "Sanyo VPC-G200" --port serial:/dev/ttyS0 -P

*** Error ***
The first byte received (0xa3) is not valid.

*** Error ***
Could not transmit packet even after several retries.
*** Error (-1: 'Unspecified error') ***

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 "Sanyo VPC-G200" --port "serial:/dev/ttyS0" -P

Please make sure there is sufficient quoting around the arguments.

graham@1[~]$ env LANG=C gphoto2 --debug --camera "Sanyo VPC-G200" --port "serial:/dev/ttyS0" -P
0.004396 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.004948 main(2): gphoto2 2.1.6
0.005179 main(2): gphoto2 has been compiled with the following options:
0.005384 main(2):  + gcc (C compiler used)
0.005559 main(2):  + popt (for handling command-line parameters)
0.005750 main(2):  + exif (for displaying EXIF information)
0.005951 main(2):  + cdk (for accessing configuration options)
0.006140 main(2):  + no aa (for displaying live previews)
0.006324 main(2):  + jpeg (for displaying live previews in JPEG format)
0.006522 main(2):  + readline (for easy navigation in the shell)
0.006727 main(2): libgphoto2 2.1.6
0.006912 main(2): libgphoto2 has been compiled with the following options:
0.007114 main(2):  + gcc (C compiler used)
0.007286 main(2):  + EXIF (for special handling of EXIF files)
0.007476 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.007669 main(2):  + /proc/meminfo (adapts cache size to memory available)
0.007876 main(2): libgphoto2_port 0.5.1
0.008066 main(2): libgphoto2_port has been compiled with the following options:
0.008270 main(2):  + gcc (C compiler used)
0.008444 main(2):  + USB (for USB cameras)
0.008616 main(2):  + serial (for serial cameras)
0.008792 main(2):  + no resmgr (serial port access and locking)
0.008994 main(2):  + no baudboy (serial port locking)
0.009175 main(2):  + no ttylock (serial port locking)
0.009357 main(2):  + no lockdev (serial port locking)
0.009538 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.009774 main(2): Processing 'model' option ('Sanyo VPC-G200')...
0.010146 gphoto2-camera(2): Setting abilities ('Sanyo VPC-G200')...
0.010361 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
0.010755 setting/gphoto2-setting.c(2): Loading settings from file "/home/graham/.gphoto/settings"
0.011072 gphoto2-setting(2): Setting key 'model' to value 'Sanyo VPC-G200' (gphoto2)
0.011307 gphoto2-setting(2): Saving 2 setting(s) to file "/home/graham/.gphoto/settings"
0.011750 main(2): Processing 'port' option ('serial:/dev/ttyS0')...
0.012071 gphoto2-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1' without ltdl...
0.012623 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.013143 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.013377 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.013582 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.013825 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
0.014090 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
0.014322 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
0.014548 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
0.014775 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
0.014992 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
0.015187 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
0.015385 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
0.015581 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
0.015776 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
0.015985 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
0.016180 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
0.058023 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
0.058471 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
0.058676 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
0.058875 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
0.059087 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
0.059284 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
0.059480 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
0.059686 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
0.059884 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
0.060093 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
0.060290 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
0.060488 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
0.060685 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
0.060881 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
0.061095 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
0.061291 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
0.061488 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
0.061745 gphoto2-port-info-list(2): Loaded 'Serial Port 0' (serial:/dev/ttyS0) from 'libgphoto2_port_serial.so'
0.062035 gphoto2-port-info-list(2): Loaded 'Serial Port 3' (serial:/dev/ttyS3) from 'libgphoto2_port_serial.so'
0.062286 gphoto2-port-info-list(2): Loaded 'Serial Port 4' (serial:/dev/ttyS4) from 'libgphoto2_port_serial.so'
0.062534 gphoto2-port-info-list(2): Loaded 'Serial Port 5' (serial:/dev/ttyS5) from 'libgphoto2_port_serial.so'
0.062787 gphoto2-port-info-list(2): Loaded 'Serial Port 6' (serial:/dev/ttyS6) from 'libgphoto2_port_serial.so'
0.063046 gphoto2-port-info-list(2): Loaded 'Serial Port 7' (serial:/dev/ttyS7) from 'libgphoto2_port_serial.so'
0.063295 gphoto2-port-info-list(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so'
0.064857 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so'
0.065368 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' (usb:003,004)from 'libgphoto2_port_usb.so'
0.065619 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' (usb:003,003)from 'libgphoto2_port_usb.so'
0.065875 gphoto2-port-info-list(2): Loaded 'Universal Serial Bus' (usb:001,004)from 'libgphoto2_port_usb.so'
0.066236 gphoto2-port-info-list(2): Looking for path 'serial:/dev/ttyS0' (11 entries available)...
0.066507 gphoto2-port-info-list(2): Getting info of entry 0 (11 available)...
0.066743 gphoto2-camera(2): Setting port info for port 'Serial Port 0' at 'serial:/dev/ttyS0'...
0.067238 gphoto2-port(2): Setting timeout to 500 millisecond(s)...
0.067487 gphoto2-port(2): Setting settings...
0.067679 gphoto2-setting(2): Setting key 'port' to value 'serial:/dev/ttyS0' (gphoto2)
0.067930 gphoto2-setting(2): Saving 2 setting(s) to file "/home/graham/.gphoto/settings"
0.069213 gphoto2-camera(2): Listing files in '/'...
0.069725 gphoto2-camera(2): Initializing camera...
0.069933 gphoto2-camera(2): Loading '/usr/lib/gphoto2/2.1.6/libgphoto2_sierra.so'...
0.070710 gphoto2-port(2): Opening SERIAL port...
0.071046 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.071462 gphoto2-port(2): Setting settings...
0.071666 gphoto2-port-serial(2): Setting baudrate to 115200...
0.071972 gphoto2-port(2): Setting settings...
0.072160 gphoto2-port-serial(2): Setting baudrate to 19200...
0.072382 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
0.072613 sierra/library.c(2): Sending initialization sequence to the camera
0.072849 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'...
0.073159 sierra/library.c(2): Checking if connection is still open
0.073366 gphoto2-port(2): Getting timeout...
0.073545 gphoto2-port(2): Current timeout: 2000 milliseconds
0.073737 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
0.073956 gphoto2-port(2): Reading 1=0x1 bytes from port...
0.093937 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
0.094331 gphoto2-port(2): Writing 1=0x1 byte(s) to port...
0.094541 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  00                     -                         .

0.095913 sierra/library.c(2): Reading packet...
0.096106 gphoto2-port(2): Reading 1=0x1 bytes from port...
0.588895 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  15                     -                         .

0.588960 sierra/library.c(2): Packet read. Returning GP_OK.
0.589002 sierra/sierra.c(2): Establishing connection
0.589038 sierra/library.c(2): Setting speed to 5 (115200 bps)
0.589072 sierra/library.c(2): sierra_set_int_register: register 17 value 5
0.589108 sierra/library.c(2): Checking if connection is still open
0.589132 gphoto2-port(2): Getting timeout...
0.589151 gphoto2-port(2): Current timeout: 2000 milliseconds
0.589174 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
0.589195 gphoto2-port(2): Reading 1=0x1 bytes from port...
0.608859 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
0.608916 gphoto2-port(2): Writing 12=0xc byte(s) to port...
0.608941 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  1b 53 06 00 00 11 05 00-00 00 16 00              .S..........

0.616824 sierra/library.c(2): Reading packet...
0.616853 gphoto2-port(2): Reading 1=0x1 bytes from port...
0.618837 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  06                     -                         .

0.618874 sierra/library.c(2): Packet read. Returning GP_OK.
0.618892 sierra/library.c(2): Packet successfully read.
0.618910 sierra/library.c(2): Transmission successful.
0.618934 gphoto2-port(2): Setting settings...
0.618954 gphoto2-port-serial(2): Setting baudrate to 115200...
0.619014 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'...
0.632796 sierra/library.c(2): sierra_get_int_register: register 0x01...
0.632871 sierra/library.c(2): Checking if connection is still open
0.632911 gphoto2-port(2): Getting timeout...
0.632931 gphoto2-port(2): Current timeout: 2000 milliseconds
0.632952 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
0.632975 gphoto2-port(2): Reading 1=0x1 bytes from port...
0.652852 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
0.652909 gphoto2-port(2): Writing 8=0x8 byte(s) to port...
0.652934 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows:
0000  1b 43 02 00 01 01 02 00-                         .C......

0.654818 sierra/library.c(2): Reading packet...
0.654847 gphoto2-port(2): Reading 1=0x1 bytes from port...
2.654588 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
2.654648 sierra/library.c(2): Retrying...
2.654669 gphoto2-port(2): Reading 1=0x1 bytes from port...
4.654244 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
4.654303 sierra/library.c(2): Retrying...
4.654324 gphoto2-port(2): Reading 1=0x1 bytes from port...
4.819238 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  ff                     -                         .

4.819304 sierra/library.c(2): Packet read. Returning GP_OK.
4.819324 sierra/library.c(2): Packet successfully read.
4.819342 sierra/library.c(2): Successfully read packet. Interpreting result (0xff)
4.819386 sierra/library.c(2): Sending initialization sequence to the camera
4.819434 gphoto2-port(2): Setting settings...
4.819453 gphoto2-port-serial(2): Setting baudrate to 19200...
4.819516 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'...
4.819544 sierra/library.c(2): Checking if connection is still open
4.819566 gphoto2-port(2): Getting timeout...
4.819584 gphoto2-port(2): Current timeout: 2000 milliseconds
4.819605 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
4.819627 gphoto2-port(2): Reading 1=0x1 bytes from port...
4.839220 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
4.839277 gphoto2-port(2): Writing 1=0x1 byte(s) to port...
4.839302 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  00                     -                         .

4.841182 sierra/library.c(2): Reading packet...
4.841211 gphoto2-port(2): Reading 1=0x1 bytes from port...
6.840914 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
6.840974 sierra/library.c(2): Retrying...
6.840995 gphoto2-port(2): Reading 1=0x1 bytes from port...
8.840610 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
8.840669 sierra/library.c(2): Retrying...
8.840690 gphoto2-port(2): Reading 1=0x1 bytes from port...
10.840306 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
10.840368 sierra/library.c(2): Giving up...
10.840385 sierra/library.c(2): Retrying...
10.840403 sierra/library.c(2): Checking if connection is still open
10.840426 gphoto2-port(2): Getting timeout...
10.840446 gphoto2-port(2): Current timeout: 2000 milliseconds
10.840467 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
10.840489 gphoto2-port(2): Reading 1=0x1 bytes from port...
10.860300 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
10.860357 gphoto2-port(2): Writing 1=0x1 byte(s) to port...
10.860383 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  00                     -                         .

10.862276 sierra/library.c(2): Reading packet...
10.862305 gphoto2-port(2): Reading 1=0x1 bytes from port...
11.354245 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  15                     -                         .

11.354312 sierra/library.c(2): Packet read. Returning GP_OK.
11.354335 sierra/library.c(2): Checking if connection is still open
11.354361 gphoto2-port(2): Getting timeout...
11.354380 gphoto2-port(2): Current timeout: 2000 milliseconds
11.354402 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
11.354424 gphoto2-port(2): Reading 1=0x1 bytes from port...
11.374222 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
11.374281 gphoto2-port(2): Writing 8=0x8 byte(s) to port...
11.374307 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows:
0000  1b 43 02 00 01 01 02 00-                         .C......

11.380187 sierra/library.c(2): Reading packet...
11.380216 gphoto2-port(2): Reading 1=0x1 bytes from port...
11.382346 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  ff                     -                         .

11.382383 sierra/library.c(2): Packet read. Returning GP_OK.
11.382402 sierra/library.c(2): Packet successfully read.
11.382420 sierra/library.c(2): Successfully read packet. Interpreting result (0xff)
11.382444 sierra/library.c(2): Sending initialization sequence to the camera
11.382475 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'...
11.382502 sierra/library.c(2): Checking if connection is still open
11.382525 gphoto2-port(2): Getting timeout...
11.382543 gphoto2-port(2): Current timeout: 2000 milliseconds
11.382564 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
11.382585 gphoto2-port(2): Reading 1=0x1 bytes from port...
11.402220 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
11.402277 gphoto2-port(2): Writing 1=0x1 byte(s) to port...
11.402301 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  00                     -                         .

11.404184 sierra/library.c(2): Reading packet...
11.404214 gphoto2-port(2): Reading 1=0x1 bytes from port...
13.403916 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
13.403978 sierra/library.c(2): Retrying...
13.404000 gphoto2-port(2): Reading 1=0x1 bytes from port...
15.403612 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
15.403675 sierra/library.c(2): Retrying...
15.403696 gphoto2-port(2): Reading 1=0x1 bytes from port...
17.403308 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
17.403372 sierra/library.c(2): Giving up...
17.403390 sierra/library.c(2): Retrying...
17.403407 sierra/library.c(2): Checking if connection is still open
17.403431 gphoto2-port(2): Getting timeout...
17.403450 gphoto2-port(2): Current timeout: 2000 milliseconds
17.403471 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
17.403494 gphoto2-port(2): Reading 1=0x1 bytes from port...
17.423303 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
17.423359 gphoto2-port(2): Writing 1=0x1 byte(s) to port...
17.423384 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  00                     -                         .

17.425267 sierra/library.c(2): Reading packet...
17.425297 gphoto2-port(2): Reading 1=0x1 bytes from port...
17.920246 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  15                     -                         .

17.920312 sierra/library.c(2): Packet read. Returning GP_OK.
17.920335 sierra/library.c(2): Checking if connection is still open
17.920361 gphoto2-port(2): Getting timeout...
17.920380 gphoto2-port(2): Current timeout: 2000 milliseconds
17.920401 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
17.920424 gphoto2-port(2): Reading 1=0x1 bytes from port...
17.940225 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
17.940284 gphoto2-port(2): Writing 8=0x8 byte(s) to port...
17.940310 gphoto2-port(3): Hexdump of 8 = 0x8 bytes follows:
0000  1b 43 02 00 01 01 02 00-                         .C......

17.946188 sierra/library.c(2): Reading packet...
17.946218 gphoto2-port(2): Reading 1=0x1 bytes from port...
17.948203 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  ff                     -                         .

17.948238 sierra/library.c(2): Packet read. Returning GP_OK.
17.948257 sierra/library.c(2): Packet successfully read.
17.948275 sierra/library.c(2): Successfully read packet. Interpreting result (0xff)
17.948355 context(0): Too many retries failed.
17.948377 gphoto2-port(2): Setting timeout to 50 millisecond(s)...
17.948413 sierra/library.c(2): sierra_set_string_register: reg 84, value '\'
17.948440 sierra/library.c(2): Checking if connection is still open
17.948463 gphoto2-port(2): Getting timeout...
17.948482 gphoto2-port(2): Current timeout: 50 milliseconds
17.948502 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
17.948523 gphoto2-port(2): Reading 1=0x1 bytes from port...
17.968220 gphoto2-port(2): Setting timeout to 50 millisecond(s)...
17.968277 gphoto2-port(2): Writing 9=0x9 byte(s) to port...
17.968302 gphoto2-port(3): Hexdump of 9 = 0x9 bytes follows:
0000  1b 43 03 00 03 54 5c b3-00                       .C...T\..

17.974185 sierra/library.c(2): Reading packet...
17.974215 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.024213 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.024273 sierra/library.c(2): Retrying...
18.024295 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.074206 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.074264 sierra/library.c(2): Retrying...
18.074285 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.124192 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.124251 sierra/library.c(2): Giving up...
18.124269 sierra/library.c(2): Retrying...
18.131157 sierra/library.c(2): Reading packet...
18.131185 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.181192 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.181256 sierra/library.c(2): Retrying...
18.181277 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.231181 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.231240 sierra/library.c(2): Retrying...
18.231261 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.281173 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.281233 sierra/library.c(2): Giving up...
18.281250 sierra/library.c(2): Retrying...
18.288134 sierra/library.c(2): Reading packet...
18.288166 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.338165 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.338225 sierra/library.c(2): Retrying...
18.338247 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.388158 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.388216 sierra/library.c(2): Retrying...
18.388238 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.438149 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
18.438208 sierra/library.c(2): Giving up...
18.438231 context(0): Transmission of packet timed out even after 3 retries. Please contact <gphoto-devel@lists.sourceforge.net>.
18.438264 sierra(2): Operation failed (-1)!
18.438282 sierra(2): Operation failed (-1)!
18.438302 sierra/sierra.c(2): *** folder support: no
18.438325 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
18.438418 sierra/sierra.c(2): Closing connection
18.438437 sierra/sierra.c(2): ****************** sierra initialization OK
18.438479 gphoto2-filesystem(2): Listing files in '/'...
18.438519 gphoto2-filesystem(2): Querying folder /...
18.438543 sierra/sierra.c(2): Establishing connection
18.438562 sierra/library.c(2): Setting speed to 5 (115200 bps)
18.438583 sierra/library.c(2): sierra_set_int_register: register 17 value 5
18.438608 sierra/library.c(2): Checking if connection is still open
18.438633 gphoto2-port(2): Getting timeout...
18.438663 gphoto2-port(2): Current timeout: 2000 milliseconds
18.438684 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
18.438706 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.458149 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
18.458207 gphoto2-port(2): Writing 12=0xc byte(s) to port...
18.458233 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  1b 53 06 00 00 11 05 00-00 00 16 00              .S..........

18.466110 sierra/library.c(2): Reading packet...
18.466139 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466169 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  a3                     -                         .

18.466208 context(0): The first byte received (0xa3) is not valid.

*** Error ***
The first byte received (0xa3) is not valid.
18.466269 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466295 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  2a                     -                         *

18.466327 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466352 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  10                     -                         .

18.466386 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466411 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  10                     -                         .

18.466445 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466470 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  50                     -                         P

18.466504 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466529 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  51                     -                         Q

18.466563 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466588 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  10                     -                         .

18.466621 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466646 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  10                     -                         .

18.466680 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.466705 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  10                     -                         .

18.466739 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.468545 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  90                     -                         .

18.468582 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.468608 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  11                     -                         .

18.468643 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.468669 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  f0                     -                         .

18.468700 gphoto2-port(2): Reading 1=0x1 bytes from port...
18.951088 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  15                     -                         .

18.951160 gphoto2-port(2): Reading 1=0x1 bytes from port...
20.950743 sierra(2): Operation failed (-102)!
20.950800 sierra/library.c(2): Checking if connection is still open
20.950842 gphoto2-port(2): Getting timeout...
20.950863 gphoto2-port(2): Current timeout: 2000 milliseconds
20.950883 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
20.950906 gphoto2-port(2): Reading 1=0x1 bytes from port...
20.970762 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
20.970821 gphoto2-port(2): Writing 12=0xc byte(s) to port...
20.970847 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  1b 43 06 00 00 11 05 00-00 00 16 00              .C..........

20.978728 sierra/library.c(2): Reading packet...
20.978757 gphoto2-port(2): Reading 1=0x1 bytes from port...
20.980742 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  ff                     -                         .

20.980779 sierra/library.c(2): Packet read. Returning GP_OK.
20.980798 sierra/library.c(2): Packet successfully read.
20.980833 sierra/library.c(2): Sending initialization sequence to the camera
20.980870 gphoto2-port(2): Setting pin 4 (DTR: 'Data Terminal Ready') to 'high'...
20.980898 sierra/library.c(2): Checking if connection is still open
20.980921 gphoto2-port(2): Getting timeout...
20.980939 gphoto2-port(2): Current timeout: 2000 milliseconds
20.980960 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
20.980981 gphoto2-port(2): Reading 1=0x1 bytes from port...
21.000759 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
21.000818 gphoto2-port(2): Writing 1=0x1 byte(s) to port...
21.000844 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  00                     -                         .

21.002724 sierra/library.c(2): Reading packet...
21.002754 gphoto2-port(2): Reading 1=0x1 bytes from port...
23.002457 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
23.002516 sierra/library.c(2): Retrying...
23.002538 gphoto2-port(2): Reading 1=0x1 bytes from port...
25.002153 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
25.002214 sierra/library.c(2): Retrying...
25.002235 gphoto2-port(2): Reading 1=0x1 bytes from port...
27.001848 sierra/library.c(2): Read failed (-10: 'Timeout reading from or writing to the port').
27.001907 sierra/library.c(2): Giving up...
27.001923 sierra/library.c(2): Retrying...
27.001939 sierra/library.c(2): Checking if connection is still open
27.001962 gphoto2-port(2): Getting timeout...
27.001979 gphoto2-port(2): Current timeout: 2000 milliseconds
27.001999 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
27.002020 gphoto2-port(2): Reading 1=0x1 bytes from port...
27.021845 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
27.021904 gphoto2-port(2): Writing 1=0x1 byte(s) to port...
27.021928 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  00                     -                         .

27.023808 sierra/library.c(2): Reading packet...
27.023836 gphoto2-port(2): Reading 1=0x1 bytes from port...
27.511786 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  15                     -                         .

27.511852 sierra/library.c(2): Packet read. Returning GP_OK.
27.511874 sierra/library.c(2): Checking if connection is still open
27.511899 gphoto2-port(2): Getting timeout...
27.511916 gphoto2-port(2): Current timeout: 2000 milliseconds
27.511936 gphoto2-port(2): Setting timeout to 20 millisecond(s)...
27.511955 gphoto2-port(2): Reading 1=0x1 bytes from port...
27.531768 gphoto2-port(2): Setting timeout to 2000 millisecond(s)...
27.531825 gphoto2-port(2): Writing 12=0xc byte(s) to port...
27.531849 gphoto2-port(3): Hexdump of 12 = 0xc bytes follows:
0000  1b 43 06 00 00 11 05 00-00 00 16 00              .C..........

27.539731 sierra/library.c(2): Reading packet...
27.539763 gphoto2-port(2): Reading 1=0x1 bytes from port...
27.541744 gphoto2-port(3): Hexdump of 1 = 0x1 bytes follows:
0000  ff                     -                         .

27.541778 sierra/library.c(2): Packet read. Returning GP_OK.
27.541796 sierra/library.c(2): Packet successfully read.
27.541818 context(0): Could not transmit packet even after several retries.

*** Error ***
Could not transmit packet even after several retries.
27.541861 sierra(2): Operation failed (-1)!
27.541879 sierra(2): Operation failed (-1)!
27.541897 sierra(2): Operation failed (-1)!
27.541914 sierra(2): Operation failed (-1)!
27.541933 gphoto2-camera(2): Operation failed!
*** Error (-1: 'Unspecified error') ***

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 "Sanyo VPC-G200" --port "serial:/dev/ttyS0" -P

Please make sure there is sufficient quoting around the arguments.

27.542347 gp-camera(2): Freeing camera...
27.542370 gphoto2-camera(2): Exiting camera ('Sanyo VPC-G200')...
27.542389 sierra/sierra.c(2): sierra camera_exit
27.542433 gphoto2-port(2): Closing port...
27.542586 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
27.542608 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
27.542628 gphoto2-filesystem(2): Internally deleting all folders from '/'...
27.542661 gphoto2-port(2): Freeing port...
27.542682 gphoto2-port(2): Closing port...
27.542755 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
27.542775 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
27.542793 gphoto2-filesystem(2): Internally deleting all folders from '/'...
graham@1[~]$
Comment 9 Renchi Raju 2005-08-17 10:55:49 UTC
libgphoto2 error. Contact libgphoto2 developers (www.gphoto.org) for further support
Comment 10 Colin J Thomson 2007-01-31 23:32:07 UTC
I have the same Camera with the same problem so I tested this with my USB > RS232 adapter. I modified the cameras.xml for the correct port ttyUSB0 but digiKam still fails looking for files.
I "think" the problem is not being able to change the port speed in digiKam because gphoto *will* work fine with this command (slower port speed):

gphoto2  --list-files --port /dev/ttyUSB0 --speed="9600" --camera="Sanyo VPC-G200"
There are 3 files in folder '/'.
#1     P1010001.JPG               rd    50 KB image/jpeg
#2     P1010002.JPG               rd    51 KB image/jpeg
#3     P1010003.JPG               rd    48 KB image/jpeg

I take it that 115k is default and it drops down to 19k2, but of course it will still fail at this speed. Can the port speed be changed in the cameras.xml in digiKam.