Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: Built-In Webcam Problems

  1. #1
    Join Date
    Oct 2007
    Beans
    15

    Built-In Webcam Problems

    I have a Sager NP6690 laptop with a built in webcam that I have not yet been able to get functioning.

    I am running Ubuntu 8.04.

    Cheese did not detect the camera, and Camorama diplays the message "Could not connect to video device (/dev/video0) when I try and launch it.

    I ran EasyCam in an attempt to install the correct driver, but that too was unsuccessful.

    The output when I run lsusb is

    Bus 005 Device 003: ID 0402:5602 ALi Corp. Video Camera Controller
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 003: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000

    Am I missing something? Thanks in advance!

  2. #2
    Join Date
    Sep 2006
    Location
    Rockford, IL. USA
    Beans
    2,043
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Built-In Webcam Problems

    Try using Ekiga see if the cam works/detected. You may have to work with the settings > Open Ekiga > Edit > Preferences > Devices > Video Devices > try changing some of the settings.( Video Plugin if it shows V4L change to V4L2)

    To test your webcam you can do this:
    There are 6 icons on the left side of the main Ekiga window. Push the 4th button from the top (a grey round webcam). If eveything is ok, you'll see the output of the webcam. If not, you'll see the Ekiga logo bouncing slowly.
    Linux Registered User # 418555 | Kubuntu User # 9254

  3. #3
    Join Date
    Oct 2007
    Beans
    15

    Re: Built-In Webcam Problems

    In Ekiga, under Edit>Preferences>Video Devices>Input Device no devices appear to be found; the only option listed is 'No Device Found.' The same thing happened when I completed the 'First Time Configuration' for Ekiga. The 'Detect Devices' button under the same menu also is unable to locate the camera.

    Changing the video plugin was also obviously unfruitful.

    Is there a standard procedure for making Ubuntu recognize hardware? My every other experience with hardware has been seamless.

  4. #4
    Join Date
    Sep 2006
    Location
    Rockford, IL. USA
    Beans
    2,043
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Built-In Webcam Problems

    After doing some searching on your webcam >Bus 006 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller > it is not supported in Linux no driver. Maybe in the future their will be a driver that supports your webcam. Good Luck
    Linux Registered User # 418555 | Kubuntu User # 9254

  5. #5
    Join Date
    Oct 2007
    Beans
    15

    Re: Built-In Webcam Problems

    Well, that would certainly explain why EasyCam could not find a driver.

    Thank you for the very quick responses. I would be lost without people so dedicated to the Ubuntu community.

  6. #6
    Join Date
    May 2007
    Beans
    132

    Re: Built-In Webcam Problems

    EDIT: The information below is quite old, and as such you cannot follow the guide exactly. As of 9.04, my webcam works out of the box, so I see no reason to update it. I will leave it as reference, though.


    Quote Originally Posted by linuxwizard View Post
    After doing some searching on your webcam >Bus 006 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller > it is not supported in Linux no driver.
    Actually, I got my ALi Corp webcam working, with some help from the place I bought the computer from. Here's how:


    1. Make sure you have the ALi Corp webcam installed. Activate it (for me I do so by pressing Fn+F10), then run
    Code:
    lsusb | grep ALi
    I get
    Code:
    Bus 003 Device 004: ID 0402:5602 ALi Corp. Video Camera Controller
    which means I have the correct webcam.

    2. Install subversion
    Code:
    sudo apt-get install subversion
    3. Pull the required files via subversion

    Code:
    svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver/m560x/branches/m5602-ov9650
    EDIT: As it seems they have made an update, I have not tested this version of the driver myself, and cannot answer for whether it works or not. Perhaps a different branch is better for your computer.

    This will give you all the different branches, as well as some other stuff, from their subversion repo:
    Code:
    svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver
    Check out the link at the bottom of this post to find the project page at sourceforge.

    4.
    Code:
    cd m5602-ov9650/
    5. You need the proper packages so you can compile code
    Code:
    sudo apt-get install build-essential
    Then you can compile by simply running
    Code:
    make
    in the folder you downloaded the files to.

    6.
    Code:
    sudo mkdir /lib/modules/`uname -r`/kernel/drivers/usb/media
    sudo cp m5602.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
    sudo depmod -a
    sudo modprobe m5602
    7. The camera should now work. You can try it out with xawtv. If you want it to work with cheese you need to install a script -- go here to download it:

    http://sourceforge.net/mailarchive/f...x-driver-devel

    It is the .fdi file attached at the top of his post.

    Then go to the folder where you downloaded the file and do

    Code:
    sudo cp 10-m5602-webcam.fdi /usr/share/hal/fdi/information/20thirdparty/
    After this, reboot and everything should now work.

    I first tried this with the 64-bit version of Ubuntu, and it worked with cheese but not xawtv. There were also some other bugs such as the computer hard freezing when trying to exit one of the programs or trying to add different effects in Cheese, and sometimes it also refused to resume after suspending.

    I have just reinstalled Ubuntu (Mint) 32-bit version, and I followed my own guide to activate the cam while writing it. So far everything seems to work smoothly.

    More info can be found here:
    http://sourceforge.net/projects/m560x-driver

    Or at their mailing list:
    http://sourceforge.net/mailarchive/f...x-driver-devel
    Last edited by AbtZ; October 25th, 2009 at 05:58 PM.

  7. #7
    Join Date
    Oct 2007
    Beans
    15

    Re: Built-In Webcam Problems

    AbtZ, everything went smooth until I hit the final command of step 6. When I entered:

    sudo modprobe m5602

    it returned:

    FATAL: Module m5602 not found.

    So close! Could I have not obtained the correct packages?

  8. #8
    Join Date
    May 2007
    Beans
    132

    Re: Built-In Webcam Problems

    IIRC, I got the same problem when the "depmod -a" command failed to run properly.

    Do this:
    Code:
    ls /lib/modules/2.6.24-16-generic/kernel/drivers/usb/media/
    It should tell you whether the m5602.ko is in the folder or not. If it's not, move it there and try
    Code:
    sudo depmod -a
    and
    Code:
    sudo modprobe m5602
    again. If it is already there, reboot your computer before running those two commands. Dunno why, but it worked for me.

  9. #9
    Join Date
    Oct 2007
    Beans
    15

    Re: Built-In Webcam Problems

    The ls command shows that m5602.ko is present, and the depmod -a command also seems to work fine, but modprobe still returns:

    FATAL: Module m5602 not found.


    Same results before and after the restart.

  10. #10
    Join Date
    May 2007
    Beans
    132

    Re: Built-In Webcam Problems

    I went through my how to again, thinking there might be a typo somewhere, but I cannot reproduce your error. I'm sorry, I do not know why it doesn't work for you.

    EDIT: Perhaps your kernel version is different from mine?
    Try
    Code:
    uname -r
    and see what you get.
    Last edited by AbtZ; May 27th, 2008 at 07:50 PM.

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •