I use "a570-101a-1.3.0-3170-full.zip" that is the last CHDK now.
I meet a bug that badpixels are not patched using DNG 1.1 .
[I don't meet the bug]
power on my Powershot A570 which has been set up to save DNG 1.1 file
shoot
CHDK save a DNG file of which badpixels are patched
[I meet the bug]
power on my Powershot A570 which has been set up to save DNG 1.1 file
enter CHDK Alt mode
disable DNG by Erace button
enabele DNG by Erace button
leave CHDK ALt mode
shoot
CHDK save a DNG file of which badpixels are *NOT* patched
Althought I do not know a lot about CHDK, I attempt to view its source code.
In "CHDK/core/gui.c",
int gui_chdk_kbd_process()
{
...
conf.save_raw = !conf.save_raw;
...
}
there is a part that "conf.save_raw" value is changed.
But "conf_change_dng()" function is not called.
In "CHDK/core/conf.c"
static ConfInfo conf_info[] = {
...
CONF_INFO( 20, conf.save_raw, CONF_DEF_VALUE, i:0),
...
};
...
void conf_info_func(unsigned short id)
{
switch (id)
{
case 20:
case 36:
case 37:
conf_change_dng();
break;
...
I think that this part may mean that "conf_change_dng()" function
have to be called when "conf.save_raw" value is changed.
I guess...
> [I meet the bug]
> disable DNG with Erace button
In this operation, "conf.save_raw" value change to 0.
because "_module_can_unload()" function of "CHDK/module/dng.c" to return true,
"module_tick_unloader()" call of "CHDK/core/main.c" unload dng module.
dng module release badpixels infomation.
> [I meet the bug]
> enabele DNG with Erace button
In this operation, "conf.save_raw" value change to 1.
because "conf_change_dng()" function is not called,
badpixels infomation is not loaded from "badpixel.bin".
If "conf_change_dng()" function have to be called
when "conf.save_raw" value is changed, please change to do so.
Thank you for reading my poor English.
I'm sorry my English is bad.