SD550 USB Remote Problem - page 3 - General Help and Assistance on using CHDK stable releases - CHDK Forum

SD550 USB Remote Problem

  • 48 Replies
  • 6499 Views
Re: SD550 USB Remote Problem
« Reply #20 on: 26 / December / 2012, 22:44:14 »
Advertisements
Sure just a min and I'll give it a shot.

Re: SD550 USB Remote Problem
« Reply #21 on: 26 / December / 2012, 22:51:03 »
Ok, now I think we are getting somewhere. I see the following being printed out:

Disconnected From Laptop: 0X434A99B
Connected To Laptop: 0X434A9DB

I get the same results when hooked up to my remote switch.

*

Offline srsa_4c

  • ******
  • 4285
Re: SD550 USB Remote Problem
« Reply #22 on: 26 / December / 2012, 22:59:53 »
Ok, now I think we are getting somewhere. I see the following being printed out:

Disconnected From Laptop: 0X434A99B
Connected To Laptop: 0X434A9DB

I get the same results when hooked up to my remote switch.
That means the test version should work.
http://chdk.wikia.com/wiki/USB_Remote_V2#Scripting_Interface
Can you adjust the remote parameters or modify your script and retry?

Re: SD550 USB Remote Problem
« Reply #23 on: 26 / December / 2012, 23:18:46 »
Hmmmm, I just tried the following script:

i = 1

do
   p = get_usb_power 1
   print i, ": ", p
   i = i + 1
until p>0

Which via the documentation states that it should output 1 or 0 correct? It only outputs 0 for my voltage. I've tried a few settings on the remote settings screen without any luck. I tried with the remote enabled and disabled to see if that made a difference.

I also don't see any change like I do in my G12 when outputting the misc values.


Re: SD550 USB Remote Problem
« Reply #24 on: 26 / December / 2012, 23:22:07 »
@srsa_4c: thanks for spending so much of your time debugging!

Re: SD550 USB Remote Problem
« Reply #25 on: 26 / December / 2012, 23:29:00 »
Just ran the same script I just posted on my G12 for comparison. It doesn't do the 1/0 but seem to give the pulse width. It does respond to the voltage change though. same script on the SD550 still is a no go.

Re: SD550 USB Remote Problem
« Reply #26 on: 27 / December / 2012, 08:27:45 »
I'm not suggesting that you've done anything wrong. I have based this patch on the behaviour of my Ixus65, and I might be wrong, if the hw design is different on this cam.
I was not worried, or not worried, that I might have made an error.  We changed all the cameras in one patch and there were many variation of the code in different ports that needed to be touched.  The likelihood that at least one is wrong seems high.  So far IIRC that has not happened - although some damaged ports continued to be damaged due to lack of testing and there is no way to tell how many of the ports have had the new changes actually tested.

Just ran the same script I just posted on my G12 for comparison. It doesn't do the 1/0 but seem to give the pulse width. It does respond to the voltage change though. same script on the SD550 still is a no go.
Using  get_usb_power   or    get_usb_power 0   will return the pulse width of the most recently seen 5V signal on the USB power pins.

Using   get_usb_power 1  will return the current state of the 5V signal on the USB power pins.

If nobody solves this before I get home tomorrow,  I'll experiment with the kbd.c file and track this down.  You'll need to continue to help with testing of course.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Pauls9

  • **
  • 60
  • S3 IS
Re: SD550 USB Remote Problem
« Reply #27 on: 27 / December / 2012, 10:43:43 »
Just a quick addition: I've been finding the same problem with my S3 for some time, but I didn't find the time to investigate - thought it was my wireless remote playing up. I've just tried it with the simple wired battery and switch remote.

With Enable Remote on, the display shows <USB> all the time, whether the remote is plugged in or not and whatever settings I select for switch type and control mode.

With Enable Remote off, the USB remote acts as you might expect when connecting to a computer: off = record mode; on switches to playback mode.

Has something been changed a few months back?


Re: SD550 USB Remote Problem
« Reply #28 on: 27 / December / 2012, 16:31:38 »
Just a quick addition: I've been finding the same problem with my S3 for some time, but I didn't find the time to investigate - thought it was my wireless remote playing up. I've just tried it with the simple wired battery and switch remote.

With Enable Remote on, the display shows <USB> all the time, whether the remote is plugged in or not and whatever settings I select for switch type and control mode.

With Enable Remote off, the USB remote acts as you might expect when connecting to a computer: off = record mode; on switches to playback mode.

Has something been changed a few months back?
Nothing has changed - that's how its supposed to work. The USB icon indicates the remote function is enabled not the status of the port itself. 
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4285
Re: SD550 USB Remote Problem
« Reply #29 on: 27 / December / 2012, 20:48:01 »
Has something been changed a few months back?
Nothing has changed - that's how its supposed to work. The USB icon indicates the remote function is enabled not the status of the port itself.
Actually, get_usb_bit() always returns 0 in the current code for the S2IS and S3IS (not checked the rest), so, assuming that USB remote worked in CHDK 1.0, restoring that functionality will need testers who have the camera.

 

Related Topics