Chdk for SX130 IS ? - page 104 - CHDK Releases - CHDK Forum supplierdeeply

Chdk for SX130 IS ?

  • 1095 Replies
  • 368176 Views
*

Offline srsa_4c

  • ******
  • 4450
Re: Chdk for SX130 IS ?
« Reply #1030 on: 03 / September / 2012, 13:50:31 »
Advertisements
i am using the trunk 755 of the DE version
That's more than a year old...
Quote
(i probably should try using the latest ver)
Yes.

Re: Chdk for SX130 IS ?
« Reply #1031 on: 04 / September / 2012, 08:53:48 »
thank you srsa, you just gave me incentive to switch to the latest version. will get back with results in a few days.

Re: Chdk for SX130 IS ?
« Reply #1032 on: 08 / September / 2012, 08:24:45 »
Hi guys.

First of all, thanks for all these fantastic works ! CHDK is the best for me :D

I just have download the sx130is-101f-1.1.0-2133-full_BETA.zip and install it on a fresh partitionned SD (8G, 2 partitions FAT16 + FAT32). But when I try to load a script I have the error : "fail to load fselect.flt: file not found". Any idea ?

Thanks in advance and sorry for my bad english  :haha

Jerf

*

Offline srsa_4c

  • ******
  • 4450
Re: Chdk for SX130 IS ?
« Reply #1033 on: 08 / September / 2012, 08:33:08 »
But when I try to load a script I have the error : "fail to load fselect.flt: file not found". Any idea ?
You need to extract the content of the zip file to the big partition too.


Re: Chdk for SX130 IS ?
« Reply #1034 on: 08 / September / 2012, 09:48:55 »
You need to extract the content of the zip file to the big partition too.

Work like a charm, thanks srsa_4c

Re: Chdk for SX130 IS ?
« Reply #1035 on: 15 / September / 2012, 21:21:56 »
Can't we have something like this?

Hi all,

first I have to say, you all of you have done a great job.  ::)
When I bought my SX200, there was nothing but the firmware dump,
and now most functions are working well.

In the meantime I've been on holidays and took a lot of pictures
- most of them in "W"(ide) 16:9 format, because I use a 16:9 widescreen-tv and 16:9 computer-monitor for viewing.
When it came I had to take pictures _not_ in landscape, I changed the picture-resolution to "M1" 3:4,
so that the format is not too much stretched. After these portrait shots, i had to switch back to "W".

I thought "A little bit annoying, as CHDK could do this for me, when CHDK becomes available for SX200IS"

And here is my attempt in solving this problem for me:

In the Menu "Extra Photo Operations" I added an option "override wide-portrait" with choices "Don't, M1, M2, M3, S, Postcard".

How it works:
Select "W"(ide) format in the canon menu, select for instance "M1" as "override wide-portrait".
As long as You take pictures in landscape (horizontal orientation) there is no change, but when you turn the camera 90 degrees
the override will - if anything choosen but "Don't" - change the picture format to the one you have selected in the moment you press the shutter (not in preview).

After some shots in various camera orientations, go to review mode and check the picture formats ...

Attached you find a compiled version and the patch.diff to the current trunk 816, if you want to build it yourself...


Can you make it also for the SX1?

http://chdk.setepontos.com/index.php/topic,3410.msg41684.html#msg41684

Smartkiller
I have made it self.
It should be added just one line in include/camera.h at the SX1 part.
And the diff from the patch.

Code: [Select]
after #define CAM_HAS_VARIABLE_ASPECT 1
add this: #define W_PORTRAIT_OVERRIDE 1

Smartkiller

Re: Chdk for SX130 IS ?
« Reply #1036 on: 22 / September / 2012, 07:01:03 »
i am using the trunk 755 of the DE version
That's more than a year old...
Quote
(i probably should try using the latest ver)
Yes.

ok....
tried it with the latest version of CHDK- 2125 without the preview using CHDK GUI wich ran from the latest version of CHDK SHell. and the problem is still present the camera shuts down as soon as there is a click or a press('set') in the video mode, also if there is a zoom in the video mode.
i can also report that the same thing happens on the SX 150 is

i was meaning to post this problem on the ptp thread but there is such a beatuifull discussion going on on remote capture (not that i understand all of it ) but i would really hate to interrupt it and as i have been living with it for a year i did not feel like butting in. since i had already posted the problem here on the SX 130 thread i am posting a follow up to note that the problem is still present in the current version and is not only in SX 130 but is present for SX 150 also (both seem almost the same - small upgrades )

*

Offline srsa_4c

  • ******
  • 4450
Re: Chdk for SX130 IS ?
« Reply #1037 on: 22 / September / 2012, 08:12:28 »
tried it with the latest version of CHDK- 2125 without the preview using CHDK GUI wich ran from the latest version of CHDK SHell. and the problem is still present the camera shuts down as soon as there is a click or a press('set') in the video mode, also if there is a zoom in the video mode.
i can also report that the same thing happens on the SX 150 is
Since you seem to be able to compile CHDK yourself, I'd like to ask the following:
Build a version for both of your cameras (sx130, sx150), and retain core/main.dump inside the CHDK source tree for both of those builds (place it into the zip beside the CHDK files for example, so you don't lose it). Install this build on the camera, make it crash, then create a romlog. When done, upload the log with the respective main.dump (do it for both cameras). If there are separate crash reasons (the set button and the zooming issue may not be connected), repeat the process. Which method are you using to zoom?

Another idea:
Make some test scripts, which contain the mentioned keypress simulations. Execute those scripts manually, on camera, without ptp. Repeat this test with ptp connected, switched to record mode, but executing the scripts on camera, not via ptp.

About mode switching: after you connect via ptp, can you try to switch into rec mode, back into play mode, then back again to rec mode? Does this have any influence on the button press issue?


Re: Chdk for SX130 IS ?
« Reply #1038 on: 23 / September / 2012, 09:47:48 »
tried it with the latest version of CHDK- 2125 without the preview using CHDK GUI wich ran from the latest version of CHDK SHell. and the problem is still present the camera shuts down as soon as there is a click or a press('set') in the video mode, also if there is a zoom in the video mode.
i can also report that the same thing happens on the SX 150 is
Since you seem to be able to compile CHDK yourself, I'd like to ask the following:
Build a version for both of your cameras (sx130, sx150), and retain core/main.dump inside the CHDK source tree for both of those builds (place it into the zip beside the CHDK files for example, so you don't lose it). Install this build on the camera, make it crash, then create a romlog. When done, upload the log with the respective main.dump (do it for both cameras). If there are separate crash reasons (the set button and the zooming issue may not be connected), repeat the process. Which method are you using to zoom?

Another idea:
Make some test scripts, which contain the mentioned keypress simulations. Execute those scripts manually, on camera, without ptp. Repeat this test with ptp connected, switched to record mode, but executing the scripts on camera, not via ptp.

About mode switching: after you connect via ptp, can you try to switch into rec mode, back into play mode, then back again to rec mode? Does this have any influence on the button press issue?

running from a script on the camera...
Code: [Select]
(setvid.lua)
require('capmode').set('VIDEO_STD')
sleep (5000)
click("set")
crashed both SX 130 and SX 150
running the script while camera is connected via ptp crashes it too
so it must not be a ptp issue


similar script ....
Code: [Select]
require('capmode').set('VIDEO_STD')
sleep (5000)
click("left")
works as intended on both the cameras

tried (in the ptp console)...
Code: [Select]
mode 0
mode 1
lua require("capmode").set("VIDEO_STD")
mode 0
mode 1
lua require("capmode").set("VIDEO_STD")
lua press("set")
the camera immediately crashes

am using the setzoom in lua
in vb.net-         ExecuteScript("set_zoom(" & tValue & ") sleep(100) ")
which crahes the camera in VIDEO mode

however since you mentioned, tried
lua click('zoom_in')
and
lua click('zoom_out')
both work.

now about the core/main.dump .... can you please elaborate
i searched the whole chdk shell diretory and could not locate the main.dump




« Last Edit: 23 / September / 2012, 09:56:13 by ntstatic »

*

Offline srsa_4c

  • ******
  • 4450
Re: Chdk for SX130 IS ?
« Reply #1039 on: 23 / September / 2012, 10:11:05 »
@ntstatic
Thanks for doing these tests. Try to run one keypress (keypress only, no mode change) test on the cam manually, without ptp, after you switch it into video mode yourself (with the mode dial).

If you're using CHDK shell, look for the checkbox "ELF objdump", and read the tooltip text (I don't use it, so I had to see it myself).

I have a feeling that the problem is the mode setting done by the script.

 

Related Topics