Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonswine/chdkptp
chdkptp svn import
https://github.com/simonswine/chdkptp
Last synced: 27 days ago
JSON representation
chdkptp svn import
- Host: GitHub
- URL: https://github.com/simonswine/chdkptp
- Owner: simonswine
- License: gpl-2.0
- Created: 2013-10-08T13:00:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-08T13:01:02.000Z (about 11 years ago)
- Last Synced: 2023-03-11T19:36:57.204Z (almost 2 years ago)
- Language: Lua
- Size: 766 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README-OSX.TXT
- License: COPYING
Awesome Lists containing this project
README
chdkptp is not developed or tested on Mac, user Achim on the CHDK wiki reports following
creates a working cli-only build for for OSX 10.8. Thanks!A user has also reported success building the GUI libraries in this post
http://chdk.setepontos.com/index.php?topic=6231.msg96753#msg96753Comments and corrections are welcome on the chdkptp development thread:
http://chdk.setepontos.com/index.php?topic=6231.0========
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.mkchange:
LUA_INCLUDE_DIR=/usr/local/opt/lua/
LUA_LIB=lua4) Build with 'make'
5) update chdkptp-sample.sh
========adjust the following to your configuration
CHDKPTP_DIR=`pwd`
export LUA_PATH="$CHDKPTP_DIR/lua/?.lua"reyalp note:
Above will only work if the shell script is executed from the directory with chdkptp. Use a hard code path
like /usr/local/chdkptp if you want to be able to run from anywhere.6) 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