Menu

#142 DPF AX206 unknown eeprom id: 10142020

None
open
None
5
2017-12-28
2017-12-28
No

To start with I had a problem with the permissions (detected by strace and fixed by )

$>chmod -c o+x /usr/lib/x86_64-linux-gnu/libgphoto2_port/
$>chmod -c o+x /usr/lib/x86_64-linux-gnu/libgphoto2/

$>gphoto2 --version
gphoto2 2.5.15

Copyright (c) 2000-2017 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.15 gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2 2.5.16 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking

$>gphoto2 --debug -u Downloads/20170415_192334.jpg

59461 gp_abilities_list_detect_usb(2): found 'ax203 usb picture frame firmware ver 3.5.x' (0x1908,0x102)
0.059463 gp_port_free (2): freeing port...
0.059465 gp_port_close (2): closing port...
0.059486 gp_camera_set_abilities (2): setting abilities ('ax203 usb picture frame firmware ver 3.5.x')...
0.059490 load_settings (2): creating gphoto config directory ('/home/wozza/.gphoto')
0.059497 verify_settings (2): can't open settings file '/home/wozza/.gphoto/settings' for reading.
0.059499 load_settings (2): loading settings from file '/home/wozza/.gphoto/settings'.
0.059501 load_settings (2): can't open settings file '/home/wozza/.gphoto/settings' for reading.
0.059503 gp_setting_set (2): setting key 'model' to value 'ax203 usb picture frame firmware ver 3.5.x' (gphoto2)
0.059505 save_settings (2): saving 1 setting(s) to file "/home/wozza/.gphoto/settings"
0.059544 gp_port_info_list_lookup_path(2): looking for path 'usbscsi:/dev/sg2' (16 entries available)...
0.059548 gp_port_info_list_get_info (2): getting info of entry 11 (16 available)...
0.059550 gp_camera_set_port_info (2): setting port info for port 'usb mass storage raw scsi' at 'usbscsi:/dev/sg2'...
0.059610 gp_port_set_settings (2): setting settings...
0.059614 gp_setting_set (2): setting key 'port' to value 'usbscsi:/dev/sg2' (gphoto2)
0.059616 save_settings (2): saving 2 setting(s) to file "/home/wozza/.gphoto/settings"
0.059653 main (2): uploading file...
0.059709 gp_camera_folder_put_file (2): uploading file into '/'...
0.059712 gp_camera_init (2): initializing camera...
0.059713 gp_camera_init (2): loading '/usr/lib/x86_64-linux-gnu/libgphoto2/2.5.16/ax203'...
0.060546 gp_port_open (2): opening port...
0.060560 gp_port_usbscsi_lock (2): trying to lock '/dev/sg2'...
0.060567 gp_port_send_scsi_cmd (3): sending scsi cmd: (hexdump of 16 bytes)
0000 cd 00 00 00 00 01 01 00-00 00 01 00 00 00 00 00 ................

0.060569 gp_port_usbscsi_send_scsi_cmd(2): setting scsi command timeout to 0
0.063279 gp_port_send_scsi_cmd (2): scsi cmd result: 0
0.063295 gp_port_send_scsi_cmd (3): scsi cmd data: (hexdump of 64 bytes)
0000 44 50 46 5f 56 33 2e 35-2e 30 00 00 00 00 00 00 dpf_v3.5.0......
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................

0.063299 ax203/ax203/ax203.c (2): appotech ax203 picframe firmware version: dpf_v3.5.0
0.063302 gp_port_send_scsi_cmd (3): sending scsi cmd: (hexdump of 16 bytes)
0000 cb 00 00 00 00 00 01 00-00 00 ab 00 00 00 00 00 ................

0.063305 gp_port_usbscsi_send_scsi_cmd(2): setting scsi command timeout to 0
0.064762 gp_port_send_scsi_cmd (2): scsi cmd result: 0
0.064775 gp_port_send_scsi_cmd (3): sending scsi cmd: (hexdump of 16 bytes)
0000 cd 00 00 00 00 00 01 00-00 40 9f 00 00 00 00 00 .........@......

0.064778 gp_port_usbscsi_send_scsi_cmd(2): setting scsi command timeout to 0
0.066205 gp_port_send_scsi_cmd (2): scsi cmd result: 0
0.066222 gp_port_send_scsi_cmd (3): scsi cmd data: (hexdump of 64 bytes)
0000 20 20 14 10 05 64 10 31-13 01 10 00 31 04 03 08 ...d.1....1...
0010 89 93 02 2a 00 00 00 00-00 00 00 00 00 00 00 00 ...*............
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................

0.066229 ax203 (0): unknown eeprom id: 10142020
0.066233 gp_setting_set (2): setting key 'syncdatetime' to value '1' (ax203)
0.066238 save_settings (2): saving 3 setting(s) to file "/home/wozza/.gphoto/settings"
0.066298 gp_port_close (2): closing port...
0.066523 gp_context_error (0): an error occurred in the io-library ('unknown error'): no error description available

error

Discussion

  • warren crossing

    warren crossing - 2017-12-28

    0.000120 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
    0.000145 main (2): gphoto2 2.5.15
    0.000154 main (2): gphoto2 has been compiled with the following options:
    0.000158 main (2): + gcc (C compiler used)
    0.000162 main (2): + popt (mandatory, for handling command-line parameters)
    0.000166 main (2): + exif (for displaying EXIF information)
    0.000170 main (2): + cdk (for accessing configuration options)
    0.000174 main (2): + aa (for displaying live previews)
    0.000177 main (2): + jpeg (for displaying live previews in JPEG format)
    0.000183 main (2): + readline (for easy navigation in the shell)
    0.000196 main (2): libgphoto2 2.5.16
    0.000205 main (2): libgphoto2 has been compiled with the following options:
    0.000209 main (2): + all camlibs
    0.000213 main (2): + gcc (C compiler used)
    0.000218 main (2): + ltdl (for portable loading of camlibs)
    0.000225 main (2): + EXIF (for special handling of EXIF files)
    0.000231 main (2): libgphoto2_port 0.12.0
    0.000237 main (2): libgphoto2_port has been compiled with the following options:
    0.000243 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
    0.000247 main (2): + gcc (C compiler used)
    0.000250 main (2): + ltdl (for portable loading of iolibs)
    0.000254 main (2): + USB (libusb1, for USB cameras)
    0.000260 main (2): + serial (for serial cameras)
    0.000265 main (2): + no resmgr (serial port access and locking)
    0.000269 main (2): + no ttylock (serial port locking)
    0.000275 main (2): + no lockdev (serial port locking)
    0.000279 main (2): CAMLIBS env var not set, using compile-time default instead
    0.000285 main (2): IOLIBS env var not set, using compile-time default instead
    0.000291 main (2): invoked with following arguments:
    0.000299 main (2): --debug
    0.000307 main (2): -u
    0.000313 main (2): Downloads/20170415_192334.jpg

     
  • warren crossing

    warren crossing - 2017-12-28

    I know it has worked in the past because I have uploaded with previous version, I have 2.4.14 and 2.5.1.2 libraries on my system

     
  • Marcus Meissner

    Marcus Meissner - 2017-12-28
    • assigned_to: Hans de Goede
    • Group: -->
     
  • Marcus Meissner

    Marcus Meissner - 2017-12-28

    lets see if Hans can still help.

    It is weird that it worked before, as the eeprom code should still be the same and we did not remove any eeprom codes.

     
  • Hans de Goede

    Hans de Goede - 2017-12-28

    Hi,

    I just tried one of my own axp203 picture frames with libgphoto 2.5.16 and it works fine.

    This is weird in the dump:

    0000 44 50 46 5f 56 33 2e 35-2e 30 00 00 00 00 00 00 dpf_v3.5.0......

    The dpf there should be in caps (the hexvalues match). I don't think it is related, but it is weird.

    Can you try doing something like:

    LANG=en_US.utf8 gphoto2 --debug -u Downloads/20170415_192334.jpg

    And see if that makes a change? Also I wonder if the wrong eeprom ID is the same all the time ? Maybe try charging the device for a bit and see if that helps.

     
  • Hans de Goede

    Hans de Goede - 2017-12-28

    To be clear when I wrote "the hexvalues match" what I means is that the hexvalues are for a capital "DPF" not the lower-case dpf as printed in the ASCII part of the dump.

     

Log in to post a comment.