Camera startup mode issues - General Discussion and Assistance - CHDK Forum supplierdeeply

Camera startup mode issues

  • 10 Replies
  • 2754 Views
*

Offline srsa_4c

  • ******
  • 4451
Camera startup mode issues
« on: 15 / April / 2020, 12:52:10 »
Advertisements
It turned out recently that several ports implement the startup mode check incorrectly. The result can be any of the following:
- camera always starts in playback mode, despite a long press on ON/OFF button
- camera always starts in rec (shooting) mode, even when it was started with the playback button
- camera starts in a random mode, regardless of which button was pressed/held
- ...

When implemented correctly, it should be like this:
The power up behavior depends on button used:
- Playback button pressed, camera should start in playback mode.
- Power button pressed for less than a second, camera should start in playback mode.
- Power button pressed for more than a second, camera should start in record mode.

@Caefix
Which of the following cameras do you have:
Ixus275_Elph350, Ixus285_Elph360, sx400, sx420, sx430, sx610, sx620
In all cases, the startup mode check GPIO address needs to be changed from 0xC022F484 to 0xC022F48C. No other changes are needed (except for the sx400 where the mask is also wrong, and for Ixus285).
For Ixus285, I would try this:
*(int*)(0x2dc8) = (*(int*)0xC022F48C)&0x80000 ? 0x80000 : 0x40000;

If you could test those that you have (apparently you are able to modify and re-compile the source), that would help.

*

Offline Caefix

  • *****
  • 943
  • Sorry, busy deleting test shots...
Re: Camera startup mode issues
« Reply #1 on: 15 / April / 2020, 12:55:17 »
 :D @sx610 I found that line working:
   *(int*)(0x2e70+0x4) = (*(int*)0xC022F48C)&0x100000 ? 0x80000 : 0x40000;
Edit @Sx620:
   *(int*)(0x2f0c+0x4) = (*(int*)0xC022F48C)&0x20000 ? 0x80000 : 0x40000;
Ix275 tomorrow...
« Last Edit: 15 / April / 2020, 13:12:31 by Caefix »
All lifetime is a loan from eternity.

*

Offline srsa_4c

  • ******
  • 4451
Re: Camera startup mode issues
« Reply #2 on: 15 / April / 2020, 16:28:21 »
:D @sx610 I found that line working:
   *(int*)(0x2e70+0x4) = (*(int*)0xC022F48C)&0x100000 ? 0x80000 : 0x40000;
Edit @Sx620:
   *(int*)(0x2f0c+0x4) = (*(int*)0xC022F48C)&0x20000 ? 0x80000 : 0x40000;
Ix275 tomorrow...
Thanks. I assume "working" means they now behave like quoted below?
Quote
The power up behavior depends on button used:
- Playback button pressed, camera should start in playback mode.
- Power button pressed for less than a second, camera should start in playback mode.
- Power button pressed for more than a second, camera should start in record mode.

*

Offline Caefix

  • *****
  • 943
  • Sorry, busy deleting test shots...
Re: Camera startup mode issues
« Reply #3 on: 16 / April / 2020, 11:16:33 »
 :xmas ... working as descripted, yes, it´s manualconform.
@Ix275:
   *(int*)(0x2e60) = (*(int*)0xC022F48C)&0x80000 ? 0x80000 : 0x40000;

// Sx4xx & Ix285,... not my cams  :(
All lifetime is a loan from eternity.


*

Offline srsa_4c

  • ******
  • 4451
Re: Camera startup mode issues
« Reply #4 on: 16 / April / 2020, 16:56:51 »
:xmas ... working as descripted, yes, it´s manualconform.
@Ix275:
   *(int*)(0x2e60) = (*(int*)0xC022F48C)&0x80000 ? 0x80000 : 0x40000;
Thanks for your assistance. I have committed these changes for sx610, sx620, ixus275.

Now I wonder if the rest should be done blindly...

*

Offline blackhole

  • *****
  • 928
  • A590IS 101b
    • Planetary astrophotography
Re: Camera startup mode issues
« Reply #5 on: 18 / April / 2020, 04:58:15 »
Thanks for your assistance. I have committed these changes for sx610, sx620, ixus275.

Now I wonder if the rest should be done blindly...
Probably should, @ntstatic and other known users of mentioned cameras are have been inactive on the forum for over a year.

*

Offline srsa_4c

  • ******
  • 4451
Re: Camera startup mode issues
« Reply #6 on: 18 / April / 2020, 15:19:58 »
Probably should, @ntstatic and other known users of mentioned cameras are have been inactive on the forum for over a year.
Problem is, I've broken ports before by making changes blindly. Even if the changes are small and look straightforward, making any mistake here can render ports inoperable.

*

Offline blackhole

  • *****
  • 928
  • A590IS 101b
    • Planetary astrophotography
Re: Camera startup mode issues
« Reply #7 on: 18 / April / 2020, 15:34:29 »
Probably should, @ntstatic and other known users of mentioned cameras are have been inactive on the forum for over a year.
Problem is, I've broken ports before by making changes blindly. Even if the changes are small and look straightforward, making any mistake here can render ports inoperable.
I understand, the error present probably cannot cause some damage to the cameras, we can wait for one of the users to report.


*

Offline Caefix

  • *****
  • 943
  • Sorry, busy deleting test shots...
Re: Camera startup mode issues
« Reply #8 on: 08 / July / 2020, 14:47:42 »
  ???
Ix125: <on>, <ON>, short<play> & FW-Update always boot to Rec. (101a)
Sx700: NO <ON>  && No startup logo. (101a)
« Last Edit: 24 / March / 2021, 12:40:43 by Caefix »
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 943
  • Sorry, busy deleting test shots...
Re: Camera startup mode issues
« Reply #9 on: 13 / July / 2020, 14:54:16 »
 :-[ Ix230: No <ON> so long, else fine. (100e)
All lifetime is a loan from eternity.

 

Related Topics