CHDK Coding Guidelines
- 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)
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)
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 (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?
- Upload the zipped dump to a free file hoster (e.g. http://www.filedropper.com/ or https://www.box.com/ ) and post the link here or in the CHDK forum, we'll add the dump to our repository...
- Dump is at: http://claar.org/elph520hs/elph520hs.7z
- outputs of GPL_Disassembling are in: http://claar.org/elph520hs/ELPH520HS_dis_elf_labels_strings.7z
- No, the IDA free version doesn't support ARM architecture; you may use CHDK-PT and/or ARMu from the Software wikia section. Fe50 05:16, July 6, 2012 (UTC)
- Hi Doug. I suggest taking development questions to the forum http://chdk.setepontos.com/index.php?board=6.0 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)
Just saw your edits to http://chdk.wikia.com/wiki/Lua/PTP_Scripting 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?
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.
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 (www.latz.cc)
1) brew install lua libusb
2) svn co http://subversion.assembla.com/svn/chdkptp/trunk/ chdkptp
3) create config.mk
cp config-sample-linux.mk config.mk
4) update libptp-endian.h
Add 2 lines specific to OSX (where we don't have byteswap.h):
- ifdef WIN32
- include <winsock2.h>
- elif defined(__APPLE__)
- include <arpa/inet.h>
- include <libkern/OSByteOrder.h>
/* ntohl and relatives live here */
- include <arpa/inet.h>
/* Define generic byte swapping functions */
- include <byteswap.h>
5) Build with 'make'
6) update chdkptp-sample.sh
- adjust the following to your configuration
7) Prevent PTPCamera from hogging:
sudo chmod -x "/System/Library/Image Capture/Devices/PTPCamera.app/Contents/MacOS/PTPCamera"
(more fine-grained control: https://github.com/mejedi/mac-gphoto-enabler/blob/master/gphoto-enable.sh)
7) run via ./chdkptp-sample.sh
THANKS A LOT!
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 usb.ch
220.127.116.11 10:39, December 11, 2013 (UTC)