Ramote Control and USB - DryOS Development - CHDK Forum supplierdeeply

Ramote Control and USB

  • 7 Replies
  • 2666 Views
*

Offline alvm

  • ***
  • 123
Ramote Control and USB
« on: 27 / February / 2013, 13:47:30 »
Advertisements
Hi,

I see in kbd.c that for remote control chdk clear USB bit (for a800 for example) so a cam always think that USB cable is not connected. But how does USB part of canon f/w  work in this case?

Thanks,
Alex.

Re: Ramote Control and USB
« Reply #1 on: 27 / February / 2013, 14:38:03 »
I see in kbd.c that for remote control chdk clear USB bit (for a800 for example) so a cam always think that USB cable is not connected. But how does USB part of canon f/w  work in this case?
It only does that in <ALT> mode.  When that happens, Canon USB firmware is essentially disabled.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline alvm

  • ***
  • 123
Re: Ramote Control and USB
« Reply #2 on: 27 / February / 2013, 14:47:00 »
It only does that in <ALT> mode.  When that happens, Canon USB firmware is essentially disabled.

Yes, but how does work Remote Control (as I understand it uses USB) and ptp client?

Re: Ramote Control and USB
« Reply #3 on: 27 / February / 2013, 15:02:59 »
Yes, but how does work Remote Control (as I understand it uses USB) and ptp client?
I guess the question is what do you mean by "remote control"?

The USB bit you are seeing in kbd.c is used to determine if there is +5V present on the USB power pin.   CHDK uses the presence or absence of that voltage as a "remote" signal to indicate something should happen  (like take a photograph).

PTP functionality is accomplished by communications over the two data lines on the USB conneector.

The two "remote controls" are completely different things.


Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline alvm

  • ***
  • 123
Re: Ramote Control and USB
« Reply #4 on: 27 / February / 2013, 15:15:17 »
I mean remote control using USB transport like ptp client but as I inderstood from your words chdk's remote control uses USB power line for control. So when USB bit is cleared by chdk USB doesn't work and ptp can't be used, right?

Re: Ramote Control and USB
« Reply #5 on: 27 / February / 2013, 15:30:15 »
So when USB bit is cleared by chdk USB doesn't work and ptp can't be used, right?
No.   PTP works fine unless you enable USB Remote in the CHDK menus.

http://chdk.wikia.com/wiki/USB_Remote#Enabling_USB_Remote_operation

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline alvm

  • ***
  • 123
Re: Ramote Control and USB
« Reply #6 on: 27 / February / 2013, 15:36:35 »
No.   PTP works fine unless you enable USB Remote in the CHDK menus.

http://chdk.wikia.com/wiki/USB_Remote#Enabling_USB_Remote_operation



Thanks, Waterwingz!

Re: Ramote Control and USB
« Reply #7 on: 18 / July / 2013, 17:53:26 »
Whoops, wrong thread...
« Last Edit: 18 / July / 2013, 18:03:38 by LILIAKU »


 

Related Topics