CHDKPTP - PC Remote Control Performance Analysis - page 43 - RAW Shooting and Processing - CHDK Forum

CHDKPTP - PC Remote Control Performance Analysis

  • 465 Replies
  • 136350 Views
*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #420 on: 12 / October / 2012, 23:54:54 »
Advertisements
@waterwingz
For some reason the forum doesn't point the 1st link to the right location.  Look for Reply #223 on: 19 / September / 2012, 07:06:50, near the bottom of p15, which I actually addressed to you.  The 2nd link is correct, for some additional info.  Search for "phase" if you want more.

@reyalp
Quote "If the raw pixels values don't differ between 1600 and 3200, then we can be 100% certain that the difference is from later software processing."

The 1600 and 3200 DNGs in Figure 1 http://chdk.setepontos.com/index.php?topic=8613.msg91768#msg91768 were shot by the camera button, and both are the same whereas the equivalent JPEGs are different.  So I agree with you, it does not make much sense to pursue the ISO3200 hook if the amplifier ADC signals are identical // oops ... I temporarily got swallowed up in the forest-trees paradigm :).

Quote "I've updated to the wiki to reflect the fact the counter is one of the settings that isn't saved."
Does this mean you won't fix it?

*

Offline reyalp

  • ******
  • 14126
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #421 on: 13 / October / 2012, 00:00:47 »
Does this mean you won't fix it?
I agree that it would be desirable to fix, but I don't currently know how to fix it.
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #422 on: 13 / October / 2012, 00:11:56 »
Because I will be rebooting the camera due to memory exhaustion, there could be an alternative that involves shutdown and PUP so the counter is preserved.  When the S50 is connected to a power adapter and a USB port, and is in a PDN state, the USB is powered but asleep.  If I start RemoteCapture, then it wakes up the camera and connects. 

Is something like this possible you think on the S90?  Of course I cannot test this function on the S90 with RemoteCapture because it is not supported.  Any possibilities of wake-up detection?


Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #423 on: 13 / October / 2012, 09:38:13 »
For some reason the forum doesn't point the 1st link to the right location.
http://chdk.setepontos.com/index.php?topic=8613.msg91048#msg91048

Quote
Search for "phase" if you want more.
I was hoping for a more complete definition all in one place per my post above.  But if you don't have it written down in your project plan documents in a format that can be easily cut and pasted here then I withdraw my request.

Incidentally,  I don't know if you've considered this, but the CHDK wiki might be better place to document your project's finding rather than a forum thread like http://chdk.setepontos.com/index.php?topic=8801  ?  Threads tend to get broken up and hard to read and periodically we seem to completely lose attachments (such as images) permanently from this forum.

Food for thought.


Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #424 on: 13 / October / 2012, 10:11:38 »
Quote "CHDK wiki might be better place" "Food for thought."

Sure, sounds good.  For now that I am still in the process of exploration will stay with the forum to actually develop that part of Phase III of this project that is intended for a general audience.  Timely and sequential feedback from your community in "Hacking out the CCD" thread is helpful allowing me to fine tune each section easily and add informational value as the steps progress.  This endeavor is still in very unknown territory and a big shot in the dark.  If in the very unlikely event I can successfully eliminate the lens, then I think the results may merit a wiki page, and I will approach you on how to do it and put everything in a concise reader-friendly format.  Thanks.
« Last Edit: 13 / October / 2012, 10:13:36 by SticK »

Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #425 on: 13 / October / 2012, 10:24:29 »
If in the very unlikely event I can successfully eliminate the lens, then I think the results may merit a wiki page, and I will approach you on how to do it and put everything in a concise reader-friendly format.
A simple cut & paste of your forum posts with a minimum of editing would probably do it.  Let me know.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14126
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #426 on: 13 / October / 2012, 17:06:20 »
Because I will be rebooting the camera due to memory exhaustion, there could be an alternative that involves shutdown and PUP so the counter is preserved.  When the S50 is connected to a power adapter and a USB port, and is in a PDN state, the USB is powered but asleep.  If I start RemoteCapture, then it wakes up the camera and connects. 

Is something like this possible you think on the S90?  Of course I cannot test this function on the S90 with RemoteCapture because it is not supported.  Any possibilities of wake-up detection?
Very unlikely, only a few very old cameras support wake-on-usb (see http://chdk.wikia.com/wiki/CameraFeatures). I would assume this requires hardware support on the camera.
(edit: from my understanding, this is not a feature of RemoteCapture specifically, simply applying +5v to the USb connector will cause these cameras to power up)

If this were my project, I'd very strongly consider connecting the camera button inputs to some kind of software controlled GPIO on your control system. This would solve the reboot problem, and also give you the ability to control CHDK menus and a lot more flexibility overall.

Regarding saving params before reboot, there is presumably some fairly simple function that saves any modified flash params before shutdown. Maybe someone can find it for you.
« Last Edit: 13 / October / 2012, 17:08:34 by reyalp »
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #427 on: 13 / October / 2012, 18:54:15 »
Quote "(edit: from my understanding, this is not a feature of RemoteCapture specifically, simply applying +5v to the USb connector will cause these cameras to power up)"

This is interesting ... I don't  know how USB works at the low level but could there be a signal, script command that operates locally, I can issue via CHDKPTP to do that?  I don't so, because I expect the USB is permanently powered.  Any ideas?

Quote "If this were my project, I'd very strongly consider connecting the camera button inputs to some kind of software controlled GPIO on your control system. This would solve the reboot problem, and also give you the ability to control CHDK menus and a lot more flexibility overall."

While I do have that kind of capability it decentralizes the control of functional blocks of my entire system further complicating its already dense useability, so I try to minimize it as much as possible.  For CHDK menus I can manage because I simply run a script now after bootup that sets up everything as needed.  I did not want to intercept the power switch but it looks like I may have to // I do these via tiny optoisolators // small function but big job each time.  But for other users in your community CHDK menu access may be useful if they are setting up a system like I am describing in the other thread. 

*

Offline reyalp

  • ******
  • 14126
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #428 on: 13 / October / 2012, 19:04:33 »
This is interesting ... I don't  know how USB works at the low level but could there be a signal, script command that operates locally, I can issue via CHDKPTP to do that?
No, absolutely not. If this could be controlled at all from the PC, it would be some low level interface to the host controller.  Anyway, I was not saying this would work on any modern camera like the S90, quite the opposite. Maybe I wasn't clear, the point is that the old cameras which support wake on USB don't care about a USB connection, they just power on if power is applied to the USB port, e.g. with something like CHDK USB remote: http://chdk.wikia.com/wiki/USB_Shutter_Remote

Quote
But for other users in your community CHDK menu access may be useful if they are setting up a system like I am describing in the other thread. 
Of course, but for reasons I already explained, this isn't likely to be implemented any time soon.
Don't forget what the H stands for.

*

Offline SticK

  • *****
  • 779
Re: CHDKPTP - PC Remote Control Performance Analysis
« Reply #429 on: 13 / October / 2012, 19:52:13 »
Quote "old cameras which support wake on USB don't care about a USB connection, they just power on if power is applied to the USB port, e.g. with something like CHDK USB remote:"

Not in the case of the S50: it wakes up when I start RemoteCapture, and shuts down when I exit RemoteCapture ... so it means camera end USB controller must be in a sleep mode of some sort when cameara is OFF.  I was wondering if the S90 or its brethren might behave similarly, since you do have more knowledge about these cameras than common folks.  But by the harsh way you reacted to my question, the only thing I can conclude is you don't know.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal