In my experiments thus far, the USB remote functionality interferes with the USB printer connection. If USB remote is enabled, I'm in trouble for my regular script.
However, it seems that USB (in general) is enabled at boot. As such, the camera seems preoccupied with making a connection, rather than running my autostart script.
I don't fully understand the set_config constants yet. This is the one used to disable USB (from the script referenced previously). Basically, I think I need this at boot time.set_config_value 121
sleep(30000)
post_levent_to_ui("DisconnectUSBCable") post_levent_to_ui("ConnectUSBCable")
You need also a combined cable for the USB printer connection & remote control.
As far as I know, nobody has looked at integrating CHDK with the Canon remote control used on (among others) the G series cameras. Probably because most of the Canon P&S line does not use those controls. So I'm not sure if it integrated as a simple switch input (in which case we could add it to the kbd.c code) or a more complicated protocal.
/* // debug keymap, KEYS_MASKx, SD_READONLY_FLAG, USB_MASK extern long physw_status[3]; sprintf(buf, "PS1: %#8x", physw_status[0]); draw_txt_string(28, 10, buf, conf.osd_color); sprintf(buf, "PS2: %#8x", physw_status[1]); draw_txt_string(28, 11, buf, conf.osd_color); sprintf(buf, "PS3: %#8x", physw_status[2]); draw_txt_string(28, 12, buf, conf.osd_color); */
I think uphid could help figure this out:
@srsa_4c : did you find a wiring diagram for the stock Canon remote release ?
He mentioned an RS60 clone, so I guess it's this one (one of the first hits):http://www.camerahacker.com/RS60-E3_pin-out/pin-out.php
Started by DrV General Discussion and Assistance
Started by stronge Feature Requests
Started by rohling « 1 2 » General Discussion and Assistance
Started by rristow General Chat
Started by uphid Script Writing