USB webcam Genius VideoCam V2 0458:7007 using gspca/zc3xx module

Hi,

I just wanted to let all you know that the webcam Genius VideoCam V2 0458:7007 is being incorrectly detected in openSUSE starting from 11.2. Because invalid sensor is probed: CS2102K instead of TAS5130C

Wrong dmesg:

[47176.071110] usb 3-1: new full speed USB device using ohci_hcd and address 2
[47176.213192] usb 3-1: New USB device found, idVendor=0458, idProduct=7007
[47176.213210] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[47176.612416] gspca: v2.10.0 registered
[47176.622626] gspca: probing 0458:7007
[47177.741145] zc3xx: probe 2wr ov vga 0x0000
[47177.857079] zc3xx: probe 3wr vga 1 0x8000
[47177.867106] zc3xx: probe sensor -> 0014
[47177.867114] zc3xx: Find Sensor CS2102K?. Chip revision 8000
[47177.871952] input: zc3xx as /devices/pci0000:00/0000:00:12.0/usb3/3-1/input/input31
[47177.872363] gspca: video1 created
[47177.872678] usbcore: registered new interface driver zc3xx

As a result the camera produces Input/Output error when using it.
(there are bugs filed for Fedora: 571189 – Genius webcam (0458:7007) doesn't work and 526020 – Genius webcam not work but no resolution or workaround filed)

To make it working you need to configure module gspca_zc3xx to force sensor to TAS5130C.
Create file in /etc/modprobe.d/gspca.conf and put there a line:

options gspca_zc3xx force_sensor=17

Now reload the module or restart your system.

Dmesg should show:

[48555.779206] usb 3-1: new full speed USB device using ohci_hcd and address 4
[48555.922225] usb 3-1: New USB device found, idVendor=0458, idProduct=7007
[48555.922244] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[48555.924817] gspca: probing 0458:7007
[48557.044138] zc3xx: probe 2wr ov vga 0x0000
[48557.158111] zc3xx: probe 3wr vga 1 0x8000
[48557.168115] zc3xx: probe sensor -> 0014
[48557.168118] zc3xx: sensor forced to 17
[48557.172211] input: zc3xx as /devices/pci0000:00/0000:00:12.0/usb3/3-1/input/input35
[48557.172353] gspca: video1 created

Now the camera works fine.
To use it with skype you need to run skype by this command:

> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

Hope this helps somebody
Cheers!

For 12.1 and 12.2 you need to use force_sensor=18