Skip to content

Conversation

coon42
Copy link
Contributor

@coon42 coon42 commented Feb 19, 2022

This PR enables CHDK PTP commands for RP.160. This allows interacting with the camera via ptpcam tool. The following CHDK commands were testes successfully yet:

  • download
  • upload
  • m (read memory)

All other commands are untested and not recommended to be used, once they have verified to work.

@reticulatedpines
Copy link
Owner

Does it make sense to make this the default config on upstream? Feels like it should be some build option maybe, since nothing else uses it.

@coon42
Copy link
Contributor Author

coon42 commented Apr 16, 2022

I mainly want to use this to update autoexec.bin via PTP without having to swap my SD card all the time. This works totally fine but not all ptpcam functions are fully tested yet, so I can't tell that it is 100% safe yet.

I agree that having some kind of build option could be a solution here, as PTP gets acticated as soon as ptp.c and ptp-chdk.c are compiled and linked in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants