From owner-freebsd-multimedia@FreeBSD.ORG Sat Oct 30 12:01:00 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE07C1065675 for ; Sat, 30 Oct 2010 12:01:00 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 6E23C8FC1A for ; Sat, 30 Oct 2010 12:00:59 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=omSrwDgyMf70S47Fr5SNr0rQzcmIOo0IafWlB/wSLLo= c=1 sm=1 a=N5IAIDgfLPYA:10 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8 a=rDw2S1W8ldNazqnQrzYA:9 a=SVI1g205yZPRX6J6pAIA:7 a=6vvV7jU0GxxMaXtnACXYW-2FldEA:4 a=QEXdDO2ut3YA:10 a=SV7veod9ZcQA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 42947979; Sat, 30 Oct 2010 14:00:58 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Sat, 30 Oct 2010 14:02:08 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010301402.08201.hselasky@c2i.net> Cc: Subject: Re: webcamd: usb dvb-t tuner needs to be re-plugged (after boot/reboot) to work. X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2010 12:01:00 -0000 On Saturday 30 October 2010 10:54:55 App Deb wrote: > Great work on webcamd, I easily managed to get my usb dvb-t working with > VLC. It works great but there is a slight problem. > > For it to work it needs to be unplugged and plugged again once after a > FreeBSD boot or reboot. > > My usb dvb-t uses 2 firmware files: "dvb-usb-dib0700-1.20.fw" and > "xc3028-v27.fw" (I have them in /boot/modules of course). > > Looking at the webcamd program output, The dib0700 firmware doesn't seem to > be loaded if my usb tuner was already connected when FreeBSD booted. The > result is that when trying to view TV, all channels have garbled video and > audio output (if they work at all). > > Replugging it on a live system, correctly shows a webcamd message "Loading > dvb-usb-dib0700-1.20.fw firmware.." and from there on the usb tuner works > perfectly. > > I don't exactly know the internal workings of USB tuners, but for some > reason the tuner itself seems to need a full power-cycle (replug) to be > initialized properly, or maybe webcamd "thinks" that the firmware is > already loaded when it is not (when FreeBSD boots). > > Is there any workaround/solution for this? Is there any command that does > some virtual (software) re-plug of a usb device. I could use it in a > startup script to solve the problem. > > Thanks, keep up the good work on webcamd, great project. > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" Hi, 1) You can try to compile webcamd using the "make HAVE_DEBUG=YES". 2) Also try: usbconfig -d X.Y reset --HPS