Hello,
Is there a command that can be sent with chdkptp to power on a camera?
I'm using
canon a470 1.02c
chdk 1.1.0 2870
chdkptp-r330-linux_x86_64
ubuntu 12.10
If I have the camera connected to chdkptp console, after a few minutes of inactivity the camera shuts itself off and I have to manually press the power button and reconnect. It would also be handy to be able to reboot the camera if it should crash and shut down at any point. My end goal is to have a completely remote system with the camera connected to a raspberry pi via usb, all running off a large battery (all controlled inside python but I haven't gotten that far yet).
Im not sure if this is relevant but each time I reconnect I get
___> c
open_camera_dev: ptp_opensession failed 0x2ff
open_camera_dev:usb_ptp_device_reset(): Device or resource busy
usb_ptp_get_device_status(): Device or resource busy
connected: Canon PowerShot A470, max packet size 64
con> list
*1:Canon PowerShot A470 b=003 d=028 v=0x4a9 p=0x317a s=7FF1D1BE1F8146C1A7BDE032EEDCA340
Thanks for any help you can give,
-murk
also as a quick aside, how do you set things like shot_histo_enable in chdkptp console? I've tried
con 2> =return shot_histo_enable(1)
con 3> =return get_histo_range(100,800)
4:return:-1
and ever variant of "=shot_histo_enable(1)", "lua shot_histo_enable(1)", ".shot_histo_enable(1)" i can think of and "=return get_histo_range(a,b)" always returns -1