I don't know anything about the driver you have but did you do what it told you to do _before_ compiling it and the kernel you are running?
On Sat, 13 Sep 2003, makarand pradhan wrote: > Dear Fellow Linux Enthusiasts, > > I am facing problems with my webcam and am at a point > where I desperately > need some new ideas to debug the problem. > > Here is the story: > > I am running Red Hat 2.4.20-8: > > [EMAIL PROTECTED] uname -r > 2.4.20-8 > > The video device is not getting detected: > > [EMAIL PROTECTED] xawtv > This is xawtv-3.81, running on Linux/i686 (2.4.20-8) > can't open /dev/video0: No such device > v4l-conf had some trouble, trying to continue anyway > v4l2: open /dev/video0: No such device > v4l2: open /dev/video0: No such device > v4l: open /dev/video0: No such device > no video grabber device available > The video devices are there allright: > > [EMAIL PROTECTED] cd /dev/ > [EMAIL PROTECTED] ll * | grep vid > lrwxrwxrwx 1 root root 11 Sep 12 > 22:52 video -> /dev/video0 > crw------- 1 root root 81, 0 Sep 12 > 22:52 video0 > > I thought the problem might be with the driver. Did I > mention that I > have a logitech webcam and am using a qc-usb-0.5.1 > driver. The driver is > compiled as a module using the following steps: > > 1. Set LINUX_DIR to point to Kernel source: > > [EMAIL PROTECTED] setenv LINUX_DIR /usr/src/linux > > 2. make all: > > [EMAIL PROTECTED] make clean && make all > rm -f *.o qcset show *~ > cc -I/usr/src/linux/include -nostdinc -iwithprefix > include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c > qc-driver.c > In file included from qc-driver.c:47: > quickcam.h:64:2: warning: #warning "Kernels 2.4.19 and > 2.4.20 are buggy! Be sure to install patch from:" > quickcam.h:65:2: warning: #warning > "http://www.ee.oulu.fi/~tuukkat/quickcam/linux-2.4.20-videodevfix.patch" > cc -I/usr/src/linux/include -nostdinc -iwithprefix > include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c > qc-hdcs.c > In file included from qc-hdcs.c:27: > quickcam.h:64:2: warning: #warning "Kernels 2.4.19 and > 2.4.20 are buggy! Be sure to install patch from:" > quickcam.h:65:2: warning: #warning > "http://www.ee.oulu.fi/~tuukkat/quickcam/linux-2.4.20-videodevfix.patch" > cc -I/usr/src/linux/include -nostdinc -iwithprefix > include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c > qc-pb0100.c > In file included from qc-pb0100.c:27: > quickcam.h:64:2: warning: #warning "Kernels 2.4.19 and > 2.4.20 are buggy! Be sure to install patch from:" > quickcam.h:65:2: warning: #warning > "http://www.ee.oulu.fi/~tuukkat/quickcam/linux-2.4.20-videodevfix.patch" > cc -I/usr/src/linux/include -nostdinc -iwithprefix > include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c > qc-vv6410.c > In file included from qc-vv6410.c:27: > quickcam.h:64:2: warning: #warning "Kernels 2.4.19 and > 2.4.20 are buggy! Be sure to install patch from:" > quickcam.h:65:2: warning: #warning > "http://www.ee.oulu.fi/~tuukkat/quickcam/linux-2.4.20-videodevfix.patch" > cc -I/usr/src/linux/include -nostdinc -iwithprefix > include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c > qc-formats.c > In file included from qc-formats.c:31: > quickcam.h:64:2: warning: #warning "Kernels 2.4.19 and > 2.4.20 are buggy! Be sure to install patch from:" > quickcam.h:65:2: warning: #warning > "http://www.ee.oulu.fi/~tuukkat/quickcam/linux-2.4.20-videodevfix.patch" > cc -I/usr/src/linux/include -nostdinc -iwithprefix > include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c > qc-mjpeg.c > In file included from qc-mjpeg.c:32: > quickcam.h:64:2: warning: #warning "Kernels 2.4.19 and > 2.4.20 are buggy! Be sure to install patch from:" > quickcam.h:65:2: warning: #warning > "http://www.ee.oulu.fi/~tuukkat/quickcam/linux-2.4.20-videodevfix.patch" > cc -I/usr/src/linux/include -nostdinc -iwithprefix > include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 > -fomit-frame-pointer -fno-strict-aliasing -fno-common > -Wall -Wstrict-prototypes -Wno-trigraphs -pipe -c > qc-memory.c > ld -r -o quickcam.o qc-driver.o qc-hdcs.o qc-pb0100.o > qc-vv6410.o qc-formats.o qc-mjpeg.o qc-memory.o > cc -Wall -O2 -s qcset.c -o qcset > > 3. The drivers are loaded as follows: > > [EMAIL PROTECTED] mknod /dev/video0 c 81 0 > mknod: `/dev/video0': File exists > [EMAIL PROTECTED] chmod a+r /dev/video0 > [EMAIL PROTECTED] ln -s /dev/video0 /dev/video > ln: `/dev/video': File exists > [EMAIL PROTECTED] modprobe videodev > [EMAIL PROTECTED] modprobe usb-ohci > [EMAIL PROTECTED] insmod ./quickcam.o compatible=3 > > 3. The drivers are loaded as follows: > > [EMAIL PROTECTED] mknod /dev/video0 c 81 0 > mknod: `/dev/video0': File exists > [EMAIL PROTECTED] chmod a+r /dev/video0 > [EMAIL PROTECTED] ln -s /dev/video0 /dev/video > ln: `/dev/video': File exists > [EMAIL PROTECTED] modprobe videodev > [EMAIL PROTECTED] modprobe usb-ohci > [EMAIL PROTECTED] insmod ./quickcam.o compatible=3 > > 3. The drivers are loaded as follows: > > [EMAIL PROTECTED] mknod /dev/video0 c 81 0 > mknod: `/dev/video0': File exists > [EMAIL PROTECTED] chmod a+r /dev/video0 > [EMAIL PROTECTED] ln -s /dev/video0 /dev/video > ln: `/dev/video': File exists > [EMAIL PROTECTED] modprobe videodev > [EMAIL PROTECTED] modprobe usb-ohci > [EMAIL PROTECTED] insmod ./quickcam.o compatible=3 > > 3. The drivers are loaded as follows: > > [EMAIL PROTECTED] mknod /dev/video0 c 81 0 > mknod: `/dev/video0': File exists > [EMAIL PROTECTED] chmod a+r /dev/video0 > [EMAIL PROTECTED] ln -s /dev/video0 /dev/video > ln: `/dev/video': File exists > [EMAIL PROTECTED] modprobe videodev > [EMAIL PROTECTED] modprobe usb-ohci > [EMAIL PROTECTED] insmod ./quickcam.o compatible=3 > > 3. The drivers are loaded as follows: > > [EMAIL PROTECTED] mknod /dev/video0 c 81 0 > mknod: `/dev/video0': File exists > [EMAIL PROTECTED] chmod a+r /dev/video0 > [EMAIL PROTECTED] ln -s /dev/video0 /dev/video > ln: `/dev/video': File exists > [EMAIL PROTECTED] modprobe videodev > [EMAIL PROTECTED] modprobe usb-ohci > [EMAIL PROTECTED] insmod ./quickcam.o compatible=3 > 4. The patch is applied as follows: > > [EMAIL PROTECTED] ln -s /usr/src/linux linux-2.4.20 > [EMAIL PROTECTED] man patch > [EMAIL PROTECTED] patch -v < linux-2.4.20-quickcam.patch > patch 2.5.4 > Copyright 1984-1988 Larry Wall > Copyright 1989-1999 Free Software Foundation, Inc. > > This program comes with NO WARRANTY, to the extent > permitted by law. > You may redistribute copies of this program > under the terms of the GNU General Public License. > For more information about these matters, see the file > named COPYING. > > written by Larry Wall and Paul Eggert > [EMAIL PROTECTED] > > > The lsmod output is given below: > > Module Size Used by Not tainted > quickcam 102880 0 (unused) > videodev 8192 0 [quickcam] > parport_pc 18756 1 (autoclean) > lp 8868 0 (autoclean) > parport 36480 1 (autoclean) > [parport_pc lp] > autofs 12948 0 (autoclean) (unused) > sis900 16524 1 > ipt_REJECT 3896 6 (autoclean) > iptable_filter 2380 1 (autoclean) > ip_tables 14648 2 [ipt_REJECT > iptable_filter] > sg 35980 0 (autoclean) > sr_mod 17912 0 (autoclean) > ide-scsi 11984 0 > ide-cd 35196 0 > cdrom 33472 0 [sr_mod ide-cd] > keybdev 2880 0 (unused) > mousedev 5428 1 > hid 21700 0 (unused) > input 5792 0 [keybdev mousedev > hid] > usb-ohci 21160 0 (unused) > usb-uhci 25868 0 (unused) > ehci-hcd 19592 0 (unused) > usbcore 77696 1 [quickcam hid > usb-ohci usb-uhci ehci-hcd] > ext3 69984 3 > jbd 51220 3 [ext3] > aic7xxx 139668 1 > sd_mod 13324 2 > scsi_mod 106168 5 [sg sr_mod ide-scsi > aic7xxx sd_mod] > > One more point: > > My webcam was working yesterday. It stoped working > after I put in a IEEE1394 > card. I removed the card but my webcam fails to > recover. > > Pl help: > > Thanking you in advance. > > Regards, > Makarand. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
