SD 4000 IS / IXUS 300 HS / IXY 30S porting thread - page 11 - DryOS Development - CHDK Forum

SD 4000 IS / IXUS 300 HS / IXY 30S porting thread

  • 322 Replies
  • 191302 Views
*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #100 on: 01 / October / 2010, 19:00:19 »
Advertisements
Beta v4


Source: github commit
Download: first Post

Warning: all Betas are compiled with enabled Native Function Calls (OPT_LUA_CALL_NATIVE). Use at your own risk!
« Last Edit: 01 / October / 2010, 19:14:28 by pixeldoc2000 »

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #101 on: 03 / October / 2010, 13:11:36 »
3. The shoot command does not take a picture.  It will focus and beep, but then the script stops executing at that point (though you can still interrupt the script by pressing the shutter button).
[...]
I never tested bas yet... put it on my ToDo List.

I'm new to CHDK and just did my first steps with beta3 and beta4 of the IXUS300HS build. I've run into the same problems as brent5000, especially the shoot-command. It works neither in uBASIC nor in LUA. I've used a workaround and replaced shoot with something like

   press "shoot_half"
   press "shoot_full"
   release "shoot_full"
   release "shoot_half"

which seems to work in the most scripts I tried.

I will let you know if I run into any other problems while testing. Thanks a lot for the work you guys do ...

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #102 on: 04 / October / 2010, 17:03:21 »
Another thing I noticed when playing around with BAS-scripts: wheel_left and wheel_right seem to trigger two events instead of one. When camera is in P-mode, this script should adjust exposure by +1/3, but in fact it adds +2/3 ...

press "up"
release "up"
wheel_right
press "down"
release "down"
end

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #103 on: 05 / October / 2010, 20:16:48 »
I'm new to CHDK and just did my first steps with beta3 and beta4 of the IXUS300HS build. I've run into the same problems as brent5000, especially the shoot-command. It works neither in uBASIC nor in LUA. I've used a workaround and replaced shoot with something like

   press "shoot_half"
   press "shoot_full"
   release "shoot_full"
   release "shoot_half"

which seems to work in the most scripts I tried.

I will let you know if I run into any other problems while testing. Thanks a lot for the work you guys do ...
Actually this make sense... KEY_SHOOT_FULL was wrong:
Code: (c) [Select]
static KeyMap keymap[] = {
   ...
    //{ 0, KEY_SHOOT_FULL , 0x00000800 },  // WRONG
    { 0, KEY_SHOOT_FULL , 0x00000900 },   // 0x00000800(KEY_SHOOT_FULL) + 0x00000100 (KEY_SHOOT_HALF)
    { 0, 0, 0 }
    ...
};
KEY_SHOOT_FULL = 0x00000800 (KEY_SHOOT_FULL bit) + 0x00000100 (KEY_SHOOT_HALF bit) = 0x00000900

Another thing I noticed when playing around with BAS-scripts: wheel_left and wheel_right seem to trigger two events instead of one. When camera is in P-mode, this script should adjust exposure by +1/3, but in fact it adds +2/3 ...

press "up"
release "up"
wheel_right
press "down"
release "down"
end

I'm going to test this too...
« Last Edit: 05 / October / 2010, 20:41:34 by pixeldoc2000 »


*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #104 on: 05 / October / 2010, 20:32:50 »
Beta v5

  • fixed KEY_SHOOT_FULL

Source: github commit
Download: first Post

Warning: all Betas are compiled with enabled Native Function Calls (OPT_LUA_CALL_NATIVE). Use at your own risk!

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #105 on: 08 / October / 2010, 14:36:58 »
Pardon my ignorance, but I don't get it to work on my HS 300. I downloaded the beta 5 files and copied them on my sd card but I can't seem to find a "Update Firmware" in the menu. Help appreciated, thanks!

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #106 on: 09 / October / 2010, 07:04:41 »
Pardon my ignorance, but I don't get it to work on my HS 300. I downloaded the beta 5 files and copied them on my sd card but I can't seem to find a "Update Firmware" in the menu. Help appreciated, thanks!
It took me a while to figure it out too ... here's how I load CHDK (unzipped files from the link in the first post of this thread in the "CHDK" directory of the SD card):

1. Take the camera, switched off, press the button with the small blue triangle to turn it on and get into "Play Mode"
2. Press Menu
3. Rotate the jog wheel until the very last entry in the menu, which should be "Firm Update ..."
4. Select by pushing right, confirm with "OK"
5. The camera seems to restart but after 1-2 seconds, the CHDK splash screen will appear

To get to the CHDK menu you have to switch to ALT-Mode by pressing left and up simultaniously (takes a little bit of practice) and then press "Menu". Alternatively you can go to "record mode" by pressing the release button half way and then go to ALT-Mode in the same way ...

Hope that helped.

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #107 on: 09 / October / 2010, 08:37:39 »
It worked! Thank you very much!


*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #108 on: 17 / October / 2010, 03:46:33 »
pixeldoc, do your ISO override work with flash enabled or crashed the cam like in sx210?

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #109 on: 17 / October / 2010, 05:53:22 »
Beta v5

  • fixed KEY_SHOOT_FULL

Hi,
I'm using Beta v5 but the shoot command still doesn't work for me, while the combination of shoot_half / shoot_full which Carstor suggested does.
It's 100% reproducible with the following little script:

do
  wait_click
  if is_key "down" then
    print "shoot"
    shoot
  endif
  if is_key "up" then
    print "shoot_half shoot_full"
    press "shoot_half"
    press "shoot_full"
    release "shoot_full"
    release "shoot_half"
  endif
until is_key "set"
end

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal