Skip to contentSkip to conversation

PWC driver without binary interface

PATCH In review Luc Saillard 3 participants 3 messages Sep 14, 2004 – Sep 15, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

#1 lore raw

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

Quoted 5 lines · Luc Saillard

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.

[...]

Quoted 4 lines

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.

Signature · 1 line
Stelian Pop <[email protected]>    
#2 lore raw

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

Quoted 5 lines · Stelian Pop
Quoted 3 lines · Luc Saillard

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:

Quoted 8 lines
Quoted 2 lines

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