RSS

Lenovo 3000 N100 0768 Laptop Integrated Webcam Drivers for GNU/Linux

08 Oct

Currently I use a Lenovo N100 at the office which is running Ubuntu GNU/Linux. There’s a nice documentation that describes (along with other info related to hibernation, activating the fingerprint reader, etc.):

https://wiki.ubuntu.com/LaptopTestingTeam/Lenovo3000N100_0768

For sake of convenience (and backup) I repeat the relevant section below (I was able to do as described and at least run video over Skype successfuly, thanks for the nice and accurate documentation):

Webcam

The laptop has a Microdia SN9C201 based integrated webcam (lsusb tells 0c45:624f).

This is not an UVC camera, so the linux-uvc won’t support it.

Michel Xhaard, author of the spca5xx project, regularly tells on the mailing list that he is working on it, but we don’t know the progression… and we have been waiting for ages. (spca5xx development mailing list)

Microdia webcam kernel driver project

There is a Microdia project working on an Open Source driver by reverse engeneering (usb sniffing mainly) and some little documentation.
The project has a google group : http://groups.google.com/group/microdia.
You can follow the development via git-web : http://repo.or.cz/w/microdia.git

If you want to test the driver (still in development, use at your own risks):

You need to install git first:

sudo apt-get install git-core gitk git-gui git-doc curl

Then clone the “microdia” repository:

git clone http://repo.or.cz/r/microdia.git

Now check the usb ID lsusb

If the usb ID is 0c45:624f then skip this step and continue to building the driver, following these instructions will cause your webcam to not work. If the usb ID is 0c45:627f then do the following:

— ONLY IF lsusb GIVES YOU 0C45:624f THEN DO NOT DO THE FOLLOWING —

cd microdia
cp microdia.h microdia.h.backup
gedit microdia.h

line 56 should read:

#define USB_UDIA_624F_PRODUCT_ID 0x624f /**< Product ID of the camera ???

replace 624F with 627F in both places where it appears. The line should now read:

#define USB_UDIA_627F_PRODUCT_ID 0x627f /**< Product ID of the camera ???

Save the file and continue to the next step.

cd ..

— OTHERWISE IF lsusb GAVE YOU 0c45:624f THEN CONTINUE FROM HERE —

Then build the driver:

cd microdia
make

Now load some necessary modules before the microdia driver:

sudo modprobe videodev
sudo modprobe compat-ioctl32

Finally, load the microdia driver (rmmod to unload it):

sudo insmod microdia.ko

You can test the webcam with Ekiga, or with VLC:

vlc v4l:// :v4l-vdev="/dev/video0"

or mplayer:

mplayer -tv device=/dev/video0:driver=v4l:input=1:width=640:height=480 tv://1 -zoom

I got successful image capture from the webcam with 19 apr. 2008 git version; it works quite well.

Do the following so you don't have to insmod everytime you wish to use your webcam after a restart:

$sudo cp microdia.ko /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/

$sudo depmod -a

Advertisements
 
8 Comments

Posted by on October 8, 2008 in General, Linux

 

8 responses to “Lenovo 3000 N100 0768 Laptop Integrated Webcam Drivers for GNU/Linux

  1. tushar

    February 17, 2009 at 13:39

    laptop drivers at lenevo3000 n100

     
  2. kapil

    April 17, 2009 at 19:52

    i want lenovo3000 webcam driver

     
  3. sanjay kumar singh

    August 27, 2009 at 17:20

    please issue driver with me thank

     
  4. Amikam

    September 17, 2009 at 02:59

    I cant install integrated webcam in my Lenovo 3000 n100

    I’ll be glad if someone can type what to do step by step ,i mean i even do not know how to get the Product ID of the camera

    Very beginner !

    Thanx !!!!

     
  5. Patent Application

    January 27, 2011 at 10:01

    There is a Microdia project working on an Open Source driver by reverse engeneering (usb sniffing mainly) and some little documentation.
    The project has a google group : http://groups.google.com/group/microdia.
    You can follow the development via git-web : http://repo.or.cz/w/microdia

     
  6. surender kumar

    June 15, 2011 at 15:59

    can u provide me Lenova 3000 N100 model
    laptop webcam driver I am unable to working with my laptop as webcam pls help us

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: