Wikia

CHDK Wiki

ReyalP

Admin
818 Edits since joining this wiki
August 6, 2008
(Difference between revisions) | User:ReyalP
Line 80: Line 80:
   
 
email dr.raddatz@t-online.de
 
email dr.raddatz@t-online.de
  +
  +
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
  +
  +
  +
  +
change:
  +
  +
LUA_INCLUDE_DIR=/usr/local/opt/lua/
  +
  +
LUA_LIB=lua
  +
  +
  +
  +
  +
  +
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>
  +
  +
#else
  +
  +
/* ntohl and relatives live here */
  +
  +
#include <arpa/inet.h><span class="Apple-tab-span" style="white-space:pre"> </span>
  +
  +
/* Define generic byte swapping functions */
  +
  +
#include <byteswap.h>
  +
  +
#endif
  +
  +
  +
  +
5) Build with 'make'
  +
  +
  +
  +
6) update chdkptp-sample.sh
  +
  +
===========================
  +
  +
# adjust the following to your configuration
  +
  +
CHDKPTP_DIR=`pwd`
  +
  +
export LUA_PATH="$CHDKPTP_DIR/lua/?.lua"
  +
  +
  +
  +
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 
  +
  +
examples:
  +
  +
./chdkptp-sample.sh -h
  +
  +
./chdkptp-sample.sh -c

Revision as of 02:51, September 2, 2013

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)

Thanks

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)

ELPH 520HS

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

LUA/PTP Edits

Hey ReyalP,

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)

Hi,

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?

Thanks,

Mickey

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

email dr.raddatz@t-online.de

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


change:

LUA_INCLUDE_DIR=/usr/local/opt/lua/

LUA_LIB=lua



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 chdkptp-sample.sh

===============
  1. adjust the following to your configuration

CHDKPTP_DIR=`pwd`

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


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 

examples:

./chdkptp-sample.sh -h

./chdkptp-sample.sh -c

Around Wikia's network

Random Wiki