Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Jnaneshwar Das <jnaneshwar.das <at> gmail.com>
Subject: Modules for USB webcam on verdex
Newsgroups: gmane.linux.distributions.gumstix.general
Date: Wednesday 4th July 2007 02:25:52 UTC (over 10 years ago)
Hi All,

Someone asked earlier about packages which need to be enabled to get a USB
Webcam to work on the verdex board. I just got my Webcam to work, so
thought
I'll jot down what I did.

I am using a Logitech Quickcam Pro 4000 webcam. I used the Philips webcam
driver for linux (pwc) and video4Linux. Details are available at
http://www.saillard.org/linux/pwc/.
The gumstix kernel source already has
source for pwc. But the device driver has to be included in the kernel
build. To do this I did the following:

After building the buildroot, go to
"gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum" folder, and 'make
menuconfig'.

There are a few module dependencies for the pwc module to be enabled.
Follow
these steps

1) enable "Bus options (PCI, PCMCIA, EISA, MCA, ISA)  ---> PCI
Support"       (this will enable the USB host module options)
2) enable "Device Drivers  ---> Multimedia devices  ---> Video For Linux"
3) enable "Device Drivers  ---> Multimedia devices --->  Video For Linux
---> Video For Linux API  ---> Video Capture Adapters  --->  V4L USB
devices
---> USB Philips Cameras    (or driver of your choice of camera if it is
listed)
4) save configuration file and exit. Go back to the 'gumstix-buildroot'
folder and 'make'

After 'make' completes, you will find the .ko files in,
'/gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/drivers/media/video/pwc/'
folder. You need to copy the pwc folder with all the .ko files to
"/lib/modules/2.6.21gum/kernel/drivers/media/video/pwc".

On the gumstix,

gumstix # 'depmod -a'
gumstix # modprobe pwc

Now when you plug in the webcam and type 'dmesg', you should see something
similar to the following.
---------
hda: max request size: 128KiB
hda: 2002896 sectors (1025 MB) w/1KiB Cache, CHS=1987/16/63
 hda: hda1
eth0: no IPv6 routers present
Linux video capture interface: v2.00
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
---------------

Regards
JD
 
CD: 18ms