problem with logitech quickcam zoom
hello, the problem i have with my logitech quickcam zoom webcam is that it is working randomly. sometimes it works after reboot and stops working after some time, sometimes replugging works, sometimes not. if the camera is not working i get v4l2: oops: select timeout in xawtv output. camera works reliably on my old dell d600 laptop. the above issue is rendered on a pc with Gigabyte EP45-UD3LR motherboard, usb chipset is ICH10. Both uhci and ehci modules are loaded. $ lspci 00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03) 00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5 00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6 00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) 00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1 00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2 01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1) 03:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) the behaviour is observed with kernel 2.6.32.9 and libv4l 0.6.4. does anyone have an idea how to fix this? thank you, joe -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: MSI StarCam working in vlc only (with poor colors)
thank you again, paulo, for your off-list help. cam is now working nicely with xawtv, guvcview and skype. the colors slightly improved during day-light, when artificial light is used they still look bad though. i fiddled around with just about all v4l controls but couldn't really fix it. i'll run a comparison with windows driver when i have a chance. for others interested: the fix was indeed the quirks mode. i had to set it like this: $ cat /etc/modprobe.d/uvcvideo.conf options uvcvideo trace=15 quirks=2 regards all, joe On Wed, Dec 9, 2009 at 11:53 PM, Paulo Assis pj.as...@gmail.com wrote: You must reload the driver, rmmod uvcvideo modprobe uvcvideo otherwise the quirks want have any effect. uvcvideo is now mantained in the mercurial repo at linuxtv, installing v4l-dvb will also install uvcvideo, but if you want, just follow the instructions on the wiki to compile, but use: hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/ so that you get the very latest (testing) uvc code. In any case the quirks should be enough: http://lists.berlios.de/pipermail/linux-uvc-devel/2009-October/005235.html Best regards, Paulo 2009/12/9 Jozef Riha jose1...@gmail.com: setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below [j...@darkstar ~]$ LC_ALL=C guvcview --verbose guvcview 1.2.1 unexpected integer value (1) for snd_numsec Strings must be quoted video_device: /dev/video0 vid_sleep: 0 cap_meth: 1 resolution: 640 x 480 windowsize: 480 x 700 vert pane: 0 spin behavior: 0 mode: mjpg fps: 1/25 Display Fps: 0 bpp: 0 hwaccel: 1 avi_format: 0 sound: 1 sound Device: 0 sound samp rate: 0 sound Channels: 0 Sound delay: 0 nanosec Sound Format: 80 Sound bit Rate: 160 Kbps Pan Step: 2 degrees Tilt Step: 2 degrees Video Filter Flags: 0 image inc: 0 profile(default):/home/jose/default.gpfl starting portaudio... language catalog= dir:/usr/share/locale type:C lang:C cat:guvcview.mo mjpg: setting format to 1196444237 capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, vid:1b3b pid:2951 driver:uvcvideo checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! Init video returned -2 trying minimum setup ... capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, vid:1b3b pid:2951 driver:uvcvideo checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! ERROR: Minimum Setup Failed. Exiting... free audio mutex VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22) closed v4l2 strutures free controls - vidState cleaned allocations - 100% Closing portaudio ...OK Terminated. are you sure with the web-page? i cannot see a relationship between dvb and uvcvideo. shouldn't i download the most recent driver from http://linux-uvc.berlios.de/#download ? thank you, joe On Wed, Dec 9, 2009 at 11:20 PM, Paulo Assis pj.as...@gmail.com wrote: Hi, could you try the following: echo 2 /sys/module/uvcvideo/parameters/quirks this will set uvcvideo quirks to 2 or you can also try the latest uvcvideo: http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers please if you can, use the latest version for guvcview (1.2.1) :D Regards, Paulo 2009/12/9 Jozef Riha jose1...@gmail.com: [j...@darkstar ~]$ LC_ALL=C guvcview --verbose guvcview 1.1.4 video_device: /dev/video0 vid_sleep: 0 cap_meth: 1 resolution: 640 x 480 windowsize: 480 x 700 vert pane: 0 spin behavior: 0 mode: mjpg fps: 1/25 Display Fps: 0 bpp: 0 hwaccel: 1 avi_format: 0 sound: 1 sound Device: 0 sound samp rate: 0 sound Channels: 0 Sound Block Size: 1 seconds Sound Format: 80 Sound bit Rate: 160 Kbps Pan Step: 2 degrees Tilt Step: 2 degrees Video Filter Flags: 0 image inc: 0 profile(default):/home/jose/default.gpfl starting portaudio... language catalog= dir:/usr/share/locale type:C lang:C cat:guvcview.mo (guvcview:31380): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GtkSettings' has no property named `gtk-button-images' mjpg: setting format to 1196444237 capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC
MSI StarCam working in vlc only (with poor colors)
Hello dear ML members, I wonder whether you can help me with the following issue. My webcam MSI StarCam (http://www.aaronpc.cz/produkty/msi-starcam-370i) identified as (lsusb) Bus 003 Device 002: ID 1b3b:2951 iPassion Technology Inc. PC Camera/Webcam controller (dmesg) input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:1d/LNXVIDEO:00/input/input8 ACPI: Video Device [VID] (multi-head: yes rom: no post: no) Linux video capture interface: v2.00 uvcvideo: Found UVC 1.00 device unnamed (1b3b:2951) uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. input: UVC Camera (1b3b:2951) as /devices/pci:00/:00:1d.1/usb3/3-1/3-1:1.0/input/input9 usbcore: registered new interface driver uvcvideo USB Video Class driver (v0.1.0) It is apparently detected while appropriate modules are loaded (v4l1_compat, uvcvideo, videodev), but of 3 tested applications: vlc, xawtv and skype, only vlc shows some output. Moreover there's plenty of uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26). in dmesg.log. The console outputs of all three programs follow. xawtv: libv4l2: error setting pixformat: Input/output error ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=320;fmt.pix.height=240;fmt.pix.pixelformat=0x47504a4d [MJPG];fmt.pix.field=NONE;fmt.pix.bytesperline=0;fmt.pix.sizeimage=77312;fmt.pix.colorspace=SRGB;fmt.pix.priv=0): Input/output error ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument skype: libv4l2: error setting pixformat: Input/output error vlc v4l2:// [0xa18a530] main input error: demux doesn't like DEMUX_GET_TIME (probably irrelevant) As I wrote above vlc is able to capture the image but the quality is really low - please see screenshot at http://yfrog.com/86vlcsnap2009120920h48m50p I'd be glad to see the colors improved but main concern is that the camera does not seem to be Skype-friendly. Is there anything that can be done to improve this situation? Thank you, joe -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: MSI StarCam working in vlc only (with poor colors)
Jozef Riha jose1711 at gmail.com writes: Hello dear ML members, I wonder whether you can help me with the following issue. My webcam MSI StarCam (http://www.aaronpc.cz/produkty/msi-starcam-370i) identified as ... Sorry I forgot to add kernel version. It is 2.6.32, config at http://repos.archlinux.org/wsvn/packages/kernel26/repos/core-i686/config -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: MSI StarCam working in vlc only (with poor colors)
[j...@darkstar ~]$ LC_ALL=C guvcview --verbose guvcview 1.1.4 video_device: /dev/video0 vid_sleep: 0 cap_meth: 1 resolution: 640 x 480 windowsize: 480 x 700 vert pane: 0 spin behavior: 0 mode: mjpg fps: 1/25 Display Fps: 0 bpp: 0 hwaccel: 1 avi_format: 0 sound: 1 sound Device: 0 sound samp rate: 0 sound Channels: 0 Sound Block Size: 1 seconds Sound Format: 80 Sound bit Rate: 160 Kbps Pan Step: 2 degrees Tilt Step: 2 degrees Video Filter Flags: 0 image inc: 0 profile(default):/home/jose/default.gpfl starting portaudio... language catalog= dir:/usr/share/locale type:C lang:C cat:guvcview.mo (guvcview:31380): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GtkSettings' has no property named `gtk-button-images' mjpg: setting format to 1196444237 capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! Init video returned -2 trying minimum setup ... capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! ERROR: Minimum Setup Failed. Exiting... Terminated. On Wed, Dec 9, 2009 at 10:53 PM, Paulo Assis pj.as...@gmail.com wrote: Hi, Could you please try guvcview ( http://guvcview.berlios.de ) Please post me the output of guvcview --verbose Best regards, Paulo 2009/12/9 Jozef Riha jose1...@gmail.com: Jozef Riha jose1711 at gmail.com writes: Hello dear ML members, I wonder whether you can help me with the following issue. My webcam MSI StarCam (http://www.aaronpc.cz/produkty/msi-starcam-370i) identified as ... Sorry I forgot to add kernel version. It is 2.6.32, config at http://repos.archlinux.org/wsvn/packages/kernel26/repos/core-i686/config -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: MSI StarCam working in vlc only (with poor colors)
setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below [j...@darkstar ~]$ LC_ALL=C guvcview --verbose guvcview 1.2.1 unexpected integer value (1) for snd_numsec Strings must be quoted video_device: /dev/video0 vid_sleep: 0 cap_meth: 1 resolution: 640 x 480 windowsize: 480 x 700 vert pane: 0 spin behavior: 0 mode: mjpg fps: 1/25 Display Fps: 0 bpp: 0 hwaccel: 1 avi_format: 0 sound: 1 sound Device: 0 sound samp rate: 0 sound Channels: 0 Sound delay: 0 nanosec Sound Format: 80 Sound bit Rate: 160 Kbps Pan Step: 2 degrees Tilt Step: 2 degrees Video Filter Flags: 0 image inc: 0 profile(default):/home/jose/default.gpfl starting portaudio... language catalog= dir:/usr/share/locale type:C lang:C cat:guvcview.mo mjpg: setting format to 1196444237 capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, vid:1b3b pid:2951 driver:uvcvideo checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! Init video returned -2 trying minimum setup ... capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, vid:1b3b pid:2951 driver:uvcvideo checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! ERROR: Minimum Setup Failed. Exiting... free audio mutex VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22) closed v4l2 strutures free controls - vidState cleaned allocations - 100% Closing portaudio ...OK Terminated. are you sure with the web-page? i cannot see a relationship between dvb and uvcvideo. shouldn't i download the most recent driver from http://linux-uvc.berlios.de/#download ? thank you, joe On Wed, Dec 9, 2009 at 11:20 PM, Paulo Assis pj.as...@gmail.com wrote: Hi, could you try the following: echo 2 /sys/module/uvcvideo/parameters/quirks this will set uvcvideo quirks to 2 or you can also try the latest uvcvideo: http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers please if you can, use the latest version for guvcview (1.2.1) :D Regards, Paulo 2009/12/9 Jozef Riha jose1...@gmail.com: [j...@darkstar ~]$ LC_ALL=C guvcview --verbose guvcview 1.1.4 video_device: /dev/video0 vid_sleep: 0 cap_meth: 1 resolution: 640 x 480 windowsize: 480 x 700 vert pane: 0 spin behavior: 0 mode: mjpg fps: 1/25 Display Fps: 0 bpp: 0 hwaccel: 1 avi_format: 0 sound: 1 sound Device: 0 sound samp rate: 0 sound Channels: 0 Sound Block Size: 1 seconds Sound Format: 80 Sound bit Rate: 160 Kbps Pan Step: 2 degrees Tilt Step: 2 degrees Video Filter Flags: 0 image inc: 0 profile(default):/home/jose/default.gpfl starting portaudio... language catalog= dir:/usr/share/locale type:C lang:C cat:guvcview.mo (guvcview:31380): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GtkSettings' has no property named `gtk-button-images' mjpg: setting format to 1196444237 capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! Init video returned -2 trying minimum setup ... capture method = 1 video device: /dev/video0 /dev/video0 - device 1 Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 640, height = 480 } Time interval between frame: 1/30, { discrete: width = 320, height = 240 } Time interval between frame: 1/30, { discrete: width = 160, height = 120 } Time interval between frame: 1/30, checking format: 1196444237 VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !! ERROR: Minimum Setup Failed. Exiting... Terminated. On Wed, Dec 9, 2009 at 10:53 PM, Paulo Assis pj.as...@gmail.com wrote: Hi, Could you please try guvcview ( http://guvcview.berlios.de ) Please post me