Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: does microdia driver working for 9.04

  1. #1
    Join Date
    Jan 2007
    Location
    Turkey
    Beans
    29
    Distro
    Ubuntu

    Question does microdia driver working for 9.04

    Hi

    i have usb webcam and lsusb output down here:

    Code:
    erdem@pc:~$ lsusb
    Bus 001 Device 003: ID 0c45:6270 Microdia U-CAM PC Camera NE878
    Bus 001 Device 002: ID 1058:1100 Western Digital Technologies, Inc. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root 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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    i search about how to install it and i found this link:
    http://ubuntuforums.org/showpost.php...81&postcount=9

    but it doesn't work for me...
    can anyone help me?

    Thank you

  2. #2
    Join Date
    Jan 2007
    Location
    Turkey
    Beans
    29
    Distro
    Ubuntu

    Re: does microdia driver working for 9.04

    can anyone help?

  3. #3
    Join Date
    Apr 2009
    Beans
    1

    Re: does microdia driver working for 9.04

    I tried the same.

    My cam is a

    Code:
    Bus 001 Device 005: ID 0c45:613b Microdia Win2 PC Camera
    So I followed these instructions:

    http://groups.google.com/group/micro...er-draft?pli=1

    But instead of the mentioned messages in dmesg I get these after plugging the cam in

    Code:
    [ 1363.665933] usbcore: registered new interface driver sn9c20x
    [ 1363.665941] sn9c20x: SN9C20x USB 2.0 Webcam Driver v2009.01 loaded
    [ 1380.925060] usb 1-4.4: USB disconnect, address 4
    [ 1380.925775] usb 1-4.4: Disconnecting SN9C1xx PC Camera...
    [ 1380.925782] usb 1-4.4: V4L2 device /dev/video0 deregistered
    [ 1386.244180] usb 1-4.4: new full speed USB device using ehci_hcd and address 5
    [ 1386.337131] usb 1-4.4: configuration #1 chosen from 1 choice
    [ 1386.337526] usb 1-4.4: SN9C120 PC Camera Controller detected (vid:pid 0x0C45:0x613B)
    [ 1386.387396] usb 1-4.4: OV7660 image sensor detected
    [ 1386.574767] usb 1-4.4: Initialization succeeded
    [ 1386.574876] usb 1-4.4: V4L2 device registered as /dev/video0
    [ 1386.574881] usb 1-4.4: Optional device control through 'sysfs' interface disabled
    [ 1386.622471] usb 1-4.4: usb_submit_urb() failed, error -28
    I think some module is getting access to the cam, before the new driver module can take control.
    And of course programs like camorame are reporting an error when trying to read /dev/video0.
    Any hints?


    x

  4. #4
    Join Date
    Jun 2009
    Beans
    1

    Re: does microdia driver working for 9.04

    Quote Originally Posted by Erdem View Post
    Hi

    i have usb webcam and lsusb output down here:

    Code:
    erdem@pc:~$ lsusb
    Bus 001 Device 003: ID 0c45:6270 Microdia U-CAM PC Camera NE878
    Bus 001 Device 002: ID 1058:1100 Western Digital Technologies, Inc. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root 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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    i search about how to install it and i found this link:
    http://ubuntuforums.org/showpost.php...81&postcount=9

    but it doesn't work for me...
    can anyone help me?

    Thank you
    Just follow this. Bye.

    Preamble
    --------

    1. "Gentlemen" of Conceptronic, to which I wrote a couple of years ago, asking for a solution to my problem, were absolutely
    absent in this. My source was the following:

    http://ubuntuforums.org/showthread.php?t=982471&page=1

    This source, suitably revised, permitted me to write the following solution.

    2. This solution was tested on an Ubuntu 9.04 AMD64bit, but also works on 32bit systems. Let me know if it works also with previos releases (it should)!

    3. Perhaps the solution proposed, although functional, is not optimized. That is, some instruction is redundant or even useless. But would not cause any damage.

    START
    -------

    Let's verify that our microdia sn9c20x based webcam is connected to our PC and is recognized by the system.
    Open a terminal window and type the following (without the dollar, it is used to indicate the prompt):

    $ lsusb|grep Microdia

    The result should be something like this:

    Bus 002 Device 003: ID 0c45:627b Microdia PC Camera (SN9C201)

    Remember: everything should work with SN9C20x chip based webcam.

    Now, to install webcam kernel module (aka driver),
    open a terminal window and type the following:

    # This will install kernel source. If you already have, it does nothing. If in doubt, run it.
    $ sudo apt-get install linux-headers-`uname -r` linux-source

    # This install other software, needed by our procedure.
    $ sudo apt-get install ubuntu-dev-tools
    $ sudo apt-get install exuberant-ctags
    $ sudo apt-get install git

    # Now I go to my home directory.
    $ cd

    # Download and clone microdia source folder.
    $ git clone http://repo.or.cz/r/microdia.git

    # Compile kernel module.
    $ cd microdia
    $ make

    # Install and load it.
    $ sudo modprobe videodev
    $ sudo modprobe compat_ioctl32 # Just needed on a 64bit System. Not necessary on x86 32bit.
    $ sudo insmod ./sn9c20x.ko
    $ sudo install -d /lib/modules/`uname -r`/misc
    $ sudo install sn9c20x.ko /lib/modules/`uname -r`/misc
    $ sudo depmod -a
    $ sudo modprobe sn9c20x

    # This is to clean microdia folder from installation files generated during the make process.
    $ make clean

    Let's try it with software cheese
    $ sudo apt-get install cheese
    $ cheese

    Of course I also tried it with skype and works fine.

    Be carefull about what follows:

    To re-install kernel module after a system update that changes the kernel,
    just open a terminal window and type the following :

    # I go to my home directory.
    $ cd
    # If there is no microdia folder, I download it.
    $ git clone http://repo.or.cz/r/microdia.git
    # otherwise, I simply move to that folder.
    $ cd microdia

    $ make clean
    $ make
    $ sudo modprobe videodev
    $ sudo modprobe compat_ioctl32 # Just needed on a 64bit System. Not necessary on x86 32bit.
    $ sudo insmod ./sn9c20x.ko
    $ sudo install -d /lib/modules/`uname -r`/misc
    $ sudo install sn9c20x.ko /lib/modules/`uname -r`/misc
    $ sudo depmod -a
    $ sudo modprobe sn9c20x
    $ make clean

    THE END
    -----
    Send me your smiling webcam shot!

  5. #5
    Join Date
    Jan 2006
    Location
    Jacksonville, AL
    Beans
    22
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: does microdia driver working for 9.04

    That's an incredibly great set of instructions! I would really like to try this, and I am considering grabbing the previous kernel to work with. But, the problem I have encountered in the past with installing modules comes into play with the extra modules I need to ensure internet connectivity (madwifi) and graphics (nvidia-glx-180).
    It looks like you're describing just compiling modules, but I am so not familiar with this. I know it is a sensitive procedure. Where can I learn more about what is being done in general here?

    Thanks again for the awesome post!
    (...)
    Oh, wow, I understand now that I was not compiling the kernel. Big difference! So, I've attached pictures as you asked! Yay for Linux!
    Attached Images Attached Images
    Last edited by blissfulpenguin; June 17th, 2009 at 10:12 AM. Reason: Solved

  6. #6
    Join Date
    Oct 2007
    Beans
    24
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: does microdia driver working for 9.04

    THANK YOU SO MUCH paulsan!!!!!!!

    it has been a while since i had my webcam working and i tried all the tutorials i could find around, always without success...

    I upgraded to 9.04 a couple of days ago, and i just tried your instructions..
    and IT WORKS!!!!

    thanx a lot!!!

    Lorenzo

  7. #7
    Join Date
    Jun 2009
    Location
    Parsippany, NJ
    Beans
    4
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Talking Re: does microdia driver working for 9.04

    I had used your method and it worked great, though the color from my cam is still a little "not right". I just had a kernel update and Skype wouldn't recognize the cam again so I followed the last part of the instructions and got the cam to work, again!

    Thanks, man! You rock!!!
    Attached Images Attached Images

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

    Re: does microdia driver working for 9.04

    I was using it fine under Ubuntu 8.04 but ever since I upgraded I to 9.04 I haven't been able to install it. I am not on my Ubuntu box now but will post back exact results.

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

    Re: does microdia driver working for 9.04

    [ 1919.452156] sn9c20x: Unknown symbol video_unregister_device
    [ 1919.452340] sn9c20x: disagrees about version of symbol video_device_alloc
    [ 1919.452343] sn9c20x: Unknown symbol video_device_alloc
    [ 1919.452432] sn9c20x: disagrees about version of symbol video_register_device
    [ 1919.452435] sn9c20x: Unknown symbol video_register_device
    [ 1919.452951] sn9c20x: disagrees about version of symbol video_device_release
    [ 1919.452955] sn9c20x: Unknown symbol video_device_release
    when I try insmod I get "insmod: error inserting 'sn9c20x.ko': -1 Unknown symbol in module"
    Anyone? I installed it once and it worked fine (about 3 days ago) then I shut down my computer and as I left the room I saw a fleeting glimpse of error messages regarding the cam ( I remotely remember seeing power somewhere)! Can anyone help? It's still going fine in Vista but the quality was much better in Ubuntu 8.04.

  10. #10
    Join Date
    Sep 2008
    Location
    Bangalore, India
    Beans
    35
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: does microdia driver working for 9.04

    As the Microdia driver we're downloading from the repo is licensed under GPL, can't we ask kernel.org people to make it a part of the Linux kernel?
    If not that, at least can't it be made a part of the ubuntu repositories?
    So that it can be installed and configured using dkms ( e.g sudo apt-get install microdia-driver ). My dad has this camera and he finds it really confusing when I tell him "You have to recompile the kernel module each time you get a new kernel upgrade through the ubuntu repos".

Page 1 of 2 12 LastLast

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
  •