A495 porting thread - page 2 - DryOS Development - CHDK Forum

A495 porting thread

  • 346 Replies
  • 120789 Views
*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: A495 porting thread
« Reply #10 on: 22 / October / 2010, 01:21:23 »
Advertisements
@syahmixp

I suggest to use the same key mapping as on ewavr's A480 port...
Quote
press MODE key shortly for enter/exit <ALT mode>, press MODE key longer for the camera's original function
* http://chdk.wikia.com/wiki/A480#CHDK_specialities
* http://tools.assembla.com/chdk/browser/trunk/platform/a480

Re: A495 porting thread
« Reply #11 on: 23 / October / 2010, 14:49:40 »
I still cannot get ALT menu working. However, when I change core code, I can get it work. Menu will appear.

I mapped the PRINT key to zoom out button for now.

I set up a git repository so that anyone can help with porting this camera.
This is my repo: http://gitorious.org/canon-powershot-a495-chdk/canon-powershot-a495-chdk/trees/master

Re: A495 porting thread
« Reply #12 on: 24 / October / 2010, 09:08:11 »
Update:
Finally, I can get ALT mode working and can enter CHDK menu :)
I mapped the PRINT_KEY to FUNC/SET button and add some code to my_kbd_read_keys so that when pressing SET button on MENU, the SET button will function as SET button, not as PRINT key

Code: [Select]
    extern enum Gui_Mode gui_get_mode();
int i;

// We are in ALT or OSD mode
if (gui_get_mode() == GUI_MODE_ALT || gui_get_mode() == GUI_MODE_NONE || gui_get_mode() == GUI_MODE_OSD) {
// Enable ALT button
for (i=0;keymap[i].hackkey;i++){
if (keymap[i].hackkey == KEY_SET){
keymap[i].hackkey = KEY_PRINT;
}
}
} else {
// Disable ALT button so SET/FUNC button can be used normally
for (i=0;keymap[i].hackkey;i++){
if (keymap[i].hackkey == KEY_PRINT){
keymap[i].hackkey = KEY_SET;
}
}
}

Re: A495 porting thread
« Reply #13 on: 25 / October / 2010, 04:57:40 »
More Updates and Good News:
- CHDK port for this camera firmware is almost finish, I think (60%)
- Camera can save RAW and DNG file :)
- I also add Manual Focus when half press shoot button with zoom lever without entering ALT Mode! :D
- I will upload first BETA version soon ::)
« Last Edit: 25 / October / 2010, 05:26:59 by syahmixp »

Re: A495 porting thread
« Reply #14 on: 25 / October / 2010, 09:26:28 »
I'll be waiting for you to test your BETA!!!
How much time is it take to you to make this one?

Re: A495 porting thread
« Reply #15 on: 25 / October / 2010, 10:31:31 »
It's about one week I think, I am uploading it now :)

First Beta release for A495 100f: http://www.fileserve.com/file/QuNZNd2
Extract into the root of your sd card, and make sure your sd card is bootable.

Press PLAYBACK button to get into ALT Mode, Press longer to use original PLAYBACK key.
In ALT mode, you can press MENU to enter CHDK menu.
To exit ALT mode, just press PLAYBACK button again.

When executing the script, PLAYBACK button will be turn into DISPLAY key, you must interrupt the script first to exit ALT mode.

Manual Focus without ALT mode:
To manual focus, enter ALT mode and press UP. SD is Subject Distance, and you can change the value by using zoom lever. Leave this option on and leave ALT mode, now you can use zoom lever as manual focus. Todo, half-press shoot button and press zoom button to focus.

Camera will be crashed if Auto Focus still running. Make sure not to press zoom button when camera still AF.
« Last Edit: 25 / October / 2010, 11:46:38 by syahmixp »

Re: A495 porting thread
« Reply #16 on: 25 / October / 2010, 11:56:15 »
This Wednesday I'll try it.Thnx a lot.

Re: A495 porting thread
« Reply #17 on: 29 / October / 2010, 04:33:53 »
This is second beta: http://www.fileserve.com/file/wSEfekG
Should fix most problem

Re: A495 porting thread
« Reply #18 on: 29 / October / 2010, 08:16:44 »
This is second beta: http://www.fileserve.com/file/wSEfekG
Should fix most problem

I have a A490 camera.. I think that they're very similar. I can test it and maybe use your great work for the A490.

Re: A495 porting thread
« Reply #19 on: 29 / October / 2010, 11:19:12 »
This is second beta: http://www.fileserve.com/file/wSEfekG
Should fix most problem

Bracketing seem broken. It dos not Ev+/- .

When trying to make a badpixel.bin with the stock badpixel.lua the camera seem to hang.

otherwise looks fine. No crashes.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal