PDA

View Full Version : Building support for Logitech Quickcam Pro 9000


Anand Shankar
2008-01-21, 07:11 PM CST
Dear all,

Have been trying to make Logitech Quickcam Pro 9000 for my Fedora 8 PC.

To make it work I followed instructions as at:

http://liquidat.wordpress.com/2007/12/07/howto-logitech-quickcam-pro-9000-with-fedora-8/

However I fail in the last part, when I have successfully built/compiled UVC driver.

I get the following in my dmesg:

uvcvideo: Unknown symbol v4l_compat_ioctl32
uvcvideo: Unknown symbol v4l_compat_translate_ioctl
uvcvideo: Unknown symbol video_devdata
uvcvideo: Unknown symbol v4l_printk_ioctl
uvcvideo: Unknown symbol video_unregister_device
uvcvideo: Unknown symbol video_device_alloc
uvcvideo: Unknown symbol video_register_device
uvcvideo: Unknown symbol video_usercopy
uvcvideo: Unknown symbol video_device_release
uvcvideo: Unknown symbol v4l_compat_ioctl32
uvcvideo: Unknown symbol v4l_compat_translate_ioctl
uvcvideo: Unknown symbol video_devdata
uvcvideo: Unknown symbol v4l_printk_ioctl
uvcvideo: Unknown symbol video_unregister_device
uvcvideo: Unknown symbol video_device_alloc
uvcvideo: Unknown symbol video_register_device
uvcvideo: Unknown symbol video_usercopy
uvcvideo: Unknown symbol video_device_release

On enquiry from fellow users, I was told to enable uvc option in kernel – which requires compiling a custom kernel from source

For doing this I followed the instructions at http://fedoraproject.org/wiki/Docs/CustomKernel

However I start getting compile errors after I "rpmbuild -bp --target=`uname -m` kernel.spec"

:
:
:
+ make ARCH=i386 nonint_oldconfig
scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory
scripts/basic/fixdep.c:108:22: error: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:109:22: error: sys/mman.h: No such file or directory
scripts/basic/fixdep.c:110:20: error: unistd.h: No such file or directory
scripts/basic/fixdep.c:111:19: error: fcntl.h: No such file or directory
scripts/basic/fixdep.c:112:20: error: string.h: No such file or directory
scripts/basic/fixdep.c:113:20: error: stdlib.h: No such file or directory
scripts/basic/fixdep.c:114:19: error: stdio.h: No such file or directory
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from scripts/basic/fixdep.c:115:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
scripts/basic/fixdep.c:116:19: error: ctype.h: No such file or directory
scripts/basic/fixdep.c:117:23: error: arpa/inet.h: No such file or directory
scripts/basic/fixdep.c: In function 'usage':
scripts/basic/fixdep.c:131: warning: implicit declaration of function 'fprintf'
:
:
:

Essentially, if this was through, I would have been able to do a 'make menuconfig' and it would have been possible to enable uvc option in the kernel.

Can someone tell me where am I going wrong???

I also get Error -71 in my dmesg now and the device is no longer getting listed in lsusb output, when at least the device was listed before I started all this.


Anand Shankar

stevea
2008-01-21, 07:38 PM CST
You are missing some include files (why ?). Try
yum -y groupinstall "Development Tools"

Anand Shankar
2008-01-22, 08:15 AM CST
I dont think I am missing on some development tools. Its only prompting me for Fortran, which I believe is not related here:

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
gcc-gfortran i386 4.1.2-33 fedora 3.0 M
Installing for dependencies:
mpfr i386 2.3.0-1.fc8 fedora 142 k

Transaction Summary
================================================== ===========================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 3.1 M
Is this ok [y/N]: N

anand

Anand Shankar
2008-01-23, 10:40 AM CST
Thanks, I was missing glibc-headers. I did a make and make install of uvc driver once again. Now it worked, somewhat!! I get the following in dmesg:

uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
uvcvideo: Failed to query (1) UVC control 2 (unit 0) : -71 (exp. 26).
uvcvideo: Failed to initialize the device (-5).

and the following for lsusb

Bus 001 Device 008: ID 046d:0990 Logitech, Inc.
Ekiga and VLC did not find the device.

What next??

anand