Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274600 - sys-kernel/gentoo-sources-2.6.30 regression: uvcvideo not working with Namuga 1.3M webcam
Summary: sys-kernel/gentoo-sources-2.6.30 regression: uvcvideo not working with Namuga...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 11:19 UTC by Robin Bankhead
Modified: 2009-10-03 11:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel .config for gentoo-sources-2.6.30-r1 (.config,50.79 KB, text/plain)
2009-06-18 11:20 UTC, Robin Bankhead
Details
uvc_vimicro_fix.patch (uvc_vimciro_fix.patch,1.18 KB, patch)
2009-08-06 10:45 UTC, Stratos Psomadakis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Bankhead 2009-06-18 11:19:04 UTC
Tested with net-im/skype-2.0.0.72 - webcam test works with gentoo-sources-2.6.29-r5, not with 2.6.30-r1.

lsusb output for device:
Bus 001 Device 003: ID 0ac8:c326 Z-Star Microelectronics Corp.

THis output is obtained on the commandline when the webcam test button is clicked:
Starting the process...
Skype Xv: Xv ports available: 17
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 74

No output in /var/log/messages.

emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686)
=================================================================                             
System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 15 Jun 2009 19:15:02 +0000                                              
distcc 3.1 i686-pc-linux-gnu [disabled]                                                         
ccache version 2.4 [enabled]                                                                    
app-shells/bash:     4.0_p24                                                                    
dev-java/java-config: 2.1.8                                                                     
dev-lang/python:     2.5.4-r2, 2.6.2-r1                                                         
dev-util/ccache:     2.4-r8                                                                     
dev-util/cmake:      2.6.4                                                                      
sys-apps/baselayout: 2.0.1                                                                      
sys-apps/openrc:     0.4.3-r2                                                                   
sys-apps/sandbox:    2.0                                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11                                      
sys-devel/binutils:  2.19.1-r1                                                                  
sys-devel/gcc-config: 1.4.1                                                                     
sys-devel/libtool:   2.2.6a                                                                     
virtual/os-headers:  2.6.29                                                                     
ACCEPT_KEYWORDS="x86 ~x86"                                                                      
CBUILD="i686-pc-linux-gnu"                                                                      
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -mssse3"                 
CHOST="i686-pc-linux-gnu"                                                                       
CONFIG_PROTECT="/etc /etc/security/pam_mount.conf.xml /usr/share/apps/kdm/themes/oxygen/oxygen.xml /usr/share/config"                                                                                   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"           
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -mssse3"                   
DISTDIR="/usr/portage/distfiles"                                                                    
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                   
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"                                                    
LDFLAGS="-Wl,-O1"                                                                                   
LINGUAS="en_GB"                                                                                     
MAKEOPTS="-j6"                                                                                      
PKGDIR="/usr/portage/packages"                                                                      
PORTAGE_CONFIGROOT="/"                                                                              
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://brazil/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth bzip2 cairo cdparanoia cdr chm cli clucene consolekit cracklib crypt cups dbus dga dio dri dvd dvdread encode faac faad ffmpeg flac flash foomaticdb fortran fuse gdbm gif gimp glitz gnutls gpm hal iconv imagemagick innodb isdnlog java java6 javascript jpeg kde libwww madwifi matroska midi mmx mp3 mpeg mplayer msn mudflap mysql ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp oss pam pcmcia pcntl pcre pdf perl plasma png posix ppds pppd python qt3support qt4 readline reflection samba scanner sdl semantic-desktop sesame2 session sharedmem soap sockets spl sqlite sqlite3 sse sse2 sse3 ssl ssse3 svg sysfs tcpd theora threads tiff tk truetype unicode usb vcd vhosts webkit wifi win32codecs x264 x86 xcb xcomposite xine xinerama xml xmlrpc xorg xsl xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Kernel config to follow.
Comment 1 Robin Bankhead 2009-06-18 11:20:39 UTC
Created attachment 195064 [details]
kernel .config for gentoo-sources-2.6.30-r1
Comment 2 Mike Pagano gentoo-dev 2009-06-29 23:55:50 UTC
Anything in dmesg like this?

uvcvideo: Found UVC 1.00 device Namuga 1.3M Webcam (0ac8:c326)

Comment 3 Robin Bankhead 2009-06-30 11:17:59 UTC
Yes:

[    5.791981] uvcvideo: Found UVC 1.00 device Namuga 1.3M Webcam (0ac8:c326)
[    5.794325] input: Namuga 1.3M Webcam as /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/input/input7
[    5.794683] usbcore: registered new interface driver uvcvideo
[    5.794696] USB Video Class driver (v0.1.0)
Comment 4 Mike Pagano gentoo-dev 2009-07-13 20:17:39 UTC
I see a good number of uvcvideo commits in the development kernel.

Can you test the latest git sources, which is git-sources-2.6.31_rc2-r9?
Comment 5 Robin Bankhead 2009-07-14 13:22:38 UTC
Same as before I'm afraid :(  Let me know if you want a dmesg but I think the relevant output is all the same as for 2.6.30*.
Comment 6 Robin Bankhead 2009-08-06 03:40:08 UTC
All gone a bit quiet ... is there anything I can be doing to help debug this? If so, please do say so. I realise Skype being closed-source isn't the best test-bed, but other users are reporting the same issues with other webcam apps as of 2.6.30* and I am quite willing to run tests with other apps if it will help to dig into this problem.
Comment 7 Stratos Psomadakis (RETIRED) gentoo-dev 2009-08-06 10:41:52 UTC
i think that the bug reported here[1] is the same as this one

try the patch for uvc_driver.c from the v4l-dvb tree[2]
it should work for both 2.6.30 and 2.6.31-rc's

[1]http://bugzilla.kernel.org/show_bug.cgi?id=13682
[2]http://linuxtv.org/hg/v4l-dvb/rev/da81aafb9c5d

Comment 8 Stratos Psomadakis (RETIRED) gentoo-dev 2009-08-06 10:45:53 UTC
Created attachment 200365 [details, diff]
uvc_vimicro_fix.patch

the patch from the v4l-dvb tree
Comment 9 Robin Bankhead 2009-09-04 11:11:02 UTC
The patch hasn't helped. I also tried running the v4l2grab util mentioned in the kernel bugreport, but it only produced one image and exited with:

Error 20: Illegal argument (I think that's what it said, I had a panic after running it a second time.)

The one image output was 95% covered in snow, with a narrow strip of the true picture along the top.
Comment 10 Mike Pagano gentoo-dev 2009-09-29 00:18:26 UTC
Can you please test with gentoo-sources-2.6.31-r1 and let us know the outcome
Comment 11 Robin Bankhead 2009-10-03 11:02:08 UTC
Working in skype with 2.6.31-r1, thanks.