----- Original Message -----
From: "Gordon" <gcom@...>
Sent: Tuesday, April 11, 2006 6:30 AM
Subject: Re: [Motion-user] New linux kernel, pwc and motion
>> When I start motion, the CPU is used close to 100% by the khubd
>> The Motion works, but this high load make me think that something
>> is wrong.
> From what I can tell I have a similar issue with the updated PWC
> driver. See my post "CPU Utilization - Debian Package vs. Build from
> I will post what I find if I can figure it out.
I think I have found a possible solution. This may can help others
with the same problem.
You must check the following:
- not to have two USB webcams connected to the same bus of the USB
root hub (in my case the ones from the motherboard).
- do a 'make menuconfig' and disable pwc support as module in the
kernel (if you have 2.6.16) and recompile the modules.
- download and compile the latest snapshot of the Saillard's pwc
driver (not the 10.0.11 release). In my case it was
pwc-v4l2-20060407-042701. Don't let the sufix 'v4l2' confuse you. It
supports both v4l and v4l2 operation mode (many thanks to Saillard for
this hint). The 10.0.11 version cannot be compiled in kernel 2.6.16 if
you disable the internal pwc module.
- download and compile the latest release of motion, in my case 3.2.6
(it was 3.2.4 before).
In this moment, I have 4 analog cameras connected to a bttv PIC2000
(multiplexed) card, one spca5xx (USB) and one Philips ToU Cam Pro
(740K) USB cam.
The motion recording is activated and the system has a PIII/800MHz CPU
with 384MB RAM.
The peak CPU utilization by motion is around 20% which is great.
Hope this help.