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

Mode dials and Playback pushbuttons

  • 201 Replies
  • 94373 Views
*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #140 on: 05 / December / 2009, 18:29:04 »
Advertisements
a590 101b CHDK 0.9.9-856 Dec  4 2009 08:30:44 dryos 0x3176
START                        |                    P   2 32772 STL
TRY                 AUTO   1 |                 AUTO   1 32768 STL  320ms OK
TRY                    P   2 |                    P   2 32772 STL  270ms OK
TRY                   TV   3 |                   TV   3 32771 STL  330ms OK
TRY                   AV   4 |                   AV   4 32770 STL  280ms OK
TRY                    M   5 |                    M   5 32769 STL  440ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6 32781 STL  370ms OK
TRY            LANDSCAPE   8 |            LANDSCAPE   8 32780 STL  330ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9  2597 VID  800ms OK
TRY        VIDEO_COMPACT  11 |        VIDEO_COMPACT  11  2599 VID  490ms OK
TRY            MY_COLORS  16 |                    P   2 32772 STL  700ms CHANGE FAIL req  16 got   2
TRY            SCN_WATER  17 |            SCN_WATER  17 16402 STL  310ms OK
TRY             SCN_SNOW  22 |             SCN_SNOW  22 16404 STL  300ms OK
TRY            SCN_BEACH  23 |            SCN_BEACH  23 16405 STL  380ms OK
TRY         SCN_FIREWORK  24 |         SCN_FIREWORK  24 16406 STL  480ms OK
TRY         SCN_AQUARIUM  28 |         SCN_AQUARIUM  28 16408 STL  280ms OK
TRY         COLOR_ACCENT  29 |         COLOR_ACCENT  29 33306 STL  380ms OK
TRY        SCN_KIDS_PETS  33 |        SCN_KIDS_PETS  33 32784 STL  360ms OK
TRY               INDOOR  34 |               INDOOR  34 32785 STL  300ms OK
TRY       NIGHT_SNAPSHOT  36 |       NIGHT_SNAPSHOT  36 32779 STL  290ms OK
TRY        DIGITAL_MACRO  37 |        DIGITAL_MACRO  37 33288 STL  310ms OK
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16403 STL  310ms OK
TRY           SCN_INDOOR  40 |           SCN_INDOOR  40 16401 STL  340ms OK
TRY                    P   2 |                    P   2 32772 STL  320ms OK

*

Offline reyalp

  • ******
  • 14132
Re: Mode dials and Playback pushbuttons
« Reply #141 on: 05 / December / 2009, 19:09:19 »
Broken dump? In my a570 100e dump copy:
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.
Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 14132
Re: Mode dials and Playback pushbuttons
« Reply #142 on: 05 / December / 2009, 20:37:07 »
Thanks whim and divp for the a590 stuff. I've update a590 in changeset 858

Some things to follow up on:

The canon mode list (@FFEAED68 in 100e) has 32791, which I don't see in either whims test or divps log. Can one of you try setting this with the canon method (using set_capture_mode_canon or one of the setmode test scripts in single test mode canon mode). Note that you should check whether the actual mode set matches what you request (the scripts will report if it doesn't) Based on divps log, the camera appears to default to P mode for some invalid modes.

In divps log, the following appear to be set successfully even though they don't exist in the canon list
33306
2597 (note, this was listed as VIDEO_STD in the old mode map, but that is actually 2599 per whims test.)
33288
if you want to check those with set_capture_mode_canon and report what they actually do, that might be interesting.

According to the manual, there two settngs for 640x480: regular and LP (more compression, I guess).  Can someone check if LP mode uses the same canon mode number as regular ?

Also it might be worth checking modes in the 259x range on the off chance there is a working 30fps movie mode in there (I doubt it, but hey, worth a try.)
« Last Edit: 06 / December / 2009, 22:25:22 by reyalp »
Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 14132
Re: Mode dials and Playback pushbuttons
« Reply #143 on: 05 / December / 2009, 20:52:35 »
S3is extras set_capture_mode_canon
ewavr question using reyalp Ubasic options

with a=0, b= 8218
camera viewfinder showed
fail required 8218 got 32772  prop 32772, mode 2, rec 1
Do you have C mode configured on the s3 ?

From what I understand from the manual, C you save settings from a mode like M or P, and then when you select C mode, it goes to this mode and restores the settings. It's possible that setting one of the mode numbers ewavr mentioned invokes C mode, but the shooting propcase goes to the M/P number, not the C number. This is just a guess.
Don't forget what the H stands for.

*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #144 on: 05 / December / 2009, 23:20:57 »
The new mode map for the A590IS looks a little different with a590-101b-0.9.9-858,
can't find MY_COLORS, SCN_WATER, COLOR_ACCENT, DIGITAL_MACRO
but they show if I select batch: 1 = all.


a590 101b CHDK 0.9.9-858 Dec  6 2009 02:45:54 dryos 0x3176
START                        |                 PLAY   0 32768 PLY
SET RECORD                   |                 AUTO   1 32768 STL 1440ms sleep 47 OK
TRY                 AUTO   1 |                 AUTO   1 32768 STL  230ms OK
TRY                    P   2 |                    P   2 32772 STL  310ms OK
TRY                   TV   3 |                   TV   3 32771 STL  340ms OK
TRY                   AV   4 |                   AV   4 32770 STL  340ms OK
TRY                    M   5 |                    M   5 32769 STL  460ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6 32781 STL  340ms OK
TRY            LANDSCAPE   8 |            LANDSCAPE   8 32780 STL  300ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9  2599 VID  750ms OK
TRY        VIDEO_COMPACT  11 |        VIDEO_COMPACT  11  2601 VID  560ms OK
TRY            SCN_NIGHT  18 |            SCN_NIGHT  18 16398 STL  590ms OK
TRY             SCN_SNOW  22 |             SCN_SNOW  22 16404 STL  320ms OK
TRY            SCN_BEACH  23 |            SCN_BEACH  23 16405 STL  340ms OK
TRY         SCN_FIREWORK  24 |         SCN_FIREWORK  24 16406 STL  360ms OK
TRY         SCN_AQUARIUM  28 |         SCN_AQUARIUM  28 16408 STL  350ms OK
TRY               INDOOR  34 |               INDOOR  34 32785 STL  350ms OK
TRY            KIDS_PETS  35 |            KIDS_PETS  35 32784 STL  340ms OK
TRY       NIGHT_SNAPSHOT  36 |       NIGHT_SNAPSHOT  36 32779 STL  290ms OK
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16403 STL  300ms OK
TRY           SCN_SUNSET  55 |           SCN_SUNSET  55 16402 STL  280ms OK
TRY                 EASY  57 |                 EASY  57 33311 STL  300ms OK
TRY                 AUTO   1 |                 AUTO   1 32768 STL  300ms OK
SET PLAY                     |                 PLAY   0 32768 PLY   30ms sleep 1 OK


DIGITAL_MACRO worked before, I tested it with set_capture_mode(37) but now it doesn't seem to switch to that mode anymore.


*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #145 on: 05 / December / 2009, 23:23:26 »
Here is with batch: 1 = all, in case is needed.

a590 101b CHDK 0.9.9-858 Dec  6 2009 02:45:54 dryos 0x3176
START                        |                 AUTO   1 32768 STL
TRY                 AUTO   1 |                 AUTO   1 32768 STL  320ms OK
TRY                    P   2 |                    P   2 32772 STL  260ms OK
TRY                   TV   3 |                   TV   3 32771 STL  330ms OK
TRY                   AV   4 |                   AV   4 32770 STL  290ms OK
TRY                    M   5 |                    M   5 32769 STL  430ms OK
TRY             PORTRAIT   6 |             PORTRAIT   6 32781 STL  330ms OK
TRY                NIGHT   7 |             PORTRAIT   6 32781 STL    0ms SET   7 FAIL INVALID
TRY            LANDSCAPE   8 |            LANDSCAPE   8 32780 STL  340ms OK
TRY            VIDEO_STD   9 |            VIDEO_STD   9  2599 VID  730ms OK
TRY          VIDEO_SPEED  10 |            VIDEO_STD   9  2599 VID    0ms SET  10 FAIL INVALID
TRY        VIDEO_COMPACT  11 |        VIDEO_COMPACT  11  2601 VID  540ms OK
TRY      VIDEO_MY_COLORS  12 |        VIDEO_COMPACT  11  2601 VID    0ms SET  12 FAIL INVALID
TRY   VIDEO_COLOR_ACCENT  13 |        VIDEO_COMPACT  11  2601 VID    0ms SET  13 FAIL INVALID
TRY     VIDEO_COLOR_SWAP  14 |        VIDEO_COMPACT  11  2601 VID    0ms SET  14 FAIL INVALID
TRY               STITCH  15 |        VIDEO_COMPACT  11  2601 VID    0ms SET  15 FAIL INVALID
TRY            MY_COLORS  16 |        VIDEO_COMPACT  11  2601 VID    0ms SET  16 FAIL INVALID
TRY            SCN_WATER  17 |        VIDEO_COMPACT  11  2601 VID    0ms SET  17 FAIL INVALID
TRY            SCN_NIGHT  18 |            SCN_NIGHT  18 16398 STL  600ms OK
TRY            SCN_CHILD  19 |            SCN_NIGHT  18 16398 STL    0ms SET  19 FAIL INVALID
TRY            SCN_PARTY  20 |            SCN_NIGHT  18 16398 STL   10ms SET  20 FAIL INVALID
TRY            SCN_GRASS  21 |            SCN_NIGHT  18 16398 STL    0ms SET  21 FAIL INVALID
TRY             SCN_SNOW  22 |             SCN_SNOW  22 16404 STL  290ms OK
TRY            SCN_BEACH  23 |            SCN_BEACH  23 16405 STL  310ms OK
TRY         SCN_FIREWORK  24 |         SCN_FIREWORK  24 16406 STL  380ms OK
TRY     SCN_COLOR_ACCENT  25 |         SCN_FIREWORK  24 16406 STL    0ms SET  25 FAIL INVALID
TRY       SCN_COLOR_SWAP  26 |         SCN_FIREWORK  24 16406 STL    0ms SET  26 FAIL INVALID
TRY          VIDEO_HIRES  27 |         SCN_FIREWORK  24 16406 STL    0ms SET  27 FAIL INVALID
TRY         SCN_AQUARIUM  28 |         SCN_AQUARIUM  28 16408 STL  320ms OK
TRY         COLOR_ACCENT  29 |         SCN_AQUARIUM  28 16408 STL    0ms SET  29 FAIL INVALID
TRY           SCN_NIGHT1  30 |         SCN_AQUARIUM  28 16408 STL    0ms SET  30 FAIL INVALID
TRY         SCN_ISO_3200  31 |         SCN_AQUARIUM  28 16408 STL    0ms SET  31 FAIL INVALID
TRY            SCN_SPORT  32 |         SCN_AQUARIUM  28 16408 STL    0ms SET  32 FAIL INVALID
TRY        SCN_KIDS_PETS  33 |         SCN_AQUARIUM  28 16408 STL    0ms SET  33 FAIL INVALID
TRY               INDOOR  34 |               INDOOR  34 32785 STL  320ms OK
TRY            KIDS_PETS  35 |            KIDS_PETS  35 32784 STL  330ms OK
TRY       NIGHT_SNAPSHOT  36 |       NIGHT_SNAPSHOT  36 32779 STL  300ms OK
TRY        DIGITAL_MACRO  37 |       NIGHT_SNAPSHOT  36 32779 STL    0ms SET  37 FAIL INVALID
TRY          SCN_FOLIAGE  38 |          SCN_FOLIAGE  38 16403 STL  280ms OK
TRY     VIDEO_TIME_LAPSE  39 |          SCN_FOLIAGE  38 16403 STL    0ms SET  39 FAIL INVALID
TRY           SCN_INDOOR  40 |          SCN_FOLIAGE  38 16403 STL    0ms SET  40 FAIL INVALID
TRY         SCN_PORTRAIT  41 |          SCN_FOLIAGE  38 16403 STL    0ms SET  41 FAIL INVALID
TRY          SUPER_MACRO  42 |          SCN_FOLIAGE  38 16403 STL    0ms SET  42 FAIL INVALID
TRY       VIDEO_PORTRAIT  43 |          SCN_FOLIAGE  38 16403 STL    0ms SET  43 FAIL INVALID
TRY          VIDEO_NIGHT  44 |          SCN_FOLIAGE  38 16403 STL    0ms SET  44 FAIL INVALID
TRY         VIDEO_INDOOR  45 |          SCN_FOLIAGE  38 16403 STL    0ms SET  45 FAIL INVALID
TRY        VIDEO_FOLIAGE  46 |          SCN_FOLIAGE  38 16403 STL    0ms SET  46 FAIL INVALID
TRY           VIDEO_SNOW  47 |          SCN_FOLIAGE  38 16403 STL    0ms SET  47 FAIL INVALID
TRY          VIDEO_BEACH  48 |          SCN_FOLIAGE  38 16403 STL    0ms SET  48 FAIL INVALID
TRY       VIDEO_AQUARIUM  49 |          SCN_FOLIAGE  38 16403 STL    0ms SET  49 FAIL INVALID
TRY    VIDEO_SUPER_MACRO  50 |          SCN_FOLIAGE  38 16403 STL    0ms SET  50 FAIL INVALID
TRY         VIDEO_STITCH  51 |          SCN_FOLIAGE  38 16403 STL    0ms SET  51 FAIL INVALID
TRY         VIDEO_MANUAL  52 |          SCN_FOLIAGE  38 16403 STL    0ms SET  52 FAIL INVALID
TRY               SPORTS  53 |          SCN_FOLIAGE  38 16403 STL    0ms SET  53 FAIL INVALID
TRY                QUICK  54 |          SCN_FOLIAGE  38 16403 STL    0ms SET  54 FAIL INVALID
TRY           SCN_SUNSET  55 |           SCN_SUNSET  55 16402 STL  300ms OK
TRY       SCN_UNDERWATER  56 |           SCN_SUNSET  55 16402 STL    0ms SET  56 FAIL INVALID
TRY                 EASY  57 |                 EASY  57 33311 STL  320ms OK
TRY    SCN_DIGITAL_MACRO  58 |                 EASY  57 33311 STL    0ms SET  58 FAIL INVALID
TRY           SCN_STITCH  59 |                 EASY  57 33311 STL    0ms SET  59 FAIL INVALID
TRY                 AUTO   1 |                 AUTO   1 32768 STL  330ms OK

*

Offline reyalp

  • ******
  • 14132
Re: Mode dials and Playback pushbuttons
« Reply #146 on: 05 / December / 2009, 23:43:38 »
Microfunguy, thanks for those

a620
All the photo modes seem correct (WATER is under water). According to canon specs, there are several different video modes. Can you check (using propcase viewer) if 640x480, 320x240 etc get different values in propcase 0 ?

Also, the canon mode list (@FFD4A024 in 100f edit: corrected, address and version were wrong!) has
                DCD 0x10012
                DCD 0x10013
                DCD 0x10014
                DCD 0x10015
                DCD 0x20016
but does not include 18, which is MODE_VIDEO_STD in the current modemap. Its possible that the original list was made treating the mode value as a short, which would make 0x10012 18. Scripts are not currently able to correct get or set canon modes that have a value bigger than a short.

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.

edit:
also, the following modes are in the canon list, and do not correspond to any known modes
32774 (maybe mycolors on ixus60/ixus65)
33289 (super macro in tx1 modemap)
33290 (stitch on many, according to canon specs, a460 doesn't have stitch)
« Last Edit: 06 / December / 2009, 23:00:08 by reyalp »
Don't forget what the H stands for.

*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #147 on: 06 / December / 2009, 00:05:02 »
@reyalp, here we go:

// With this one I get a small fish icon, normally the fish is big, a shark,  so this is something new
sleep(2000)
set_capture_mode_canon(32791)
print("done 32791")
sleep(2000)

sleep(3000)
press("shoot_half")
sleep(3000)
press("shoot_full")
release("shoot_half")


// With this one I get the AUTO icon
sleep(2000)
set_capture_mode_canon(33306)
print("done 33306")
sleep(2000)

sleep(3000)
press("shoot_half")
sleep(3000)
press("shoot_full")
release("shoot_half")



// With this one I get an empty gray box icon. I'm not sure what it is, could be "Easy", or the new one I post about before.
sleep(2000)
set_capture_mode_canon(33288)
print("done 33288")
sleep(2000)

sleep(3000)
press("shoot_half")
sleep(3000)
press("shoot_full")
release("shoot_half")



*

Offline reyalp

  • ******
  • 14132
Re: Mode dials and Playback pushbuttons
« Reply #148 on: 06 / December / 2009, 00:07:33 »
Here is with batch: 1 = all, in case is needed.
NO, as I posted earlier in this thread, and the instructions for this script, it is not needed. It only tests that the script notices errors, it cannot actually test the additional modes, because these are the modes for which no canon value is known.
The new mode map for the A590IS looks a little different with a590-101b-0.9.9-858,
can't find MY_COLORS, SCN_WATER, COLOR_ACCENT, DIGITAL_MACRO
but they show if I select batch: 1 = all.
...

DIGITAL_MACRO worked before, I tested it with set_capture_mode(37) but now it doesn't seem to switch to that mode anymore.
Correct. set_capture_mode only works with modes that are in the modemap, and according to http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&tabact=ModelTechSpecsTabAct&fcategoryid=221&modelid=16336 there is no digital macro on a590. The old canon value of digital macro was 33288. If you can verify that this works correctly as "digital macro", we can add it back.

SCN_WATER was misnamed in the old version, it actually referred to sunset mode. The same mode still exists, it just has the correct name now. There is no under water mode on this camera. Color accent is also not in the canon specs. The old canon value for this mode was 33306, but it does not appear in the canon mode list in ROM.

Keep in mind that all the names you saw in the first script log were just names in the CHDK mode map, which were wrongly copy/pasted from some other camera. Even though some mode was set with that number, it doesn't mean that it had anything to do with the name, or that it really worked. In the log, the canon mode value used for a given mode (if the change succeeded) is the number just before VID or STL. You can pass this to set_capture_mode_canon() if you want to use any of those modes, whatever they actually were.

edit:
does the fish look like this
?
Also, try 2597 (and maybe 2591, 2592 etc)
« Last Edit: 06 / December / 2009, 00:23:58 by reyalp »
Don't forget what the H stands for.

Re: Mode dials and Playback pushbuttons
« Reply #149 on: 06 / December / 2009, 00:53:55 »
S3is extras set_capture_mode_canon
ewavr question using reyalp Ubasic options

with a=0, b= 8218
camera viewfinder showed
fail required 8218 got 32772  prop 32772, mode 2, rec 1
Do you have C mode configured on the s3 ?

From what I understand from the manual, C you save settings from a mode like M or P, and then when you select C mode, it goes to this mode and restores the settings. It's possible that setting one of the mode numbers ewavr mentioned invokes C mode, but the shooting propcase goes to the M/P number, not the C number. This is just a guess.

Yes, this is the way I understand C mode to work as far as my experience with it.  It isn't a real mode in itself, but rather saves a reference to another mode and some particular settings.  However, as it does exist as a mode on some camera dials, there should be something that tells the camera that this position has been selected on the dial (i.e., the dial has been turned to the C position).  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)

 

Related Topics


SimplePortal © 2008-2014, SimplePortal