Using MSI StarCam 370i Webcam with Kubuntu Linux
I have the MSI StarCam 370i Webcam and I have trying to use it with Kubuntu Linux 9.04 Jaunty. According to this page, "The StarCam 370i is compliant with UVC, USB video class": http://gadgets.softpedia.com/gadgets/Computer-Peripherals/The-MSI-StarCam-370i-3105.html According to the Linux UVC driver and tools download page, "Linux 2.6.26 and newer includes the Linux UVC driver natively" which is nice as I am on a higher version: $ uname -r 2.6.28-15-generic However, plugging in the webcam and testing with camorama, cheese, and luvcview led me to no results: jaun...@laptop:~$ luvcview -f yuv luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format YUYV is not available and no fallback format was found. Init v4L2 failed !! exit fatal jaun...@laptop:~$ luvcview -f uyvy luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format UYVY is not available and no fallback format was found. Init v4L2 failed !! exit fatal jaun...@laptop:~$ luvcview luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format MJPG is not available and no fallback format was found. Init v4L2 failed !! exit fatal Some more details: jaun...@laptop:~$ ls /dev/vi* /dev/video0 jaun...@laptop:~$ dmesg | tail [ 2777.811972] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49 [ 2777.814989] usb 2-1: SN9C105 PC Camera Controller detected (vid:pid 0x0C45:0x60FC) [ 2777.842123] usb 2-1: HV7131R image sensor detected [ 2778.185108] usb 2-1: Initialization succeeded [ 2778.185220] usb 2-1: V4L2 device registered as /dev/video0 [ 2778.185225] usb 2-1: Optional device control through 'sysfs' interface disabled [ 2778.185283] usbcore: registered new interface driver sn9c102 [ 2778.216691] usbcore: registered new interface driver snd-usb-audio [ 2778.218738] usbcore: registered new interface driver sonixj [ 2778.218745] sonixj: registered jaun...@laptop:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 002: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 004 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0 Bus 004 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 0c45:60fc Microdia PC Camera with Mic (SN9C105) Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub jaun...@laptop:~$ Anything missing? What should I do? Thanks in advance! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- 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: Using MSI StarCam 370i Webcam with Kubuntu Linux
On 08/28/2009 08:40 PM, Dotan Cohen wrote: I have the MSI StarCam 370i Webcam and I have trying to use it with Kubuntu Linux 9.04 Jaunty. According to this page, "The StarCam 370i is compliant with UVC, USB video class": http://gadgets.softpedia.com/gadgets/Computer-Peripherals/The-MSI-StarCam-370i-3105.html According to the Linux UVC driver and tools download page, "Linux 2.6.26 and newer includes the Linux UVC driver natively" which is nice as I am on a higher version: $ uname -r 2.6.28-15-generic However, plugging in the webcam and testing with camorama, cheese, and luvcview led me to no results: jaun...@laptop:~$ luvcview -f yuv luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format YUYV is not available and no fallback format was found. Init v4L2 failed !! exit fatal jaun...@laptop:~$ luvcview -f uyvy luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format UYVY is not available and no fallback format was found. Init v4L2 failed !! exit fatal jaun...@laptop:~$ luvcview luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format MJPG is not available and no fallback format was found. Init v4L2 failed !! exit fatal Some more details: jaun...@laptop:~$ ls /dev/vi* /dev/video0 jaun...@laptop:~$ dmesg | tail [ 2777.811972] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49 [ 2777.814989] usb 2-1: SN9C105 PC Camera Controller detected (vid:pid 0x0C45:0x60FC) [ 2777.842123] usb 2-1: HV7131R image sensor detected [ 2778.185108] usb 2-1: Initialization succeeded [ 2778.185220] usb 2-1: V4L2 device registered as /dev/video0 [ 2778.185225] usb 2-1: Optional device control through 'sysfs' interface disabled [ 2778.185283] usbcore: registered new interface driver sn9c102 [ 2778.216691] usbcore: registered new interface driver snd-usb-audio [ 2778.218738] usbcore: registered new interface driver sonixj [ 2778.218745] sonixj: registered jaun...@laptop:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 002: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 004 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0 Bus 004 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 0c45:60fc Microdia PC Camera with Mic (SN9C105) Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub jaun...@laptop:~$ Anything missing? What should I do? Thanks in advance! Hello Dotan, me again ;-) Looks like your cam is detected, but does not provide a good frame format. You my have to use libv4l to convert to a know format. See: http://hansdegoede.livejournal.com/7622.html and it is provided by Ubuntu: tho...@amd64:~$ cat /etc/issue Ubuntu 9.04 \n \l tho...@amd64:~$ uname -a Linux AMD64 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux tho...@amd64:~$ apt-cache show libv4l-0 Package: libv4l-0 Priority: optional Section: libs Installed-Size: 256 Maintainer: Ubuntu Core Developers Original-Maintainer: Gregor Jasny Architecture: amd64 Source: libv4l Version: 0.5.8-1 Depends: libc6 (>= 2.4) Filename: pool/main/libv/libv4l/libv4l-0_0.5.8-1_amd64.deb Size: 64680 MD5sum: c7011003567b7ea3d4271f677ec28c7a SHA1: 43a623f0b74b506cee8b7b15e1db996040358294 SHA256: 16cc3199df039259500657db98788ea39b7615a9080ffa4e7159a66f2b8a8b6e Description: Collection of video4linux support libraries libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class. libv4l consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2. . libv4lconvert offers functions to convert from any (known) pixelformat to BGR24, RGB24, YUV420 and YVU420. . libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent of the drivers for those devices supporting v4l1 compatibility (which many v4l2 drivers do not). . libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the application transparent libv4lconvert conversion where necessary. . This package contains the shared libraries. Homepage: http://people.atrpms.net/~hdegoede/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Task: ubuntu-desktop, edubuntu-d
Re: Using MSI StarCam 370i Webcam with Kubuntu Linux
On Friday 28 August 2009 20:40:38 Dotan Cohen wrote: > I have the MSI StarCam 370i Webcam and I have trying to use it with > Kubuntu Linux 9.04 Jaunty. According to this page, "The StarCam 370i > is compliant with UVC, USB video class": > http://gadgets.softpedia.com/gadgets/Computer-Peripherals/The-MSI-StarCam-3 >70i-3105.html [snip] > jaun...@laptop:~$ dmesg | tail > [ 2777.811972] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers > v1:1.47pre49 > [ 2777.814989] usb 2-1: SN9C105 PC Camera Controller detected (vid:pid > 0x0C45:0x60FC) There might be different StarCam 370i models out there. Yours is definitely not UVC compliant. -- Regards, Laurent Pinchart -- 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: Using MSI StarCam 370i Webcam with Kubuntu Linux
2009/8/28 Thomas Kaiser : > On 08/28/2009 08:40 PM, Dotan Cohen wrote: >> >> I have the MSI StarCam 370i Webcam and I have trying to use it with >> Kubuntu Linux 9.04 Jaunty. According to this page, "The StarCam 370i >> is compliant with UVC, USB video class": >> >> http://gadgets.softpedia.com/gadgets/Computer-Peripherals/The-MSI-StarCam-370i-3105.html >> >> According to the Linux UVC driver and tools download page, "Linux >> 2.6.26 and newer includes the Linux UVC driver natively" which is nice >> as I am on a higher version: >> $ uname -r >> 2.6.28-15-generic >> >> However, plugging in the webcam and testing with camorama, cheese, and >> luvcview led me to no results: >> >> jaun...@laptop:~$ luvcview -f yuv >> luvcview 0.2.4 >> >> SDL information: >> Video driver: x11 >> A window manager is available >> Device information: >> Device path: /dev/video0 >> Stream settings: >> ERROR: Requested frame format YUYV is not available and no fallback >> format was found. >> Init v4L2 failed !! exit fatal >> jaun...@laptop:~$ luvcview -f uyvy >> luvcview 0.2.4 >> >> SDL information: >> Video driver: x11 >> A window manager is available >> Device information: >> Device path: /dev/video0 >> Stream settings: >> ERROR: Requested frame format UYVY is not available and no fallback >> format was found. >> Init v4L2 failed !! exit fatal >> jaun...@laptop:~$ luvcview >> luvcview 0.2.4 >> >> SDL information: >> Video driver: x11 >> A window manager is available >> Device information: >> Device path: /dev/video0 >> Stream settings: >> ERROR: Requested frame format MJPG is not available and no fallback >> format was found. >> Init v4L2 failed !! exit fatal >> >> >> Some more details: >> >> jaun...@laptop:~$ ls /dev/vi* >> /dev/video0 >> jaun...@laptop:~$ dmesg | tail >> [ 2777.811972] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers >> v1:1.47pre49 >> [ 2777.814989] usb 2-1: SN9C105 PC Camera Controller detected (vid:pid >> 0x0C45:0x60FC) >> [ 2777.842123] usb 2-1: HV7131R image sensor detected >> [ 2778.185108] usb 2-1: Initialization succeeded >> [ 2778.185220] usb 2-1: V4L2 device registered as /dev/video0 >> [ 2778.185225] usb 2-1: Optional device control through 'sysfs' >> interface disabled >> [ 2778.185283] usbcore: registered new interface driver sn9c102 >> [ 2778.216691] usbcore: registered new interface driver snd-usb-audio >> [ 2778.218738] usbcore: registered new interface driver sonixj >> [ 2778.218745] sonixj: registered >> jaun...@laptop:~$ lsusb >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 005 Device 002: ID 413c:8126 Dell Computer Corp. Wireless 355 >> Bluetooth >> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 004 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical >> Bus 004 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic >> Keyboard 4000 V1.0 >> Bus 004 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub >> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 002 Device 002: ID 0c45:60fc Microdia PC Camera with Mic (SN9C105) >> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> jaun...@laptop:~$ >> >> >> >> Anything missing? What should I do? Thanks in advance! > > Hello Dotan, me again ;-) > > Looks like your cam is detected, but does not provide a good frame format. > You my have to use libv4l to convert to a know format. > > See: http://hansdegoede.livejournal.com/7622.html > Thanks. I will go through that tomorrow, but in the meantime I got a strange result. Despite the fact that this is a 32 bit Kubuntu install, I got these results from the tests at the beginning of the page: jaun...@laptop:~$ ls -d /usr/lib64 /usr/lib64 jaun...@laptop:~$ ls -d /usr/lib32 ls: cannot access /usr/lib32: No such file or directory jaun...@laptop:~$ According to what is written, with those results I should use the Fedora multilib instructions. Does that not sound unusual? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- 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: Using MSI StarCam 370i Webcam with Kubuntu Linux
On 08/29/2009 06:57 PM, Dotan Cohen wrote: 2009/8/28 Thomas Kaiser : On 08/28/2009 08:40 PM, Dotan Cohen wrote: I have the MSI StarCam 370i Webcam and I have trying to use it with Kubuntu Linux 9.04 Jaunty. According to this page, "The StarCam 370i is compliant with UVC, USB video class": http://gadgets.softpedia.com/gadgets/Computer-Peripherals/The-MSI-StarCam-370i-3105.html According to the Linux UVC driver and tools download page, "Linux 2.6.26 and newer includes the Linux UVC driver natively" which is nice as I am on a higher version: $ uname -r 2.6.28-15-generic However, plugging in the webcam and testing with camorama, cheese, and luvcview led me to no results: jaun...@laptop:~$ luvcview -f yuv luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format YUYV is not available and no fallback format was found. Init v4L2 failed !! exit fatal jaun...@laptop:~$ luvcview -f uyvy luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format UYVY is not available and no fallback format was found. Init v4L2 failed !! exit fatal jaun...@laptop:~$ luvcview luvcview 0.2.4 SDL information: Video driver: x11 A window manager is available Device information: Device path: /dev/video0 Stream settings: ERROR: Requested frame format MJPG is not available and no fallback format was found. Init v4L2 failed !! exit fatal Some more details: jaun...@laptop:~$ ls /dev/vi* /dev/video0 jaun...@laptop:~$ dmesg | tail [ 2777.811972] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49 [ 2777.814989] usb 2-1: SN9C105 PC Camera Controller detected (vid:pid 0x0C45:0x60FC) [ 2777.842123] usb 2-1: HV7131R image sensor detected [ 2778.185108] usb 2-1: Initialization succeeded [ 2778.185220] usb 2-1: V4L2 device registered as /dev/video0 [ 2778.185225] usb 2-1: Optional device control through 'sysfs' interface disabled [ 2778.185283] usbcore: registered new interface driver sn9c102 [ 2778.216691] usbcore: registered new interface driver snd-usb-audio [ 2778.218738] usbcore: registered new interface driver sonixj [ 2778.218745] sonixj: registered jaun...@laptop:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 002: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 004 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0 Bus 004 Device 002: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 0c45:60fc Microdia PC Camera with Mic (SN9C105) Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub jaun...@laptop:~$ Anything missing? What should I do? Thanks in advance! Hello Dotan, me again ;-) Looks like your cam is detected, but does not provide a good frame format. You my have to use libv4l to convert to a know format. See: http://hansdegoede.livejournal.com/7622.html Thanks. I will go through that tomorrow, but in the meantime I got a strange result. Despite the fact that this is a 32 bit Kubuntu install, I got these results from the tests at the beginning of the page: jaun...@laptop:~$ ls -d /usr/lib64 /usr/lib64 jaun...@laptop:~$ ls -d /usr/lib32 ls: cannot access /usr/lib32: No such file or directory jaun...@laptop:~$ According to what is written, with those results I should use the Fedora multilib instructions. Does that not sound unusual? Yes, this looks somehow strange. I don't have a 32 bit system at the moment to verify. You know you have 32 bit, then just use the none multilib instructions. You can install the version which ships with Ubuntu: sudo apt-get install libv4l-0 then do, To use a v4l1 aware application this should do it: LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so For a v4l2 aware application you should use: LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so to convert to a known video format. Thomas -- 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: Using MSI StarCam 370i Webcam with Kubuntu Linux
On Fri, 28 Aug 2009 21:40:38 +0300 Dotan Cohen wrote: > I have the MSI StarCam 370i Webcam and I have trying to use it with > Kubuntu Linux 9.04 Jaunty. According to this page, "The StarCam 370i > is compliant with UVC, USB video class": > http://gadgets.softpedia.com/gadgets/Computer-Peripherals/The-MSI-StarCam-370i-3105.html > > According to the Linux UVC driver and tools download page, "Linux > 2.6.26 and newer includes the Linux UVC driver natively" which is nice > as I am on a higher version: > $ uname -r > 2.6.28-15-generic > > However, plugging in the webcam and testing with camorama, cheese, and > luvcview led me to no results: [snip] > jaun...@laptop:~$ dmesg | tail > [ 2777.811972] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers > v1:1.47pre49 > [ 2777.814989] usb 2-1: SN9C105 PC Camera Controller detected (vid:pid > 0x0C45:0x60FC) > [ 2777.842123] usb 2-1: HV7131R image sensor detected > [ 2778.185108] usb 2-1: Initialization succeeded > [ 2778.185220] usb 2-1: V4L2 device registered as /dev/video0 > [ 2778.185225] usb 2-1: Optional device control through 'sysfs' > interface disabled > [ 2778.185283] usbcore: registered new interface driver sn9c102 > [ 2778.216691] usbcore: registered new interface driver snd-usb-audio > [ 2778.218738] usbcore: registered new interface driver sonixj > [ 2778.218745] sonixj: registered [snip] > Anything missing? What should I do? Thanks in advance! Hello Dotan, Your webcam is not UVC compliant. One problem may be the fact that it is handled by 2 drivers: sn9c102 and gspca/sonixj. In both cases, the driver gives JPEG images. These ones are not handled natively by some applications as luvcview which knows only about MJPG. You have to use the wrapper of the v4l2 library to make them work. Regards. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- 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