CHDK PTP interface

  • 1136 Replies
  • 147303 Views
  • Publish
    Re: CHDK PTP interface
    « Reply #460 on: 30 / March / 2011, 23:02:51 »
    Advertisements
    Quick report:

    S3IS, 1.00a, trunk1117, locally compiled with reference firmwares and S3IS firmware for findsig.

    ptpcam --chdk works, can send LUA scripts. mode switching doesn't work yet, will dig through this thread again... I remember seeing discussion of different ways to switch modes...

    R C

    *

    Offline msl

    • *****
    • 1172
    • A720 IS, SX220 HS 1.01a
      • CHDK inside
  • Publish
    Re: CHDK PTP interface
    « Reply #461 on: 01 / April / 2011, 06:08:34 »
    I've checked in the ptp message code in the trunk changeset 1101

    This means that ptpcamgui and old ptpcam version will no longer work correctly. Non script functions should be ok.

    ptpcam and ptpCamGui was updated. The GUI is working again properly with CHDK & CHDK-DE. You can test the gui with whim's CHDK shell or as stand alone version.

    Another way is reyalp's new project chdkptp, also a very good thing.

    msl
    German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
    Note: SDM violates the GPL rules!

    *

    Offline blackhole

    • ****
    • 422
    • A590IS 101b
      • Planetary astrophotography
  • Publish
    Re: CHDK PTP interface
    « Reply #462 on: 02 / April / 2011, 04:58:52 »

    - The most important features, upload and download, works quite well. You can download all picture files. The GUI can automatically download the current CHDK or CHDK-DE from the autobuild servers, extracts the files and sends it to the camera

    msl


    Whether this option is still existing, or am I missing something as we are constantly repeated message "No internet connection"?

    Boris




    *

    Offline msl

    • *****
    • 1172
    • A720 IS, SX220 HS 1.01a
      • CHDK inside
  • Publish
    Re: CHDK PTP interface
    « Reply #463 on: 02 / April / 2011, 13:39:00 »
    Whether this option is still existing, or am I missing something as we are constantly repeated message "No internet connection"?

    I've tested once more the recent version of ptpCamGui and it works fore me.

    The GUI send google a ping for testing the internet connection. Maybe a firewall block the GUI.

    msl
    German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
    Note: SDM violates the GPL rules!


    *

    Offline reyalp

    • ******
    • 9810
  • Publish
    Re: CHDK PTP interface
    « Reply #464 on: 02 / April / 2011, 16:43:43 »
    Good observation from msl: http://forum.chdk-treff.de/viewtopic.php?f=7&t=2207&start=150#p21620

    On dryos cams, when you first start in play mode, buttons are not recognized by the canon firmware. Sending post_levent_to_ui(4484) unlocks them, without the requirement of going to rec and back. The levent number may vary, 4484 worked for me on d10. Unfortunately, this levent does not have a string name.
    Don't forget what the H stands for.

    *

    Offline achillies

    • ***
    • 227
    • SX130IS
  • Publish
    Re: CHDK PTP interface
    « Reply #465 on: 03 / April / 2011, 16:38:42 »
    All the basics work here (and then some)! 

    Notes: If I do not disable WIA service, my LCD display blanks (everything still works, but I can't see any display).  When I disable the WIA service, my LCD does not blank, and everything works as expected.

    Thank you reyalp for observing msl's observation (I would have missed it otherwise! )  :haha
    luar post_levent_to_ui(4484)
    unlocks my keys just as you said!  That was always a hassle, so I'm glad it's "fixed"

    Don't let the sands of time get in your lunch.

    *

    Offline msl

    • *****
    • 1172
    • A720 IS, SX220 HS 1.01a
      • CHDK inside
  • Publish
    Re: CHDK PTP interface
    « Reply #466 on: 04 / April / 2011, 14:40:05 »
    Also, when I try to use CHDK-DE builds (sx130is compiled) with PTPCamGUI I can not take pictures. it seems to go into  a loop with ">> luar get_mode() << false (Length: 5)" repeating.  When I use the international builds (eg. 1089 patched with quids sx130is patch) everything works fine.  What might be the cause?  The CHDK-DE build seems to work well with this camera if I don't try to use PTPCamGUI (fresh version.. none of my new changes).

    The recent revision of CHDK-DE (618) should be solve this problem.

    msl
    German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
    Note: SDM violates the GPL rules!

    *

    Offline achillies

    • ***
    • 227
    • SX130IS
  • Publish
    Re: CHDK PTP interface
    « Reply #467 on: 04 / April / 2011, 16:25:34 »
    @msl, yes, that is absolutly correct.  Thanks. 

    I won't be able to play with PTP for a week or so, and it might be my imagination, but it seems like the connection process is more "stable" now, than it was pre 1.0. 
    Don't let the sands of time get in your lunch.


    *

    Offline msl

    • *****
    • 1172
    • A720 IS, SX220 HS 1.01a
      • CHDK inside
  • Publish
    Re: CHDK PTP interface
    « Reply #468 on: 07 / April / 2011, 10:58:12 »
    ptpCamGui:

    The command luar post_levent_to_ui(4484) to unlock the keys in play mode is now a start option for all DryOS cameras.  That means, for all DryOS camera the keys are directly after GUI start unlocked.

    I hope the value 4484 is really valid for all DryOS cameras.

    msl
    German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
    Note: SDM violates the GPL rules!

    *

    Offline achillies

    • ***
    • 227
    • SX130IS
  • Publish
    Re: CHDK PTP interface
    « Reply #469 on: 07 / April / 2011, 20:33:05 »
    Woudn't it be nice to know rather than guess (retorical question)?  I know everyone and their brother has said this, but CHDK actually sells some cameras for Canon and I (personally) think that Canon should fill you guys in!
    Don't let the sands of time get in your lunch.

     

    Related Topics