supplierdeeply

CHDK PTP interface

  • 1136 Replies
  • 151421 Views
*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: CHDK PTP interface
« Reply #80 on: 03 / November / 2009, 16:22:58 »
Advertisements
Could you upload ptp.c from my previous patch?
Your first (I think) ptp_patch.zip attached.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #81 on: 03 / November / 2009, 18:24:59 »
Your first (I think) ptp_patch.zip attached.
Many thanks! I forgot about this.
Now I restored all changes from memory, new patch is uploaded.

*

Offline ADamb

  • **
  • 65
  • sx200is
Re: CHDK PTP interface
« Reply #82 on: 04 / November / 2009, 04:36:45 »
Thanks, now it is OK.
SX200 IS-100C

*

Offline msl

  • *****
  • 1187
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: CHDK PTP interface
« Reply #83 on: 07 / November / 2009, 19:24:27 »
Hi ewavr,

great work!

It would be nice if you could also create a version for the A720. I would like to test the PTP functions.

Thx msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #84 on: 08 / November / 2009, 20:10:09 »
It would be nice if you could also create a version for the A720. I would like to test the PTP functions.

Unfortunately, there is no universal method of software switching camera to record mode when USB cable is connected.
Because a720 has a slide mode switch, try run this lua script on fresh CHDK version (in playback mode, USB cable must be connected):
Code: (lua) [Select]
post_levent_to_ui("PressRecButton")If the lens comes out, it would be great.

« Last Edit: 08 / November / 2009, 20:20:05 by ewavr »

*

Offline msl

  • *****
  • 1187
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: CHDK PTP interface
« Reply #85 on: 09 / November / 2009, 05:48:44 »
Thanks for your answer, ewavr.

When  your script line is starting with autostart method in play mode, the camera switches in the record mode (lens comes out). The PC detect the camera USB connection.

I've also tested a manual script start when print menu is displaying. It was not possible switching to record mode. I've tried different commands with reyalp's testlev script.

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

*

Offline RaduP

  • *****
  • 856
Re: CHDK PTP interface
« Reply #86 on: 10 / November / 2009, 21:04:30 »
There is this very cheap computer with WiFi called Zipit Z2.
It is intended as a way to use messenger programs such as YIM, MSN and so on away from the computer.
The nice thing is that you can run Linux on it, and it only cost 50 bucks.
It does not come with an USB connector, however there are some USB pins in the back connector. And there is some work at a kernel that will support USB host mode.

If someone gets it to work in conjunction with the PTP interface, the possibilities are endless. You can control you camera remotely from your PC and use it as a security webcam and all kind of cool stuff, by writing a relatively simple client/server that uses TCP/IP.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #87 on: 11 / November / 2009, 16:02:52 »
@msl:
Ok, I almost made test version for a720, but I cannot understand how works palette in this camera.
Could you made dump of RAM (debug menu->alt +/- debug action = DmpRAM, then press +/- in <alt> mode, dump is stored in DCIM/100CANON/IMG_0001.JPG) and upload zipped dump somewhere?


*

Offline msl

  • *****
  • 1187
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: CHDK PTP interface
« Reply #88 on: 11 / November / 2009, 16:46:26 »
No problem, here is the dump: http://drop.io/chdk_de_II/asset/ramdumpa720-zip

And thanks for your tireless work.

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: CHDK PTP interface
« Reply #89 on: 11 / November / 2009, 18:52:17 »
No problem, here is the dump:

And here are files:
http://ewavr.nm.ru/chdk/for_test/CHDK-a720-100c-0.9.8.zip
http://ewavr.nm.ru/chdk/for_test/chdkcam_exec.zip

and don't forget to install libusb-win32 executables (can not work under Vista/Seven).

 

Related Topics