camera goes blank on USB connection - General Help and Assistance on using CHDK stable releases - CHDK Forum

camera goes blank on USB connection

  • 10 Replies
  • 7035 Views
camera goes blank on USB connection
« on: 03 / April / 2014, 07:07:24 »
Advertisements
Hi, today I bought a new Canon S110.  :xmas Thanks!
I used STICK & ACID to determine the CHDK version I needed.
So my firmware is 102b and hance the version I got was: s110-102b-1.2.0-3405-full_BETA
I went through the process of installation with STICK and then on the camera (firm update and making the SD bootable). Than, while the SD card is on locked position, I connected it to the computer - Than the camera goes black screen  :-X And I don't know why...

If I connect it to the computer CHDK-free it flys, also when I turn on the CHDK without connecting the USB cable. but in the sec I try to combine both - it turns off the LCD (The camera stayts ON).

I did try to communicate with it via chdkptp but it doesn't conect - "ERROR: no devices available"

Any ideas for what might be the problem?

Thanks, Nadav.

Re: camera goes blank on USB connection
« Reply #1 on: 03 / April / 2014, 08:52:16 »
Sounds like you have enabled the USB remote in the  CHDK Settings   ->   Remote Parameters  menu.

If so, disable it.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: camera goes blank on USB connection
« Reply #2 on: 03 / April / 2014, 09:05:42 »
Quote
Sounds like you have enabled the USB remote in the  CHDK Settings   ->   Remote Parameters  menu.

Nop, It was already disabled...

WW, Anything else you can think of?

Re: camera goes blank on USB connection
« Reply #3 on: 03 / April / 2014, 10:02:26 »
Quote
I did try to communicate with it via chdkptp but it doesn't conect - "ERROR: no devices available"

Ok, I'm not sure what caused it, but something was wrong with my libusb drivers, I re-installed it and now it communicates well... now we're having another issue.

I was already operating another S110 that was bought few months ago, using a script I wrote (Waterqingz and reyalp, you guys halped me a lot writing it  :D )
Any way, now I'm trying to run it on the new camera and I get this ERROR triggered by shoot/remoteshoot commands:

Code: [Select]
WARNING: capture_get_data error timed out
ERROR: timed out

Can you instruct me what should I do?

I never had it with the other camera (same firmware BTW)

Thanks again!


*

Offline reyalp

  • ******
  • 14118
Re: camera goes blank on USB connection
« Reply #4 on: 03 / April / 2014, 17:10:08 »
Code: [Select]
WARNING: capture_get_data error timed out
ERROR: timed out

Can you instruct me what should I do?
Figure out what is different between the two setups. You have two identical cameras, one works, therefore something is different between the two.

"capture_get_data timed out" probably means the camera didn't start the shot, but you should observe to see what it's actually doing.

The shot not starting could happen if the camera was not in record mode. There are also cases where the camera might refuse to shoot if it can't find something to focus on (usually in full auto modes.)
Don't forget what the H stands for.

Re: camera goes blank on USB connection
« Reply #5 on: 04 / April / 2014, 03:30:21 »
Hi Rayalp, It's good to hear from you again.

The reason for the new camera is that the older one is kind of Out Of Order... broken...
I did set everything as I remembered (there is nothing special to set, most of it was disabling Power consumers...

The camera does go into rec mode and it even makes the capturing tick/sound.

those are my code lines:
Code: [Select]
/root/chdkptp/chdkptp/chdkptp-sample.sh -c -erec -e"luar call_event_proc('SS.Create'); call_event_proc('SS.MFOn'); set_prop(222,0); set_focus(65000); set_prop(272,0); set_prop(102,1); set_prop(105,3); set_lcd_display(0);"
/root/chdkptp/chdkptp/chdkptp-sample.sh  -c -e"remoteshoot -tv=1/5000 -sv=200 -av=2 -cont=9000"  -e"luar set_lcd_display(0);" &


I did just noticed that when I remove the "-cont" it operates well...
Any ideas?
Quote
camera might refuse to shoot if it can't find something to focus on (usually in full auto modes.)
(Almost) Everything is set to manual in my instruction.


Quote
but you should observe to see what it's actually doing
What do you mean? How exactly is it done?


Nadav

Re: camera goes blank on USB connection
« Reply #6 on: 04 / April / 2014, 03:56:10 »
-cont=1 [works]
-cont=2 [fails]

I'm in continuous mode (otherwise it prompts mt that I'm not...)

*

Offline reyalp

  • ******
  • 14118
Re: camera goes blank on USB connection
« Reply #7 on: 04 / April / 2014, 16:24:48 »
What do you mean? How exactly is it done?
Watch what the camera actually does when you try to use remoteshoot? Does it go through the normal shooting process, do the normal LEDs blink? Do LEDs blink in ways they don't for normal shots.

We're not psychic, we have very little ability to know what is actually happening on your camera.

One thing that can cause problems is the "review" setting. If the camera is sitting in review mode, then it won't complete the remoteshoot. However, I don't think that would be a problem in continuous mode (it's not on my D10)

You can set cli_verbose=2 in chdkptp to make it print more about which stages of the remote shoot process it gets to.

edit:
For ease of debugging, you should probably leave the camera LCD on...

edit:
It would also be good to know what version of chdkptp you are using.
« Last Edit: 04 / April / 2014, 16:42:27 by reyalp »
Don't forget what the H stands for.


Re: camera goes blank on USB connection
« Reply #8 on: 05 / April / 2014, 04:57:21 »
Quote
It would also be good to know what version of chdkptp you are using.

I tried both chdkptp-r468-win32 & chdkptp-r511-win32

Quote
One thing that can cause problems is the "review" setting.

Was set to "quick". now it's turned off.

Quote
You can set cli_verbose=2 in chdkptp to make it print more about which stages of the remote shoot process it gets to.

I set the camera to continuous [prop(102)] and did remoteshoot with cont=1 & then with cont=2

Code: [Select]
> remoteshoot -cont=1
rs_init
rs_shoot
get data 1
rc file IMG_0076.jpg 1
rc chunk get IMG_0076.jpg 1 0
rc chunk size:861522 offset:nil last:true
script wait time 0.0010
>
>
>
>
> remoteshoot -cont=2
rs_init
rs_shoot
get data 1
rc file IMG_0077.jpg 1
rc chunk get IMG_0077.jpg 1 0
rc chunk size:869084 offset:nil last:true
get data 2
WARNING: capture_get_data error timed out
sending stop message
script wait time 0.1428
ERROR: timed out


I noticed that the camera makes the shooting sound only once (beep+click).
Now I see that "get data 2" comes before another "rs_shoot" is being printed, is this odd?
I understand that the second photo is not even being captured...

Anything else I can provide to help solving this issue?

Re: camera goes blank on USB connection
« Reply #9 on: 05 / April / 2014, 07:57:54 »
Apparently, prop 102 does not affect the "Drive Mode" on S110...  :o
After manually setting the camera to continuous mode - remoteshoot now operates perfectly!

1. Do you know how can I locate the right prop for the Drive Mode?

I do want as much properties as possible to be set by the script.

Thanks a lot for your help.

2. In addition, I still (We've discussed it in another thread ) couldn't get to cleanly kill RemoteShooot instruction using "killscript"

I'm now working with the latest CHDK version and I still get weird behavior when killing the instruction.
If there is any tip you can give me that will be great.

Nadav.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal