Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39560 - New version of PWCX is available (Philips web cam component.)
Summary: New version of PWCX is available (Philips web cam component.)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 07:09 UTC by Daniel Milne
Modified: 2004-06-12 15:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
usb-pwcx.ebuild.diff (usb-pwcx.ebuild.diff,2.55 KB, patch)
2004-02-04 22:53 UTC, Tony Vroon (RETIRED)
Details | Diff
usb-pwcx-8.4.ebuild (usb-pwcx-8.4.ebuild,1.21 KB, text/plain)
2004-02-06 13:26 UTC, Per Wigren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Milne 2004-01-27 07:09:20 UTC
Current version in portage is 8.2.2, current version 8.4.

http://www.smcc.demon.nl/webcam/release.html

This module is closed source and has been compiled with gcc 3.2, so I'm not sure if it's usable. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2004-02-04 22:53:31 UTC
Created attachment 24984 [details, diff]
usb-pwcx.ebuild.diff

Please apply this diff to the usb-pwcx ebuild file to make it compatible with
the new format.
This installs the sparse documentation that comes with the new package, and
picks between the 2.4 and 2.6 module using the mechanism in the nvidia-kernel
ebuild.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2004-02-04 23:02:05 UTC
Note to dev:
module-init-tools are trouble...

modprobe outputs a blatant lie, and insmod can't cope with commandline options (might be related somehow).

prometheus / # ls -l /lib/modules/usb/pwcx.ko; insmod --force /lib/modules/usb/pwcx.ko; modprobe -f /lib/modules/usb/pwcx.ko

-rw-r--r--    1 root     root        46253 Feb  5 07:46 /lib/modules/usb/pwcx.ko
insmod: can't read '--force': No such file or directory
FATAL: Module /lib/modules/usb/pwcx.ko not found.
Comment 3 Per Wigren 2004-02-06 13:25:34 UTC
You have to install it in /lib/modules/$(uname -r)/somewhere, do depmod -a and "modprobe --force pwcx"
I have a working ebuild here which I made before I found this. You may want to look at it and merge them or something... :)
Comment 4 Per Wigren 2004-02-06 13:26:59 UTC
Created attachment 25101 [details]
usb-pwcx-8.4.ebuild
Comment 5 Per Wigren 2004-02-06 13:34:37 UTC
LOL!  "Optional closed source drivers for phillips webcams to allow for higher resoltions and framerates"  I did not write that description, I think I can spell a little bit better than that, and besides it also works with a lot of Logitech and other cams using the same chipsets...
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2004-02-11 02:24:55 UTC
Looks nice, I've put the ebuild from 2004-02-06 into CVS. Thank you very much!
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2004-02-11 22:49:25 UTC
Per, I was just informed that ebuilds should never use "uname" to get the kernel version. Could you perhaps re-write your ebuild to use the check-kernel eclass instead (it gets the info from /usr/src/linux) - I currently don't have much time. Thanks.
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2004-02-18 02:57:23 UTC
Found some time, fixed it.
Comment 9 Pol 2004-06-12 15:52:29 UTC
Beta 9.0 drivers are out ...