Am Mittwoch 18 März 2009 15:02:19 schrieb kiran: > Hi, > > I just bought a webcam called "SMART" (I suspect it is Chinese) and > and when I connect the webcam lsub shows the following: > > ====== > [r...@localhost microdia]# lsusb > Bus 001 Device 001: ID 0000:0000 > Bus 002 Device 002: ID 0c45:613b Microdia > Bus 002 Device 001: ID 0000:0000 > Bus 004 Device 001: ID 0000:0000 > Bus 003 Device 001: ID 0000:0000 > ====== > > So i guess this is a microdia camera.. > > I was serching for the linux driver for this when I stumbled on the > following page: > > http://blog.zerodogg.org/2008/04/27/microdia-0c45624f-webcam-on-linux/ > > ======= > git clone http://repo.or.cz/r/microdia.git > cd microdia > make > sudo insmod ./microdia.ko > ======= > > But When i reach make, I get the following error: > > ======= > [r...@localhost microdia]# make > make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/root/microdia > modules > make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586' > CC [M] /root/microdia/sn9c20x-usb.o > /root/microdia/sn9c20x-usb.c: In function ‘usb_sn9c20x_isoc_init’: > /root/microdia/sn9c20x-usb.c:322: warning: assignment from > incompatible pointer type > /root/microdia/sn9c20x-usb.c: In function ‘usb_sn9c20x_bulk_init’: > /root/microdia/sn9c20x-usb.c:369: warning: p > > assing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer > type > /root/microdia/sn9c20x-usb.c: In function > ‘usb_sn9c20x_completion_handler’: > /root/microdia/sn9c20x-usb.c:602: error: implicit declaration of > function ‘list_first_entry’ > /root/microdia/sn9c20x-usb.c:602: error: expected expression before > ‘struct’ > /root/microdia/sn9c20x-usb.c:603: warning: assignment makes pointer > from integer without a cast > make[2]: *** [/root/microdia/sn9c20x-usb.o] Error 1 > make[1]: *** [_module_/root/microdia] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586' > make: *** [driver] Error 2 > ======= > > I know this might be a silly error and you all might be fed up with > linux newbies and wanabe linux experts..But I would appreciate it very > much if you help me out here. > > Following are some information I think you might need.. > > ======= > [r...@localhost microdia]# cat /etc/redhat-release > Fedora Core release 6 (Zod) > > [r...@localhost microdia]# uname -a > Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 > 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux > ======= > > If you can help me with this or need any more info, let me know > > > --~--~---------~--~----~------------~-------~--~----~ > Lets make microdia webcams plug'n play, (currently plug'n pray) > To post to this group, send email to [email protected] > Visit us online https://groups.google.com/group/microdia > -~----------~----~----~----~------~----~------~--~---
Hi, Our driver does not support your device and never will. Fortunatly any kernel from version 2.6.27 on contains a driver for your webcam. Which leads me to an explanation of your problems: 1. You are using a Fedora version that hasn't been updated for several years. Please consider upgrading. Even if you don't want the new features - there are also security improvements. 2. The "make" command fails because your kernel is too old (2.6.18) for our driver. We support any kernel from 2.6.24 on. Not that it matters for you. GWater
signature.asc
Description: This is a digitally signed message part.
