Mode dials and Playback pushbuttons - page 16 - General Discussion and Assistance - CHDK Forum supplierdeeply

Mode dials and Playback pushbuttons

  • 201 Replies
  • 46191 Views
*

Offline reyalp

  • ******
  • 12111
Re: Mode dials and Playback pushbuttons
« Reply #150 on: 06 / December / 2009, 01:03:58 »
Advertisements
From the looks of it, this is likely something that is different from the capture mode setting ((there is likely both a capture mode setting that tells the camera what to do, and a dial position settingin that tells the camera which capture mode to select)
You have an SX10, right ? If so, can you test
- set up C mode with recognizable settings (e.g. M with a specific Tv and Av)
- set canon mode with one of the test scripts to 8225
- see if your C mode is loaded, and report the script output ? (the script may report a failure, but this just means that the set mode doesn't match the requested mode, which may be normal in this case) It will still tell you the final value of the prop.
Don't forget what the H stands for.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Mode dials and Playback pushbuttons
« Reply #151 on: 06 / December / 2009, 06:09:40 »
Seems to be. This is disturbing, I've been using mine as sig_ref_vxworks_3 and checking in the resulting .h file forever ;)

Generated .h file with the new one seems the same, so I guess most of the dump was ok.

If I'm not mistaken, that was the original blinked dump which was OK for porting but incomplete (3379984 bytes from the beginning of the complete dump).

*

Offline fe50

  • ******
  • 3105
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Mode dials and Playback pushbuttons
« Reply #152 on: 06 / December / 2009, 08:13:30 »
My test results...

ixus50_sd400 101b CHDK 0.9.9-858 Dec  6 2009 02:49:37 vxworks 0x310e
START                        |                    P   2     1 STL
TRY                 AUTO   1 |                 AUTO   1     3 STL  170ms OK
TRY                    P   2 |                    P   2     1 STL  180ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6     5 STL  170ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9    11 VID  550ms OK
TRY               STITCH  15 |               STITCH  15    10 STL  580ms OK
TRY            MY_COLORS  16 |            MY_COLORS  16     4 STL  310ms OK
TRY            SCN_WATER  17 |            SCN_WATER  17     6 STL  170ms OK
TRY            SCN_NIGHT  18 |            SCN_NIGHT  18     9 STL  180ms OK
TRY            SCN_CHILD  19 |            SCN_CHILD  19     8 STL  290ms OK
TRY            SCN_PARTY  20 |            SCN_PARTY  20     7 STL  260ms OK
TRY        DIGITAL_MACRO  37 |        DIGITAL_MACRO  37     0 STL  210ms OK
TRY                    P   2 |                    P   2     1 STL  230ms OK

ixus860_sd870 100c CHDK 0.9.9-858 Dec  6 2009 02:47:26 dryos 0x3160
START                        |          SCN_FOLIAGE  38 16402 STL
TRY                 AUTO   1 |                 AUTO   1 32768 STL  340ms OK
TRY                    P   2 |                    P   2 32772 STL  310ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6 16397 STL  320ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9  2597 VID  530ms OK
TRY        VIDEO_COMPACT  11 |        VIDEO_COMPACT  11  2599 VID  360ms OK
TRY      VIDEO_MY_COLORS  12 |      VIDEO_MY_COLORS  12  2596 VID  460ms OK
TRY   VIDEO_COLOR_ACCENT  13 |   VIDEO_COLOR_ACCENT  13  2595 VID  250ms OK
TRY               STITCH  15 |               STITCH  15 33290 STL  590ms OK
TRY            MY_COLORS  16 |            MY_COLORS  16 33307 STL  450ms OK
TRY            SCN_WATER  17 |            SCN_WATER  17 16406 STL  340ms OK
TRY             SCN_SNOW  22 |             SCN_SNOW  22 16403 STL  320ms OK
TRY            SCN_BEACH  23 |            SCN_BEACH  23 16404 STL  370ms OK
TRY         SCN_FIREWORK  24 |         SCN_FIREWORK  24 16405 STL  410ms OK
TRY         SCN_AQUARIUM  28 |         SCN_AQUARIUM  28 16407 STL  350ms OK
TRY         COLOR_ACCENT  29 |         COLOR_ACCENT  29 33306 STL  400ms OK
TRY        SCN_KIDS_PETS  33 |        SCN_KIDS_PETS  33 16400 STL  360ms OK
TRY       NIGHT_SNAPSHOT  36 |       NIGHT_SNAPSHOT  36 16395 STL  370ms OK
TRY        DIGITAL_MACRO  37 |        DIGITAL_MACRO  37 33288 STL  400ms OK
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16402 STL  420ms OK
TRY     VIDEO_TIME_LAPSE  39 |     VIDEO_TIME_LAPSE  39  2601 VID  610ms OK
TRY           SCN_INDOOR  40 |           SCN_INDOOR  40 16401 STL  580ms OK
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16402 STL  350ms OK

sx10 101a CHDK 0.9.9-858 Dec  6 2009 02:56:30 dryos 0x318d
START                        |                    P   2 32772 STL
TRY                 AUTO   1 |                 AUTO   1 32768 STL  420ms OK
TRY                    P   2 |                    P   2 32772 STL  410ms OK
TRY                   TV   3 |                   TV   3 32771 STL  500ms OK
TRY                   AV   4 |                   AV   4 32770 STL  500ms OK
TRY                    M   5 |                    M   5 32769 STL  700ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6 32781 STL  520ms OK
TRY            LANDSCAPE   8 |            LANDSCAPE   8 32780 STL  460ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9  2597 VID  820ms OK
TRY               STITCH  15 |               STITCH  15 33290 STL 1060ms OK
TRY            SCN_NIGHT  18 |            SCN_NIGHT  18 16398 STL  600ms OK
TRY             SCN_SNOW  22 |             SCN_SNOW  22 16404 STL  530ms OK
TRY            SCN_BEACH  23 |            SCN_BEACH  23 16405 STL  450ms OK
TRY         SCN_FIREWORK  24 |         SCN_FIREWORK  24 16406 STL  650ms OK
TRY     SCN_COLOR_ACCENT  25 |     SCN_COLOR_ACCENT  25 16923 STL  480ms OK
TRY       SCN_COLOR_SWAP  26 |       SCN_COLOR_SWAP  26 16924 STL  480ms OK
TRY         SCN_AQUARIUM  28 |         SCN_AQUARIUM  28 16408 STL  440ms OK
TRY         SCN_ISO_3200  31 |         SCN_ISO_3200  31 16413 STL  460ms OK
TRY       NIGHT_SNAPSHOT  36 |       NIGHT_SNAPSHOT  36 32779 STL  450ms OK
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16403 STL  430ms OK
TRY           SCN_INDOOR  40 |           SCN_INDOOR  40 16401 STL  460ms OK
TRY               SPORTS  53 |               SPORTS  53 33287 STL  940ms OK
TRY           SCN_SUNSET  55 |           SCN_SUNSET  55 16402 STL  860ms OK
TRY                    P   2 |                    P   2 32772 STL  450ms OK

*

Offline whim

  • ******
  • 2013
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Mode dials and Playback pushbuttons
« Reply #153 on: 06 / December / 2009, 09:17:26 »
@reyalp

re your #144:

a590-101b:

mode 32791 sets OK, lua testscript says "UNKNOWN' must be alternative AQUARIUM mode
                    though, it shows a striped fish with bubbles symbol (as shown in #148)

tested with ubasic testscript (prop mode):

mode 33288:   "ok prop 33288 mode 37 rec 1" -> shows a camera shake symbol (slow shutter ?)

mode 33306:   "ok prop 33306 mode 29 rec 1" -> just shows "A" auto symbol (?)


mode 2597:    "ok prop 2597 mode 9 rec 1" -> shows Video Compact symbol
                    (note that 'regular' Video Compact reports "prop 2601 mode 0 rec 1")

hth,

wim
« Last Edit: 06 / December / 2009, 09:37:03 by whim »


Re: Mode dials and Playback pushbuttons
« Reply #154 on: 06 / December / 2009, 10:11:27 »
You have an SX10, right ? If so, can you test
- set up C mode with recognizable settings (e.g. M with a specific Tv and Av)
- set canon mode with one of the test scripts to 8225
- see if your C mode is loaded, and report the script output ? (the script may report a failure, but this just means that the set mode doesn't match the requested mode, which may be normal in this case) It will still tell you the final value of the prop.
I think I did this right.  The mode did switch to C mode with the saved settings


TV 3 32771 STL
canon 32771->8225 OK
ERROR req 8225 got 32769
M 5 32769 STL
press a key
*** FINISHED ***

Re: Mode dials and Playback pushbuttons
« Reply #155 on: 06 / December / 2009, 10:18:15 »
mode 32791 sets OK, lua testscript says "UNKNOWN' must be alternative AQUARIUM mode
                    though, it shows a striped fish with bubbles symbol (as shown in #148)
The striped Anglefish like icon is usually UNDERWATER mode.

*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #156 on: 06 / December / 2009, 10:28:09 »
@reyap,
YES,
DIGITAL_MACRO (if it is that) worked before.
I tested it with set_capture_mode(37) but now with a590-101b-0.9.9-858, it doesn't switch to that mode anymore.

This worked before a590-101b-0.9.9-858:

// Change mode to Manual, then switch to macro
sleep(2000)
set_capture_mode(5)
print("done")
sleep(2000)
set_capture_mode(37)
print("macro")
sleep(3000)

// Focus now
sleep(3000)
press("shoot_half")
sleep(3000)
release("shoot_half")


Now it won't switch to macro and it won't focus in macro.
I found this very useful the way it worked before.

BTW, any way in from Lua to set both TV/AV and set focus to infinity with any of these?

Regarding the fish in the picture you posted, yes, that's the fish that I got. I am not sure what mode it is.





Re: Mode dials and Playback pushbuttons
« Reply #157 on: 06 / December / 2009, 11:07:19 »

a620
Can you check (using propcase viewer) if 640x480, 320x240 etc get different values in propcase 0 ?
No, they are the same.
The A620 only has standard video mode.

Quote
Also, the canon mode list (@FF98F378 in 100a)

I think you mean 100f, which starts at 0xFFC00000.

Quote
a460
According to canon, there should be a "super macro" mode that is not in the current CHDK mode list. If you can check the propcase value for that, it would be helpful.
Yes, it 33289.
That mode is selected with a right click from the 'Manual' icon in the SET menu.


Re: Mode dials and Playback pushbuttons
« Reply #158 on: 06 / December / 2009, 13:14:55 »
@reyap,
YES,
DIGITAL_MACRO (if it is that) worked before.
I tested it with set_capture_mode(37) but now with a590-101b-0.9.9-858, it doesn't switch to that mode anymore.
Try setting it directly with: set_capture_mode_canon(33288).  This still works with the SX10.
Also make sure that you have digital zoom enabled. On the SX10, digital macro needs it enabled to use the digital zoom.

Quote
Regarding the fish in the picture you posted, yes, that's the fish that I got. I am not sure what mode it is.
That icon is for UNDERWATER mode usually.

*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #159 on: 06 / December / 2009, 14:38:20 »
@barberofcivil, yes, set_capture_mode_canon(33288) does the
same macro thing as set_capture_mode(37). The only problem
is that in the test script it sets the cam out of Manual mode and
switches it to an unknown mode (gray box icon). Using
set_capture_mode(5) and set_capture_mode(37) the A590IS was
always in manual mode.

 

Related Topics