Microsoft lifecam 3000 linux

Thread: Microsoft LifeCam VX-3000 and GNU/Linux and SKYPE, no green

Thread Tools
Display

Microsoft LifeCam VX-3000 and GNU/Linux and SKYPE, no green

skype 2 1 0 81 I have video cuz of this :

Microsoft LifeCam VX-3000 and GNU/Linux

Posted by Locks Free on 15/03/2010

Here are some tips I have collected while trying to make my Microsoft LifeCam Vx3000 work under the latest Ubuntu. I have a 64 bits system and my aim was to make my camera work with Skype. The hardest part was to find the correct gspca module sources that worked with the latest kernels.
1. Check whether the web-cam is recognized at all

So first, I had to check if the camera was seen at all or not.

$ lsusb
+ lsusb
Bus 002 Device 014: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000.
One of the line returned by lsusb clearly indicates that my web-cam is recognized. If your web-cam does not appear, try to unload and reload ehci_hcd:

$ sudo modprobe -r ehci_hcd

$ sudo modprobe ehci_hcd
And then retry lsusb.
2. Make sure v4l1compat is loaded

Check whether the v4l1compat module is loaded or not by typing the following:

$ sudo lsmod | grep v4l1_compat
If it not installed, you need to install it. If you have a 32 bits system, you need to install libv4l-0; if you have a 64 bits system like me, you need to install both libv4l-0 and lib32v4l-0:

$ sudo apt-get install libv4l-0 lib32v4l-0
3. Install cheese

To do this first part, you will need to check progress using cheese:

$ sudo apt-get install cheese
Startup cheese, click on Video and check whether you can see an image or just white noise. If you do see an image, you can jump to step 4. If like me you could not see anything, follow on..
4. Install GSPCA

Make sure your linux kernel sources are installed and accessible from /usr/src/linux.
Now, download and install the latest gspca module version:

jfrancois/gspca/ but got merged back in)
* Click on the bz2 link on the left side and save it under /tmp
* Open a terminal and type the following (the compilation itself can take several minutes):

$ tar xfvj gspca- .bz2

$ sudo make install && reboot

Now, try to run cheese once again and see if this work. If it does not, first check that the gspca module is loaded. If not load it.

$ sudo lsmod | grep gspca
5. Make Skype work

If Skype still does not work, you need to help it to get there.

You need to force Skype to use the v4l1 compatibility layer, it is not yet compatible with v4l2 apparently. So you have to set the LC_PRELOAD environment variable to /usr/lib/libv4l/v4l1compat.so if you are on a 32 bits system or /usr/lib32/libv4l/v4l1compat.so if you are on a 64 bits system. To just try it, open a terminal and type:

$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
Now, you should it be able to see your web-cam image in the Skype video options. If not… well then good luck continuing the search !
Finally, I made that change permanent (at least, until a future Skype upgrade):

$ sudo mv /usr/bin/skype /usr/bin/skype_real

$ sudo echo LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/skype_real > /usr/bin/skype

Читайте также:  Latest windows operating system from microsoft

$ sudo chmod +x /usr/bin/skype
You could also just create an alias in your home for this. Overall, I hope this helps you as it can seem like a never-ending frustration to use some web-cams under Linux, while many other web-cams work out of the box !

If it was useful to you or if you found something I could add, please leave a comment !

Источник

Microsoft lifecam 3000 linux

Here are some tips I have collected while trying to make my Microsoft LifeCam Vx3000 work under the latest Ubuntu. I have a 64 bits system and my aim was to make my camera work with Skype. The hardest part was to find the correct gspca module sources that worked with the latest kernels.

1. Check whether the web-cam is recognized at all

So first, I had to check if the camera was seen at all or not.

$ lsusb
+ lsusb
Bus 002 Device 014: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000.

One of the line returned by lsusb clearly indicates that my web-cam is recognized. If your web-cam does not appear, try to unload and reload ehci_hcd:

$ sudo modprobe -r ehci_hcd

$ sudo modprobe ehci_hcd

2. Make sure v4l1compat is loaded

Check whether the v4l1compat module is loaded or not by typing the following:

$ sudo lsmod | grep v4l1_compat

If it not installed, you need to install it. If you have a 32 bits system, you need to install libv4l-0; if you have a 64 bits system like me, you need to install both libv4l-0 and lib32v4l-0:

$ sudo apt-get install libv4l-0 lib32v4l-0

3. Install cheese

To do this first part, you will need to check progress using cheese:

$ sudo apt-get install cheese

Startup cheese, click on Video and check whether you can see an image or just white noise. If you do see an image, you can jump to step 4. If like me you could not see anything, follow on..

4. Install GSPCA

Make sure your linux kernel sources are installed and accessible from /usr/src/linux.
Now, download and install the latest gspca module version:

jfrancois/gspca/ but got merged back in)

  • Click on the bz2 link on the left side and save it under /tmp
  • Open a terminal and type the following (the compilation itself can take several minutes):

    $ tar xfvj gspca- .bz2

    $ sudo make install && reboot

    Now, try to run cheese once again and see if this work. If it does not, first check that the gspca module is loaded. If not load it.

    $ sudo lsmod | grep gspca

    5. Make Skype work

    If Skype still does not work, you need to help it to get there.

    You need to force Skype to use the v4l1 compatibility layer, it is not yet compatible with v4l2 apparently. So you have to set the LC_PRELOAD environment variable to /usr/lib/libv4l/v4l1compat.so if you are on a 32 bits system or /usr/lib32/libv4l/v4l1compat.so if you are on a 64 bits system. To just try it, open a terminal and type:

    Now, you should it be able to see your web-cam image in the Skype video options. If not… well then good luck continuing the search !
    Finally, I made that change permanent (at least, until a future Skype upgrade):

    $ sudo mv /usr/bin/skype /usr/bin/skype_real

    $ sudo echo LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/skype_real > /usr/bin/skype

    $ sudo chmod +x /usr/bin/skype

    You could also just create an alias in your home for this. Overall, I hope this helps you as it can seem like a never-ending frustration to use some web-cams under Linux, while many other web-cams work out of the box !

    If it was useful to you or if you found something I could add, please leave a comment !

    Rate this:

    Share this:

    Like this:

    10 Responses to Microsoft LifeCam VX-3000 and GNU/Linux

    This helps a lot, and I made my cam to work perfect with skype and cheese. I have other problem. When I run Chrome or Mozilla on Ubuntu 10.04, I cant see my cam in the flash player. The solutions:
    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so firefox &
    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so google-chrome

    This solutions work fine and after running this in the terminal I can see my cam.
    My question is: Can you help me make this load permanent so I dont have to execute the command every time I want to stream my cam on Chrome or Firefox.

    Читайте также:  Как расширить корневой каталог linux

    This guide seems very useful, but unfortunately I can’t find the link you are referring to in http://linuxtv.org/hg/

    hgoede/gspca/.. When I save the only bz2 link I see on the page it is only 7 kb in size,, Can’t extract it either.. If I left click on it then it goes into an endless loop that refers to the same page!! How have the other managed to do this?

    first of all thanks for your guide.
    i tried to use it, but i have 2 problems:
    – those links don’t work ( http://linuxtv.org/hg/

    jfrancois/gspca/ )
    but i take from this http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz found with google.
    – i have those errors using “make” & “sudo make install && reboot”
    i sure i make some mistakes but i don’t know which one.
    could you help me? thanks
    gianni

    /gspcav1-20071224$ make
    make -C /lib/modules/`uname -r`/build SUBDIRS=/home/gianni/gspcav1-20071224 CC=cc modules
    make[1]: ingresso nella directory «/usr/src/linux-headers-2.6.35-22-generic»
    CC [M] /home/gianni/gspcav1-20071224/gspca_core.o
    /home/gianni/gspcav1-20071224/gspca_core.c:54: fatal error: asm/semaphore.h: Nessun file o directory
    compilation terminated.
    make[2]: *** [/home/gianni/gspcav1-20071224/gspca_core.o] Errore 1
    make[1]: *** [_module_/home/gianni/gspcav1-20071224] Errore 2
    make[1]: uscita dalla directory «/usr/src/linux-headers-2.6.35-22-generic»
    make: *** [default] Errore 2
    gianni@gianni-desktop:

    /gspcav1-20071224$ sudo make install && reboot
    mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
    rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
    rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
    install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
    install: impossibile fare stat di `gspca.ko’: Nessun file o directory
    make: *** [install] Errore 1
    gianni@gianni-desktop:

    Your archive seems to be from 2007, probably not compatible with the latest kernels.
    You could just try to clone this http://git.linuxtv.org/jfrancois/gspca.git and then compile.

    thanks, when i’ll come at home i’ll try from my desktop
    and then write here if it work.
    thanks

    Allora come è andata?
    Io ho gli stessi errori su Maverick 32bit.

    when I type in sudo echo LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so /usr/bin/skype_real > /usr/bin/skype permission is denied. but i was able to view my web cam in skype. I just can’t make the permanent change.

    If you have troubles, instead of touching the /usr/bin/skype file or link, you can just create a quick script launch_skype.sh on your desktop or within your home that contains just:
    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

    This worked for me except the last bit with the echoing, I just opened up a text editor with sudo and made the script manually.
    Webcam now works, thanks!

    Источник

    Thread: Ubuntu 12.04 (64 bit), Skype and Microsoft Lifecam HD-3000

    Thread Tools
    Display

    Ubuntu 12.04 (64 bit), Skype and Microsoft Lifecam HD-3000

    I’m trialing moving to Ubuntu from a Mac. All is going well except the Webcam (M$ Lifecam HD-3000) which works fine under 12.04 (32 bit) but doesn’t appear to initialise correctly under 12.04 (64 bit). I will only be using it with Skype. I have tried after a fresh reinstallation of Ubuntu (both before and after any updates). The symptoms shown seemed to be with the initialisation of the hardware, the LED blinks 4-5 times and then gives a long flash which usually the point it is sucessfully initialised however under the Ubuntu 64 bit version it seemes to go though an endless loop of reinitialising. Reconnecting the webcam seems to resolve the situation until the cam is reused. Has anyone got any fixes or is there a patch I need to apply?

    No other applications except Skype has been installed at the point of testing.

    Any help resolving this issue would be welcome.

    Re: Ubuntu 12.04 (64 bit), Skype and Microsoft Lifecam HD-3000

    Install «Cheese» on 64bit and see if the webcam works. If it does, then there could be some issue with 32bit libraries. Skype is not available in 64bit so we use 32bit on 64bit, with 32bit libraries. Confirm with ‘cheese’.

    Re: Ubuntu 12.04 (64 bit), Skype and Microsoft Lifecam HD-3000

    Just tried 12.04/64 with cheese. The cam works however it does seem as though with Skype (both versions) the cam does eventually initialise but after the app has duimmed down (not responding). I have gone back to 32 bit and the cam is working fine. I’m guessing it is something to do with the lib files compatability with the 64 bit kernel. Hopefully it will be resolved soon. I have done some googling to no avail ;(

    Interesting. I think the problem could be with the 64 bit drivers. The lifecam works fine under ubuntu 12.04 32 bit but not 64 bit. I have just done a fresh install of ubuntu 12.04/64, the cam was initialised ok during the installation while deciding on my avitar also fine on first boot (tested with cheese) before I installed the updates. Ever since installing the updates the cam starts doing its repeated intialisation cycle, even when all applications are closed.

    Читайте также:  Как увеличить рабочий стол windows

    I did try 12.04/64 on another machine that had problems with skype audio — on that occasion the skype audio worked fine until you played a MP3 or went onto a website that used audio (Youtube etc). From then on Skype audio failed. After a lot of reading it seems skype needs the 32 bit drivers (I think). The audio problem was fixed by running : sudo apt-get install libasound2-plugins:i386 then rebooting. Then Skype was happy and I was able to make and receive calls before, during and after listening to MP3s.

    Going on the same basis as the audio problem and the cam working fine under a 32 bit OS, I was wondering if the problem was 64 bit drivers? If so where can I download and try install 32 bit drivers?

    It seems running sudo apt-get install ia32-libs then rebooting seems to resolve. just done a skype test cam call which worked well with the cam inisitalising as expected

    Last edited by howefield; June 28th, 2016 at 03:02 PM . Reason: posts combined.

    Источник

    Linux Mint Forums

    Welcome to the Linux Mint forums!

    Webcam: Microsoft LifeCam HD-3000

    Webcam: Microsoft LifeCam HD-3000

    Post by ZeonOtaku » Tue Sep 04, 2012 12:49 pm

    I proceed to sudo make install

    But at this point, I really don’t know what to do. Never made a driver before (I guess that’s what this process is doing) — and if so, what’s next?

    Re: Webcam: Microsoft LifeCam HD-3000

    Post by remoulder » Tue Sep 04, 2012 3:34 pm

    [Edit] your original post and add [SOLVED] once your question is resolved.

    “The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.

    Re: Webcam: Microsoft LifeCam HD-3000

    Post by ZeonOtaku » Tue Sep 11, 2012 3:19 pm

    Re: Webcam: Microsoft LifeCam HD-3000

    Post by ZeonOtaku » Wed Sep 12, 2012 10:39 am

    Re: Webcam: Microsoft LifeCam HD-3000

    Post by wyrdoak » Wed Sep 12, 2012 11:06 am

    As far as Flash sites, I’ve found it to be more of a site problem than a driver problem. I know in Firefox [Chrome sometimes works]on my system some web sites are a bear to try to change flash settings from them, I usually go here to change my mic’ and camera privacy settings. http://www.macromedia.com/support/docum . ger06.html

    Do you have «Cheese», or a program like it? Is it working for you?

    Re: Webcam: Microsoft LifeCam HD-3000

    Post by ZeonOtaku » Wed Sep 12, 2012 12:28 pm

    Right now the system is using Firefox, just the default program that comes with Mint 13. I know that when I installed Mint 13, I was given the option to take my picture and the webcam kicked on appearing to work. But really I don’t know if it is a driver problem or as you say, it could be a website problem. Normally this website is run under IE on Windows. It also works with Firefox and Chrome on Windows, as well as Safari on Mac OS X. So for the Linux side, I’m trying to run some tests for for the future.

    When I right-click for settings, it’s grayed out — though global settings isn’t.

    Re: Webcam: Microsoft LifeCam HD-3000

    Post by ZeonOtaku » Wed Sep 12, 2012 12:49 pm

    Источник

  • Оцените статью