pwc
[Top] [All Lists]

[pwc] Motion and PWC driver

To:
Subject: [pwc] Motion and PWC driver
From: Balazs Bezeczky <>
Date: Tue, 29 Aug 2006 11:02:47 +0200
Hi there,

I'm trying to get my new system running (Debian Sarge) and tried to get
motion and my old Phillips 680K cam to run on a standard debian 2.4 kernel.
It worked, except I got green images and I was told "pwc Video mode
 fps is only supported with the decompressor module (pwcx)." -
whatever that means (I thought pwcx is dead?)

Then I thought, I should upgrade my kernel, because I saw the PWC
section in the motion Wiki.
I upgraded to debian-2.6.8-3-k7 and when I try to run motion I get this:
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Thread is from /etc/motion/motion.conf
[1] Thread started
[0] motion-httpd/3.2.6 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Failed with YUV420P, trying YUV422 palette: No such file or directory
[1] Failed with YUV422, trying RGB24 palette: Invalid argument
[1] Failed with RGB24, trying GREYSCALE palette: Invalid argument
[1] Failed with all supported palettes - giving up: Invalid argument
[1] Capture error calling vid_start
[1] Thread finishing...

so I thought, I`ll get the pwc sources and install them without
recompiling the kernel. No matter which version (10.0.10 or 10.0.11) I
try, I get this:

make -C /lib/modules/2.6.8-3-k7/build SUBDIRS=/usr/src/pwc-10.0.10 modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-3-k7'
  CC [M]  /usr/src/pwc-10.0.10/pwc-if.o
In file included from /usr/src/pwc-10.0.10/pwc-uncompress.h:35,
                 from /usr/src/pwc-10.0.10/pwc.h:42,
                 from /usr/src/pwc-10.0.10/pwc-if.c:68:
/usr/src/pwc-10.0.10/pwc-ioctl.h:309: error: Syntaxfehler before "__le16"
/usr/src/pwc-10.0.10/pwc-ioctl.h:309: Warnung: kein Semikolon am Ende
von »struct« oder »union«
/usr/src/pwc-10.0.10/pwc-ioctl.h:310: Warnung: type defaults to `int' in
declaration of `vbandlength'
/usr/src/pwc-10.0.10/pwc-ioctl.h:310: Warnung: data definition has no
type or storage class
/usr/src/pwc-10.0.10/pwc-ioctl.h:313: error: Syntaxfehler before '}' token
/usr/src/pwc-10.0.10/pwc-ioctl.h:313: Warnung: leere Deklaration
make[2]: *** [/usr/src/pwc-10.0.10/pwc-if.o] Fehler 1
make[1]: *** [_module_/usr/src/pwc-10.0.10] Fehler 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-3-k7'
make: *** [default] Fehler 2

I checked pwc-ioctl.h line 309 and its neightborhood but I cannot
discover anything strange there.

Can somebody please help me with this getting my can to work correctly?

thanks in advance,
Balazs


_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU