usb/xawtv help needed
Federico Voges
fvoges
Mon May 17 11:30:13 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Just did some test with my notebook. My cam is a Vesta Pro (PCVC680K).
For a fresh COL 3.1.1 install you have to:
Get the pwcx-i386 module
(http://www.smcc.demon.nl/webcam/release.html#pwcx)
and put it in /lib/modules/2.4.13/kernel/drivers/usb
Then, edit /etc/modules.conf and add the following lines:
options pwc size=sif fps=15 power_save=1
post-install pwc insmod -f pwcx-i386
These lines will set the driver to 320x240 at 15fps and enable power
saving.
You can get all the options available from:
http://www.smcc.demon.nl/webcam/install.html#param
After that, download the latest version of xawtv (it should be 3.56 and
the version shiped with COL 3.1.1 is 3.53).
You canget it from http://bytesex.org/xawtv/ (latest is 3.74)
I used:
./configure --enable-xfree-ext --enable-xvideo && make && make install
(run make install as root)
But don't forget to do rpm -e xawtv to remove the old package!!!
Optional: use checkinstall instead of make install to make binary RPMS
Finally, remember to chmod 0666 /dev/video* to be able to use your
webcam as a normal user.
That's it.
On Sat, 20 Apr 2002 09:44:11 -0700, Net Llama! wrote:
>Actually, Joel, i finally got the camera working last night at 1AM. For
>anyone else's benefit (i'll writeup a SxS eventually with alot more
>details), here's what i had to do to get this Philips 690 functional:
>1) Build 2.4.18 from source with video4linux (v4l) module *AND*
>philips-web-cam (pwc). Also build the modules for USB support (usbcore
>and usb-uhci).
>2) Activate DGA and v4l in XF86Config (and restart X).
>3) Build & install hotplug and xawtv
>4) Setup /dev/video0 with correct major/minor numbers
>5) Load all the relevant modules, in this order:
>pwc, pwcx-i386, videodev, usbcore, usb-uhci
>
>It looks to me that the bttv module is only needed if you have a TV
>tuner card, otherwise it has no purpose.
>
>I've now got a few remaining problems. The first is how to get the
>modules to load in the correct order via modules.conf. modprobing
>usb-uhci doesn't load pwce. modprobing pwce doesn't load usb-uhci. So
>basically its a 2 step process, and i can't quite figure out the correct
>aliases in modules.conf to make it load in the correct order.
>
>THe 2nd is that xawtv refuses to obey the resolution parameter that i'm
>feeding it:
>xawtv -geometry 352x288-0+0
>and keeps defaulting back to 128x96 (which looks like crap). My camera
>is definitely capable of doing 640x480 @16fps, so its not a hardware
>limitation. I'm seeing this error from xawtv as it defaults to the
>lesser resolution:
>ioctl: VIDIOCMCAPTURE(0,fmt=7,size=128x96): Invalid argument
>
>Even if i run it without the higher resolution , the same error appears.
>
>And the final error is occuring whenver i try to take a snapshot with
>the camera:
>JPEG parameter struct mismatch: library thinks size is 372, caller
>expects 376
>
>My research seems to indicate that this is a bug in an older version of
>libjpeg (like version 6a). However, i've got libjpeg-6b-18 which is
>basically the newest stable release, so i'm stumped.
>
>Any suggestions or ideas are quite welcome. Thanks!
>
>Joel Hammer wrote:
>> I have no idea how many of my comments are relevant to your webcam problem
>> but you did say "anybody."
>> I have a video capture card.
>> I have the same /dev/video0 device and a videodev module loaded. I am using kwintv,
>> not xawtv, but xawtv seems to need the bttv driver, which you don't list
>> with lsmod.
>> Here is the complete list of modules I have for my video capture card and
>> for my usb game pad:
>> bttv 57508 0 (unused)
>> tuner 3988 1
>> tda9875 2380 0 (unused)
>> tda7432 2560 0 (unused)
>> msp3400 13620 0 (unused)
>> videodev 2944 2 [bttv]
>> i2c-algo-bit 7444 1 [bttv]
>> i2c-dev 4080 0 (unused)
>> i2c-core 12556 0 [bttv tuner tda9875 tda7432 msp3400
>> i2c-algo-bit i2c-dev]
>> hid 12016 0 (unused)
>> usb-uhci 21720 0 (unused)
>> usbcore 27940 0 [hid usb-uhci]
>> evdev 3624 0 (unused)
>> joydev 6212 0 (unused)
>> input 3264 0 [hid evdev joydev]
>>
>> Have you visited the xawtv home page?
>
>--
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>L. Friedman netllama at linux-sxs.org
>Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
>
> 9:05am up 1 day, 16:01, 5 users, load average: 0.53, 0.27, 0.23
>
>_______________________________________________
>Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
>Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Federico Voges
Socio gerente
Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina
Te/Fax: 54-11-4833-5182
e-mail: fvoges at intrasoft.com.ar
Web: http://www.intrasoft.com.ar
PGP Public Key Fingerprint: A536 4595 EB6F D197 FBC1 5C3A 145C 2516
-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies.
iQA/AwUBPMHNCRRcJRaVKt4XEQLChQCfX/pcu+cTKOoQwzwId7MTupmqiNQAoKwr
26EFydzAf5GuSiMtEGoncQMF
=CEg5
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list