summaryrefslogtreecommitdiff
path: root/camlibs/sipix
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2005-03-25 15:53:58 +0000
committerMarcus Meissner <marcus@jet.franken.de>2005-03-25 15:53:58 +0000
commit767e5f45cf44d53de2db25eb6837bdca17cb0286 (patch)
tree162b8ff3a9d150f5a94e6b737e68070c610e1c9d /camlibs/sipix
parenta3fb7a312d42b4535170385b776eb958cdc0f2bd (diff)
downloadlibgphoto2-767e5f45cf44d53de2db25eb6837bdca17cb0286.tar.gz
* 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
Diffstat (limited to 'camlibs/sipix')
-rw-r--r--camlibs/sipix/blink2.txt66
1 files changed, 62 insertions, 4 deletions
diff --git a/camlibs/sipix/blink2.txt b/camlibs/sipix/blink2.txt
index b0f876fa6..39aa58844 100644
--- a/camlibs/sipix/blink2.txt
+++ b/camlibs/sipix/blink2.txt
@@ -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