Hey all, another ptpcam question here.
I am using multiple S95's connected to a Linux computer. I would like to know if there is a way to assign a custom name to each S95 that ptpcam can see (other than the S/N).
Let me show you what I've got so far:
$ ./ptpcam -l
Listing devices...
bus/dev vendorID/prodID device model
002/006 0x04A9/0x3212 Canon PowerShot S95
002/005 0x04A9/0x3212 Canon PowerShot S95
This is great. Is the device model something that can be changed? Either through modifying something in the CHDK on the camera's card or with ptpcam?
I realize that I can use ./ptpcam -i to get more detailed information, but is any of the editable? And if so, where and how?
$ ./ptpcam --dev=5 -i
Camera information
==================
**DEBUG: open_camera(), dev: 5 bus: 0 force: 0
Model: Canon PowerShot S95
manufacturer: Canon Inc.
serial number: '8DA4BC07A9014A3DAFAC1A32B44F8AE5'
device version: 1-9.0.1.0
extension ID: 0x00000006
extension description: (null)
extension version: 0x0064
$ ./ptpcam --dev=5 --show-all-properties
**DEBUG: open_camera(), dev: 5 bus: 0 force: 0
Camera: Canon PowerShot S95 (bus 0, dev 5)
0xd045: 0x0002 (2)
0xd04a: 0
0xd02e: 0x00080000 (524288)
0xd02f: 0x00080000 (524288)
0x5001: 3
0xd002: 0x0000 (0)
0xd003: 0x00000001 (1)
0xd034: 0x4F884612 (1334330898)
0xd047: 0x0002 (2)
0xd046: 0x0101 (257)
0xd030: 0x00000100 (256)
0xd049: 0x02950000 (43319296)
0xd032: "Canon PowerShot S95"
0xd033:
0xd031: 0x01000000 (16777216)
0xd050: 0
0xd051:
0xd402: "Canon PowerShot S95"
0xd406: "Windows"
0xd407: 0x00000001 (1)
0xd303: 1
All of these properties are exactly the same for the other camera except for 0xd034: 0x4F88461B (1334330907).
However, it doesn't seem like any of these "properties" can be set (I only tried the ones without values in them initially):
$ ./ptpcam --set-property=0xd051 --val="test"
**DEBUG: open_camera(), dev: 0 bus: 0 force: 0
Camera: Canon PowerShot S95
'UNKNOWN' is set to:
Changing property value to test [(null)] FAILED!!!
PTP: I/O error
ERROR: Could not close session!
$ ./ptpcam --set-property=0xd051 --val=42
**DEBUG: open_camera(), dev: 0 bus: 0 force: 0
Camera: Canon PowerShot S95
'UNKNOWN' is set to:
Changing property value to 42 [(null)] FAILED!!!
PTP: I/O error
ERROR: Could not close session!
Am I not doing this correctly or is this not supported with CHDK?
I noticed that the CHDK customization of ptpcam has some stuff in there for reading and setting memory on the camera:
$ ./ptpcam --chdk="memory 0x1-0xff"
Does anybody know some locations of memory that are possibly unused that could be set to something custom?
Any help would be appreciated.