Ixus 40 / SD300 v1.00k - beta version available :) - page 4 - General Discussion and Assistance - CHDK Forum  

Ixus 40 / SD300 v1.00k - beta version available :)

  • 102 Replies
  • 60282 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #30 on: 10 / August / 2008, 13:28:30 »
Advertisements
oops, forgot to increase memisosize :D


Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #31 on: 10 / August / 2008, 13:38:44 »
Ok this is booting :)

Tested your build:
- kbd works, can browse the chdk menu
- scripts dont work as expected (because of your  script_start removal i assume)
- raw saving works (i didn't look at the output but the blue led flashes -> it's writing)

I didn't test more on your build ;)

Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #32 on: 10 / August / 2008, 13:39:40 »
i am just curious: why did you remove the script_start from my kbd stuff and kept all the other stuff ?
Just random removal or was there a reason ? *g*

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #33 on: 10 / August / 2008, 13:41:31 »
okay, i can add your cam to the trunk. however i also want to add it to the branch. so how do we solve this start_script conflict? it's a little weird, on all other cams this cannot be found in kbd.c. hm, maybe i can figure it out, however i dont have the cam at hand to test ^^
btw here you can see some of the stuff we do in the collabobranch: CHDK/MoreBest - CHDK Wiki

edit: well i just commented it out so that it was compiling :)
uncommenting it will lead to an error @ compiling :)

edit: added to trunk. please test the autobuild off of grands server. and maybe we can also add it to collabobuild, maybe you can figure out how :)
« Last Edit: 10 / August / 2008, 14:22:46 by PhyrePhoX »


Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #34 on: 10 / August / 2008, 14:20:54 »
>uncommenting it will lead to an error @ compiling
Just in your branch ?
I dont get any warnings or errors when i compile it (trunk, using linux)

Ok i will have a look at the collabo branch tomorrow :)

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #35 on: 13 / August / 2008, 20:39:38 »
added to collabo build 0.3.2 :)
please test if it is working okay.

Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #36 on: 14 / August / 2008, 06:18:00 »
Hi!

Its working :)

I spent some time trying to get all the changes from core/kbd.c kbd_process included in the copy in the platform kbd.c.
In the end i gave up... This function is a mess in juciphox *g* (sorry)
I was not able to get a version that doesnt hang the camera. So i stayed with the trunk code.
Side effects:
- lua scripts will not work (i guess)
- scriptless remote will not work
- this ricoh something will not work (no idea what that is)

Normal scripts work fine (tried fudgeys md detect bas).


General bugs found (in trunk and juciphox):
- zoom in video doesnt work yet
- raw filenames sometimes not equal to jpg. i think the memloc i use for fileid is wrong


Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #37 on: 15 / August / 2008, 03:58:29 »
Few issues with build #481 on my SD300:
- Auto bracketing in continuous mode causes the camera to white-screen/crash and turn off (without retracting the lense) after the first shot is taken.
- Setting the shutter speed has no effect.
- RAW appear to have corrupt headers (according to dcraw)

Of course, it's fantastic otherwise :)
« Last Edit: 15 / August / 2008, 04:02:01 by johnsto »


Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #38 on: 15 / August / 2008, 08:23:02 »
Hi!

-auto bracketing: i don't know, haven't tested that
-shutter speed: i tested it with the build i attached to this post. it works. set it to 1/100000 and take a shot without flash -> dark! (put the cam in manual mode maybe)
- raw: you need a patch for dcraw to recognize the file:
Code: (diff) [Select]
diff dcraw.orig dcraw.c
6484a6485
>     {  5298000, "Canon",    "Ixus 40", 0},
6735c6736,6744
<   } else if (!strcmp(model,"PowerShot A460")) {
---
>   } else if (!strcmp(model,"Ixus 40")) {
>     height = 1720;
>     width  = 2312;
>     raw_height = 1728;
>     raw_width  = 2400;
>     top_margin  = 6;
>     left_margin = 12;
>     load_raw = &CLASS canon_a5_load_raw;
>    } else if (!strcmp(model,"PowerShot A460")) {
And for me this gives somewhat usable results:
dcraw  -k 58  -v -r 1.610551 0.986053 1.876544 0.986053 file.crw
(found by try n error.

ok some news:
- i removed the kbd_process_copy() from kbd routines and replaced it by using Take/GiveSemaphore & a Semaphore
- still using a second task to grab the semaphore, update kbd_process() retval and return action to main kbd task
-> this allows to use the full kbd_process() code from juciphox -> scriptless remote works! (this other remote stuff should work as well)
-> lua should work now as well

- i started codeing the movie_rec.c part but i gave up in between, changes are in the diff but i didn't find all the functions needed for zoom etc :(

@phyrephox:
please merge this diff into juciphox and also into trunk (should work)

I attach the diff and the binaries to this post

Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #39 on: 15 / August / 2008, 08:35:37 »
Thanks for the diff and binaries, will try them when I can!

-shutter speed: i tested it with the build i attached to this post. it works. set it to 1/100000 and take a shot without flash -> dark! (put the cam in manual mode maybe)

Think switching into manual mode fixed it. Sure I tried auto and manual but oh well, it works. Thanks for the tip :)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal