Editing
CHDK
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This is the [http://chdk.wikia.com/wiki/CHDK Canon Hack Development Kit]. It could be used to overwrite firmware which limits the functionality of Canon PowerShot models of cameras. It can also brick a camera. The distinction seems difficult to determine. == Installation == The wiki says you are supposed to run [http://chdk.wikia.com/wiki/ACID ACID] to determine the version of the firmware on any of the [[Canon PowerShot]] cameras that belong to Noisebridge. ACID says the camera works but it can't download what I want :( [[File:Acid-chdk-powershot2500.png| 720px]] From there, download the full release and unzip it into an SD card as [http://chdk.wikia.com/wiki/Bootable_SD_card poorly documented]. It is also possible to enable the camera to boot into CHDK each time it is powered on. This, like most activities with this software suite, is complicated and error prone. For the [[powershot A2500]] which belongs to Noisebridge, here's the procedure. * Install the [http://www.zenoshrdlu.com/stick/stick.html STICK] utility, read lots of words, click lots of buttons * Run it according to instructions (remember to be root on macOS or OS X) * Flip the hardware lock switch on the card Despite locking the SD card, the camera continues to be able to write photos to the card. == Operation == Remote Control requires a special [https://app.assembla.com/wiki/show/chdkptp PTP extension]. From there it appears there are some helpful utilities. There is some [https://app.assembla.com/spaces/chdkptp/subversion/source/HEAD/trunk/README-OSX.TXT low quality information] regarding building the computer PTP interface on OS X 10.8. It will not build on macOS Sierra. '''Windows''' The info about [http://chdk.wikia.com/wiki/PtpCamGui PtpCamGui] will result in a program that will connect to a camera. It's good for timelapse and other computer controlled features though it will not work for liveview. It seems to have limited features. '''Linux''' Download the binary. For Gnome, disable gvfsd-gphoto2 with the venerable kill utility. To enter an interactive shell, do this <pre> ./chdkptp.sh -c </pre> To take a picture and save it to the computer, give the script some arguments <pre> ./chdkptp.sh -c -e"rec" -e"rs selfie" </pre> Follow the instructions to download, copy and link the IUP (Portable User Interface) and CD (Canvas Display) Lua libraries. Enable IUP and CD in config.mk then build the source. The binary doesn't have any GUI bindings[[citation needed]]. '''building chdkptp''' macOS: <pre> brew install lua libusb brew install --force readline svn co http://subversion.assembla.com/svn/chdkptp/trunk/ chdkptp cd chdkptp cp config-sample-linux.mk config.mk </pre> edit config.mk replace LUA_INCLUDE_DIR and LUA_LIB with the following values <pre> LUA_INCLUDE_DIR=/usr/local/opt/lua/ LUA_LIB=lua </pre> edit Makefile so that the line around 111 with the main LDFLAGS definition reads <pre> LDFLAGS+=$(LIB_PATHS) -L/usr/local/opt/readline/lib $(patsubst %,-l%,$(LINK_LIBS) $(SYS_LIBS)) </pre> continue to build <pre> make </pre> Edit [https://app.assembla.com/spaces/chdkptp/subversion/source/HEAD/trunk/README-OSX.TXT#ln26 chdkptp-sample.sh] run chdkptp-sample.sh <pre>./chdkptp-sample.sh</pre> == Scripting == Once installed, it is possible to write scripts in the Lua language which run directly on the camera. There is a [https://library.noisebridge.net/detail/1303/ Lua reference] in the Noisebridge [[Library]].
Summary:
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Noisebridge:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Dig in!
Noisebridge
- Status: MOVED
- Donate
- ABOUT
- Accessibility
- Vision
- Blog
Manual
MANUAL
Visitors
Participation
Community Standards
Channels
Operations
Events
EVENTS
Guilds
GUILDS
- Meta
- Electronics
- Fabrication
- Games
- Music
- Library
- Neuro
- Philosophy
- Funding
- Art
- Crypto
- Documentation/Wiki
Wiki
Recent Changes
Random Page
Help
Categories
(Edit)
Tools
What links here
Related changes
Special pages
Page information