supplierdeeply

CHDK PTP interface

  • 1136 Replies
  • 151342 Views
*

Offline ADamb

  • **
  • 65
  • sx200is
Re: CHDK PTP interface
« Reply #130 on: 21 / December / 2009, 15:11:49 »
Advertisements
Marcio,

What exactly are you trying to do?
SX200IS 100c is already included in PTP patch, overlay colors are wrong, but everything else is OK.
SX200 IS-100C

Re: CHDK PTP interface
« Reply #131 on: 22 / December / 2009, 05:02:53 »

Re: CHDK PTP interface
« Reply #132 on: 23 / December / 2009, 08:49:42 »

Re: CHDK PTP interface
« Reply #133 on: 23 / December / 2009, 14:55:10 »
I recently got this from the published DIFF file:

NHSTUB(PB2Rec, 0xFF87D780)                       // via aAcPb2rec
NHSTUB(Rec2PB, 0xFF87EE50)                       // via aAcRec2pb


David


Re: CHDK PTP interface
« Reply #134 on: 23 / December / 2009, 15:43:22 »
It seems not to work after aplying the patch. How can I be sure it works ?

*

Offline fe50

  • ******
  • 3038
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK PTP interface
« Reply #135 on: 24 / December / 2009, 08:12:55 »
It seems not to work after aplying the patch. How can I be sure it works ?

It works for the SX200 1.00c:
Thanks, now it is OK.

*

Offline reyalp

  • ******
  • 10055
Re: CHDK PTP interface
« Reply #136 on: 24 / December / 2009, 22:05:23 »
First try at a540 support.

Note, I added add_ptp_handler to sig_ref_vxworks_1.txt, seems to be a good match.

Live view works, switch to rec (using post_levent...) worked.
Trying to shoot after switch to rec crashed the cam.
Code: [Select]
ASSERT!! OperTrns.c Line 594
Occured Time  2009:12:24 19:05:20
TCB: 00212218
Task: tPTPSessio
SP: 0x002120C0
StackDump:
0x00000000
...
(at FFE4EB1C)


I am thinking about making a PTP branch in the main SVN. It would make it easier to keep in sync with the trunk (I have no problem with merging my trunk checkins to a branch). Or just put it in the trunk and make it compile time optional ?

edit:
I did manage to take a picture without crashing, turning off live view and bitmap updates first.
« Last Edit: 24 / December / 2009, 22:30:52 by reyalp »
Don't forget what the H stands for.

*

Offline fe50

  • ******
  • 3038
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK PTP interface
« Reply #137 on: 25 / December / 2009, 06:20:40 »
I am thinking about making a PTP branch in the main SVN. It would make it easier to keep in sync with the trunk (I have no problem with merging my trunk checkins to a branch). Or just put it in the trunk and make it compile time optional ?

Since it seems that this will have no negative side effects for the CHDK main functionality (at least i didn't notice any), i'd prefer to have it in the trunk, compile time optional - sooner or later PTP will be also another "usual" feature beside all others, so IMO it's simply consequent to have it in the main source tree as early as possible.

BTW - some things i've noticed while testing/using PTP on the SX10 101a (Win XP sp3, no Canon services):

  • Connected to an USB hub it works reliable the most time - connected directly (on board USB, nVidia GeForce 8200 chipset) it behaves very instable, the connection mostly get lost after some seconds.
  • Switching between rec and playback mode works reliable, also all the other things like shooting, zoom & focus, setting shooting mode, script execution, controlling with the NUM keys and so on, the framerate is ~8 fps with on board chipset graphics.
  • (havn't tested the webcam feature yet)


Re: CHDK PTP interface
« Reply #138 on: 25 / December / 2009, 07:11:13 »

*

Offline fe50

  • ******
  • 3038
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: CHDK PTP interface
« Reply #139 on: 25 / December / 2009, 07:41:41 »

 

Related Topics