Re: [Bug] gspca_zc3xx v.2.14.0 Auto Gain is OFF

2012-08-27 Thread Sam Bulka
Just wanted to add, in previous driver version 2.13.0 Auto Gain was 
switchable ON / OFF, but when switched ON, was activated all the time 
regardless 
of lighting conditions, resulting in overexposed images during a day light with 
only silhouettes visible. But in current version its impossible to switch Auto 
Gain 
ON, or its default settings are wrong so it just doesn't work at all.

There are long term and current driver maintainers frequent here, pls fix the 
issue. :)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Bug] gspca_zc3xx v.2.14.0 Auto Gain is OFF

2012-08-27 Thread Hans de Goede

Hi Sam,

Thanks for the detailed bug report. Unfortunately I don't have time to look into
this atm. Perhaps someone else reading the list has time to look into this ?

Regards,

Hans


On 08/26/2012 02:13 PM, Sam Bulka wrote:

Hello,

This is a bug report for gspca_zc3xx v.2.14.0 webcam driver installed as a 
module on ArchLinux plug computer, kernel 3.5.2-1-ARCH

[root@alarm ~]# dmesg

[   15.271381] gspca_main: v2.14.0 registered
[   15.303224] gspca_main: gspca_zc3xx-2.14.0 probing 046d:08d7
[   16.211715] fuse init (API version 7.19)
[   16.461436] input: gspca_zc3xx as 
/devices/platform/orion-ehci.0/usb1/1-1/1-1.4/input/input0
[   16.469635] usbcore: registered new interface driver snd-usb-audio
[   16.470642] usbcore: registered new interface driver gspca_zc3xx

[root@alarm ~]# lsusb
Bus 001 Device 004: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX

[root@alarm ~]# v4lctl list
attribute  | type   | current | default | comment
---++-+-+-
norm   | choice | (null)  | (null)  |
input  | choice | gspca_z | gspca_z | gspca_zc3xx
bright | int| 128 | 128 | range is 0 => 255
contrast   | int| 128 | 128 | range is 0 => 255
Gamma  | int|   4 |   4 | range is 1 => 6
Exposure   | int|2343 |2343 | range is 781 => 18750
Gain, Auto | bool   | on  | on  |
Power Line | choice | Disable | Disable | Disabled 50 Hz 60 Hz
Sharpness  | int|   2 |   2 | range is 0 => 3

The above output is complete, there is nothing else coming from dmesg.
In Windows 7 64-bit with the webcam connected, while running Logitech Webcam 
Software, shows some extra info:

Logitech QuickCam Communicate STX
Hardware IDUSB\VID_046D&PID_08D7&REV_0100&MI_00

Procmon output for LWS.exe (from Registry):

ZC0302 chipset, Image Sensor HV7131B

Attached to this message are exported webcam Registry settings (default and 
factual), and controls available for the webcam and optimally set by LWS. Also 
attached are datasheets for the webcam chipset and image sensor.

The main problems now are:

- Image Sensor can't be identified by gspca_zc3xx driver or verified since not 
shown in dmesg
- Auto Gain is switched off permanently (despite shown On), and its choice 
range is missing
- Color Saturation and White Balance controls are absent
- Changes in image are unnoticed when adjusting Brightness and Contrast within 
their full range

The webcam works with exposure and other adjustments manually changed over the day, but very difficult to get 
quality image in  evening low light. See also the discussion 
(https://bbs.archlinux.org/viewtopic.php?pid=879810#p879810) on how varying the driver's settings 
("quality" and other) affects controls responsiveness ("brightness" and 
"contrast") and perceived image quality.

Thanks,
Sam

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Bug] gspca_zc3xx v.2.14.0 Auto Gain is OFF

2012-08-26 Thread Sam Bulka
Registry Data for reference: Image Sensor Config

Key Name: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
Class Name: 
Last Write Time: 6/25/2012 - 7:08 PM
Value 0
 Name: CoInstallers32
 Type: REG_MULTI_SZ
 Data: lvco1201278.dll,LvCoInstaller

Value 1
 Name: DevLoader
 Type: REG_SZ
 Data: *ntkern

Value 2
 Name: NTMPDriver
 Type: REG_SZ
 Data: LV302V64.SYS

Value 3
 Name: PageOutWhenUnopened
 Type: REG_BINARY
 Data: 
 00 .

Value 4
 Name: DontSuspendIfStreamsAreRunning
 Type: REG_BINARY
 Data: 
 00 .

Value 5
 Name: HardwareConfig
 Type: REG_BINARY
 Data: 
 01 .

Value 6
 Name: LVFunctions
 Type: REG_DWORD
 Data: 0x3

Value 7
 Name: LVFeatures
 Type: REG_DWORD
 Data: 0

Value 8
 Name: LVCategories
 Type: REG_DWORD
 Data: 0x1121

Value 9
 Name: LVDistribution
 Type: REG_DWORD
 Data: 0x1

Value 10
 Name: USDClass
 Type: REG_SZ
 Data: {0527d1d0-88c2-11d2-82c7-00c04f8ec183}

Value 11
 Name: EnumPropPages32
 Type: REG_SZ
 Data: Lvui64.dll,EnumPropPages

Value 12
 Name: LVPowSaveDisable
 Type: REG_DWORD
 Data: 0x1

Value 13
 Name: LVSSDisable
 Type: REG_DWORD
 Data: 0x1

Value 14
 Name: LVSelSusInterfaceGUID
 Type: REG_SZ
 Data: {FA33C4CD-7C6D-4a5d-8AD4-CFB86D02AE9E}

Value 15
 Name: InfPath
 Type: REG_SZ
 Data: oem76.inf

Value 16
 Name: IncludedInfs
 Type: REG_MULTI_SZ
 Data: ks.inf
 kscaptur.inf
 ksfilter.inf

Value 17
 Name: InfSection
 Type: REG_SZ
 Data: PID_08D7.XPAMD64

Value 18
 Name: ProviderName
 Type: REG_SZ
 Data: Logitech

Value 19
 Name: DriverDateData
 Type: REG_BINARY
 Data: 
 00 80 cf 9a 26 c9 c9 01 - ..Ï.&ÉÉ.

Value 20
 Name: DriverDate
 Type: REG_SZ
 Data: 4-30-2009

Value 21
 Name: DriverVersion
 Type: REG_SZ
 Data: 12.0.1278.0

Value 22
 Name: MatchingDeviceId
 Type: REG_SZ
 Data: usb\vid_046d&pid_08d7&mi_00

Value 23
 Name: DriverDesc
 Type: REG_SZ
 Data: Logitech QuickCam Communicate STX

Value 24
 Name: KS
 Type: REG_SZ
 Data: 1


Key Name: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001\ChipConfig
Class Name: 
Last Write Time: 6/25/2012 - 7:08 PM

Key Name: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001\ChipConfig\SupportSensor
Class Name: 
Last Write Time: 6/25/2012 - 7:08 PM

Key Name: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001\ChipConfig\SupportSensor\HV7131B
Class Name: 
Last Write Time: 6/25/2012 - 7:08 PM
Value 0
 Name: CMD
 Type: REG_BINARY
 Data: 
 ff 20 00 00 f0 01 03 00 - f0 02 10 30 ÿ ..ð...ð..0

Value 1
 Name: Initial
 Type: REG_BINARY
 Data: 
 00 00 01 cc 00 02 00 cc - 00 10 01 cc 00 01 01 cc ...Ì...Ì...Ì...Ì
0010 01 01 77 cc 00 08 03 cc - 00 12 07 cc 00 12 01 cc ..wÌ...Ì...Ì...Ì
0020 00 03 02 cc 00 04 80 cc - 00 05 01 cc 00 06 e0 cc ...Ì...Ì...Ì..àÌ
0030 00 98 00 cc 00 9a 00 cc - 00 9b 01 cc 00 9c e6 cc ...Ì...Ì...Ì..æÌ
0040 00 9d 02 cc 00 9e 86 cc - 01 1a 00 cc 01 1c 00 cc ...Ì...Ì...Ì...Ì
0050 00 12 07 cc 00 02 00 dd - 00 12 05 cc 00 01 0c aa ...Ì...Ý...Ì...ª
0060 00 11 00 aa 00 13 00 aa - 00 14 01 aa 00 15 e6 aa ...ª...ª...ª..æª
0070 00 16 02 aa 00 17 86 aa - 00 30 0b aa 00 19 00 cc ...ª...ª.0.ª...Ì
0080 01 00 0d cc 01 8d 78 cc - 01 a8 50 cc 01 ad 00 cc ...Ì..xÌ.¨PÌ..Ì
0090 01 9b c0 cc 01 9c a0 cc - 01 89 06 cc 01 c5 03 cc ..ÀÌ.. Ì...Ì.Å.Ì
00a0 01 cb 13 cc 02 50 08 cc - 03 01 08 cc .Ë.Ì.P.Ì...Ì

Value 2
 Name: InitialScale
 Type: REG_BINARY
 Data: 
 00 00 01 cc 00 02 10 cc - 00 10 01 cc 00 01 01 cc ...Ì...Ì...Ì...Ì
0010 01 01 77 cc 00 08 03 cc - 00 12 07 cc 00 12 01 cc ..wÌ...Ì...Ì...Ì
0020 00 03 02 cc 00 04 80 cc - 00 05 01 cc 00 06 e0 cc ...Ì...Ì...Ì..àÌ
0030 00 98 00 cc 00 9a 00 cc - 00 9b 01 cc 00 9c e8 cc ...Ì...Ì...Ì..èÌ
0040 00 9d 02 cc 00 9e 88 cc - 01 1a 00 cc 01 1c 00 cc ...Ì...Ì...Ì...Ì
0050 00 12 07 cc 00 02 00 dd - 00 12 05 cc 00 01 0c aa ...Ì...Ý...Ì...ª
0060 00 11 00 aa 00 13 00 aa - 00 14 01 aa 00 15 e8 aa ...ª...ª...ª..èª
0070 00 16 02 aa 00 17 88 aa - 00 30 0b aa 00 19 00 cc ...ª...ª.0.ª...Ì
0080 01 00 0d cc 01 8d 78 cc - 01 a8 50 cc 01 ad 00 cc ...Ì..xÌ.¨PÌ..Ì
0090 01 9b c0 cc 01 9c a0 cc - 01 89 06 cc 01 c5 03 cc ..ÀÌ.. Ì...Ì.Å.Ì
00a0 01 cb 13 cc 02 50 08 cc - 03 01 08 cc .Ë.Ì.P.Ì...Ì


Key Name: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001\ChipConfig\SupportSensor\HV7131B\AE
Class Name: 
Last Write Time: 6/25/2012 - 7:08 PM
Value 0
 Name: 50HZ
 Type: REG_BINARY
 Data: 
 00 19 00 cc 01 90 06 cc - 01 91 68 cc 01 92 a0 cc ...Ì...Ì..hÌ.. Ì
0010 01 95 00 cc 01 96 ea cc - 01 97 60 cc 01 8c 18 cc ...Ì..êÌ..`Ì...Ì
0020 01 8f 20 cc 01 a9 10 cc - 01 aa 66 cc 00 1d 00 cc .. Ì.©.Ì.ªfÌ...Ì
0030 00 1e d0 cc 00 1f 00 cc - 00 20 08 cc ..ÐÌ...Ì. .Ì

Value 1
 Name: 50HZScale
 Type: REG_BINARY
 Data: 
 00 19 00 cc 01 90 0c cc - 01 91 d1 cc 01 92 

Re: [Bug] gspca_zc3xx v.2.14.0 Auto Gain is OFF (Chipset Config)

2012-08-26 Thread Sam Bulka
Webcam Chipset Config for reference:

Key Name:  HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001
Class Name:
Last Write Time:   6/25/2012 - 7:08 PM
Value 0
  Name:CoInstallers32
  Type:REG_MULTI_SZ
  Data:lvco1201278.dll,LvCoInstaller

Value 1
  Name:DevLoader
  Type:REG_SZ
  Data:*ntkern

Value 2
  Name:NTMPDriver
  Type:REG_SZ
  Data:LV302V64.SYS

Value 3
  Name:PageOutWhenUnopened
  Type:REG_BINARY
  Data:
   00 .

Value 4
  Name:DontSuspendIfStreamsAreRunning
  Type:REG_BINARY
  Data:
   00 .

Value 5
  Name:HardwareConfig
  Type:REG_BINARY
  Data:
   01 .

Value 6
  Name:LVFunctions
  Type:REG_DWORD
  Data:0x3

Value 7
  Name:LVFeatures
  Type:REG_DWORD
  Data:0

Value 8
  Name:LVCategories
  Type:REG_DWORD
  Data:0x1121

Value 9
  Name:LVDistribution
  Type:REG_DWORD
  Data:0x1

Value 10
  Name:USDClass
  Type:REG_SZ
  Data:{0527d1d0-88c2-11d2-82c7-00c04f8ec183}

Value 11
  Name:EnumPropPages32
  Type:REG_SZ
  Data:Lvui64.dll,EnumPropPages

Value 12
  Name:LVPowSaveDisable
  Type:REG_DWORD
  Data:0x1

Value 13
  Name:LVSSDisable
  Type:REG_DWORD
  Data:0x1

Value 14
  Name:LVSelSusInterfaceGUID
  Type:REG_SZ
  Data:{FA33C4CD-7C6D-4a5d-8AD4-CFB86D02AE9E}

Value 15
  Name:InfPath
  Type:REG_SZ
  Data:oem76.inf

Value 16
  Name:IncludedInfs
  Type:REG_MULTI_SZ
  Data:ks.inf
   kscaptur.inf
   ksfilter.inf

Value 17
  Name:InfSection
  Type:REG_SZ
  Data:PID_08D7.XPAMD64

Value 18
  Name:ProviderName
  Type:REG_SZ
  Data:Logitech

Value 19
  Name:DriverDateData
  Type:REG_BINARY
  Data:
   00 80 cf 9a 26 c9 c9 01 -  ..Ï.&ÉÉ.

Value 20
  Name:DriverDate
  Type:REG_SZ
  Data:4-30-2009

Value 21
  Name:DriverVersion
  Type:REG_SZ
  Data:12.0.1278.0

Value 22
  Name:MatchingDeviceId
  Type:REG_SZ
  Data:usb\vid_046d&pid_08d7&mi_00

Value 23
  Name:DriverDesc
  Type:REG_SZ
  Data:Logitech QuickCam Communicate STX

Value 24
  Name:KS
  Type:REG_SZ
  Data:1


Key Name:  HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001\ChipConfig
Class Name:
Last Write Time:   6/25/2012 - 7:08 PM

Key Name:  HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001\ChipConfig\SupportSensor
Class Name:
Last Write Time:   6/25/2012 - 7:08 PM

Key Name:  HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001\ChipConfig\SupportSensor\HV7131B
Class Name:
Last Write Time:   6/25/2012 - 7:08 PM
Value 0
  Name:CMD
  Type:REG_BINARY
  Data:
   ff 20 00 00 f0 01 03 00 - f0 02 10 30  ÿ ..ð...ð..0

Value 1
  Name:Initial
  Type:REG_BINARY
  Data:
   00 00 01 cc 00 02 00 cc - 00 10 01 cc 00 01 01 cc  ...Ì...Ì...Ì...Ì
0010   01 01 77 cc 00 08 03 cc - 00 12 07 cc 00 12 01 cc  ..wÌ...Ì...Ì...Ì
0020   00 03 02 cc 00 04 80 cc - 00 05 01 cc 00 06 e0 cc  ...Ì...Ì...Ì..àÌ
0030   00 98 00 cc 00 9a 00 cc - 00 9b 01 cc 00 9c e6 cc  ...Ì...Ì...Ì..æÌ
0040   00 9d 02 cc 00 9e 86 cc - 01 1a 00 cc 01 1c 00 cc  ...Ì...Ì...Ì...Ì
0050   00 12 07 cc 00 02 00 dd - 00 12 05 cc 00 01 0c aa  ...Ì...Ý...Ì...ª
0060   00 11 00 aa 00 13 00 aa - 00 14 01 aa 00 15 e6 aa  ...ª...ª...ª..æª
0070   00 16 02 aa 00 17 86 aa - 00 30 0b aa 00 19 00 cc  ...ª...ª.0.ª...Ì
0080   01 00 0d cc 01 8d 78 cc - 01 a8 50 cc 01 ad 00 cc  ...Ì..xÌ.¨PÌ.­.Ì
0090   01 9b c0 cc 01 9c a0 cc - 01 89 06 cc 01 c5 03 cc  ..ÀÌ.. Ì...Ì.Å.Ì
00a0   01 cb 13 cc 02 50 08 cc - 03 01 08 cc  .Ë.Ì.P.Ì...Ì

Value 2
  Name:InitialScale
  Type:REG_BINARY
  Data:
   00 00 01 cc 00 02 10 cc - 00 10 01 cc 00 01 01 cc  ...Ì...Ì...Ì...Ì
0010   01 01 77 cc 00 08 03 cc

[Bug] gspca_zc3xx v.2.14.0 Auto Gain is OFF

2012-08-26 Thread Sam Bulka

This is a bug report for gspca_zc3xx v.2.14.0 webcam driver installed as a
module on ArchLinux plug computer, kernel 3.5.2-1-ARCH

[root@alarm ~]# dmesg

[   15.271381] gspca_main: v2.14.0 registered
[   15.303224] gspca_main: gspca_zc3xx-2.14.0 probing 046d:08d7
[   16.211715] fuse init (API version 7.19)
[   16.461436] input: gspca_zc3xx as
/devices/platform/orion-ehci.0/usb1/1-1/1-1.4/input/input0
[   16.469635] usbcore: registered new interface driver snd-usb-audio
[   16.470642] usbcore: registered new interface driver gspca_zc3xx

[root@alarm ~]# lsusb
Bus 001 Device 004: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX

[root@alarm ~]# v4lctl list
attribute  | type   | current | default | comment
---++-+-+-
norm   | choice | (null)  | (null)  |
input  | choice | gspca_z | gspca_z | gspca_zc3xx
bright | int| 128 | 128 | range is 0 => 255
contrast   | int| 128 | 128 | range is 0 => 255
Gamma  | int|   4 |   4 | range is 1 => 6
Exposure   | int|2343 |2343 | range is 781 => 18750
Gain, Auto | bool   | on  | on  |
Power Line | choice | Disable | Disable | Disabled 50 Hz 60 Hz
Sharpness  | int|   2 |   2 | range is 0 => 3

The above output is complete, there is nothing else coming from dmesg.
In Windows 7 64-bit with the webcam connected, while running Logitech
Webcam Software, shows some extra info:

Logitech QuickCam Communicate STX
Hardware ID USB\VID_046D&PID_08D7&REV_0100&MI_00

Procmon output for LWS.exe (from Registry):

ZC0302 chipset, Image Sensor HV7131B

Attached to this message are exported webcam Registry settings (default
and factual), and controls available for the webcam and optimally set by
LWS. Also attached are datasheets for the webcam chipset and image sensor.

The main problems now are:

- Image Sensor can't be identified by gspca_zc3xx driver or verified by  
user since

not shown in dmesg
- Auto Gain is switched off permanently (despite shown On), and its choice
range is missing
- Color Saturation and White Balance controls are absent
- Changes in image are unnoticed when adjusting Brightness and Contrast
within their full range

The webcam works with exposure and other adjustments manually changed over
the day, but very difficult to get quality image in  evening low light.
See also the discussion
(https://bbs.archlinux.org/viewtopic.php?pid=879810#p879810) on how
varying the driver's settings ("quality" and other) affects controls
responsiveness ("brightness" and "contrast") and perceived image quality.

Thanks,
SamÿþKey Name:          
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001

Class Name:        <NO CLASS>

Last Write Time:   6/25/2012 - 7:08 PM

Value 0

  Name:            CoInstallers32

  Type:            REG_MULTI_SZ

  Data:            
lvco1201278.dll,LvCoInstaller



Value 1

  Name:            DevLoader

  Type:            REG_SZ

  Data:            *ntkern



Value 2

  Name:            NTMPDriver

  Type:            REG_SZ

  Data:            LV302V64.SYS



Value 3

  Name:            PageOutWhenUnopened

  Type:            REG_BINARY

  Data:            

00000000   00                           
                      .



Value 4

  Name:            
DontSuspendIfStreamsAreRunning

  Type:            REG_BINARY

  Data:            

00000000   00                           
                      .



Value 5

  Name:            HardwareConfig

  Type:            REG_BINARY

  Data:            

00000000   01                           
                      .



Value 6

  Name:            LVFunctions

  Type:            REG_DWORD

  Data:            0x3



Value 7

  Name:            LVFeatures

  Type: