supplierdeeply

Can't enter in alt mode using Canon g15

  • 14 Replies
  • 2408 Views
Can't enter in alt mode using Canon g15
« on: 01 / December / 2016, 22:40:05 »
Advertisements
Hi, I am trying to use CHDK in my Canon g15. I've installed it in my sd card succesfully, but when I press the <Shortcout button> to enter in Alt mode, nothing happens.
Things like the battery level are displaying well.
What can I do?
Thanks you!

*

Offline reyalp

  • ******
  • 11200
Re: Can't enter in alt mode using Canon g15
« Reply #1 on: 01 / December / 2016, 23:00:38 »
Hi, I am trying to use CHDK in my Canon g15. I've installed it in my sd card succesfully, but when I press the <Shortcout button> to enter in Alt mode, nothing happens.
Hmm, in the code (contrary to the default alt button name  in platform_camera.h), it looks like the button is actually set to the playback button ??? so try that.

If it works, a long press should allow you to get the original function. I'd also like to get the correct bit for the shortcut button. I'll post instructions once you confirm you can get into alt mode.
Don't forget what the H stands for.

Re: Can't enter in alt mode using Canon g15
« Reply #2 on: 08 / January / 2017, 18:33:02 »
I had this same problem on the G15 (alt mode).  Thanks for the tip re the playback button.
How can I change the alt mode but to Shortcut?
CHDK 1.4.1 Rev 4742 12/1/2016 04:48:24  G15 100e
« Last Edit: 08 / January / 2017, 18:43:21 by teallman »

Re: Can't enter in alt mode using Canon g15
« Reply #3 on: 08 / January / 2017, 19:29:05 »
How can I change the alt mode but to Shortcut?
CHDK 1.4.1 Rev 4742 12/1/2016 04:48:24  G15 100e
rtfm link > CHDK Manual : CHDK Configuration Menu : <ALT> Mode Button

Options are :  "Shrtcut", "Video", "Meter", "AE Lock", "Erase"

edit : CAM_ALT_BUTTON_NAMES and keymap definitions in platform_camera.h are somewhat borked.
« Last Edit: 08 / January / 2017, 19:37:16 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Can't enter in alt mode using Canon g15
« Reply #4 on: 08 / January / 2017, 19:45:42 »
rtfm link > CHDK Manual : CHDK Configuration Menu : <ALT> Mode Button

Options are :  "Shrtcut", "Video", "Meter", "AE Lock", "Erase"

edit : CAM_ALT_BUTTON_NAMES and keymap definitions in platform_camera.h are somewhat borked.
Yup, I noticed that.  I tried the options but they seem a bit jumpy. Are there any older builds for G15 that are ok?

*

Offline reyalp

  • ******
  • 11200
Re: Can't enter in alt mode using Canon g15
« Reply #5 on: 08 / January / 2017, 19:59:47 »
How can I change the alt mode but to Shortcut?
CHDK 1.4.1 Rev 4742 12/1/2016 04:48:24  G15 100e
rtfm link > CHDK Manual : CHDK Configuration Menu : <ALT> Mode Button

Options are :  "Shrtcut", "Video", "Meter", "AE Lock", "Erase"

edit : CAM_ALT_BUTTON_NAMES and keymap definitions in platform_camera.h are somewhat borked.
As I mentioned earlier, the shortcut button isn't identified, and actually maps to the playback key on this port  >:(

@teallman:
If you are willing to help, we can identify the actual key.

Go to

Miscellaneous Stuff->Tools->Memory Browser and set the address to 0x0003ac0c

Use left and right to change the address, and the zoom keys to change the increment

Look for any difference in the display value when the shortcut key is held and released. There may be some values that continuously alternate between several values. If the value we are looking for is in there, which values it alternates between will change.

If you don't find it at that address, try
0x0003ac14 and then 0x0003ac10

edit:
You should be looking at the "DWORD" value.
Don't forget what the H stands for.

Re: Can't enter in alt mode using Canon g15
« Reply #6 on: 08 / January / 2017, 23:29:06 »
Yup, I noticed that.  I tried the options but they seem a bit jumpy. Are there any older builds for G15 that are ok?
I took a look at G15 builds all the way back to CHDK 1.1.0 (years ago) when the G15 was first added.  They all use the Playback key to enter <ALT>. 

The user defined ALT key choices are restricted to keys that are actually defined in the early versions - but they don't include the PRINT/SHORTCUT key.

In any case, you really don't want to start using older versions like that! It's much better to do the tests reyalp requested so that the current (greatest) stuff will work properly.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: Can't enter in alt mode using Canon g15
« Reply #7 on: 09 / January / 2017, 12:36:56 »
How can I change the alt mode but to Shortcut?
CHDK 1.4.1 Rev 4742 12/1/2016 04:48:24  G15 100e
rtfm link > CHDK Manual : CHDK Configuration Menu : <ALT> Mode Button

Options are :  "Shrtcut", "Video", "Meter", "AE Lock", "Erase"

edit : CAM_ALT_BUTTON_NAMES and keymap definitions in platform_camera.h are somewhat borked.
As I mentioned earlier, the shortcut button isn't identified, and actually maps to the playback key on this port  >:(

@teallman:
If you are willing to help, we can identify the actual key.

Go to

Miscellaneous Stuff->Tools->Memory Browser and set the address to 0x0003ac0c

Use left and right to change the address, and the zoom keys to change the increment

Look for any difference in the display value when the shortcut key is held and released. There may be some values that continuously alternate between several values. If the value we are looking for is in there, which values it alternates between will change.

If you don't find it at that address, try
0x0003ac14 and then 0x0003ac10

edit:
You should be looking at the "DWORD" value.

Ok, at the address 0x0003ac10 Shortcut key toggles between 0x00800000 (not pressed) and 0x00000000 (pressed).  No change at the other addresses.


Re: Can't enter in alt mode using Canon g15
« Reply #8 on: 09 / January / 2017, 13:11:53 »
Ok, at the address 0x0003ac10 Shortcut key toggles between 0x00800000 (not pressed) and 0x00000000 (pressed).  No change at the other addresses.
Can you repeat the process for the AF frame selector / Erase button? That seems to be missing from the keymap too.

TIA

Ported :   A1200    SD940   G10    Powershot N    G16

Re: Can't enter in alt mode using Canon g15
« Reply #9 on: 09 / January / 2017, 13:53:32 »
Can you repeat the process for the AF frame selector / Erase button? That seems to be missing from the keymap too.

0x0003ac0c = 0x01fffffc (not pressed) 0x01fefffc (pressed)
0x0003ac10 no change
0x0003ac14 no change


 

Related Topics