Suggestion for CHDK configuration file saving. - page 4 - General Discussion and Assistance - CHDK Forum

Suggestion for CHDK configuration file saving.

  • 38 Replies
  • 17830 Views
Re: Suggestion for CHDK configuration file saving.
« Reply #30 on: 16 / August / 2013, 22:28:45 »
Advertisements
You probably had an old CCHDK4.CFG file (from patch testing) and no OSD__4.CFG - so it defaulted all the OSD settings.
Quite possibly.

Quote
If you delete the CCHDK4.CFG and OSD__4.CFG then reboot it should reload all your settings from CCHDK3.CFG.
Hmmm .. does not seem to work.

Did the deletes,  power off.  First time power on,  cam starts up and shuts down right away.  Saw that earlier tonight too.  Second power up and we are running again.   But the "annoying help pop up screen" comes up - so my old settings are definitely not there.   Looking in the CHDK folder, I now have a CCHDK4.CFG file with date set as 01:01'00 00:00

Camera date and time are correct.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Suggestion for CHDK configuration file saving.
« Reply #31 on: 16 / August / 2013, 22:36:09 »
Quote
If you delete the CCHDK4.CFG and OSD__4.CFG then reboot it should reload all your settings from CCHDK3.CFG.
Hmmm .. does not seem to work.

Did the deletes,  power off.  First time power on,  cam starts up and shuts down right away.  Saw that earlier tonight too.  Second power up and we are running again.   But the "annoying help pop up screen" comes up - so my old settings are definitely not there.   Looking in the CHDK folder, I now have a CCHDK4.CFG file with date set as 01:01'00 00:00

Camera date and time are correct.

Can you post the romlog.

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: Suggestion for CHDK configuration file saving.
« Reply #32 on: 16 / August / 2013, 22:41:20 »
Can you post the romlog.
Natch  ;)

Update : if this isn't obvious,  don't spend a lot of time on it .. I have a subset of lapser mods in this build so who knows ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Suggestion for CHDK configuration file saving.
« Reply #33 on: 16 / August / 2013, 22:49:37 »
Can you post the romlog.
Natch  ;)

Update : if this isn't obvious,  don't spend a lot of time on it .. I have a subset of lapser mods in this build so who knows ?

It's the FSIONOTIFY problem when saving the new config files - the autosave is probably being done too early to work on some cameras.

Can you try commenting out the last call to conf_save in conf_restore and then try deleting the new config files again.

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: Suggestion for CHDK configuration file saving.
« Reply #34 on: 16 / August / 2013, 23:05:46 »
Can you try commenting out the last call to conf_save in conf_restore and then try deleting the new config files again.
Lines 1266 & 1267 commented out.

Rebuilt .. reloaded.  Camera comes up right away with old settings now there again (i.e user menu active .. threw me for a bit to see it).   No new config files on first startup.  Normal I guess. Power down,  restart,  CCDHK4.CFG, OSD__4.CFG, UMENU4.CFG now all there with current time/date stamp on second power up.

I didn't actually need to delete any config files.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: Suggestion for CHDK configuration file saving.
« Reply #35 on: 02 / January / 2014, 09:10:23 »
Hello, one question, I would like to use the conf.xxxxx-notation in my script, but when I type this:

local usd=require("gen/cnf_osd")

the file is not found. Where can I get that module? Have I overseen something here, I could not find it anywhere. Thanks. Martin


Re: Suggestion for CHDK configuration file saving.
« Reply #36 on: 02 / January / 2014, 09:38:18 »
Where can I get that module? Have I overseen something here, I could not find it anywhere. Thanks. Martin
Its in the standard 1.3.0 build from the autobuild and the source from the svn.  If you are still building your own version, when did you last refresh your source?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Suggestion for CHDK configuration file saving.
« Reply #37 on: 02 / January / 2014, 10:37:07 »
Well, I am building my own DISKBOOT.BIN, if you mean that. But I am using a regular chdkptp, which is 2.6.

Don't I need the lua declaration for the static values, as loaded with

local osd=require("gen/cnf_osd")

The CHDK Version I am using is 1.3.0-3270. I suppose on the camera side I may use the statics...


Re: Suggestion for CHDK configuration file saving.
« Reply #38 on: 02 / January / 2014, 10:50:09 »
Well, I am building my own DISKBOOT.BIN, if you mean that. But I am using a regular chdkptp, which is 2.6.
Don't I need the lua declaration for the static values, as loaded with  local osd=require("gen/cnf_osd") The CHDK Version I am using is 1.3.0-3270. I suppose on the camera side I may use the statics...
Are you trying to include that line in a Lua script running on the PC side ?  If so,  you'll need to copy the various lua file from your SD card and modify the file path to suit.  Files of interest on the SD card are in CHDK/LUALIB/GEN and include cnf_core.lua, cnf_gps.lua, cnf_osd.lua. and cnf_user.lua.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics