Tuesday, September 9, 2008

Installing the vx 6000 webcam on Fedora core 9

After google-ing and reading i got my MS webcam vx-6000 working on Fedoracore9

I found the solution that worked for me here
quick installation guide:


  • yum install git kernel-devel gcc

From a command-line prompt, cd to a directory where you want to download it, then run the command:
  • git clone http://repo.or.cz/r/microdia.git
This will create a folder named "microdia" which contains all the source code.
  • cd microdia
also i found out that you have to edit macrodia.h before compiling... read more here
  • vi microdia.h
i had to change 2 values...
modify the Vendor Id with the code of Microsoft 045E and
the Product Id of the model 624F with 00F4.
it has to look like this DO NOT COPY PASTE:

#define USB_0C45_VID 0x045e /** Vendor ID of MICRODIA

#define USB_624F_PID 0x00f4 SN9C201 + OV9650


Attention: Do _NOT_ under any circumstances use "$ sudo make".
There are no root privileges necessary at this point and
using them causes a never ending chain of different problems lateron.

  • make

Troubleshooting MAKE errors look here
or
http://groups.google.com/group/microdia/web/testing-microdia-driver-draft
you should find some answers almost at the bottom...


I used "cheese" to test my web cam... you can find it with yum...
  • yum search cheese

if every thing worked for you... you would like the microdia.ko to get loaded at boot right?

here we go:

  • strip -g microdia.ko
  • sudo cp microdia.ko /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/
  • sudo depmod -a
also i had this error and i solved it with this:
http://groups.google.com/group/microdia/web/testing-microdia-driver-draft

Troubleshooting insmod errors

# insmod microdia.ko
insmod: error inserting 'microdia.ko': -1 Unknown symbol in module

See the output of #dmesg

the last few lines would be complaints about missing symbols, depending upon whats missing

you may not have loaded the modules that module depends on,
So it failed with those error messages. You would need to modprobe for that module's dependencies

Try

$ sudo modprobe videodev

$ sudo modprobe compat-ioctl32

then

$ sudo insmod microdia.ko

good luck :-)
Yaniv Ferszt

No comments: