2004-09-14 15:43:09

by Luc Saillard

[permalink] [raw]
Subject: [PATCH] PWC driver without binary interface

Hi,

I've made a patch to (re)add pwc philips driver into the kernel. This driver
have support for some compression mode (for chipset 2 & 3), so you don't
need the binary module to grab an image in 640x480@10fps.
Use this driver with caution, i've test on several webcam (type 730, 740).
Mode bayer is not implemented, the camera only output yuv420p (planar mode).
Future plan is to improve compatibility with other webcam, and try to
implement decoder for version 1.

As wish by the original author, i've remove email address for the support, and
add a disclaimer "this is unofficial version".

The patch is 300kbytes long, i don't include it in this mail. You can found
a tarball or a patch against the last linux kernel at:
http://www.saillard.org/pwc/linux-2.6.9-rc2_pwc-9.0.2-fork0.2.diff.bz2
http://www.saillard.org/pwc/

diffstat linux-2.6.9-rc2_pwc-9.0.2-luc0.diff
Kconfig | 36
Makefile | 1
pwc/ChangeLog | 143 +++
pwc/Makefile | 20
pwc/philips.txt | 236 +++++
pwc/pwc-ctrl.c | 1630 +++++++++++++++++++++++++++++++++++++
pwc/pwc-dec1.c | 42
pwc/pwc-dec1.h | 36
pwc/pwc-dec23.c | 628 ++++++++++++++
pwc/pwc-dec23.h | 58 +
pwc/pwc-if.c | 2209 +++++++++++++++++++++++++++++++++++++++++++++++++++
pwc/pwc-ioctl.h | 292 ++++++
pwc/pwc-kiara.c | 875 ++++++++++++++++++++
pwc/pwc-kiara.h | 45 +
pwc/pwc-misc.c | 140 +++
pwc/pwc-nala.h | 66 +
pwc/pwc-timon.c | 1344 +++++++++++++++++++++++++++++++
pwc/pwc-timon.h | 61 +
pwc/pwc-uncompress.c | 147 +++
pwc/pwc-uncompress.h | 41
pwc/pwc.h | 278 ++++++
21 files changed, 8328 insertions(+)

Please comment about the patch, or help me to find better variables name.

Luc


2004-09-15 10:48:55

by Stelian Pop

[permalink] [raw]
Subject: PWC driver now fully GPL [was Re: [PATCH] PWC driver without binary interface]

On Tue, Sep 14, 2004 at 05:39:18PM +0200, Luc Saillard wrote:

> Hi,
>
> I've made a patch to (re)add pwc philips driver into the kernel. This driver
> have support for some compression mode (for chipset 2 & 3), so you don't
> need the binary module to grab an image in 640x480@10fps.
[...]
> The patch is 300kbytes long, i don't include it in this mail. You can found
> a tarball or a patch against the last linux kernel at:
> http://www.saillard.org/pwc/linux-2.6.9-rc2_pwc-9.0.2-fork0.2.diff.bz2
> http://www.saillard.org/pwc/

Just in case nobody payed attention to the original message and
failed to see that almost all the binary pwcx has been succesfully
reverse-engineered...

Unless everybody is just waiting for the next flamewar...

Good job Luc !

Stelian.
--
Stelian Pop <[email protected]>

2004-09-15 11:49:50

by Tim Fairchild

[permalink] [raw]
Subject: Re: PWC driver now fully GPL [was Re: [PATCH] PWC driver without binary interface]

On Wednesday 15 Sep 2004 20:48, Stelian Pop wrote:
> On Tue, Sep 14, 2004 at 05:39:18PM +0200, Luc Saillard wrote:

> > The patch is 300kbytes long, i don't include it in this mail. You can
> > found a tarball or a patch against the last linux kernel at:
> >
> > http://www.saillard.org/pwc/linux-2.6.9-rc2_pwc-9.0.2-fork0.2.diff.bz2
> > http://www.saillard.org/pwc/
>
> Just in case nobody payed attention to the original message and
> failed to see that almost all the binary pwcx has been succesfully
> reverse-engineered...
>
> Unless everybody is just waiting for the next flamewar...

Yes, noted the original, but was out tonight. Congratulations and good work!!!
I wish I had a phillips cam to test it out on... I'll have to check which
makes and models and see if I can find something on ebay to test with...

tim