commit 77c4f8114eaa89f4d1fd9ccf9bfcd0c536c42c27
parent f4dbe84c603ca149e5a5659decc8933eb7aaf398
Author: alex <alex@022568fa-442e-4ef8-a3e8-54dcafdb011a>
Date: Sat, 16 Aug 2008 04:27:26 +0000
Add support for 183e webcams. Thanks to Pete Black for this.
git-svn-id: http://svn.mediati.org/svn/r5u870/trunk@100 022568fa-442e-4ef8-a3e8-54dcafdb011a
Diffstat:
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/r5u870.c b/r5u870.c
@@ -2711,6 +2711,19 @@ static const int r5u870_1810_183b_ctrls[] = {
R5U870_WDM_CTRL_NIGHTMODE,
R5U870_WDM_CTRL_LAST,
};
+static const int r5u870_1810_183e_ctrls[] = {
+ /* TODO: Maybe there are more of these? I don't actually have a webcam
+ to test against the different WDM controls. */
+ R5U870_WDM_CTRL_WB_RED,
+ R5U870_WDM_CTRL_WB_GREEN,
+ R5U870_WDM_CTRL_WB_BLUE,
+ R5U870_WDM_CTRL_WB_AUTO,
+ R5U870_WDM_CTRL_VFLIP,
+ R5U870_WDM_CTRL_HFLIP,
+ R5U870_WDM_CTRL_PRIVACY,
+ R5U870_WDM_CTRL_NIGHTMODE,
+ R5U870_WDM_CTRL_LAST,
+};
static const int r5u870_1810_1839_ctrls[] = {
/* TODO: Maybe there are more of these? I don't actually have a webcam
to test against the different WDM controls. */
@@ -2802,6 +2815,7 @@ enum {
R5U870_DI_VGP_VCC6,
R5U870_DI_VGP_VCC7,
R5U870_DI_VGP_VCC8,
+ R5U870_DI_VGP_VCC9,
R5U870_DI_HP_WEBCAM1K,
R5U870_DI_HP_PAVWC_WDM,
R5U870_DI_HP_PAVWC_UVC,
@@ -2886,6 +2900,13 @@ static const struct r5u870_model r5u870_models[] = {
.rm_wdm_ctrlids = r5u870_1810_183b_ctrls,
.rm_uvc = 1,
},
+ [R5U870_DI_VGP_VCC9] = {
+ .rm_name = "Sony VGP-VCC9",
+ .rm_ucode_file = "r5u870_183e.fw",
+ .rm_ucode_version = 0x0100,
+ .rm_wdm_ctrlids = r5u870_1810_183e_ctrls,
+ .rm_uvc = 1,
+ },
[R5U870_DI_FUJITSU] = {
.rm_name = "Fujitsu F01",
.rm_ucode_file = "r5u870_1841.fw",
@@ -3002,6 +3023,7 @@ static const struct usb_device_id id_table[] = {
{ R5U870_DEVICE_UVC(0x05CA, 0x1839, R5U870_DI_VGP_VCC6) },
{ R5U870_DEVICE_UVC(0x05CA, 0x183a, R5U870_DI_VGP_VCC7) },
{ R5U870_DEVICE_UVC(0x05CA, 0x183b, R5U870_DI_VGP_VCC8) },
+ { R5U870_DEVICE_UVC(0x05CA, 0x183e, R5U870_DI_VGP_VCC9) },
{ R5U870_DEVICE_UVC(0x05CA, 0x1841, R5U870_DI_FUJITSU) },
{ },
};
diff --git a/r5u870_183e.fw b/r5u870_183e.fw
Binary files differ.