Since upgrading to gentoo-sources-2.6.23, my USB webcam which uses the media-video/qc-usb-messenger driver does not work. It worked perfectly with kernels 2.6.22-gentoo-r8 and earlier. When an application opens the camera the following messages are logged to syslog. quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB 1.5 $Date: 2006/11/05 00:00:00 $) quickcam: Kernel:2.6.23-gentoo bus:1 class:FF subclass:FF vendor:046D product:08F5 quickcam [22.090188]: poisoning qc in qc_usb_init quickcam [22.090719]: E00A contains 08F5 quickcam: Sensor VV6450 detected input: Quickcam snapshot button as /class/input/input8 quickcam [22.091299]: Quickcam snapshot button registered on usb-0000:00:1d.7-7.1/input0 quickcam: Registered device: /dev/video0 quickcam [51.127528]: open users=1 quickcam [51.131748]: qc_sensor_init: call qc_sensor_setsize0 (324,248) quickcam [51.131881]: set sensor=324x248 vwin=324x248 quickcam [51.133305]: failed qc_v4l_ioctl()=-515 quickcam [51.133394]: palette 2 is not supported quickcam [51.133400]: failed qc_v4l_ioctl()=-22 quickcam [51.133436]: palette 9 is not supported quickcam [51.133440]: failed qc_v4l_ioctl()=-22 quickcam [51.133451]: palette 10 is not supported quickcam [51.133456]: failed qc_v4l_ioctl()=-22 quickcam [51.133466]: failed qc_v4l_ioctl()=-515 quickcam [51.133473]: failed qc_v4l_ioctl()=-515 quickcam [51.133614]: close users=0 quickcam [51.134125]: open users=1 quickcam [51.138873]: qc_sensor_init: call qc_sensor_setsize0 (324,248) quickcam [51.139002]: set sensor=324x248 vwin=324x248 quickcam [51.140506]: failed qc_v4l_ioctl()=-515 quickcam [51.140540]: palette 2 is not supported quickcam [51.140544]: failed qc_v4l_ioctl()=-22 quickcam [51.140579]: palette 9 is not supported quickcam [51.140583]: failed qc_v4l_ioctl()=-22 quickcam [51.140624]: palette 10 is not supported quickcam [51.140628]: failed qc_v4l_ioctl()=-22 quickcam [51.140645]: failed qc_v4l_ioctl()=-515 quickcam [51.140653]: failed qc_v4l_ioctl()=-515 quickcam [51.141489]: VIDIOCGWIN: 324,248 quickcam [51.141498]: VIDIOCSWIN: call qc_sensor_setsize 320,240 quickcam [51.141731]: set sensor=324x248 vwin=320x240 quickcam [51.142720]: submit ISOC_URB 0 failed quickcam [51.142726]: failed qc_isoc_init()=-38 quickcam: unable start isoc quickcam [51.142733]: failed qc_capt_get()=-38 quickcam [51.142737]: failed qc_v4l_read()=-38 quickcam [51.168268]: submit ISOC_URB 0 failed quickcam [51.168280]: failed qc_isoc_init()=-38 quickcam: unable start isoc quickcam [51.168287]: failed qc_capt_get()=-38 quickcam [51.168290]: failed qc_v4l_read()=-38 The lines between 'unable to start isoc' repeat several times with different numbers on the brackets. lsusb Bus 001 Device 026: ID 046d:08f5 Logitech, Inc. Bus 001 Device 006: ID 0bda:8187 Realtek Semiconductor Corp. Bus 001 Device 005: ID 05e3:0606 Genesys Logic, Inc. D-Link DUB-H4 USB 2.0 Hub Bus 001 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 003: ID 1130:cc00 Tenx Technology, Inc. Bus 003 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 003 Device 001: ID 0000:0000 Bus 002 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc. Bus 002 Device 001: ID 0000:0000 emerge --info Portage 2.1.3.15 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo i686) ================================================================= System uname: 2.6.23-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Timestamp of tree: Sat, 20 Oct 2007 19:20:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.4.4-r4, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -mtune=native -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -mtune=native -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks installsources metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.blueyonder.co.uk http://gentoo.tiscali.nl/ http://gentoo.mirror.solnet.ch http://pandemonium.tiscali.de/pub/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/portage/local/layman/emacs /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 bzlib cairo caps cddb cdparanoia cdr cjk cli cracklib crypt cups curl dbus directfb doc dri dts dvd dvdr dvdread eds emacs emboss encode esd ethereal evo examples exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gcj gd gdbm gif glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv icq idn ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jbig jce jpeg jpeg2k junit kde kdehiddenvisibility kerberos ladspa lcms ldap leim libgda libnotify libsamplerate lm_sensors logrotate lua mad matroska mbox midi mikmod milter mime mmap mmx mng mono mp3 mpeg mpi mplayer msn mudflap musepack ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl openmp oscar oss pam pcntl pcre pdf perl png postgres ppds pppd profile pulseaudio python qt3 qt3support qt4 quicktime readline recode reflection ruby sasl sdl seamonkey session sharedmem sndfile snmp sockets sox speex spell spl sqlite3 sse sse2 ssl svg sysvipc tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts uicktime unicode usb v4l vim-syntax vorbis win32codecs wmf wxwindows x264 x86 xface xine xml xml2 xorg xulrunner xv xvid yahoo 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 mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="asusdh" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Sync in about hour, and then try qc-usb-messenger-1.7. I don't have this hardware anymore, so I pretty much had to bump it "blindly" Thanks.
and I strongly suggest using media-video/camorama for testing. reopen, if it's still failing.
I am afraid that it is still failing. I emerged camorama but when I start it it displays a dialog box 'Unable to capture image' with 'close' being the only option. usb 1-7.1: new full speed USB device using ehci_hcd and address 27 usb 1-7.1: configuration #1 chosen from 1 choice quickcam [16.047968]: ----------LOADING QUICKCAM MODULE------------ quickcam [16.047977]: struct quickcam size: 4620 quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB 1.7 $Date: 2007/09/02 00:00:00 $) quickcam: Kernel:2.6.23-gentoo bus:1 class:FF subclass:FF vendor:046D product:08F5 quickcam [16.048527]: poisoning qc in qc_usb_init quickcam [16.049142]: E00A contains 08F5 quickcam: Sensor VV6450 detected quickcam snapshot button as /class/input/input9 quickcam [16.049733]: Quickcam snapshot button registered on usb-0000:00:1d.7-7.1/input0 quickcam: Registered device: /dev/video0 usbcore: registered new interface driver quickcam quickcam [23.647574]: open users=1 quickcam [23.652072]: qc_sensor_init: call qc_sensor_setsize0 (324,248) quickcam [23.652235]: set sensor=324x248 vwin=324x248 quickcam [23.653592]: VIDIOCGWIN: 324,248 quickcam [23.653729]: VIDIOCSWIN: call qc_sensor_setsize 162,124 quickcam [23.653864]: set sensor=162x124 vwin=162x124 quickcam [23.653991]: VIDIOCGWIN: 162,124 quickcam [23.998178]: submit ISOC_URB 0 failed quickcam [23.998189]: failed qc_isoc_init()=-38 quickcam: unable start isoc quickcam [23.998196]: failed qc_capt_get()=-38 quickcam [23.998200]: failed qc_v4l_ioctl()=-38 quickcam [25.749478]: close users=0
It just works on my system. I'll have to research more. Please, report anything you find about the problem.
(In reply to comment #4) > It just works on my system. I'll have to research more. Please, report anything > you find about the problem. > Perhaps this helps to narrow down where the issue is: On the system here (Mac Mini G4, EHCI driver for the Mac Mini USB chipset, Highspeed USB HUB) the driver does not work when a camera is connected to the hub. If the camera is connected directly to the computer, it just works fine.
I can confirm this (tested on gentoo-sources-2.6.24-r4, media-video/qc-usb-messenger-1.7-r1 on a Thinkpad R40 with Logitech QuickCam 046d:08f5) Webcam works fine when directly connected to pc. When using a usb hub I am getting the same error and dmesg output as in the bugreport.
(In reply to comment #6) > I can confirm this (tested on gentoo-sources-2.6.24-r4, > media-video/qc-usb-messenger-1.7-r1 on a Thinkpad R40 with Logitech QuickCam > 046d:08f5) > > Webcam works fine when directly connected to pc. > When using a usb hub I am getting the same error and dmesg output as in the > bugreport. > I have the same dmseg output. I've tried to connect my webcam on direct usb port : it works ! :-) When I connect it to my usb hub, I have the same trouble, even in media-video/qc-usb-messenger-1.7-r1 :-(
And 1.8-r1 with 2.6.27.x kernels?
(In reply to comment #8) > And 1.8-r1 with 2.6.27.x kernels? > Here is kernel 2.6.28-r4 with 1.8-r1 and it still doesn't work :(
(In reply to comment #9) > (In reply to comment #8) > > And 1.8-r1 with 2.6.27.x kernels? > > > Here is kernel 2.6.28-r4 with 1.8-r1 and it still doesn't work :( > I just updated today to vanilla 2.6.29 and now the kernel module oopses. I think I need to look into the driver again to make it at least work with 2.6.29 again. Back to the subject: I have not tried it anymore on 2.6.28.x since I just kept it connected directly to my Mac Mini. It must be the code since another camera of mine (uvcvideo) works perfectly as Hi-Speed device when attached to the hub.
*** This bug has been marked as a duplicate of bug 277605 ***