Ixus 185 + CHDK 100a - page 2 - General Discussion and Assistance - CHDK Forum  

Ixus 185 + CHDK 100a

  • 15 Replies
  • 6446 Views
*

Offline reyalp

  • ******
  • 14080
Re: Ixus 185 + CHDK 100a
« Reply #10 on: 05 / January / 2020, 15:07:59 »
Advertisements
I thought the REC button on chdkPTP was something else. I clicked and everything works very well.
Glad that's resolved.

Quote
With remote capture I can take a photo, but it doesn't download in jpg to the pc; The software freezes.
It freezes using https://chdk.setepontos.com/index.php?topic=13837.msg142236#msg142236 ?

What does the camera do? Does it turn of? Or freeze?

The command
Code: [Select]
chdkptp -e"exec require'camtests'.runbatch{shoot=true}"
Should be run from windows command prompt, in the folder with chdkptp.
Don't forget what the H stands for.

Re: Ixus 185 + CHDK 100a
« Reply #11 on: 05 / January / 2020, 16:18:43 »
The Ixus 185 chdk work great. 

The windows software "chdkptp" freezes when I click on "JPG Remote shoot".  The picture no download to pc.
In console says this



(I did a screenshot when the camera was connected. If the image says offline, ignore that.)

So...

When I write on console of Chdkptp "shoot", it shoot.
With "Shoot-dl", it download to pc.
Download works with these commands.

-----------------

With command to test camera, it says on windows CMD 0x2ff error.


« Last Edit: 05 / January / 2020, 16:21:26 by aguiluz »

Re: Ixus 185 + CHDK 100a
« Reply #12 on: 05 / January / 2020, 16:24:41 »
Tested with build CHDK 1.5.0 rev 5387 fw 100a (comp GCC 4.9.3=

Quote
C:\chdk\chdkptp>chdkptp -e"exec require'camtests'.runbatch{shoot=true}"
connect:start
using default device
connected: Canon IXUS 185 , max packet size 512
connect:ok
cam_info:start
platform:ixus185_elph185-100a version:1.5.0-5387 built:Jan  2 2020 22:36:38
CHDK core start:0x18aa24 size:134796 total free:2996104
system heap start:0x1ab8b8 size:4027104 free:2993136 free_block_max:2990600
SD size:15537672 KB free:15193600 KB
cam_info:ok
list_connected:start
list_connected:ok
wait_status:start
wait_status:ok
exec_errors:start
exec_errors:ok
msgfuncs:start
msgfuncs:ok
rec:start
rec:ok
rec_info:start
Rec info:
Propset:11 mode:P (2,still) flash_m:2 iso_m:100 focus_m:0 ND:1 zoom:0/101 rc:7 res:0 qual:1
Exposure info:
Tv:1/19.17 (409) Av:3.3 (328) minAv:3.3 (328) Sv:60 (411) SvM:100 (480) Bv:2 (266) NDEv:0 (0) SD:320,OK
rec_info:ok
remoteshoot:start
WARNING: capture_get_data error timed out
remoteshoot:failed timed out
stack traceback:
        C:\chdk\chdkptp\lua\chdku.lua:1703: in function 'wait_status'
        C:\chdk\chdkptp\lua\chdku.lua:1564: in function <C:\chdk\chdkptp\lua\chdku.lua:1528>
        [C]: in function 'pcall'
        C:\chdk\chdkptp\lua\chdku.lua:2170: in function 'capture_get_data_pcall'
        C:\chdk\chdkptp\lua\cli.lua:2555: in function <C:\chdk\chdkptp\lua\cli.lua:2402>
        (...tail calls...)
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:285: in function 'execute'
        C:\chdk\chdkptp\lua\camtests.lua:167: in function 'cliexec'
        C:\chdk\chdkptp\lua\camtests.lua:585: in function <C:\chdk\chdkptp\lua\camtests.lua:565>
        ...
        C:\chdk\chdkptp\lua\camtests.lua:771: in function 'runbatch'
        [string "require'camtests'.runbatch{shoot=true}"]:1: in main chunk
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:748: in function <C:\chdk\chdkptp\lua\cli.lua:739>
        (...tail calls...)
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:285: in function 'execute'
        C:\chdk\chdkptp\lua\main.lua:211: in function 'do_execute_option'
        C:\chdk\chdkptp\lua\main.lua:248: in function 'do_no_gui_startup'
        C:\chdk\chdkptp\lua\main.lua:294: in main chunk
        [C]: in function 'require'
        [string "require('main')"]:1: in main chunk
rsint:start
WARNING: timed outWARNING: timed out waiting for shot script
rsint:failed C:\chdk\chdkptp\lua\camtests.lua:633: uninit a script is already running
stack traceback:
        C:\chdk\chdkptp\lua\camtests.lua:633: in function <C:\chdk\chdkptp\lua\camtests.lua:610>
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\camtests.lua:712: in function 'run'
        C:\chdk\chdkptp\lua\camtests.lua:772: in function 'runbatch'
        [string "require'camtests'.runbatch{shoot=true}"]:1: in main chunk
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:748: in function <C:\chdk\chdkptp\lua\cli.lua:739>
        (...tail calls...)
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:285: in function 'execute'
        C:\chdk\chdkptp\lua\main.lua:211: in function 'do_execute_option'
        C:\chdk\chdkptp\lua\main.lua:248: in function 'do_no_gui_startup'
        C:\chdk\chdkptp\lua\main.lua:294: in main chunk
        [C]: in function 'require'
        [string "require('main')"]:1: in main chunk
shoot:start
shoot:failed C:\chdk\chdkptp\lua\camtests.lua:675: a script is already running
stack traceback:
        C:\chdk\chdkptp\lua\camtests.lua:169: in function 'cliexec'
        C:\chdk\chdkptp\lua\camtests.lua:675: in function <C:\chdk\chdkptp\lua\camtests.lua:671>
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\camtests.lua:712: in function 'run'
        C:\chdk\chdkptp\lua\camtests.lua:773: in function 'runbatch'
        [string "require'camtests'.runbatch{shoot=true}"]:1: in main chunk
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:748: in function <C:\chdk\chdkptp\lua\cli.lua:739>
        (...tail calls...)
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:285: in function 'execute'
        C:\chdk\chdkptp\lua\main.lua:211: in function 'do_execute_option'
        C:\chdk\chdkptp\lua\main.lua:248: in function 'do_no_gui_startup'
        C:\chdk\chdkptp\lua\main.lua:294: in main chunk
        [C]: in function 'require'
        [string "require('main')"]:1: in main chunk
play:start
play:failed C:\chdk\chdkptp\lua\camtests.lua:685: a script is already running
stack traceback:
        C:\chdk\chdkptp\lua\camtests.lua:169: in function 'cliexec'
        C:\chdk\chdkptp\lua\camtests.lua:685: in function <C:\chdk\chdkptp\lua\camtests.lua:683>
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\camtests.lua:712: in function 'run'
        C:\chdk\chdkptp\lua\camtests.lua:775: in function 'runbatch'
        [string "require'camtests'.runbatch{shoot=true}"]:1: in main chunk
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:748: in function <C:\chdk\chdkptp\lua\cli.lua:739>
        (...tail calls...)
        [C]: in function 'xpcall'
        C:\chdk\chdkptp\lua\cli.lua:285: in function 'execute'
        C:\chdk\chdkptp\lua\main.lua:211: in function 'do_execute_option'
        C:\chdk\chdkptp\lua\main.lua:248: in function 'do_no_gui_startup'
        C:\chdk\chdkptp\lua\main.lua:294: in main chunk
        [C]: in function 'require'
        [string "require('main')"]:1: in main chunk
reconnect:start
reconnect:ok
disconnect:start
disconnect:ok
not_connected:start
not_connected:ok
passed 11
failed 4
« Last Edit: 05 / January / 2020, 16:31:57 by aguiluz »

*

Offline reyalp

  • ******
  • 14080
Re: Ixus 185 + CHDK 100a
« Reply #13 on: 05 / January / 2020, 18:26:01 »
Thanks. I found a mistake in the previous test build. Please try -test 3 from https://chdk.setepontos.com/index.php?topic=13837.msg142236#msg142236


In the previous post with 0x2ff error, did you do something different? In that case, chdkptp didn't connect at all.
Don't forget what the H stands for.


Re: Ixus 185 + CHDK 100a
« Reply #14 on: 05 / January / 2020, 19:03:45 »
The results have been satisfactory.

I just want to know if the high battery consumption can be solved, or it is already something common to work from the SD.

At the moment I get the picture dark, but I tried to solve it by modifying some chdk settings.

Thank you! You're the best.


Tested with  ixus185_elph185-100a-1.5.0-5392-reyalp-fwt-test-3


test 1
Quote
C:\chdk>cd chdkptp

C:\chdk\chdkptp>chdkptp -e"exec require'camtests'.runbatch{shoot=true}"
connect:start
using default device
connected: Canon IXUS 185 , max packet size 512
connect:ok
cam_info:start
platform:ixus185_elph185-100a version:1.5.0-5392 built:Jan  5 2020 15:21:22
CHDK core start:0x18aa24 size:134828 total free:2996712
system heap start:0x1ab8d8 size:4027072 free:2993744 free_block_max:2991208
SD size:15537672 KB free:15529968 KB
cam_info:ok
list_connected:start
list_connected:ok
wait_status:start
wait_status:ok
exec_errors:start
exec_errors:ok
msgfuncs:start
msgfuncs:ok
rec:start
rec:ok
rec_info:start
Rec info:
Propset:11 mode:P (2,still) flash_m:2 iso_m:100 focus_m:0 ND:1 zoom:0/101 rc:7 res:0 qual:1
Exposure info:
Tv:1.00 (0) Av:3.3 (328) minAv:3.3 (328) Sv:60 (411) SvM:100 (480) Bv:-2 (-282) NDEv:0 (0) SD:188,OK
rec_info:ok
remoteshoot:start
cont mode not set, skipping remoteshoot cont test
remoteshoot:ok
rsint:start
cont mode not set, skipping rsint cont test
rsint:ok
shoot:start
A/DCIM/103___01/CRW_0404.DNG->camtest/IMG_0300.DNG
A/DCIM/103___01/IMG_0404.JPG->camtest/IMG_0300.JPG
shoot:ok
play:start
play:ok
reconnect:start
reconnect:ok
disconnect:start
disconnect:ok
not_connected:start
not_connected:ok
passed 15
failed 0

C:\chdk\chdkptp>



Test 2

Quote
C:\chdk\chdkptp>chdkptp -e"exec require'camtests'.runbatch{shoot=true}"
connect:start
using default device
connected: Canon IXUS 185 , max packet size 512
connect:ok
cam_info:start
platform:ixus185_elph185-100a version:1.5.0-5392 built:Jan  5 2020 15:21:22
CHDK core start:0x18aa24 size:134828 total free:2995936
system heap start:0x1ab8d8 size:4027072 free:2992968 free_block_max:2973712
SD size:15537672 KB free:15497384 KB
cam_info:ok
list_connected:start
list_connected:ok
wait_status:start
wait_status:ok
exec_errors:start
exec_errors:ok
msgfuncs:start
msgfuncs:ok
rec:start
rec:ok
rec_info:start
Rec info:
Propset:11 mode:P (2,still) flash_m:2 iso_m:100 focus_m:0 ND:1 zoom:0/101 rc:7 res:0 qual:1
Exposure info:
Tv:1/3.13 (158) Av:3.3 (328) minAv:3.3 (328) Sv:60 (411) SvM:100 (480) Bv:0 (-15) NDEv:0 (0) SD:385,OK
rec_info:ok
remoteshoot:start
cont mode not set, skipping remoteshoot cont test
remoteshoot:ok
rsint:start
cont mode not set, skipping rsint cont test
rsint:ok
shoot:start
A/DCIM/103___01/CRW_0416.DNG->camtest/IMG_0300.DNG
A/DCIM/103___01/IMG_0416.JPG->camtest/IMG_0300.JPG
shoot:ok
play:start
play:ok
reconnect:start
reconnect:ok
disconnect:start
disconnect:ok
not_connected:start
not_connected:ok
passed 15
failed 0

C:\chdk\chdkptp>

« Last Edit: 05 / January / 2020, 19:37:42 by aguiluz »

*

Offline reyalp

  • ******
  • 14080
Re: Ixus 185 + CHDK 100a
« Reply #15 on: 05 / January / 2020, 20:31:36 »
The results have been satisfactory.
Thanks for testing. I added the fwt change to the autobuild.

Quote
I just want to know if the high battery consumption can be solved, or it is already something common to work from the SD.
The battery is small, nothing in CHDK will make really big change.

For a book scanner, I suggest an external supply. You can get clones quite cheap on amazon etc. I don't see one listed on the product page, but I expect the one used for other NB-11L cameras will work. Search for "ACK-DC90" or "ACK-DC90 replacement" or "ACK-DC90 compatible".

You need one that includes the "DC coupler" or fake battery.
Don't forget what the H stands for.

 

Related Topics