Hallo und erst einmal ein großes Lob für euch Entwickler
Ich habe jetzt auch bei meiner A530 das PTP-Interface getestet. Funktioniert auch alles super, bis auf dass ich den Print- Button nicht drücken kann und bei einer Belichtungsreihe nur gleiche Bilder entstehen.
Ich hab hier den Inhalt der Konsole falls euch das weiterhilft:
>> reset << (Length: 0)
** init() start ...
>> version << ptpcam: 0.2
camera: 0.2 (Length: 24)
>> script-support << script-support:1 (Length: 16)
>> luar get_buildinfo().platform .. '\n' .. get_buildinfo().version .. '\n' .. get_buildinfo().build_number << a530
CHDK-DE
1.1.0 (Length: 20)
CHDK-DE=True
>> luar get_config_value(67) << 2 (2) (Length: 5)
aktueller Stromsparmode: 2
>> help << q quit quit program
h help list commands
r reset reconnect to camera
version get CHDK PTP version (ptpcam and camera)
shutdown-hard shutdown camera (hard)
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
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
luar <code> execute "return <code>" and retreive result
script-support which script interfaces does this build support (bit 0 set = lua)
script-status script execution status (bit 0 set = lua) (Length: 1255)
** init() successful
>> luar get_mode() << false (Length: 5)
>> mode 1 << (Length: 0)
>> luar get_mode() << false (Length: 5)
>> luar get_mode() << true (Length: 4)
>> luar get_mode() << true (Length: 4)
>> lua shoot() << (Length: 0)
>> lua set_ev(32) << (Length: 0)
>> luar get_mode() << true (Length: 4)
>> lua shoot() << (Length: 0)
>> lua set_ev(-32) << (Length: 0)
>> luar get_mode() << true (Length: 4)
>> lua shoot() << (Length: 0)
Viele Grüße