Author Topic: Ixus 40 / SD300 v1.00k - beta version available :)  (Read 19562 times)

Offline PhyrePhoX

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


Offline fishpepper

  • Rookie
  • *
  • Posts: 48
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #31 on: 10 / August / 2008, 22: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 ;)

Offline fishpepper

  • Rookie
  • *
  • Posts: 48
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #32 on: 10 / August / 2008, 22: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

  • Global Moderator
  • Guru Member
  • *****
  • Posts: 2254
  • make RAW not WAR
    • PhyreWorX
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #33 on: 10 / August / 2008, 22: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, 23:22:46 by PhyrePhoX »

Offline fishpepper

  • Rookie
  • *
  • Posts: 48
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #34 on: 10 / August / 2008, 23: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

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

Offline fishpepper

  • Rookie
  • *
  • Posts: 48
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #36 on: 14 / August / 2008, 15: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


Offline johnsto

  • Newbie
  • *
  • Posts: 2
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #37 on: 15 / August / 2008, 12: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, 13:02:01 by johnsto »

Offline fishpepper

  • Rookie
  • *
  • Posts: 48
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #38 on: 15 / August / 2008, 17: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
  1. diff dcraw.orig dcraw.c
  2. 6484a6485
  3. >     {  5298000, "Canon",    "Ixus 40", 0},
  4. 6735c6736,6744
  5. <   } else if (!strcmp(model,"PowerShot A460")) {
  6. ---
  7. >   } else if (!strcmp(model,"Ixus 40")) {
  8. >     height = 1720;
  9. >     width  = 2312;
  10. >     raw_height = 1728;
  11. >     raw_width  = 2400;
  12. >     top_margin  = 6;
  13. >     left_margin = 12;
  14. >     load_raw = &CLASS canon_a5_load_raw;
  15. >    } else if (!strcmp(model,"PowerShot A460")) {
  16.  
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

CHDK Forum

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

Offline johnsto

  • Newbie
  • *
  • Posts: 2
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #39 on: 15 / August / 2008, 17: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 :)

Offline riku

  • Newbie
  • *
  • Posts: 1
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #40 on: 15 / August / 2008, 18:57:55 »
really nice work!

im a totally newbie to chdk and waited long time for a release for sd300

- auto bracketing doesnt work as already described
- shutter speed works really fine!
- dcraw:
this release works fine for me w/o patching: Pukkita's Digital Darkroom Corner: Downloads
thanks for white balance parameters


Offline manwe

  • Rookie
  • *
  • Posts: 6
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #41 on: 28 / August / 2008, 15:55:46 »
Hi

Sorry, It may just be me being stupid, but I have loaded this on my IXUS 40, but now find that having taken some RAW images I can't read any of them.  I have tried a few of the program in the FAQ, but none of them pick up the CRW file as a RAW image!

What am I doing wrong?  Help!

Offline fe50

  • Guru Member
  • ******
  • Posts: 2602
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #42 on: 28 / August / 2008, 17:32:08 »
Hello & welcome manwe !

You should convert the RAWs with DNG2PS-2 into the DNG format (it's lossless & most programs can work with DNGs).

--> CHDK wikia: FAQ#I've shot some RAW pictures - How do I process them ?
--> CHDK wikia: DNG4PS-2
--> CHDK wikia: CHDK for Dummies - RAW

Offline cipher

  • Rookie
  • *
  • Posts: 6
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #43 on: 28 / August / 2008, 18:08:49 »
Hi!

I have the same problem. None of the programs referenced in the CHDK wikia can read or recognize the CRW files from the IXUS 40 as RAW images.
I only managed to convert them into tiffs with dcraw. But I'd like them to convert to DNG.
Can anyone help, please?

Cipher

Offline manwe

  • Rookie
  • *
  • Posts: 6
Re: Ixus 40 / SD300 v1.00k - beta version available :)
« Reply #44 on: 28 / August / 2008, 19:11:35 »
Yes, that the problem I'm having.  Have tried  DNGForPowerShot, DNG4PS-2, UFRaw, Picasa, Photoline and the Canon file viewer and either get nothing recognised at all (eg not showing in the list in DNG4PS-2) or a 'file format not recognised' error on the file itself.
« Last Edit: 28 / August / 2008, 21:14:09 by manwe »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal