Genius webcam do not work in Ubuntu 12.04

Bug #1046608 reported by Luis Fernando
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Luis Fernando

Bug Description

The Genius Eye 310 webcam is not recognized by Ubuntu

"lsb_release -rd" message:
Description: Ubuntu 12.04.1 LTS
Release: 12.04

Ubuntu 12.04 with "linux-image-3.2.0-29-generic-pae" kernel

dmesg message:
[13440.956029] usb 7-1: new full-speed USB device number 5 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: 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*
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: maverickp 6578 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd3220000 irq 48'
   Mixer name : 'SigmaTel STAC9271D'
   Components : 'HDA:83847627,80863001,00100201'
   Controls : 46
   Simple ctrls : 26
Card1.Amixer.info:
 Card hw:1 'CMI8738'/'C-Media CMI8738 (model 55) at 0x1400, irq 21'
   Mixer name : 'CMedia PCI'
   Components : ''
   Controls : 41
   Simple ctrls : 22
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=16b3ac47-f112-4983-8f35-3d602b557a82
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=es_BO:es
 TERM=xterm
 PATH=(custom, no user)
 LANG=es_BO.UTF-8
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic-pae root=UUID=29f53b0c-94b1-440d-8f54-4585af41ff9b ro init=/sbin/e4rat-preload profile
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-29-generic-pae N/A
 linux-backports-modules-3.2.0-29-generic-pae N/A
 linux-firmware 1.79
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
StagingDrivers: mei
Tags: precise staging
Uname: Linux 3.2.0-29-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lp lpadmin plugdev sambashare sudo vboxusers
WifiSyslog:

dmi.bios.date: 10/02/2007
dmi.bios.vendor: Intel Corp.
dmi.bios.version: DPP3510J.86A.0293.2007.1002.1519
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DP35DP
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD81073-207
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrDPP3510J.86A.0293.2007.1002.1519:bd10/02/2007:svn:pn:pvr:rvnIntelCorporation:rnDP35DP:rvrAAD81073-207:cvn:ct2:cvr:
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: maverickp 6578 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd3220000 irq 48'
   Mixer name : 'SigmaTel STAC9271D'
   Components : 'HDA:83847627,80863001,00100201'
   Controls : 46
   Simple ctrls : 26
Card1.Amixer.info:
 Card hw:1 'CMI8738'/'C-Media CMI8738 (model 55) at 0x1400, irq 21'
   Mixer name : 'CMedia PCI'
   Components : ''
   Controls : 41
   Simple ctrls : 22
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=16b3ac47-f112-4983-8f35-3d602b557a82
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=es_BO:es
 TERM=xterm
 PATH=(custom, no user)
 LANG=es_BO.UTF-8
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic-pae root=UUID=29f53b0c-94b1-440d-8f54-4585af41ff9b ro init=/sbin/e4rat-preload profile
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-29-generic-pae N/A
 linux-backports-modules-3.2.0-29-generic-pae N/A
 linux-firmware 1.79
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
StagingDrivers: mei
Tags: precise staging
Uname: Linux 3.2.0-29-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lp lpadmin plugdev sambashare sudo vboxusers
WifiSyslog:

dmi.bios.date: 10/02/2007
dmi.bios.vendor: Intel Corp.
dmi.bios.version: DPP3510J.86A.0293.2007.1002.1519
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DP35DP
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD81073-207
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrDPP3510J.86A.0293.2007.1002.1519:bd10/02/2007:svn:pn:pvr:rvnIntelCorporation:rnDP35DP:rvrAAD81073-207:cvn:ct2:cvr:

tags: added: genius gspca webcam
Logan Rosen (logan)
affects: gspca (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1046608

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: precise
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.6 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc4-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
tags: added: kernel-da-key
Revision history for this message
Luis Fernando (maverickp) wrote : AcpiTables.txt

apport information

tags: added: apport-collected staging
description: updated
Revision history for this message
Luis Fernando (maverickp) wrote : AlsaDevices.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : AplayDevices.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : ArecordDevices.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : BootDmesg.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : IwConfig.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Lspci.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Lsusb.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : PciMultimedia.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : AcpiTables.txt

apport information

description: updated
Revision history for this message
Luis Fernando (maverickp) wrote : AlsaDevices.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : AplayDevices.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : ArecordDevices.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : BootDmesg.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : IwConfig.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Lspci.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : Lsusb.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : PciMultimedia.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : ProcModules.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : PulseList.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : UdevDb.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : UdevLog.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote : UserAsoundrc.txt

apport information

Revision history for this message
Luis Fernando (maverickp) wrote :

The mainline version of kernel (test 3.6.0-030600rc4_3.6.0-030600rc4.201209011435) no repair the bug.

tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report[0]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

If you are comfortable with opening a bug upstream, It would be great if you can report back the upstream bug number in this bug report. That will allow us to link this bug to the upstream report.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Luis Fernando (maverickp) wrote :
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Luis Fernando (maverickp) wrote :

SOLVED!
HowTo repair:
1. download latest gspca drivers (e.g. http://moinejf.free.fr)
2. apply this patch included on comment
3. compile: make; make install
4. replug the webcam
5. done!!

I have experienced and found the patch reading the "solutions" for gspca very old drivers.
This Sonix chip (0c45:6027) works identically to (0c45:6019, Generic Sonix OV7630).
The patch is very simple and only force sonixb to try to treat Genius Eye as Sonix OV7630
I am tested on my PC and works!

Changed in linux (Ubuntu):
status: Triaged → Fix Committed
tags: added: patch
Changed in linux (Ubuntu):
assignee: nobody → Luis Fernando (maverickp)
Revision history for this message
Mauro Carvalho Chehab (mchehab) wrote :

Luis Fernando,

I saw your patch.

Please add your Signed-off-by: and submit it, against upstream Kernel, to <email address hidden>, for its addition at the upstream kernel.

Changed in linux:
status: Confirmed → Fix Released
Changed in linux (Ubuntu):
status: Fix Committed → Triaged
Changed in linux (Ubuntu):
status: Triaged → Fix Released
status: Fix Released → Fix Committed
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Luis Fernando (maverickp) wrote :
To post a comment you must log in.