Flash hot shoe - override the switch - page 3 - General Discussion and Assistance - CHDK Forum

Flash hot shoe - override the switch

  • 42 Replies
  • 18104 Views
*

Offline koshy

  • *****
  • 1096
Re: Flash hot shoe - override the switch
« Reply #20 on: 22 / September / 2014, 11:00:58 »
Advertisements
The g7 can also get support, but you'll have to determine the appropriate physw bit.

-- g7 100i physw_status = 0x105C0

Hot shoe empty:
C2008000:3f1f1719:00000001

With something that is not a flash in hot shoe:
C2048000:3f1f1719:00000001
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Flash hot shoe - override the switch
« Reply #21 on: 22 / September / 2014, 11:16:51 »
If you feel like it, you can test whether you can use the internal flash when the hot shoe is occupied and 'CHDK settings' -> 'Flash hot shoe occupied' is set to 'Off'.
This is to confirm that it does work when  'Flash hot shoe occupied' is set to 'Off' on the S5.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Flash hot shoe - override the switch
« Reply #22 on: 22 / September / 2014, 11:24:02 »
If you feel like it, you can test whether you can use the internal flash when the hot shoe is occupied and 'CHDK settings' -> 'Flash hot shoe occupied' is set to 'Off'.
I also tested the SX10 and it works, too.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: Flash hot shoe - override the switch
« Reply #23 on: 22 / September / 2014, 16:37:39 »
@koshy

Thanks for the tests. I'll add g7 support to the patch soon.

I have since compiled a list of subcpu models, looks like the sx20 might not be the only one where this patch doesn't work:
s2is, s80, s3is, tx1, sx1, sx20, g11, g12

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Flash hot shoe - override the switch
« Reply #24 on: 22 / September / 2014, 17:28:53 »
@koshy

Thanks for the tests. I'll add g7 support to the patch soon.

I have since compiled a list of subcpu models, looks like the sx20 might not be the only one where this patch doesn't work:
s2is, s80, s3is, tx1, sx1, sx20, g11, g12

G12 works correctly.

Code: [Select]
#define HOTSHOE_FLAG        0x01000000
#define HOTSHOE_IDX         2

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)

*

Offline srsa_4c

  • ******
  • 4451
Re: Flash hot shoe - override the switch
« Reply #25 on: 22 / September / 2014, 19:04:51 »
G12 works correctly.
Thanks for confirming.

Patch in first post updated with g7 and g12.

*

Offline koshy

  • *****
  • 1096
Re: Flash hot shoe - override the switch
« Reply #26 on: 22 / September / 2014, 19:31:26 »
s2is, s80, s3is, tx1,
These don't have a hot shoe to begin with...
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: Flash hot shoe - override the switch
« Reply #27 on: 23 / September / 2014, 13:44:10 »
s2is, s80, s3is, tx1,
These don't have a hot shoe to begin with...
I know. The listed cameras have the "A/SubCPU.bin" string in their firmware. I deliberately grayed those without a hot shoe. Can you test the patch on the g7?

*

Offline koshy

  • *****
  • 1096
Re: Flash hot shoe - override the switch
« Reply #28 on: 23 / September / 2014, 20:41:02 »
Can you test the patch on the g7?
Yes. I tested it and G7 also works correctly when  'Flash hot shoe occupied' is set to 'Off'.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: Flash hot shoe - override the switch
« Reply #29 on: 27 / September / 2014, 09:13:22 »
I tested it and G7 also works correctly when  'Flash hot shoe occupied' is set to 'Off'.
Thx for that too.

Since there are now a handful of tested cameras, should this feature be made official? I still think the menu entry could have a better wording, and perhaps the code could be improved some way, so suggestions are welcome.

Somebody with an sx20 could experiment with this, otherwise this override alone won't work on that model.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal