Hello,
Hmmm I think it is similar to the ALSA issue a while back where both kernel
and seperate packages supplied the same module. It was basically a crapshoot
as to which one would load. Sometimes kernel, sometimes packaged externally
stuff.
Anyways, I have built a pwc-modules package against Debian kernel
2.6.15-1-686-smp using module-assistant, installed it, and still get just a
grey picture in any app that trys to access my webcam. In case you are
wondering, I am running a Debian Unstable system :)
Here is the dmesg output:
rivers/usb/input/hid-core.c: v2.6:USB HID core driver
Linux video capture interface: v1.00
pwc Philips webcam module version 9.0.2-unofficial loaded.
pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 &
PCVC830/840.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10
and MPC-C30,
pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300
and VCS-UM100.
pwc Logitech QuickCam Zoom (new model) USB webcam detected.
pwc Registered as /dev/video0.
usbcore: registered new driver Philips webcam
usbcore: registered new driver snd-usb-audio
This proves it is still loading the old kernel pwc. My previous one-line patch
to the debian/rules file (using dh_link to create a link
from /lib/modules/$(KVERS)/misc/pwc.ko
to /lib/modules/$(KVERS)/updates/pwc.ko ) works perfectly. It forces modprobe
to give priority to pwc-module's pwc.ko (modules in the 'updates' folder take
priority over those located elsewhere)
After the '$(MAKE) install ...' line in debian/rules, add:
# Workaround Debian kernel pwc module always being loaded
# Forces pwc-modules' version
dh_link lib/modules/$(KVERS)/misc/pwc.ko
lib/modules/$(KVERS)/updates/pwc.ko
It is quite a simple fix :)
Good night,
Lawrence
On Friday 27 January 2006 07:43, Victor Seva wrote:
> tags 350061 moreinfo
> thanks
> -----
>
> Hi Lawrence,
>
> I have no problems loading the pwc driver. The modules on misc directory
> seems to be loaded before the official ones.
>
> dmesg output:
>
> usb 2-1: new full speed USB device using ohci_hcd and address 2
> Linux video capture interface: v1.00
> pwc: Philips webcam module version 10.0.11-debian loaded.
> pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750
> & PCV C830/840. pwc: Also supports the Askey VC010, various Logitech
> Quickcams, Samsung MPC-C10 and MPC-C30, pwc: the Creative WebCam 5 & Pro
> Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. pwc: Philips
> PCVC720K/40 (ToUCam XS) USB webcam detected.
> pwc: Registered as /dev/video0.
> usbcore: registered new driver Philips webcam
> usbcore: registered new driver snd-usb-audio
>
>
> ibook:/usr/src# find /lib/modules/2.6.15-1-
> 2.6.15-1-apus/ 2.6.15-1-powerpc64/ 2.6.15-1-powerpc-smp/
> 2.6.15-1-powerpc/ 2.6.15-1-powerpc-miboot/
> ibook:/usr/src# find /lib/modules/2.6.15-1-powerpc -name pwc.ko
> /lib/modules/2.6.15-1-powerpc/kernel/drivers/usb/media/pwc/pwc.ko
> /lib/modules/2.6.15-1-powerpc/misc/pwc.ko
>
> Lawrence Williams wrote:
> > Package: pwc-source
> > Severity: important
> >
> > Hi,
> >
> > I recently compiled the pwc module for 2.6.15-1-686-smp, only to discover
> > it doesn't load with modprobe. It always loads the in-kernel pwc module
> > (which is included by Debian kernel packages ).
> >
> > I have worked out a quick patch that will make it load the pwc-modules
> > version of pwc.
> >
> > Add the following in debian/rules, after the $(MAKE) install line:
> >
> > # Make a nice symlink to in the kernel 'updates' folder
> > # so we can override the pwc from the kernel
> > dh_link lib/modules/$(KVERS)/misc/pwc.ko
> > lib/modules/$(KVERS)/updates/pwc.ko
> >
> > This will create result in built modules working immediately :)
> >
> > Lawrence
>
> Please give me more info about that.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]