IXUS 155 Port - page 2 - General Discussion and Assistance - CHDK Forum supplierdeeply

IXUS 155 Port

  • 15 Replies
  • 7266 Views
*

Online reyalp

  • ******
  • 14118
Re: IXUS 155 Port
« Reply #10 on: 06 / June / 2021, 19:50:41 »
Advertisements
There doesn't seem to be any other issue with focus, just calling set_mf(0) causing a crash.

The log shows a call to SS:_MFOff happening on the camera after I call set_mf(0) in chdkptp, which seems to suggest the address mappings are correct. The camera then crashes some seconds later (seems to vary).
Can you post the log?

It could possibly be related to other Canon settings, like if the camera is in auto mode, or has continuous or servo or face tracking AF enabled.

@Caefix
Default Script changed from German to Dutch  :blink:
This might suggest a propset problem.

What was the language setting in the Canon language menu? Also, what is the value of propcase 61?
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: IXUS 155 Port
« Reply #11 on: 07 / June / 2021, 11:01:41 »
 :-[  My Dutch cam... stays Dutch.  Canon language was&is German: PS61=131841;
switch to English=131073; Dansk=134145; 134401 should be Russian, ... still Dutch.
All lifetime is a loan from eternity.

*

Online reyalp

  • ******
  • 14118
Re: IXUS 155 Port
« Reply #12 on: 07 / June / 2021, 13:36:00 »
:-[  My Dutch cam... stays Dutch.  Canon language was&is German: PS61=131841;
switch to English=131073; Dansk=134145; 134401 should be Russian, ... still Dutch.
I guess you are using the debug prop display? Lua get_prop returns a short, but these values have bit 16 set.  :blink:

That said: ((131841/256) & 0x7f) == 3, which is set to dutch for propset 6, and is correct on my propset 6 elph130.

So this suggests language values go by column instead of row in this cam, different from earlier propset 6. This isn't too surprising, since this is dryos r54, while the original propset 6 was r52, but I'm a little concerned your cameras seem to have these values we've never seen before.

If you can check other dryos r54 cams that would be helpful. These include ixus150, ixus145, ixus265, sx600, sx700.

@brooss can you check what values you get in propcase 61 with a few different language settings?
Func + menu brings up the language menu. The high byte value should increase by one either in rows or columns in the menu, so you can just check one right and one down from English. According to the manual these are Norsk (Norwegian) and Deutsch (German) respectively.
Don't forget what the H stands for.

Re: IXUS 155 Port
« Reply #13 on: 08 / June / 2021, 03:33:03 »
English
Code: [Select]
=return get_prop(61)
7:return:1
Norsk (Norwegian)
Code: [Select]
=return get_prop(61)
10:return:257
Deutsch (German)
Code: [Select]
=return get_prop(61)
2:return:769

Log attached


*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: IXUS 155 Port
« Reply #14 on: 10 / June / 2021, 10:30:01 »
:-[  My Dutch cam... stays Dutch.  Canon language was&is German: PS61=131841;
switch to English=131073; Dansk=134145; 134401 should be Russian, ... still Dutch.
I guess you are using the debug prop display? Lua get_prop returns a short, but these values have bit 16 set.  :blink:

Same at Ix275 ...
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 947
  • Sorry, busy deleting test shots...
Re: IXUS 155 Port
« Reply #15 on: 30 / October / 2021, 16:05:35 »
Having this wrong will affect things like histogram, zebra and motion detection in addition to live view, so it's good to make sure it's right in the common modes.
:-[  Needs closer look, Zebra % Liveview is fine now, not yet contended with md_grid...

Edit: One line made the difference, (Ix190 doesn´t need it  :blink:):
Code: [Select]
int vid_get_viewport_height_proper()            { return vid_get_viewport_height(); }
« Last Edit: 31 / October / 2021, 12:26:28 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal