r5u870

Ricoh R5U870 Linux Driver
git clone https://logand.com/git/r5u870.git/
Log | Files | Refs | README | LICENSE

commit 4fb3f7c0203464c5b8e55022bddc12af2b3ee050
parent 21d21fe6a9f6e5c0c1b987614659a911ce4ef22d
Author: alex <alex@022568fa-442e-4ef8-a3e8-54dcafdb011a>
Date:   Thu, 13 Mar 2008 06:04:22 +0000

Finish attempted support for Fujitsu 1841 device.


git-svn-id: http://svn.mediati.org/svn/r5u870/trunk@70 022568fa-442e-4ef8-a3e8-54dcafdb011a

Diffstat:
Mr5u870.c | 19++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/r5u870.c b/r5u870.c @@ -2723,6 +2723,19 @@ static const int r5u870_1810_1839_ctrls[] = { R5U870_WDM_CTRL_LAST, }; +static const int r5u870_1841_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_LAST, +}; + /* * Standard resolution table for non-UVC cameras, @@ -2873,10 +2886,10 @@ static const struct r5u870_model r5u870_models[] = { .rm_uvc = 1, }, [R5U870_DI_FUJITSU] = { - .rm_name = "Fujitsu u810", + .rm_name = "Fujitsu F01", .rm_ucode_file = "r5u870_1841.fw", - .rm_ucode_version = 0xFFFF, /* TODO: Get the version code from the inf file. */ - .rm_wdm_ctrlids = r5u870_1810_183a_ctrls, + .rm_ucode_version = 0x0103, + .rm_wdm_ctrlids = r5u870_1841_ctrls, .rm_uvc = 1, }, [R5U870_DI_HP_WEBCAM1K] = {