* blink2.txt: Updated with more USB control commands.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7679 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2005-03-25 15:53:58 +00:00
parent a3fb7a312d
commit 767e5f45cf

View File

@@ -2,12 +2,20 @@ Blink2 Protocol
Mostly control messages...
Number of pictures:
control read 0x08, 0x03, 0x00 -> buf[2] (high, low byte)
(control <read/write> bRequest, wValue, wIndex -> buf[wLength])
Get Firmware ID:
control read 0x18, 0x03, 0x00 -> buf[6]
Gets the firmware id.
Number of Pictures:
control read 0x8, 0x03, 0x00 -> buf[2] (high, low byte)
Gets number of pictures.
Get Dir:
Get Directory:
control read 0x0d, 0x03, 0x00 -> buf[1]
bulk read (((8*(1+numpics))+0x3f) & ~0x3f) bytes.
@@ -17,7 +25,6 @@ Get Dir:
buf[8*(i+1)+5 ... 7] - 3 bytes start, MSB first
buf[8*(i+1)+13 ... 15] - 3 bytes end, MSB first
Gets the directory entries.
@@ -52,3 +59,54 @@ Delete Last Image:
control read 0x11, 0x03, 0x00 -> buf[1]
Last image on camera is deleted.
Start Video:
control read 0x4, 0x01, 0x00 -> buf[1]
This starts the ISO transfers I suspect?
Current Video Position (??):
control read 0x7, 0x00, 0x00 -> buf[2]
Unclear, I think it returns amount of data read in buf[2].
Initialize Still Mode:
control read 0x4, 0x03, 0x00 -> buf[1]
Hmm (?) / Resync Routine:
control read 0x13, 0x0, 0x00 -> buf[1]
Set Exposure Count(value):
control read 0x17, 0x03, value -> buf[1]
Set Compression(value):
control read 0x1b, 0x03, value -> buf[1]
Set Whitebalance(value):
control read 0x1d, 0x03, value -> buf[1]
Set Still Quality(value):
control read 0x1a, 0x03, value -> buf[1]
Set Flare(value)
control read 0x19, 0x03, value -> buf[1]
Notes for Marcus:
Internal Driver Properties:
ID Name Range Default
0x01 Brightness 0-50 43
0x03 Sharpness 0-255 20
0x08 Saturation 0-128 128
0x0b Whitebalance 0-7 7
0x0c Gamma 0-11 9
0x0d Backlight 0-1 0
0x0e Contrast ? 0-14 7