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/pci0000:00/0000: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
Quoted 8 lines · 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
A message that is not in the archive (sent off-list or not yet received): [email protected]
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.1.4video_device: /dev/video0vid_sleep: 0cap_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: 1avi_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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
Terminated.
Quoted 29 lines · Paulo Assis
Hi,
Could you please try guvcview ( http://guvcview.berlios.de )Please post me the output of guvcview --verbose
Best regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 20 lines
Quoted 8 lines · 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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 <[email protected]>:
Quoted 99 lines
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.1.4video_device:/dev/video0vid_sleep: 0cap_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: 1avi_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 classGtkSettings' has no property namedgtk-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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
Terminated.Quoted 29 lines · Paulo Assis
Hi,
Could you please try guvcview ( http://guvcview.berlios.de )Please post me the output of guvcview --verbose
Best regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 20 lines
Quoted 8 lines · 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.2.1
unexpected integer value (1) for snd_numsec
Strings must be quotedvideo_device: /dev/video0vid_sleep: 0cap_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: 1avi_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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT - Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
free audio mutexVIDIOC_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
Quoted 113 lines · Paulo Assis
Hi, could you try the following:
echo 2 >
/sys/module/uvcvideo/parameters/quirksthis 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_Driversplease if you can, use the latest version for guvcview (1.2.1) :D
Regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 98 lines
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.1.4video_device:/dev/video0vid_sleep: 0cap_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: 1avi_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 classGtkSettings' has no property namedgtk-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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
Terminated.Quoted 29 lines · Paulo Assis
Hi,
Could you please try guvcview ( http://guvcview.berlios.de )Please post me the output of guvcview --verbose
Best regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 20 lines
Quoted 8 lines · 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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 <[email protected]>:
Quoted 203 lines
setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.2.1
unexpected integer value (1) forsnd_numsec
Strings must be quotedvideo_device:/dev/video0vid_sleep: 0cap_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: 1avi_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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
free audio mutexVIDIOC_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
Quoted 113 lines · Paulo Assis
Hi, could you try the following:
echo 2 >
/sys/module/uvcvideo/parameters/quirksthis 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_Driversplease if you can, use the latest version for guvcview (1.2.1) :D
Regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 98 lines
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.1.4video_device:/dev/video0vid_sleep: 0cap_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: 1avi_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 classGtkSettings' has no property namedgtk-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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
Terminated.Quoted 29 lines · Paulo Assis
Hi,
Could you please try guvcview ( http://guvcview.berlios.de )Please post me the output of guvcview --verbose
Best regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 20 lines
Quoted 8 lines · 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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
Quoted 221 lines · Paulo Assis
You must reload the driver,
rmmod uvcvideo
modprobe uvcvideootherwise 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.htmlBest regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 202 lines
setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.2.1
unexpected integer value (1) forsnd_numsec
Strings must be quotedvideo_device:/dev/video0vid_sleep: 0cap_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: 1avi_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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
free audio mutexVIDIOC_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
Quoted 113 lines · Paulo Assis
Hi, could you try the following:
echo 2 >
/sys/module/uvcvideo/parameters/quirksthis 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_Driversplease if you can, use the latest version for guvcview (1.2.1) :D
Regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 98 lines
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.1.4video_device:/dev/video0vid_sleep: 0cap_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: 1avi_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 classGtkSettings' has no property namedgtk-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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
Terminated.Quoted 29 lines · Paulo Assis
Hi,
Could you please try guvcview ( http://guvcview.berlios.de )Please post me the output of guvcview --verbose
Best regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 20 lines
Quoted 8 lines · 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Josef,
white balance temperature and hue controls are being blacklisted in uvcvideo for all cameras due to a bug in the driver.
A patch fixing the issue was committed recently
(https://lists.berlios.de/pipermail/linux-uvc-devel/2009-December/005396.html)
but I'm not sure when it will be available.
These controls if supported by your camera could help improve the image color.
Best regards,
Paulo
2009/12/10 Jozef Riha <[email protected]>:
Quoted 240 lines
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=2regards all,
joe
Quoted 221 lines · Paulo Assis
You must reload the driver,
rmmod uvcvideo
modprobe uvcvideootherwise 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.htmlBest regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 202 lines
setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.2.1
unexpected integer value (1) forsnd_numsec
Strings must be quotedvideo_device:/dev/video0vid_sleep: 0cap_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: 1avi_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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
free audio mutexVIDIOC_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
Quoted 113 lines · Paulo Assis
Hi, could you try the following:
echo 2 >
/sys/module/uvcvideo/parameters/quirksthis 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_Driversplease if you can, use the latest version for guvcview (1.2.1) :D
Regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 98 lines
[jose@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.1.4video_device:/dev/video0vid_sleep: 0cap_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: 1avi_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 classGtkSettings' has no property namedgtk-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-0000: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: 1196444237VIDIOC_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-0000: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: 1196444237VIDIOC_S_FORMAT- Unable to set format: Input/output error Init v4L2 failed !!
ERROR: Minimum Setup Failed.
Exiting...
Terminated.Quoted 29 lines · Paulo Assis
Hi,
Could you please try guvcview ( http://guvcview.berlios.de )Please post me the output of guvcview --verbose
Best regards,
Paulo2009/12/9 Jozef Riha <[email protected]>:
Quoted 20 lines
Quoted 8 lines · 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html