Ixus 140 CHDK bugs - page 2 - General Discussion and Assistance - CHDK Forum supplierdeeply

Ixus 140 CHDK bugs

  • 13 Replies
  • 3852 Views
*

Offline nafraf

  • *****
  • 1308
Re: Ixus 140 CHDK bugs
« Reply #10 on: 30 / May / 2014, 12:01:11 »
Advertisements
Test version with 'Restart' address modified.

*

Offline reyalp

  • ******
  • 13348
Re: Ixus 140 CHDK bugs
« Reply #11 on: 30 / May / 2014, 16:37:35 »
Ah, I think I've got it. My initial suspicions were almost correct.
I found this post: http://chdk.setepontos.com/index.php?topic=11035.0 where a camera was timing out in a similar way.
Reyalp, you debugged it and said:
Quote
After some extensive debugging on IRC, the root cause appears to be the alt state getting confused, which causes shoot to fail. The "confused" state involves the alt OSD being displayed, but key presses going to the original canon firmware (and chdk?), and scripted presses of shoot etc not going to the canon firmware.

Using enter_alt() before running the shooting sequence appears to avoid this.
AFAIK all this should all be fixed in 1.3

Can you clarify regarding the crash when shooting with 1.3? If 1.3 crashes in a situation where 1.2 doesn't, we'd really like to know.
Don't forget what the H stands for.

*

Online philmoz

  • *****
  • 3332
    • Photos
Re: Ixus 140 CHDK bugs
« Reply #12 on: 30 / May / 2014, 21:31:45 »
I confirmed on my 100a camera that reboot crashes without a romlog
I just remembered: nafraf had to fix the address of 'Restart' for the sx510: it is being misdetected for new cameras. The correct function is the one immediately preceding the detected one. I think.
The detected function does a normal poweroff btw.

I've fixed the address detection for Restart in revision 3450 (trunk).
For some reason I can't merge this into the 1.2 (release) branch - if I can't sort this out I'll make the changes manually to 1.2.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline reyalp

  • ******
  • 13348
Re: Ixus 140 CHDK bugs
« Reply #13 on: 31 / May / 2014, 00:25:01 »
I've fixed the address detection for Restart in revision 3450 (trunk).
It definitely looks like the right function for elph140 (and wasn't before), but reboot stills fails so I guess there are other problems :-[

Scratch that, it does seem to work, it just takes a long time, ~10 seconds between reboot command and leds blinking for startup.

edit:
I tested shoot over PTP with 1.3.  I didn't see any problems shooting. If I use shoot -dl -rm, the camera  crashes when switching to play, the same as remoteshoot does (not a surprise)
« Last Edit: 31 / May / 2014, 22:32:59 by reyalp »
Don't forget what the H stands for.


 

Related Topics