S95 Porting Thread - page 95 - DryOS Development - CHDK Forum supplierdeeply

S95 Porting Thread

  • 1015 Replies
  • 354594 Views
Re: S95 Porting Thread
« Reply #940 on: 02 / August / 2011, 08:31:59 »
Advertisements
I use my Canon S95 for UW photography (diving). The house I have for the camera does not allow access to the wheel on the back of the camera. I have discovered that if I hold down the PRINT key and press LEFT or RIGHT I can adjust exp comp. without using the wheel. When CHDK is active this does not work any more. It is difficult to press two keys at the same time when the camera is in the house anyway, and it would be much nicer if LEFT and RIGHT could simulate rotating the wheel when in ALT mode. I will see if I can figure out to make this work, but help is welcome :) Since I am new to CHDK it also do not know if I am the only person using CHDK for UW photography?

I have now modified CHDK so that my S95 works well for UW photography. Here are the changes I have made:

1. In ALT mode SET, LEFT and RIGHT adjust exp comp (When the camera is inside my Ikelite UW house the jog dial is not available).

2. In ALT mode UP, DOWN zoom in/out (In my Ikelite UW house the normal zoom  button does not work well)

3. In ALT mode pressing the shutter takes a picture as it does in normal mode. (Since I can not adjust exp comp and zoom in/out in ALT mode I will be taking a lot of pictures in this mode :)

4. When SHUTTER is half pressed the display is blank for a short while. (It is not easy to feel when the shutter is half pressed with gloves on and the camera inside a UW house therefore an instant visual clue is nice.)

While I have been working on these mods I have discovered a few possible bugs:

1. The function action_push_click(long key) in action_stack.c does not work. Modifying platform_camera.h by adding the line below makes it work:
#define CAM_KEY_CLICK_DELAY         10

2. When the jog dialis turned in ALT mode, exp comp is adjusted when you exit to NORMAL mode. To reproduce: Press PRINT, turn the JOG WHEEL and press PRINT again. On my camera EXP COMP is now adjusted one down or up.

I have been working on trunk1259.

/Sam

Re: S95 Porting Thread
« Reply #941 on: 07 / August / 2011, 01:37:22 »
On the S95/S90/G12 there are two wheels, but I only see reference to one jog wheel in the code. I'm guessing this is the rear dial, anyone working on getting the other one incorporated?

Re: S95 Porting Thread
« Reply #942 on: 12 / August / 2011, 04:58:27 »
Hi guys-
Props to everyone who's been working on this port, great work!
I've been eyeing this thread and the S95 for a while (I'm due for a new camera). I'm wondering if anyone has established the hardware limits of the S95 with CHDK (ISO min / max, shutter min / max etc). It'd be really helpful if these are known, and I'd appreciate it if someone could point me to this information. Unless I'm missing something, I feel like other people might be looking for it too.
In the meantime, keep up the great effort!
Thanks in advance!

Rafael

Re: S95 Porting Thread
« Reply #943 on: 23 / August / 2011, 14:12:23 »
Is it possible to gain control of aperture and shutter speed in video mode? I.e. av/tv overrides as in photo mode?
« Last Edit: 23 / August / 2011, 14:31:49 by curttard »


*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: S95 Porting Thread
« Reply #944 on: 23 / August / 2011, 14:46:23 »
Is it possible to gain control of aperture and shutter speed in video mode? I.e. av/tv overrides as in photo mode?
Maybe. Here you can read some experience about manual video control. In the manual video control thread you can find a script by fudgey that works fine for many cameras. Probably this script needs some changes for using with the S95.

msl
CHDK-DE:  CHDK-DE links

Re: S95 Porting Thread
« Reply #945 on: 23 / August / 2011, 19:11:33 »
Thanks! That led me to this thread which sounds promising: http://chdk.setepontos.com/index.php?topic=6113.msg61380#msg61380

 I can't get it to work myself because for some reason I can't get CHDK to enable the native LUA calls support. I've tried compiling with it enabled in CHDK-Shell and also by manually editing the buildconfs. On the SD card the buildconf.txt does show OPT_LUA_CALL_NATIVE=1, but when I run the tstcallf.lua test script, it says it's still not enabled (as does the video exposure control script itself).

Anyone get native calls working on s95?
« Last Edit: 24 / August / 2011, 00:31:50 by curttard »

*

Offline fe50

  • ******
  • 3152
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: S95 Porting Thread
« Reply #946 on: 24 / August / 2011, 01:08:32 »
Anyone get native calls working on s95?
In the dl packages from CHDKDE ( http://forum.chdk-treff.de/download.php ) native calls are enable by default ;)

Re: S95 Porting Thread
« Reply #947 on: 24 / August / 2011, 03:05:40 »
Thanks, just what I needed.


Re: S95 Porting Thread
« Reply #948 on: 24 / August / 2011, 15:29:09 »
Does the S95 not have the internal ND filter that the Elphs all seem to? Seems like an odd omission.

Re: S95 Porting Thread
« Reply #949 on: 25 / August / 2011, 03:00:35 »
The S95 has variable aperture, where the camera's with the ND filter don't.  The only cameras I've noticed with both are the new olympus xz-1 and fuji x100. It's usually one or the other.

I actually came here to report there is no reason to have to hold the on button to get to recording mode. I have the 100H firmware and I made this change in boot.c
Code: [Select]
void __attribute__((naked,noinline)) sub_FF810354_my()
{
    *(int*)0x1938 = (int)taskCreateHook;
    *(int*)0x193C = (int)taskCreateHook;

// s95 @FF864D68
// fix for correct power-on
// must also comment out function in taskcreate_Startup_my

//if ((*(int*) 0xC0220128) & 1) // look at play switch
// *(int*)(0x25E8) = 0x200000; // start in play mode
//else
*(int*)(0x25E8) = 0x100000; // start in rec mode
I wanted to just make it always startup in record mode, but guess what? holding the play button still turns the camera on to play mode just like in the stock firmware.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal