Re: pwc-webcam attached to usb-ohci card blocks on read() indefinitely.

Carl-Johan Kjellander
2002-03-05T17:12:01Z

Dr. Michael Weller wrote:
> On Tue, 5 Mar 2002, Oliver Neukum wrote:
>
>
>>Am Dienstag, 5. März 2002 06:11 schrieb Greg KH:
>>
>>>On Tue, Mar 05, 2002 at 02:06:07AM +0100, Carl-Johan Kjellander wrote:
>>>
>>>>Attached to each one of these is an Philips ToUCam pro which uses the pwc
>>>>and pwcx modules. (yes, the kernel becomes tainted by the pwcx module)
>>>>
>>>As you are using this closed source module, I suggest you take this up
>>>with that module's author.
>>>
>>Perhaps you could first ask whether the hang can be reproduced
>>without that module loaded ?
>>Secondly, that module is unlikely to cause that kind of trouble.
>>
>
> I might completely misunderstand the thread, but I would suspect the
> pwc and pwcx modules to be the drivers for the pwc-webcam which blocks
> forever on read syscalls.
>
> How would you perform the read on the pwc-webcam w/o that driver module?

The pwcx.o module (binary only) is not necessary for operation of
a Philips webcam. The pwc.o module (GPL) is sufficient if you don't need
640x480 resolution, and high fps rates. Pwcx is a module to decompress
the videostream from the camera for higher framerates since the USB
bandwidth is not enough for 640x480x30fps of raw videodata.

The pwc module is included in the standard linux kernel, pwcx is not, but
the problem is still not in pwcx. The problem is reproducible without
pwcx being loaded.

/Carl-Johan Kjellander
please CC me.
--
begin 644 carljohan_at_kjellander_dot_com.gif
Y1TE&.#=A(0`F`(```````/___RP`````(0`F```"@XR/!\N<#U.;+MI`<[U(>\!UGQ9BGT%>'D2I
Y*=NX,2@OUF2&<827ILW;^822C>\7!!Z1,!K'B5(6H<SH-"E*TJ3%*/>QI6:7"A>Y?):D2^*U@NCV
R<MOQ=]V(B6>LZYD-_T1U<@3W]A4(^$-W4]A#V")W6#.R"$;IR'@).46BN7$9>5D``#L`