webcamd regression 0.1.20->0.1.23: recv bulk message failed: -32

Jan Henrik Sylvester me at
Sat Apr 23 12:13:58 UTC 2011

On 04/21/2011 14:04, Hans Petter Selasky wrote:
> On Wednesday 20 April 2011 23:30:52 Jan Henrik Sylvester wrote:
>> On 04/18/2011 10:09, Hans Petter Selasky wrote:
>>> On Sunday 17 April 2011 22:31:29 Jan Henrik Sylvester wrote:
>>>> With webcamd-0.1.20_1, I could tune into a channel and watch TV almost
>>>> every time using my 'WideView WT-220U PenType Receiver
>>>> (Typhoon/Freecom)'. With webcamd-0.1.23, Kaffeine almost always hangs
>>>> and Typhony ( ) hangs switching
>>>> channels.
>>>> I did debug builds from both versions. The output is identical until all
>>>> the devices are created, but after that, 0.1.23 prints about once a
>>>> second: 'dvb-usb: recv bulk message failed: -32'
>>>> The complete debug output is below in case it is interesting. The device
>>>> has already had the firmware loaded (as it does not make a difference
>>>> with which version of webcamd that is done).
>>>> This is all on 8.2-RELEASE/amd64 with all other ports up to date
>>>> (including cuse4bsd-kmod-0.1.14).
>>>> Anything else, I should test?
>>>> Thanks,
>>>> Jan Henrik
>>> There was a kernel bugfix which might fix this issue. Could you cvs or
>>> svn up to 8-stable?
> Then you should checkout webcamd using svn, and build the version until you
> find the delta that was causing the breakage. Or do a diff between the two
> tarballs.

I tried to use svn-bisect but failed, since I did not know how to use it 
encountering compile error for a revision. Thus, I did it manually, but 
could not reproduce the error.

While webcamd from svn always works with kaffeine, webcamd from ports 
still fails. I did this in a clean directory:

tar xvjf /usr/ports/distfiles/webcamd-0.1.24.tar.bz2
cd webcamd-0.1.24/patches/
cd ..
./webcamd -d 0.7 -H
#kaffeine hangs tuning
cd ..
svn --username anonsvn --password anonsvn checkout -r 1786 
cd ulinux && make fetch && cd patches/ && ./ && cd .. && make 
-j3 all
./webcamd -d 0.7 -H
#kaffeine works fine
cd ..
rm -fR ulinux/
svn --username anonsvn --password anonsvn checkout 
#Checked out revision 1797
cd ulinux && make fetch && cd patches/ && ./ && cd .. && make 
-j3 all
./webcamd -d 0.7 -H
#kaffeine works fine

What is the difference between webcamd-0.1.24.tar.bz2 and r1786 from svn?

Or is outdated 
and webcamd from svn should be build differently?

Jan Henrik

More information about the freebsd-multimedia mailing list