Chdk for SX130 IS ? - page 61 - CHDK Releases - CHDK Forum

Chdk for SX130 IS ?

  • 1095 Replies
  • 408914 Views
Re: Chdk for SX130 IS ?
« Reply #600 on: 08 / June / 2011, 17:17:28 »
Advertisements
I just graduated to the SX130 and am considering chdk for it.
How do we know how much SX130 chdk is being used successfully- only this forum?
I used chdk for a long while with the S2 and a650 - NEVER a problem.
miniature mode is pretty neat, but chdk is still needed for versatile time lapse.
rb
 

*

Offline achillies

  • ***
  • 227
  • SX130IS
Re: Chdk for SX130 IS ?
« Reply #601 on: 09 / June / 2011, 14:46:45 »
@msl - Thank you for the Info.  I downloaded the latest trunks last night, and built new versions.

For everyone else - Here are new versions of CHDK for 1.01c and 1.01d cameras (both Intl and DE versions follow).
see this post for changes http://chdk.setepontos.com/index.php?topic=650.msg68231#msg68231

Here is the 1.01c  Intl version based on trunk 1201
Don't let the sands of time get in your lunch.

*

Offline achillies

  • ***
  • 227
  • SX130IS
Re: Chdk for SX130 IS ?
« Reply #602 on: 09 / June / 2011, 14:47:44 »
Here is the 1.01d  Intl version based on trunk 1201
Don't let the sands of time get in your lunch.

*

Offline achillies

  • ***
  • 227
  • SX130IS
Re: Chdk for SX130 IS ?
« Reply #603 on: 09 / June / 2011, 14:49:14 »
Here is the 1.01c  DE version based on trunk 682(DE)
Don't let the sands of time get in your lunch.


*

Offline achillies

  • ***
  • 227
  • SX130IS
Re: Chdk for SX130 IS ?
« Reply #604 on: 09 / June / 2011, 14:50:20 »
Here is the 1.01d DE version based on trunk 682(DE)
Don't let the sands of time get in your lunch.

Re: Chdk for SX130 IS ?
« Reply #605 on: 09 / June / 2011, 18:29:53 »
I'm browsing source code and I've found that in patch posted by quid at the very beginning of this port there is part:
Code: [Select]
+static KeyMap keymap[] = {
+ // Order IS important. kbd_get_pressed_key will walk down this table  
+ // and take the first matching mask. Notice that KEY_SHOOT_HALF is  
+ // always pressed if KEY_SHOOT_FULL is. --MarcusSt
+ //{ 0, KEY_FLASH     , 0x80000000 },
+ { 2, KEY_MENU      , 0x00002000 },
+ { 2, KEY_UP        , 0x00000100 },
+ { 2, KEY_DOWN      , 0x00000200 },
+ { 2, KEY_LEFT      , 0x00000800 },
+ { 2, KEY_RIGHT     , 0x00000400 },
+ { 2, KEY_SET       , 0x00001000 },
+ // { 1, KEY_FACE      , 0x10000000 },
+ { 1, KEY_PRINT     , 0x10000000 }, // Face -> Print
+ { 2, KEY_ERASE     , 0x00008000 },
+ { 2, KEY_DISPLAY   , 0x00004000 },
+ { 2, KEY_ZOOM_IN   , 0x00000010 },
+ { 2, KEY_ZOOM_OUT  , 0x00000020 },
+ { 2, KEY_SHOOT_FULL, 0x0000000C },
+ { 2, KEY_SHOOT_HALF, 0x00000004 },
+ { 0, 0, 0 }
+};

How the adresses of buttons can be found? Do I have disassemble the firmware or can I do this some way by memory browser? I like to find adresses of controll dial (wheel on the back) to add script command like:

Code: [Select]
is_key k "wheel_left"
is_key j "wheel_right"

I've found that in quid's patch there was Get_JogDial function defined and there was an adress 0xC0240104. Can I simple add this to the KeyMap as for example WHEEL and then add this to script.c?

Also I can see, that there is only one adress in Get_JogDial and get_jogdial_direction is needed to check, if the wheel turns left or right. How can/should I use this value to add check in script if the wheel is turning left or right?

And another idea:
-could I simple peek value from 0xC0240104 by lua? This would be even better, since no source-code changes I need.

EDIT

After a few experiments the lastest idea works nice. I'll post something more when it'll be ready.
« Last Edit: 09 / June / 2011, 19:17:08 by outslider »
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: Chdk for SX130 IS ?
« Reply #606 on: 10 / June / 2011, 05:14:23 »
I am from Indonesia, I sx130is canon camera firmware version 100B and I am still confused to download firmware CHDK firmware for the camera here because I was not here, someone would help me to find firmware CHDK for my camera? sorry if my english messy, I'm not too smart to speak the english language :(

Re: Chdk for SX130 IS ?
« Reply #607 on: 10 / June / 2011, 05:23:18 »
@Shock3minutes
Do you mean 1.00B? You need 1.01C version of oryginal firmware first. You should find this here: http://http//web.canon.jp/imaging/dcp/firm-e/pssx130is/index.html but the page seems to not working at the moment. Update process is well described on Canon web pages, read them very carefully and follow it. Once you'll have 1.01C you'll be able to run CHDK.
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Chdk for SX130 IS ?
« Reply #608 on: 10 / June / 2011, 05:33:49 »
@Shock3minutes
Do you mean 1.00B? You need 1.01C version of oryginal firmware first. You should find this here: http://http//web.canon.jp/imaging/dcp/firm-e/pssx130is/index.html but the page seems to not working at the moment. Update process is well described on Canon web pages, read them very carefully and follow it. Once you'll have 1.01C you'll be able to run CHDK.

Corrected link to Canon 1.01c firmware update for sx130is:
http://web.canon.jp/imaging/dcp/firm-e/pssx130is/index.html

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)

Re: Chdk for SX130 IS ?
« Reply #609 on: 10 / June / 2011, 05:51:31 »
@phil thx for u help :)

but how do I update the firmware from the site canon? can you tell me how to update the firmware  from the  web canon with step by step, I am confused if the site using English  canon  .....  please :(

 

Related Topics