USB Remote Switch in CHDK - version 2 implementation thread - page 12 - General Discussion and Assistance - CHDK Forum  

USB Remote Switch in CHDK - version 2 implementation thread

  • 220 Replies
  • 77601 Views
*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #110 on: 12 / January / 2013, 16:38:40 »
Advertisements
We have some cameras without remote control function (undef in platform_camera.h). I found no notes for that. Is there a reason for that?

ixus80_sd1100
ixus75_sd750
ixus100_sd780
ixus130_sd1400

In the German forum several users have a request because of the remote control function for the ixus100. If I remember correctly in the old CHDK-DE code was the rc function for the ixus100 available.

msl
CHDK-DE:  CHDK-DE links

Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #111 on: 12 / January / 2013, 18:04:22 »
We have some cameras without remote control function (undef in platform_camera.h). I found no notes for that. Is there a reason for that?
Interesting - I had not noticed that.  I'm actually surprised that this has not come up before now.

The   #undef CAM_REMOTE   in platform_camera.h is only actually checked in gui.c. It causes the Remote Menu not to be included in the menu system.  But a quick look at the kbd.c code for the IXUS100 shows that all the code for the remote is in place (I actually remember doing that one).  Looks like that's true for the other three cameras as well.

I'll take a quick look at the porting threads but I'm thinking we could just remove the #undef  and wait until somebody tests it out?  With the undef gone,  the remote menu will be compiled in.  All the rest of the code is already there - but there is no way to enable it without the menu.



« Last Edit: 12 / January / 2013, 18:06:58 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #112 on: 12 / January / 2013, 18:30:31 »
I'm actually surprised that this has not come up before now.

This is the real CHDK life. After one year you get a reaction to a development.  :)

Thanks for checking. Probably the #undefs are redundant fragments.

msl
CHDK-DE:  CHDK-DE links

Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #113 on: 12 / January / 2013, 18:47:24 »
We have some cameras without remote control function (undef in platform_camera.h). I found no notes for that. Is there a reason for that?
Interesting - I had not noticed that.  I'm actually surprised that this has not come up before now.

The   #undef CAM_REMOTE   in platform_camera.h is only actually checked in gui.c. It causes the Remote Menu not to be included in the menu system.  But a quick look at the kbd.c code for the IXUS100 shows that all the code for the remote is in place (I actually remember doing that one).  Looks like that's true for the other three cameras as well.

I'll take a quick look at the porting threads but I'm thinking we could just remove the #undef  and wait until somebody tests it out?  With the undef gone,  the remote menu will be compiled in.  All the rest of the code is already there - but there is no way to enable it without the menu.
« Last Edit: 15 / January / 2013, 21:15:49 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #114 on: 13 / January / 2013, 12:15:23 »
I'm submitting a what I hope is a final update to the USB Remote Bracketing function  (thanks to pigeonhill for his work).

Basically,  for USB remote bracketing to work properly,  each shot needs to first have a "half press", a wait for the camera to be ready, and then a "full press".   Any failure to follow this process will confuse the underlying CHDK bracketing code. 

For example,  doing a half-press without a full press (possible with "two push" and CA-1 switches only) will cause the bracketing steps to skip an exposure.  And doing an immediate full press without a half press using the CA-1 also confuses the sequence.

So my submitted patch simply resets the bracketing series if a proper "half-press", wait for camera to be ready,  "full-press" is not followed.   This prevents CHDK from becoming confused about where it is in the bracketing series.  It can actually be handy if you don't want to wait for the bracketing timeout to expire and reset  the bracketing sequence.
« Last Edit: 13 / January / 2013, 12:18:50 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #115 on: 15 / January / 2013, 21:16:13 »
Looking at the IXUS100 porting thread, its not clear that anyone reported it ever working properly. 
@msl :  I contacted andrewhazelden and asked him to check the USB remote code on his ixus100_sd780.

He reported :

I haven't used the CHDK USB remote feature in over a year. In the past the only way I got the USB remote working on a Canon sd780 camera was by installing the German CHDK-DE build and changing with the language settings from German to English

and then after downloading the latest 1.1.0 version :

The USB remote works fine now! Also, the USB remote Wiki page is really nicely done.

I tested the USB remote control feature using the OnePush Button mode and it worked fine. Since I don't have a custom remote I tested the TwoPush mode manually and it seemed to trigger the camera correctly if I quickly plugged / unplugged the USB cable twice in a row.

so I guess we can mark this one as completed.
« Last Edit: 15 / January / 2013, 21:17:54 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #116 on: 16 / January / 2013, 06:49:18 »
Thank you very much.

Unfortunately I still do not get any feedback in the German forum.

msl
CHDK-DE:  CHDK-DE links

Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #117 on: 16 / January / 2013, 14:06:49 »
Waterwingz/Msl/Lapser

Here is the feedback from an S95(k) perspective.

I have two versions that are now stable. One from Lapser with the extended bracketing calls (Thank you). And now one from Waterwingz where the CA-1 remote bracketing is working, but only if you do a half press followed by a full press. If you initiate a sequence of brackets with a half press then a full press, for the first image, all subsequent attempts at doing a full press only result in no image.

This is fine, however, as all I need to do is remember to always undertake a half press followed by a full press.

The question that remains is, can the extended histo calls be put in the 1.2 trunk?

Cheers

Garry


Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #118 on: 16 / January / 2013, 14:26:43 »
BTW

Remote does not seem to operate whilst camera is in Alt mode. Thus implying you can't use a remote when running a script.

Re: USB Remote Switch in CHDK - version 2 implementation thread
« Reply #119 on: 16 / January / 2013, 16:21:32 »
And now one from Waterwingz where the CA-1 remote bracketing is working, but only if you do a half press followed by a full press. If you initiate a sequence of brackets with a half press then a full press, for the first image, all subsequent attempts at doing a full press only result in no image.
This code is now released in the autobuild for both versions ( stable & dev ).  In addition,  the bracketing sequence will now reset if you fail to do a half press, wait for focus, full press for each shot.

Remote does not seem to operate whilst camera is in Alt mode. Thus implying you can't use a remote when running a script.
Not quite.  It would not make sense to have the built-in USB remote code making shooting decisions at the same time a script was running.  If you are running a script,  you need to monitor the USB remote state from that script and act accordingly.   

There are script commands available to do that : http://chdk.wikia.com/wiki/USB_Remote#Scripting_Interface
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal