diff options
author | Luca Risolia <luca.risolia@studio.unibo.it> | 2006-02-25 01:57:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 17:50:00 -0500 |
commit | a847423905c6a8ccd6671d05f5877d893d10cd9f (patch) | |
tree | ca7a67a3f37889bf7c612d246fa5173dfbef320a /Documentation | |
parent | ccad7789d5e557644d1c866b018394872af0ec5b (diff) |
[PATCH] USB: ZC0301 driver updates
ZC0301 driver updates.
Changes: + new, - removed, * cleanup, @ bugfix
@ Need usb_get|put_dev() when disconnecting, if the device is open
* Cleanups and updates in the documentation
+ Use per-device sensor structures
+ Add frame_timeout module parameter
Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/usb/zc0301.txt | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/Documentation/usb/zc0301.txt b/Documentation/usb/zc0301.txt index 0889ae6ac7d8..095838420e82 100644 --- a/Documentation/usb/zc0301.txt +++ b/Documentation/usb/zc0301.txt | |||
@@ -68,11 +68,6 @@ Some of the features of the driver are: | |||
68 | data transfers; | 68 | data transfers; |
69 | - automatic detection of image sensor; | 69 | - automatic detection of image sensor; |
70 | - video format is standard JPEG; | 70 | - video format is standard JPEG; |
71 | - full support for the capabilities of every possible image sensors that can | ||
72 | be connected to the ZC0301 bridges, including, for istance, red, green, | ||
73 | blue and global gain adjustments and exposure control (see "Supported | ||
74 | devices" paragraph for details); | ||
75 | - use of default color settings for sunlight conditions; | ||
76 | - dynamic driver control thanks to various module parameters (see "Module | 71 | - dynamic driver control thanks to various module parameters (see "Module |
77 | parameters" paragraph); | 72 | parameters" paragraph); |
78 | - up to 64 cameras can be handled at the same time; they can be connected and | 73 | - up to 64 cameras can be handled at the same time; they can be connected and |
@@ -171,6 +166,14 @@ Description: Force the application to unmap previously mapped buffer memory | |||
171 | 1 = force memory unmapping (save memory) | 166 | 1 = force memory unmapping (save memory) |
172 | Default: 0 | 167 | Default: 0 |
173 | ------------------------------------------------------------------------------- | 168 | ------------------------------------------------------------------------------- |
169 | Name: frame_timeout | ||
170 | Type: uint array (min = 0, max = 64) | ||
171 | Syntax: <n[,...]> | ||
172 | Description: Timeout for a video frame in seconds. This parameter is | ||
173 | specific for each detected camera. This parameter can be | ||
174 | changed at runtime thanks to the /sys filesystem interface. | ||
175 | Default: 2 | ||
176 | ------------------------------------------------------------------------------- | ||
174 | Name: debug | 177 | Name: debug |
175 | Type: ushort | 178 | Type: ushort |
176 | Syntax: <n> | 179 | Syntax: <n> |
@@ -198,17 +201,23 @@ devices mounting the ZC0301 Image Processor and Control Chips: | |||
198 | 201 | ||
199 | Vendor ID Product ID | 202 | Vendor ID Product ID |
200 | --------- ---------- | 203 | --------- ---------- |
204 | 0x10fd 0x8050 | ||
205 | 0x041e 0x0417 | ||
206 | 0x041e 0x041e | ||
207 | 0x041e 0x081c | ||
208 | 0x041e 0x0834 | ||
209 | 0x041e 0x0835 | ||
201 | 0x046d 0x08ae | 210 | 0x046d 0x08ae |
211 | 0x0ac8 0x0301 | ||
202 | 212 | ||
203 | The following image sensors are supported: | 213 | The list above does not imply that all those devices work with this driver: up |
214 | until now only the ones that mount the following image sensors are supported; | ||
215 | kernel messages will always tell you whether this is the case: | ||
204 | 216 | ||
205 | Model Manufacturer | 217 | Model Manufacturer |
206 | ----- ------------ | 218 | ----- ------------ |
207 | PAS202BCB PixArt Imaging, Inc. | 219 | PAS202BCB PixArt Imaging, Inc. |
208 | 220 | ||
209 | All the available control settings of each image sensor are supported through | ||
210 | the V4L2 interface. | ||
211 | |||
212 | 221 | ||
213 | 9. Notes for V4L2 application developers | 222 | 9. Notes for V4L2 application developers |
214 | ======================================== | 223 | ======================================== |
@@ -240,6 +249,6 @@ the fingerprint is: '88E8 F32F 7244 68BA 3958 5D40 99DA 5D2A FCE6 35A4'. | |||
240 | - Informations about the chip internals needed to enable the I2C protocol have | 249 | - Informations about the chip internals needed to enable the I2C protocol have |
241 | been taken from the documentation of the ZC030x Video4Linux1 driver written | 250 | been taken from the documentation of the ZC030x Video4Linux1 driver written |
242 | by Andrew Birkett <andy@nobugs.org>; | 251 | by Andrew Birkett <andy@nobugs.org>; |
243 | - Initialization values of the ZC0301 controller connected to the PAS202BCB | 252 | - The initialization values of the ZC0301 controller connected to the PAS202BCB |
244 | image sensor have been taken from the SPCA5XX driver maintained by | 253 | image sensor have been taken from the SPCA5XX driver maintained by |
245 | Michel Xhaard <mxhaard@magic.fr>. | 254 | Michel Xhaard <mxhaard@magic.fr>. |