compile chdk so doesn't save config - CHDK Releases - CHDK Forum

compile chdk so doesn't save config

  • 7 Replies
  • 5552 Views
compile chdk so doesn't save config
« on: 21 / March / 2011, 05:25:00 »
Advertisements
Is it possible to compile chdk so it doesn't save a config file. I have a sx110is that seems to crash under circumstances which can be alleviated by deleting the config file. setting the "don't save" config doesn't seem to help. I can't identify yet what is causing it though I suspect it has to do with RAW  or DNG setings.

For now I just want to prevent the creating and saving of the config file. Another solution perhaps?

Dano

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: compile chdk so doesn't save config
« Reply #1 on: 21 / March / 2011, 07:30:33 »
Is it possible to compile chdk so it doesn't save a config file. I have a sx110is that seems to crash under circumstances which can be alleviated by deleting the config file. setting the "don't save" config doesn't seem to help. I can't identify yet what is causing it though I suspect it has to do with RAW  or DNG setings.

For now I just want to prevent the creating and saving of the config file. Another solution perhaps?

Dano

Is it crashing when you turn the camera on (camera turns off almost immediately)?

There have been a few cameras affected by a similar problem recently, and some progress has been made towards resolving this startup crash.

If this is what you are seeing I can take a look at the firmware to see if the sx100is may be affected by this issue.

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)

Re: compile chdk so doesn't save config
« Reply #2 on: 21 / March / 2011, 20:23:16 »
Yeah thats exactly whats happening! seems to occur when the settings are saved, usually extended settings such as DNG. and you later restart the camera. As you say goes dead almost immediately  and impossible to fix in the field. I can fix by deleting the config file.  Bit of a nuisance when out on a shoot to say the least!

thanks for any help or suggestions, yes please take a look if you can.


Danny

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: compile chdk so doesn't save config
« Reply #3 on: 21 / March / 2011, 21:17:03 »
Yeah thats exactly whats happening! seems to occur when the settings are saved, usually extended settings such as DNG. and you later restart the camera. As you say goes dead almost immediately  and impossible to fix in the field. I can fix by deleting the config file.  Bit of a nuisance when out on a shoot to say the least!

thanks for any help or suggestions, yes please take a look if you can.


Danny

On other cameras the problem occurs when the startup code tries to load one of the font files. There is a conflict with another task running on the camera when opening and closing files. Looking at the SX110is firmware it would appear that it could be same problem for you.

Attached is a build of the latest code for firmware 1.00b, with a patch that should help (if the problem is what I think it is).

Please try this and let us know how it goes (unpack the diskboot.bin from the file and replace the one on the SD card).

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)


Re: compile chdk so doesn't save config
« Reply #4 on: 22 / March / 2011, 05:24:31 »
thanks for quick response! downloaded, will let you know soon

danny

Re: compile chdk so doesn't save config
« Reply #5 on: 25 / March / 2011, 06:30:39 »
Seems fully working. Can this be integrated into the auto builds please?

regards and thanks

Danny Raymond

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: compile chdk so doesn't save config
« Reply #6 on: 25 / March / 2011, 07:24:46 »
Seems fully working. Can this be integrated into the auto builds please?

regards and thanks

Danny Raymond

Thanks for testing it - I'll put in a patch request for the change (need to wait for another pending patch to be added first which has some of the changes needed).

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)

Re: compile chdk so doesn't save config
« Reply #7 on: 26 / March / 2011, 07:20:51 »
Thanks,

appreciate knowing when included, how to know?

your great!

danny Raymond


 

Related Topics