Webcam (Logitech Quickcam 4000)

Issues while building pwc driver

1. pwc.ko not generated during
 * 1) /../gumstix-buildroot/make

Solution:

For gumstix-buildroot revision 1559, the pwc driver can be configured as mentioned under video4linux article. I will repeat some of the steps, with few additional steps to be performed


 * 1) cd /../gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/make ARCH=arm menuconfig

choose the following as Modules (M). In case you choose (*) in menuconfig, the drivers will be built into the kernel vmlinux (seen in the /../linux-2.6.21gum/ directory) and *.ko files will not be generated.


 * 1) /../gumstix-builroot/build_arm_nofpu/linux-2.6.21gum/make ARCH=arm menuconfig

--> Device drivers --> USB Support --> Support for host-side USB --> Device drivers --> USB Support --> turn off USB Gadget support --> Multimedia devices --> Video For Linux --> Multimedia devices --> Video Capture Adapters --> V4L USB Devices --> Any driver you like (in this case, usb philips camera)

NOTE: Some selections, you can choose only (*).

CROSS_COMPILE=/../gumstix-buildroot/build_arm_nofpu/staing_dir/bin/arm-linux-
 * 1) /../gumstix-builroot/build_arm_nofpu/linux-2.6.21gum/make ARCH=arm

You will be asked to choose whole lot of options to build the linux kernel. Choose the default settings every time.

compat_ioctl32.ko, v4l1-compat.ko, v4l2-common.ko, videodev.ko                                                                     will be generated in

/../gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/drivers/media/video

scp the above files into gumstix /lib/modules/2.6.21gum/kernel/drivers/media/video

pwc.ko will be generated in
 * 1) /../gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/drivers/media/video/pwc

scp the files into gumstix
 * 1) /lib/modules/2.6.21gum/kernel/drivers/media/video/pwc

On gumstix, do the following


 * 1) depmod -a
 * 2) modprobe videodev
 * 3) modprobe pwc
 * 4) dmesg

will print the following on the screen (in the bottom of the page) after you plug in the camera

pwc: Philips webcam module version 10.0.12 loaded. pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840. pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. pwc: Trace options: 0x0001 usbcore: registered new interface driver Philips webcam usb 1-2.4: new full speed USB device using pxa27x-ohci and address 3 usb 1-2.4: configuration #1 chosen from 1 choice pwc: Logitech QuickCam 4000 Pro USB webcam detected. pwc: Registered as /dev/video0.

Your logitech Camera 4000 is now good for use on gumstix. --Rkaushik 11:27, 28 May 2008 (PDT)