PDA

View Full Version : Need help with Webcam 5MPixel


rietsit
2008-01-22, 12:05 PM CST
I have "no driver" webcam, but it supposed to be an amazing quality with 5MP

#/sbin/lsusb
Bus 005 Device 008: ID eb1a:2761 eMPIA Technology, Inc.

# /sbin/modprobe gspca
[nothing returned]
# caminfo
Detected 0 Video4Linux devices.
/dev/ has no video folder

so I assume my webcam is not suported by V4L or GSPCA

But eb1a:2761 eMPIA is supported by UVCvideo:
http://linux-uvc.berlios.de/ on the bottom

but I could not compile UVC:
#cd /opt/linux-uvc/trunk
# svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/trunk
svn: URL 'http://svn.berlios.de/svnroot/repos/linux-uvc/trunk' doesn't exist
[root@doc trunk]# svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
A trunk/uvc_status.c
A trunk/uvc_ctrl.c
A trunk/uvc_queue.c
A trunk/uvc_video.c
A trunk/uvc_isight.c
A trunk/uvc_v4l2.c
A trunk/uvc_compat.h
A trunk/uvc_driver.c
A trunk/uvcvideo.h
A trunk/Makefile
A trunk/dynctrl.txt
Checked out revision 171.
# make
Building USB Video Class driver...
/bin/sh: line 0: cd: /lib/modules/2.6.23.12-52.fc7/build: No such file or directory
make: *** [uvcvideo] Error 1
#make install
Installing USB Video Class driver...
/bin/sh: line 0: cd: /lib/modules/2.6.23.12-52.fc7/build: No such file or directory
anyone can help
thanks

Dies
2008-01-22, 05:45 PM CST
Sorry, not on Fedora right now, but do you have the kernel-devel package installed?

rietsit
2008-01-24, 09:37 AM CST
thanks Dies,
I think I got it.

rietsit
2008-01-24, 04:49 PM CST
Hmm, I got stuck compiling it.
Anyone can help?


# make
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/kernels/2.6.23.12-52.fc7-i686'
CC [M] /opt/linux-uvc/trunk/uvc_driver.o
CC [M] /opt/linux-uvc/trunk/uvc_queue.o
CC [M] /opt/linux-uvc/trunk/uvc_v4l2.o
CC [M] /opt/linux-uvc/trunk/uvc_video.o
CC [M] /opt/linux-uvc/trunk/uvc_ctrl.o
CC [M] /opt/linux-uvc/trunk/uvc_status.o
CC [M] /opt/linux-uvc/trunk/uvc_isight.o
LD [M] /opt/linux-uvc/trunk/uvcvideo.o
Building modules, stage 2.
MODPOST 1 modules
CC /opt/linux-uvc/trunk/uvcvideo.mod.o
LD [M] /opt/linux-uvc/trunk/uvcvideo.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.23.12-52.fc7-i686'
[root@doc trunk]# make install
Installing USB Video Class driver...
'make[1]: Entering directory `/usr/src/kernels/2.6.23.12-52.fc7-i686'
INSTALL /opt/linux-uvc/trunk/uvcvideo.ko
DEPMOD 2.6.23.12-52.fc7
make[1]: Leaving directory `/usr/src/kernels/2.6.23.12-52.fc7-i686'
depmod -ae
make: depmod: Command not found
make: *** [install] Error 127

Dies
2008-01-24, 05:01 PM CST
@Fedora ~]$ whereis depmod
depmod: /sbin/depmod /etc/depmod.d /usr/share/man/man8/depmod.8.gz


for the make install portion did you use su -? if not do su - then cd to the folder and try again.

or maybe look at the make file find the lines where depmod is called and add the full path to it. /sbin/depmod

But at least it compiled cleanly for you, the step it's failing at is trivial you can always copy the files, run the command yourself, if it comes to that, but it shouldn't. If all else fails check to see that the .ko file was actually installed to where it says it did then run

su -
depmod -ae