801 Edits since joining this wiki
August 6, 2008
Revision as of 03:48, December 13, 2013 by ReyalP (Talk | contribs)

| User:ReyalP

CHDK Coding Guidelines

Hi reyalP, shouldn't we move your article User:ReyalP/CHDK Coding Guidelines to an 'official' wikia namespace & set links from For_Developers to it ? Fe50 20:10, 14 December 2008 (UTC)

I was going to wait till it was a bit more complete, but I haven't gotten around to working on it recently reyalp 22:21, 14 December 2008 (UTC)


Face-smile 1000 THX for your great, tireless work for this project ! Fe50 23:40, 23 August 2009 (UTC)

CAPTCHA to stop spam?

Hey ReyalP, is there a way to CAPTCHA on wikia, before someone can post, that would help a ton in the growing number of spam bot posts. LukeS 06:37, September 27, 2009 (UTC)

I have no idea, that's a question for wikia I guess. reyalp 22:08, September 27, 2009 (UTC)

CHDK Answers

The CHDK Answers site launched today. All Canon-related questions from Wikianswers are being moved there. If you have enabled the Wikianswers widget, you'll now see un-answered questions about CHDK taken from this new site instead of from the Central Wikianswers site. If you'd like to be involved and join the admin team at CHDK Answers, please let me know on my talk page there. Angela@Wikia (talk) 03:45, May 8, 2010 (UTC)


Hi, is there a place to upload my Elph 520 HS firmware dump to, and will idafree (5.0) work for the disassembly?

Thanks, Doug

Hi Doug. I suggest taking development questions to the forum rather than my talk page. The welcome message in my name is auto-generated by the wiki software. reyalp 19:49, July 7, 2012 (UTC)


Hey ReyalP,

Just saw your edits to page. The points that were at first confusing to me that I was trying to improve were:

- this page describes what you can do in the console of ptpcamgui and not what you can do in ptpcam (at least as far as I can tell) and assumed based on your revert it did apply to your chdkptp so sorry about that.

- the "LUA" that this page refers to is code that runs on your PC not on your camera

For what its worth, the loadfile... command was useful for me since that was what I wanted to do: run my known working script that is on my camera via ptp.

Anywho... I'll stop changing it. :-)

Montana123 22:10, July 8, 2012 (UTC)


Thank you for the PTP_extensions link.

Question: will Microsoft's WIA framework, work with the Canon SX150 once PTP is installed on it? So that the live preview can be obtained via the USB connection and camera functions can be controlled?



Tadam98 (talk) 06:38, July 29, 2012 (UTC)

Dear ReyalP

I have seen your chdkptp software on the German CHDK user forum.

For a commercial application I would like to use this software, but I need some modifications on it.

Would it be possible to have the camera live view on all the screen and menue buttons in other positions.

I understand, that your live view screen appearance is for (semi)professional photographers, but

our clients just want to take photos/video using a Canon IXUS and they should not see all the

information displayed on the external monitor.

Looking forward to your answer.

Best regards

Benno Raddatz


Hello, and thank you very much for the great tool that chdkptp is! I just managed to compile the CLI part without major problems on OSX 10.8, perhaps you want to include that information in the readme? The steps I followed are detailed below.

Thanks again for your great work, Achim (

1) brew install lua libusb

2) svn co chdkptp

3) create






4) update libptp-endian.h


Add 2 lines specific to OSX (where we don't have byteswap.h):

  1. ifdef WIN32
  1. include <winsock2.h>
  1. elif defined(__APPLE__)
  1. include <arpa/inet.h>
  1. include <libkern/OSByteOrder.h>
  1. else

/* ntohl and relatives live here */

  1. include <arpa/inet.h>

/* Define generic byte swapping functions */

  1. include <byteswap.h>
  1. endif

5) Build with 'make'

6) update

  1. adjust the following to your configuration


export LUA_PATH="$CHDKPTP_DIR/lua/?.lua"

7) Prevent PTPCamera from hogging:

sudo chmod -x "/System/Library/Image Capture/Devices/"

(more fine-grained control:

7) run via ./ 


./ -h

./ -c


Hi guys,

thanks a lot for your continuing and successful efforts to make the most out of our canon cameras. We have been using your software to control canon cameras mounted on microscopes for biomedical research for about 2 years and the CHDK features enable us to capture data in a way that is mostly impossible with commercial dedicated microscope camera hardware.

We're using chdkptp from within imageJ which we use for live image processing on the host computer. Since you have added the live view and live GUI control interface we're wondering if it would make sense to build a more sophisticated imageJ "adapter" than just the command line. Alternatively, does the GUI version of chdkptp support sending commands from the shell to the running client? If so, the existing "link via the system shell"-method could be used without disconnecting the camera from the GUI client while capturing takes place.

We already have scientific work in press (based on CHDK-acquired image data!), and of course your work has been cited. Making CHDK directly "compatible" or "controllable" via imageJ will certainly attract a large number of scientific users.

Looking forward to every new release and new, useful features.


Gabriel and Jürgen, Neuropathology Lab, Basel, Switzerland

juergen.hench AT 10:39, December 11, 2013 (UTC)

Hi, I'm glad to hear you find chdkptp useful. I'll try to reply here, but the forum provides a more convenient format for discussion. If you wan to discuss more, you are welcome to post in this thread you can also email me reyalp (AT) gmail
Currently, the chdkptp can't read commands from the terminal if it is GUI mode. This wouldn't be trivial to add because it's single threaded. In the long term I'd like to make the C code work as shared libraries so it's easier to use for things like this, but I haven't got around to it yet. It would be fairly easy to make a variant of the CLI that was able to feed live view frames into a pipe in response to a command. You could do this now, using dumpframes -count=1 /path/to/whatever, but this would be in live view dump format which requires some additional work to turn into a normal image. reyalp (talk) 03:48, December 13, 2013 (UTC)

Around Wikia's network

Random Wiki