CHDK PTP interface - page 6 - General Discussion and Assistance - CHDK Forum supplierdeeply

CHDK PTP interface

  • 1205 Replies
  • 247291 Views
*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #50 on: 27 / October / 2009, 20:51:35 »
Advertisements
Could you publish the code ?
Yes, I'll do a few days (currently only a710 is supported, but I'll try tomorrow port PTP extension for SX10).

*

Offline an0n

  • ***
  • 152
Re: CHDK PTP interface
« Reply #51 on: 27 / October / 2009, 21:04:57 »
edit: If someone interested, I write simple GUI program for Windows for remote shooting (see screenshot), using slightly modified mweerden's code.
Hi ewavr, good work, I too am interested, but I have A720 - possible for A720?  With code maybe I could compile
for Mac OSX?
thanks.
A720IS.

*

Offline fe50

  • ******
  • 3099
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK PTP interface
« Reply #52 on: 27 / October / 2009, 21:12:53 »
Could you publish the code ?
Yes, I'll do a few days (currently only a710 is supported, but I'll try tomorrow port PTP extension for SX10).
Great  :xmas
Take it easy, i'll need also some more days to test & play with all the new, nice stuff, PTP & reyalP's events

*

Offline Aged

  • *
  • 39
Re: CHDK PTP interface
« Reply #53 on: 28 / October / 2009, 07:52:40 »
@ewavr
 If someone interested, I write simple GUI program for Windows for remote shooting (see screenshot), using slightly modified mweerden's code.


 Can GUI be added to S3is (camera is listed as remote capture by Canon)  ?


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #54 on: 28 / October / 2009, 15:59:05 »
How about  ConnectUSBCable, DisconnectUSBCable ? Or possibly the Cradle ones (or is cradle something different than USB ?)

Or perhaps, using the eventproc code UiEvnt_StartDisguiseCradleStatus UiEvnt_StopDisguiseCradleStatus  ?

For SX10, any event does not help to switch PB/rec mode if USB cable is connected  :(
But I have good news - mweerden's code (with PB2Rec) works perfectly.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: CHDK PTP interface
« Reply #55 on: 28 / October / 2009, 17:47:01 »
I screwed up the previous experiment a bit, forgot to actually define post_levent.

lua post_levent=post_levent_for_npt;set_levent_script_mode(1); post_levent("PressRecButton"); post_levent("UnpressRecButton"); set_levent_script_mode(0)

actually switched the cam (a570) to REC mode a couple of times (although a successive command "lua shoot" crashed the camera...as does "lua foo" or any other unknown lua command, btw...).

post_levent_to_ui() for the same event didn't do anything even once, and I can't seem to get *npt to work one more time either...will have to add PB2Rec stuff later, I think it used to work fine before.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #56 on: 28 / October / 2009, 19:48:35 »
Take it easy, i'll need also some more days to test & play with all the new, nice stuff, PTP & reyalP's events [

src&bin for Win, a710 and sx10 1.01a (pre-alpha) here - http://ewavr.nm.ru/chdk/for_test/

Re: CHDK PTP interface
« Reply #57 on: 28 / October / 2009, 21:43:27 »
Is PTP supported by the CANNON SX120 and SX200 IS ?


*

Offline RaduP

  • *****
  • 890
Re: CHDK PTP interface
« Reply #58 on: 28 / October / 2009, 22:21:19 »
It should be supported by all the Canon cameras, that's how the pictures are transfered to the PC.

*

Offline fe50

  • ******
  • 3099
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK PTP interface
« Reply #59 on: 28 / October / 2009, 22:45:22 »
src&bin for Win, a710 and sx10 1.01a (pre-alpha) here - http://ewavr.nm.ru/chdk/for_test/
Wow, that was fast !

Started with testing, playback connection is ok, ~ 4 to 5 fps.
Script execution works, e.g. set_led(9,1) to turn on the AF lamp

Didn't find out how to switch to rec mode yet, will look deeper after some hours of sleep.

BTW: atm i use an unmodified libusb-win32-filter-bin-0.1.12.2 package; are the patches from mweerden still needed ?

 

Related Topics