Hallo,
also ich habe schon die Vorgehensweise aus dem int. Forum nachvollzogen:
$ mkdir libptp_chdk
$ cd libptp_chdk
$ wget
http://www.mweerden.net/download/chdk-p ... -ptp.patch
download libptp2-1.1.10.tar.gz from:
http://sourceforge.net/projects/libptp/files/libptp2/
and save it in libptp_chdk
$ tar xvzf libptp2-1.1.10.tar.gz
$ patch -p0 < libptp-chdk.patch
$ cd libptp2-1.1.10/
$ ./configure
$ make
$ su -c "make install"
ein "
ptpcam -L" liefert mir auch die gespeicherten Photos:
Listing files...
Camera: Canon PowerShot SX10 IS
Handler: Size: Captured: name:
0x01955bd1: 2672614 2010-05-08 11:30 IMG_5565.JPG
0x01955be1: 2868009 2010-05-08 11:30 IMG_5566.JPG
0x01955bf1: 2889260 2010-05-08 11:30 IMG_5567.JPG
0x01955c01: 3339394 2010-05-08 11:30 IMG_5568.JPG
0x01955c11: 2775063 2010-05-08 11:30 IMG_5569.JPG
0x00040018: 154720 2010-05-08 11:30 PS.FI2
mit z.B.
#
ptpcam -g 0x01955bd1
Camera: Canon PowerShot SX10 IS
Saving file: "IMG_5565.JPG" is done.
lassen sich beliebige Files downloaden, oder loeschen.
#
ptpcam -d 0x01955bd1
Object 0x01955bd1 (IMG_5565.JPG) deleted.
#
ptpcam --show-all-properties
Camera: Canon PowerShot SX10 IS
0xd045: 0x0002 (2)
0xd04a: 0
0xd02e: 0x00080000 (524288)
0xd02f: 0x00080000 (524288)
0xd002: 0x0001 (1)
0xd003: 0x00000001 (1)
0xd034: 0x4BE55D7A (1273322874)
0xd047: 0x0002 (2)
0xd046: 0x0101 (257)
0xd02d:
0xd02c:
0xd030: 0x00000100 (256)
0xd049: 0x02470000 (38207488)
0xd032: "Canon PowerShot SX10 IS"
0xd033:
0xd031: 0x01000200 (16777728)
0xd050: 0
0xd402: "Canon PowerShot SX10 IS"
0xd406: "Windows"
0xd407: 0x00000001 (1)
nicht weiter komme ich mit dem PTP-Chdk:
#
ptpcam --chdk
<conn> h
q quit quit program
h help list commands
r reset reconnect to camera
shutdown-hard shutdown camera (hard)
shutdown-soft shutdown camera (soft)
reboot reboot camera
reboot <filename> reboot camera using specified firmware update
reboot-fi2 reboot camera using default firmware update
m memory <address> get byte at address
m memory <address>-<address> get bytes at given range
m memory <address> <num> get num bytes at given address
set <address> <long> set long value at address
c call <address> <arg1> ... call function at address with given arguments
prop <id> get value of property
prop <id>-<id> get values in property range
prop <id> <num> get num values of properties starting at id
param <id> get value of parameter
param <id>-<id> get values in parameter range
param <id> <num> get num values of parameters starting at id
u upload <local> <remote> upload local file to camera
d download <remote> <local> download file from camera
mode <val> set mode (0=playback,1=record)
lua <code> execute lua code
<conn>
<conn> lua set_led(8,1)
unexpected return code 0x2ff
execution failed!
Ich denke ersteinmal, dass mein installiertes CHDK nicht funktioniert , heute morgen nochmals von
http://chdk.bplaced.net/content/chdk-inside/19-chdk-ptp-interface/53-chdk-mit-ptp-interface.html
fuer Sx10is, 102b, geholt und installiert.
Leider bin ich mir auch nicht sicher, wo ich die Quellen des Chdk mit integiertem Ptp finde,
Gruesse
horst.
[/b]