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

CHDK PTP interface

  • 1227 Replies
  • 268110 Views
*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: CHDK PTP interface
« Reply #90 on: 12 / November / 2009, 06:28:28 »
Advertisements
Thanks for your great job.


The programm is working perfect. All functions are available. The average frame rate is 6 fps. Scripts are also ok.

The CHDK PTP interface and the logical event functions are a quantum leap in the history of CHDK!

msl
CHDK-DE:  CHDK-DE links

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: CHDK PTP interface
« Reply #91 on: 14 / November / 2009, 16:36:13 »
rudi from the german chdk forum was so impressed by the PTP interface that he has made a version for the A590 101b.

And then there's a small thing:

The chdkcam program has a small incompatibility to the trunk version.
set_capture_mode -> trunk version
set_capture_mode_type -> necessary for PTP version
CHDK-DE:  CHDK-DE links

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #92 on: 14 / November / 2009, 20:22:16 »
set_capture_mode -> trunk version
set_capture_mode_type -> necessary for PTP version
Thanks, corrected.

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: CHDK PTP interface
« Reply #93 on: 19 / November / 2009, 18:02:36 »
PTP interface for A610 100e by CHDKLover (german CHDK forum)
CHDK-DE:  CHDK-DE links


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #94 on: 19 / November / 2009, 19:34:35 »
« Last Edit: 19 / November / 2009, 19:38:45 by ewavr »

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: CHDK PTP interface
« Reply #95 on: 20 / November / 2009, 06:23:49 »
Thanks for the explanations.

I've checked the unnamed events for the a720 and found the right events for keyboard unlock: 0x1184 and 0x1185 (with blocked power button)

edit: For the A590 we can also use 0x1184.
« Last Edit: 21 / November / 2009, 03:51:39 by msl »
CHDK-DE:  CHDK-DE links

*

Offline whoever

  • ****
  • 280
  • IXUS950
Re: CHDK PTP interface
« Reply #96 on: 21 / November / 2009, 06:40:28 »
But we can unlock it using simple script (value is only for a710):
post_levent_to_ui(0x1144)  // unnamed event, only for a710
0x1143 value also unlocks keyboard, but blocks power button.
Unbelievable... How did you find out?! (I cannot find it, even knowing what to look for...)

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #97 on: 21 / November / 2009, 07:47:11 »
Unbelievable... How did you find out?! (I cannot find it, even knowing what to look for...)
Using script with loop, something like:

for i=0x1100, 0x1200 do
 print(i)
 sleep(1000)
 post_levent_to_ui(i)
 click("menu")
end

If camera menu opens, goal is reached. If camera reboots, or shutdowns with "E00" message, or low battery icon starts (stops) blinking, goal is near.


*

Offline whoever

  • ****
  • 280
  • IXUS950
Re: CHDK PTP interface
« Reply #98 on: 21 / November / 2009, 11:46:57 »
Thanks, I got it after all (for the record, it's also 0x1184 on this little Ixus).

It'd never cross my mind to expect, and look for an unnamed (!) event that would mysteriously unlock (!!) the keys! I start to think -- and maybe I suspected it before -- that even the "H" in someone's signature is not all there is to it...

P.S. Regretfully, the later versions of chdkcam don't like my little camera and refuse to connect -- I must've patched something wrong. Strangely enough, mweerden's ptpcam connects flawlessly...
« Last Edit: 21 / November / 2009, 12:04:59 by whoever »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: CHDK PTP interface
« Reply #99 on: 21 / November / 2009, 12:49:01 »
havent read everything but this seems to be great stuff :)
really gotta get back here more often

 

Related Topics