S100 porting thread - page 19 - DryOS Development - CHDK Forum

S100 porting thread

  • 286 Replies
  • 124265 Views
Re: S100 porting thread
« Reply #180 on: 17 / November / 2012, 17:56:32 »
Advertisements
Correct, the wheel  works correctly in the chdk menu but I cannot simule the whhel action with the basic command. ( Sorry i'm not familiar with lua)
Michel

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S100 porting thread
« Reply #181 on: 17 / November / 2012, 18:11:18 »
Correct, the wheel  works correctly in the chdk menu but I cannot simule the whhel action with the basic command. ( Sorry i'm not familiar with lua)
Michel

Attached is a test version for firmware 1.01b that should fix the problem.

Please try this and let me know.

Phil.

Edit: non-working attachment removed.

« Last Edit: 17 / November / 2012, 20:01:46 by philmoz »
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: S100 porting thread
« Reply #182 on: 17 / November / 2012, 19:09:17 »
I just tried with a small script to change iso with no positive result.
@title test config
click "set"
wheel_left
sleep 1000
wheel_left
sleep 1000
click "set"
sleep 1000
click "shoot_half"
get_iso_mode a
release "shoot_half"
sleep 1000
print "iso " ; a
end


the wheel is not changing. and consequently the iso is not changing.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S100 porting thread
« Reply #183 on: 17 / November / 2012, 20:01:12 »
I just tried with a small script to change iso with no positive result.
@title test config
click "set"
wheel_left
sleep 1000
wheel_left
sleep 1000
click "set"
sleep 1000
click "shoot_half"
get_iso_mode a
release "shoot_half"
sleep 1000
print "iso " ; a
end


the wheel is not changing. and consequently the iso is not changing.

Ok, please try this version.

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: S100 porting thread
« Reply #184 on: 18 / November / 2012, 16:46:47 »
Thanks,
I've tried with this new version.
the goods news come from the fact that wheel_left is active.
the bad news is that it works randomly. only 2 clicks were effective out of 3
maybe some problem with the speed of clicks.
I will test adding some delay
Michel

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S100 porting thread
« Reply #185 on: 19 / November / 2012, 06:55:14 »
Thanks,
I've tried with this new version.
the goods news come from the fact that wheel_left is active.
the bad news is that it works randomly. only 2 clicks were effective out of 3
maybe some problem with the speed of clicks.
I will test adding some delay
Michel

I suspect a short delay will be needed after using wheel_left and wheel_right to allow the system to process them.

Let me know how it goes.

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: S100 porting thread
« Reply #186 on: 20 / November / 2012, 18:02:45 »
I've have tested with different delays. It works and I can change drive mode. Thanks !
surprisingly sleep 250 is okay while sleep 1000 seems to miss command
what is you experience wrt "short" delay after such command ?
do all the click / wheel ... require the same delay
Michel

Re: S100 porting thread
« Reply #187 on: 20 / November / 2012, 21:41:07 »
surprisingly sleep 250 is okay while sleep 1000 seems to miss command
This actually makes sense.   Waiting 1/4 second is okay but waiting for a full second means you will miss some wheel clicks.

« Last Edit: 20 / November / 2012, 23:15:58 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: S100 porting thread
« Reply #188 on: 29 / November / 2012, 07:50:38 »
Does uBasic command 'set_focus'  work on this camera ?
« Last Edit: 29 / November / 2012, 14:08:58 by Microfunguy »

Re: S100 porting thread
« Reply #189 on: 05 / December / 2012, 19:33:23 »
Does any of the current work on CHDK for the S100 lend itself to forcing TTL flash in Manual metering mode? This is a *very* desirable feature for using the S100 in underwater strobe photography.

There is a script available for the S95 CHDK, but as the S100 has a different processor it won't work as-is.

 

Related Topics