the sx20 porting thread - page 119 - General Discussion and Assistance - CHDK Forum

the sx20 porting thread

  • 1286 Replies
  • 471702 Views
Re: the sx20 porting thread
« Reply #1180 on: 24 / February / 2011, 22:48:54 »
Advertisements
edit here: please see next post
« Last Edit: 25 / February / 2011, 09:12:15 by bdasmith »
sx20is 1.02d

Re: the sx20 porting thread
« Reply #1181 on: 24 / February / 2011, 23:00:08 »
Bernd R

your changed mint.lua worked perfectly fine with the build i made using chdk shell, build 1067 with the msleep change.

wonderful  :D

edit: also works with ultimA's experimental builds where as the original script (copy and pasted from the LUA page) did not work.

edit 2:  ultimA, as i am attempting to learn about this more, may i ask what change was made to code in your experimental builds?
I am sorry they didn't work....we'll get there eventually though :)

edit 3: i looked at the scripts that NEZtron had posted that he was using that worked....both have a blank line at the end of the code...
...to me it looks as though the problem with the script is not caused at all by the msleep being longer....but is the compiler used and the way the script is ended...

i downloaded the motion detection script from the user scripts wiki page and without any changes it worked, because there was already a blank line at the end of the code....

the longer msleep and the properly concluded script for a chdk shell compiled build is working perfectly stable for me :)  thanks to BERND R and and everyone else!

i don't think the longer msleep is a hack but is just giving more time for it to initialize.....

but because i am not in any way a programmer (do know a bit though as I am a computer guy and did programming in high school so its a bit rusty) -  i am humbly willing to continue to test out other builds and such to find a different solution if need be :)
« Last Edit: 25 / February / 2011, 09:14:31 by bdasmith »
sx20is 1.02d

Re: the sx20 porting thread
« Reply #1182 on: 28 / February / 2011, 16:19:37 »
Greetings to all

I was seeing that the last two builds "trunk1069" and "trunk1071" were more stable, no boot failures.
Does anyone know anything about this?, to comment.
« Last Edit: 28 / February / 2011, 21:30:31 by NEZtron »
Canon SX20 is 1.02b CHDK

Re: the sx20 porting thread
« Reply #1183 on: 28 / February / 2011, 19:55:57 »
Greetings to all

I was seeing that the last two builds "trunk1069" and "trunk1069" were more stable, no boot failures.
Does anyone know anything about this?, to comment.


In my case, trunk 1069 did not stop the crash.
SX20 1.02d


Re: the sx20 porting thread
« Reply #1184 on: 28 / February / 2011, 21:26:21 »
@wowsers51

Use this version. <----Sorry
---Edit Message-----
this has patch "msleep(500)" (idea for Bernd R), to camera start well. This works well in my camera.
« Last Edit: 28 / February / 2011, 22:33:12 by NEZtron »
Canon SX20 is 1.02b CHDK

Re: the sx20 porting thread
« Reply #1185 on: 28 / February / 2011, 21:42:42 »
@wowsers51

Use this version.

What is the difference in that one??? I already have 1070 and it still crash so what is new on 1071?
SX20 1.02d

Re: the sx20 porting thread
« Reply #1186 on: 01 / March / 2011, 00:56:01 »
What is the difference in that one??? I already have 1070 and it still crash so what is new on 1071?

1071 was fixes for the IXUS120-SD940 and not likely to help you.   

See http://tools.assembla.com/chdk/changeset/1071
Ported :   A1200    SD940   G10    Powershot N    G16

Re: the sx20 porting thread
« Reply #1187 on: 01 / March / 2011, 05:03:16 »
What is the difference in that one??? I already have 1070 and it still crash so what is new on 1071?

1071 was fixes for the IXUS120-SD940 and not likely to help you.  



See http://tools.assembla.com/chdk/changeset/1071


That was what I was seeing also and I wanted to make sure. Thanks.
SX20 1.02d


Re: the sx20 porting thread
« Reply #1188 on: 01 / March / 2011, 06:38:16 »
to have a quick overview, whats new in chdk i use this link.

http://tools.assembla.com/chdk/timeline

Have a SX20 User test if ptpcam work to switch to shooting Mode ?

if you not need this feature you need of course not test.because you need install the libusb driver too.

And when you install it, canon download feature of files do not work.but you can download files in ptpcamgui more easy.

to see if switch to record mode work, you can type in a shell

ptpcam --chdk

then type in the now upcoming shell prompt
mode 1

My camera crash with same fsionotify error as boot crash, but i find here no solution to fix it.if your camera crash too with ptp mode 1 witch, then its maybe a general problem in task hook code, that need search for and test some other values.and maybe all other problems i get with fsionotify crashes go away

here is also a link of a ptpcamgui, you can then do it with GUI.its german, but you can switch to english too.

the instructions how work, are in german too.i find no english description, but i think translator can work to understand

http://forum.chdk-treff.de/viewtopic.php?f=7&t=2207

nore info you can too find in the ptp thread

http://chdk.setepontos.com/index.php?topic=4348.1185

but only in posts later as nov 2010, because its change here
« Last Edit: 01 / March / 2011, 06:42:07 by Bernd R »
Ixus 1000 HS

*

Offline f_m_b

  • **
  • 71
Re: the sx20 porting thread
« Reply #1189 on: 04 / March / 2011, 11:39:28 »
Have a SX20 User test if ptpcam work to switch to shooting Mode ?
Hi Bernd
i tested ptp with SX20 1.02b / CHDK-DE 591 / gcc 4.51 / ptpCamGui 0.2.76 you can follow my detailed test on the german link

if anybody is interested in using ptp i could test it with an actual international CHDK-Version.

Resume:
After installing "libusb-win32-bin-1.2.2.0"
all features of ptp are working fine (i control the sx20 over ptp from my PC).
- shooting mode
- shooting mode with motion detection
- camera-modes like P,Tv, Av, M, ... Sports and all others
- ISO
- film mode
- Downloading all/newest/last n pictures
- Camera-key simulation

known problems are:
- reboot doesnt work, but this feature doesn't work neither if i use a lua-script with this command
- Simulated Jog-Wheel Keys are missing in the GUI to work absolutly remotly.
- Bracketing and Timelaps are not working stable because the sx20 runs in "not enough memory"

There is an compiler option OPT_EXTMEM_MALLOC which could help us, but this feature is not supported yet.
Has anybody an idea or solution to activate this option?


Bye
Greetings Frank
SX20 (1.02b)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal