Bug 48111

Summary: Genius webcam do not work
Product: v4l-dvb Reporter: maverickperfect
Component: webcamAssignee: webcam (v4l-dvb_webcam)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: florian, maverickperfect, mchehab
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.6-rc7 Subsystem:
Regression: No Bisected commit-id:

Description maverickperfect 2012-09-30 18:38:13 UTC
The Genius Eye 310 webcam is not recognized by kernel

Previously reported: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1046608
dmesg message:
[121.851412] usb 5-1: new full-speed USB device number 4 using uhci_hcd

lsusb message:
Bus 001 Device 010: ID 0c45:6027 Microdia

-- What I expected to happen
A device on /dev/video0, accessible for applications using webcam

--What happened
/dev/video0 does not exist, gspca (2.14) does not seem to know how to operate the device, and ignores it.

Compiling the gspca driver in version 2.15.18 does not recognize it, but the camera "works" with the driver partially sonixb (sonix RGB) (which does not belong)
The camera SHOULD work with the driver compiled sonixj (sonix jpeg), but does not really work: 
1. adding the line in sonixj.c and compiling:
	{USB_DEVICE(0x0c45, 0x6027), BS(SN9C105, OV7660)},/* Genius Eye 310 */

2. the driver recognizes all without problems ...
dmesg:
[14095.652262] usb 1-3.2: new full-speed USB device number 12 using ehci_hcd
[14095.767862] gspca_main: v2.15.18 registered
[14095.768522] gspca_main: sonixj-2.15.18 probing 0c45:6027
[14095.769254] gspca_sonixj: Sonix chip id: 10
[14095.769289] usbcore: registered new interface driver sonixj

... but no device in /dev/video*
Comment 1 maverickperfect 2012-10-17 22:35:43 UTC
In Launchpad thread:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1046608
appear "this bug are resolved"
Comment 2 Mauro Carvalho Chehab 2012-10-17 23:24:57 UTC
The patch at:
   https://launchpadlibrarian.net/119688505/sonixb.diff

Should be submitted, with author's Signed-off-by: to linux-media@vger.kernel.org, for its addition at the upstream kernel.
Comment 3 Florian Mickler 2012-12-22 09:29:36 UTC
A patch referencing this bug report has been merged in Linux v3.8-rc1:

commit f72c77a02fee184a376344328d18bcfdce740792
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Sun Nov 4 17:12:10 2012 -0300

    [media] gspca-sonixb: Add USB-id for Genius Eye 310