Started off now working with raw_diag. What a great tool to check dr when trying out registers. Speaking registers I wanted to apply and switch some registers in crop_rec.c but the ones handling digital gain and shadow gain registers won´t apply. Any particular reason for this? Used elsewhere already? Trying to switch these registers but no luck:
"Digital gain for ISO (SHAD_GAIN)"}
{0xC0F0, 0x8030, 0, "Digital gain for ISO (SHAD_GAIN)"},
{0xC0F3, 0x7ae4, 0, "ISO digital gain (5D3 photo mode)"},
{0xC0F3, 0x7af0, 0, "ISO digital gain (5D3 photo mode)"},
{0xC0F3, 0x7afc, 0, "ISO digital gain (5D3 photo mode)"},
{0xC0F3, 0x7b08, 0, "ISO digital gain (5D3 photo mode)"},
In a switch reg in crop:rec.c
switch (reg)
{
case 0xC0F08030:
return 0x1f6f;
case 0xC0F37ae4:
return 0x300;
case 0xC0F37af0:
return 0x300;
case 0xC0F37afc:
return 0x300;
}
return 0;
Nothing is added here, hm...