Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 41

Thread: Built-In Webcam Problems

  1. #21
    Join Date
    Mar 2008
    Location
    Porto Alegre-Brazil
    Beans
    16
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Built-In Webcam Problems

    I've compiled three versions: the first 5602 only, the 5602 from the SVN repository, and m5602-ov9650 from SVN. Either I get segmentation fault when modprobbing the module, or I get my webcam recognized in skype but with a black image... Is there something I can do?

    Thanks for helping

  2. #22
    Join Date
    Sep 2008
    Beans
    4

    Re: Built-In Webcam Problems

    Quote Originally Posted by nbppp2 View Post
    The name of the file has been changed in the latest version of the driver.

    Try this instead

    Code:
    sudo mkdir /lib/modules/`uname -r`/kernel/drivers/usb/media
    sudo cp m560x.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
    sudo depmod -a
    sudo modprobe m560x
    err hi
    i am very new(2 days to be exact) to linux
    i followed your guide fully
    but at step 6
    rd@rd-laptop:~/m5602-ov9650$ sudo mkdir /lib/modules/'uname -r'/kernel/drivers/usb/media
    mkdir: cannot create directory `/lib/modules/uname -r/kernel/drivers/usb/media': No such file or directory

    this message comes up
    what am i doing wrong??
    please help this noob
    thks

  3. #23
    Join Date
    May 2007
    Beans
    132

    Re: Built-In Webcam Problems

    Hey, all. I'm sorry, but a lot of your questions I don't know the answer to, and I'm sure your google fu is as powerful as mine.

    rajan dhir, your problem seems to lie in the stupid syntaxes of bash (terminal). See,
    Code:
    '
    is not the same as
    Code:
    `
    . Therefore, in order to create that directory you must enter the code exactly as shown:
    Code:
    sudo mkdir /lib/modules/`uname -r`/kernel/drivers/usb/media
    Try copy/pasting, it's easier than writing the `-symbol on a non-American keyboard.

  4. #24
    Join Date
    Sep 2008
    Beans
    4

    Re: Built-In Webcam Problems

    Quote Originally Posted by AbtZ View Post
    Hey, all. I'm sorry, but a lot of your questions I don't know the answer to, and I'm sure your google fu is as powerful as mine.

    rajan dhir, your problem seems to lie in the stupid syntaxes of bash (terminal). See,
    Code:
    '
    is not the same as
    Code:
    `
    . Therefore, in order to create that directory you must enter the code exactly as shown:
    Code:
    sudo mkdir /lib/modules/`uname -r`/kernel/drivers/usb/media
    Try copy/pasting, it's easier than writing the `-symbol on a non-American keyboard.
    hey thanks a lot!!!
    but after the restart cheese still does not work
    anyway thks again for helping

  5. #25
    Join Date
    Sep 2008
    Beans
    4

    Re: Built-In Webcam Problems

    Quote Originally Posted by AbtZ View Post
    Hey, all. I'm sorry, but a lot of your questions I don't know the answer to, and I'm sure your google fu is as powerful as mine.

    rajan dhir, your problem seems to lie in the stupid syntaxes of bash (terminal). See,
    Code:
    '
    is not the same as
    Code:
    `
    . Therefore, in order to create that directory you must enter the code exactly as shown:
    Code:
    sudo mkdir /lib/modules/`uname -r`/kernel/drivers/usb/media
    Try copy/pasting, it's easier than writing the `-symbol on a non-American keyboard.
    hey thanks a lot!!!
    but after the restart cheese still does not work
    anyway thks again for helping

  6. #26
    Join Date
    Sep 2008
    Beans
    1

    Re: Built-In Webcam Problems

    My terminal doesn't respond when i enter lsusb | grep ALi or when I enter sudo modprobe m560x. Everything else worked perfectly.

    My kernel is: uname -r
    2.6.24-19-generic

    Thanks,
    k00t
    Last edited by k00t; September 24th, 2008 at 02:17 AM.

  7. #27
    Join Date
    Feb 2007
    Location
    /home/paris
    Beans
    690
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Built-In Webcam Problems

    Hello Guys,

    I was folowing the instructions and I was all prepared to give a realy huge THANKS to ALL when I was right at the the end with the command

    sudo modprobe m560x
    FATAL: Module m560x not found.
    So after a bit of hunting into what may be the problem I descovered the folowing...
    davem@Dartagnon:~/m5602-ov9650$ ls /lib/modules/2.6.24-19-generic/kernel/drivers/usb/media
    ls: cannot access /lib/modules/2.6.24-19-generic/kernel/drivers/usb/media/: Not a directory
    davem@Dartagnon:~/m5602-ov9650$ ls -l /lib/modules/2.6.24-19-generic/kernel/drivers/usb
    total 864
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 atm
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 class
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 core
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 gadget
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 host
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 image
    -rw-r--r-- 1 root root 838618 2008-10-18 16:48 media
    drwxr-xr-x 3 root root 4096 2008-09-30 11:33 misc
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 mon
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 serial
    drwxr-xr-x 2 root root 4096 2008-09-30 11:33 storage
    davem@Dartagnon:~/m5602-ov9650$
    which certainly seems to confirm that problem, so I decided to see what was in this file...
    davem@Dartagnon:~/m5602-ov9650$ more /lib/modules/2.6.24-19-generic/kernel/drivers/usb/media

    ******** /lib/modules/2.6.24-19-generic/kernel/drivers/usb/media: Not a text file ********

    davem@Dartagnon:~/m5602-ov9650$
    I'm not a newb, but I aint no guru.... Am I safe to "delete" this not a text file or something and if I do...what am I going to break? I'm guessing that it holds the details of the files that are loaded at start up for all the media stuff to work... or is a script that points to them?

    anyone got any ideas of what I should do next??

    oh by the way... I also rapidly descovered the issue of the module having changed name not very helpful!

    also I've been reading that some of you have been having problems with the <lsusb> command, and "grep" the line that you are after.

    If your camera is internal it may or may not be connected to a USB port.

    to see if it is do this...

    davem@Dartagnon:~/m5602-ov9650$ lsusb
    Bus 005 Device 002: 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 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000
    davem@Dartagnon:~/m5602-ov9650$
    and it will show up the ALi video controller if it is conected via that route.

    OTHER wise try <lshw |grep ALi> or just plain simple lshw to see if it is there anywhere? it may be it is turned off.... in which case I can't help! sorry..

    sorry if there are any funny typo's in this message, my friends young daughter is saying hi.... her first taste of Ubuntu happiness! I think I should lend her to Bill gates, so as she can prove how problematic it is having all users as default admins.... she would have destroyed my long since gone Vista partition by now

    anyway I hope the above helps somewhat.

    Dave
    Eee pc via Wubi install.
    evertying works straight out of the box

    My Launchpad page

  8. #28
    Join Date
    Aug 2008
    Beans
    31
    Distro
    Ubuntu 10.04 Lucid Lynx

    Red face Re: Built-In Webcam Problems

    Got some trouble...

    First, tanks a lot... because you've ressurrected the cam hope in my heart, also, gave me wings to fly to the solution and... but... actually stucked in the terminal after the mobprobe... oh gosh...


    Seems to be the time to call it "crack in terminal"... no response...
    Last edited by 666porcondissaum; November 17th, 2008 at 03:04 AM. Reason: Went to brush the bluetooth and... wait... wait...

  9. #29
    Join Date
    Aug 2008
    Beans
    31
    Distro
    Ubuntu 10.04 Lucid Lynx

    Cool Re: Built-In Webcam Problems

    Is there anybody built-in there!?

  10. #30
    Join Date
    Oct 2006
    Beans
    21
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Built-In Webcam Problems

    I have been trying to get my Ali 5602 cam to work these past couple of days but it just wont.

    I am using ubuntu 8.10 32-bit and that may be the root of my troubles.

    lsusb gives the following:

    Code:
    johannes@johannes-laptop:~$ lsusb | grep ALi
    Bus 005 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller
    So I know that the cam is there and that I am using the right approach. I have tried using the approach from the original post with instructions. I have also tried to use the guide posted on the sourceforge page for the driver, but with no luck either. I have figured out that I am supposed to use the gspca_m5602 driver instead of the ov9655 one. This is easily done by replacing m5602.ko with gspc_m5602.ko in the original instructions. Everything seems to work until I hit the modprobe step.

    Code:
    johannes@johannes-laptop:~$ sudo modprobe gspca_m5602 
    [sudo] password for johannes: 
    FATAL: Error inserting gspca_m5602 (/lib/modules/2.6.27-9-generic/kernel/drivers/usb/media/gspca_m5602.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    dmesg gives this in regard to gspca_m5602

    Code:
    [  188.411542] gspca_m5602: disagrees about version of symbol gspca_frame_add
    [  188.411563] gspca_m5602: Unknown symbol gspca_frame_add
    [  188.412807] gspca_m5602: disagrees about version of symbol gspca_dev_probe
    [  188.412812] gspca_m5602: Unknown symbol gspca_dev_probe
    [  213.787517] gspca_m5602: disagrees about version of symbol gspca_frame_add
    [  213.787534] gspca_m5602: Unknown symbol gspca_frame_add
    [  213.788772] gspca_m5602: disagrees about version of symbol gspca_dev_probe
    [  213.788777] gspca_m5602: Unknown symbol gspca_dev_probe
    I cant get any of this to make sense because according to the sourceforge instructions, none of this is needed.

    http://m560x-driver.wiki.sourceforge...l_m560x_driver

    It tells me that I need livecam to get the 5602 branch to work and that is a whole different chapter.

    I hope that someone out there knows what is going on and if it is even possible to get this ALi m5602 cam to work in ubuntu 8.10.

Page 3 of 5 FirstFirst 12345 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
  •