Adding new cameras, applying patches into trunk (with source code prepared) - page 109 - General Discussion and Assistance - CHDK Forum  

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1685 Replies
  • 838653 Views
*

Offline blackhole

  • *****
  • 945
  • A590IS 101b
    • Planetary astrophotography
Advertisements
Croatian language update,trunk and stable versions.

*

Offline nafraf

  • *****
  • 1308
a810/a1300,  a4000 patch to mute microphone if optical zoom is used during video recording.
(#define CAM_CAN_MUTE_MICROPHONE )

a810: Tested on 100b and 100d, addresses of TurnOffMic, TurnOnMic are the same for 100e, them patch was created for all fw versions.

a4000: Tested on 101b, addresses of TurnOffMic, TurnOnMic are the same for all firmware versions, then patch was created for all fw versions.

*

Offline philmoz

  • *****
  • 3450
    • Photos
a810/a1300,  a4000 patch to mute microphone if optical zoom is used during video recording.
(#define CAM_CAN_MUTE_MICROPHONE )

a810: Tested on 100b and 100d, addresses of TurnOffMic, TurnOnMic are the same for 100e, them patch was created for all fw versions.

a4000: Tested on 101b, addresses of TurnOffMic, TurnOnMic are the same for all firmware versions, then patch was created for all fw versions.

Added in revision 2699 (trunk) and 2700 (revision-1.1).

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 philmoz

  • *****
  • 3450
    • Photos
Croatian language update,trunk and stable versions.

Added in revision 2701 (trunk) and 2702 (revision-1.1).

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 c10ud

  • ***
  • 245
s100: remove todos in rear jogdial and use proper value in kbd's sleeptask

*

Offline srsa_4c

  • ******
  • 4451
I decided to improve the RAM dump feature which is in the CHDK core. I'd be grateful for any comments, critiques, suggestions.
Changes:
- the dump can be delayed by a few seconds (adjustable), can be useful for investigating halfshoot behaviour
- starting address and dump size can be specified
- doesn't try to dump when a movie is being recorded
- skips existing dump files (based on file name)
- new module for editing unsigned hexadecimal numbers, with decimal hint (not inline editor, I found that too complicated)



Pros:
- you can make smaller dumps, if you know what you need (exmem allocation testing for example)
- having to dump the whole RAM on cameras with higher specs (128 or 256MB of RAM) can be painful
- the delay can be useful sometimes
- can be used with small free RAM (no Lua overhead)

Cons:
- increases core size
- setting up for dumping the whole RAM is not obvious (new menu entry needed ?)
- a Lua script could do the same in many cases

*

Offline philmoz

  • *****
  • 3450
    • Photos
s100: remove todos in rear jogdial and use proper value in kbd's sleeptask

Added in revision 2705 (trunk) and 2706 (release-1.1).

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 nafraf

  • *****
  • 1308
a3200 100d and 100a: patch to mute microphone if optical zoom is used during video recording.
(#define CAM_CAN_MUTE_MICROPHONE), and MakeAFScan address fix.
Tested on a3200 100d by ricardo28. 


*

Offline philmoz

  • *****
  • 3450
    • Photos
Cons:
- increases core size
- setting up for dumping the whole RAM is not obvious (new menu entry needed ?)

Looks ok - core size increase is only ~600 bytes so no issue there.

Perhaps change the menu text slightly. I don't think you need 'RAM dump' in every line of text.
What about:
 - Start Address
 - Dump Size (0 = ALL RAM)
 - Dump delay (s)

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 philmoz

  • *****
  • 3450
    • Photos
a3200 100d and 100a: patch to mute microphone if optical zoom is used during video recording.
(#define CAM_CAN_MUTE_MICROPHONE), and MakeAFScan address fix.
Tested on a3200 100d by ricardo28. 


Added in revision 2707 (trunk) and 2708 (release-1.1).

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)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal