gspca_vc032x module doesn't work properly with 046d:0892 Logitech, Inc. OrbiCam

Bug #1400164 reported by Sezer Yalcin on 2014-12-07
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Unknown
Unknown
linux (Ubuntu)
Medium
Unassigned

Bug Description

Webcam turns on and have green led on but video is mostly green and choppy low resolution image is displayed. Testing with cheese application.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-40-generic 3.13.0-40.69
ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10
Uname: Linux 3.13.0-40-generic i686
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fatma 1471 F.... pulseaudio
Date: Mon Dec 8 00:40:26 2014
HibernationDevice: RESUME=UUID=de0aea26-1256-4f15-ba8e-251d4fef5a33
InstallationDate: Installed on 2014-12-06 (1 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release i386 (20140722.2)
MachineType: Acer, inc. TravelMate 8200
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=tr_TR.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-40-generic root=UUID=053ce5cb-5862-4c9c-9107-bf8277f323c6 ro persistent quiet splash radeon.dpm=1 vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-40-generic N/A
 linux-backports-modules-3.13.0-40-generic N/A
 linux-firmware 1.127.10
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
 Dec 8 00:31:46 tm8200 wpa_supplicant[749]: message repeated 15 times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
 Dec 8 00:32:12 tm8200 wpa_supplicant[749]: wlan0: WPA: Group rekeying completed with ac:22:0b:ce:8d:d4 [GTK=CCMP]
 Dec 8 00:32:45 tm8200 kernel: [ 1722.000095] perf samples too long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
 Dec 8 00:33:46 tm8200 wpa_supplicant[749]: wlan0: CTRL-EVENT-SCAN-STARTED
dmi.bios.date: 02/08/07
dmi.bios.vendor: Acer
dmi.bios.version: v1.3521
dmi.board.name: Como
dmi.board.vendor: Acer, Inc.
dmi.board.version: Not Applicable
dmi.chassis.type: 1
dmi.chassis.vendor: , Inc.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrv1.3521:bd02/08/07:svnAcer,inc.:pnTravelMate8200:pvrNotApplicable:rvnAcer,Inc.:rnComo:rvrNotApplicable:cvn,Inc.:ct1:cvrN/A:
dmi.product.name: TravelMate 8200
dmi.product.version: Not Applicable
dmi.sys.vendor: Acer, inc.

Sezer Yalcin (sy-y) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed

Sezer Yalcin, thank you for reporting this and helping make Ubuntu better. Could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18-rc7

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-3521
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Luca (lucabon-1) wrote :

The problem is a wrong "bytesperline" parameter set in vc032x.c
Related kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=91181

tags: added: patch

Luca, upstream accepts direct patch submissions on the relevant mailing list (in this case linux-media CC Hans de Goede as per http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/MAINTAINERS ). Bugzilla and Launchpad wouldn't be the best venue for submitting patches to upstream directly. Could you please post it to them and advise of the URL to your post?

Sezer Yalcin (sy-y) wrote :

Hi Luca, anything I can help with this?

Luca (lucabon-1) wrote :

Hi Sezer,
  I already submitted the patch to the linux-media related mailing list. But... I really don't know how many time it will take to be included in official Ubuntu kernel...

In the while, you can patch by yourself your kernel. Login as root (sudo su -), and then:

 apt-get build-dep linux-image-`uname -r`
 apt-get source linux-image-`uname -r`
 cd /usr/src/linux-3.13.0/drivers/media/usb/gspca
 wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1400164/+attachment/4296240/+files/vc032x.diff
 patch vc032x.c vc032x.diff
 make -C /usr/src/linux-headers-`uname -r` M=`pwd` gspca_vc032x.ko
 cp gspca_vc032x.ko /lib/modules/`uname -r`/kernel/drivers/media/usb/gspca/
 rmmod gspca_vc032x
 depmod -a
 modprobe gspca_vc032x

Start you favorite application, and the camera now should work correctly!

If the kernel will be upgraded, you have to make another time all the steps if the main kernel release changes (e.g., if you will get 3.16.0), otherwise you should do only the following steps:

 cd /usr/src/linux-3.13.0/drivers/media/usb/gspca
 make -C /usr/src/linux-headers-`uname -r` M=`pwd` gspca_vc032x.ko
 cp gspca_vc032x.ko /lib/modules/`uname -r`/kernel/drivers/media/usb/gspca/
 rmmod gspca_vc032x
 depmod -a
 modprobe gspca_vc032x

Ciao!
  Luca

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.