Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2011 14:13:53 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        multimedia-list freebsd <freebsd-multimedia@freebsd.org>
Subject:   Re: webcamd regression 0.1.20->0.1.23: recv bulk message failed: -32
Message-ID:  <4DB2C281.2080305@janh.de>
In-Reply-To: <201104211404.41456.hselasky@c2i.net>
References:  <4DAB4E21.3070906@janh.de> <201104181009.47394.hselasky@c2i.net> <4DAF508C.1070701@janh.de> <201104211404.41456.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ( http://raaf.atspace.org/dvbusb/ ) 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:

setenv HAVE_HAL YES
tar xvjf /usr/ports/distfiles/webcamd-0.1.24.tar.bz2
cd webcamd-0.1.24/patches/
./do_patch.sh
cd ..
make
./webcamd -d 0.7 -H
#kaffeine hangs tuning
cd ..
svn --username anonsvn --password anonsvn checkout -r 1786 
svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux
cd ulinux && make fetch && cd patches/ && ./do_patch.sh && cd .. && make 
-j3 all
./webcamd -d 0.7 -H
#kaffeine works fine
cd ..
rm -fR ulinux/
svn --username anonsvn --password anonsvn checkout 
svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux
#Checked out revision 1797
cd ulinux && make fetch && cd patches/ && ./do_patch.sh && 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 http://www.selasky.org/hans_petter/video4bsd/index.html outdated 
and webcamd from svn should be build differently?

Thanks,
Jan Henrik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB2C281.2080305>