Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2010 14:02:08 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: webcamd: usb dvb-t tuner needs to be re-plugged (after boot/reboot) to work.
Message-ID:  <201010301402.08201.hselasky@c2i.net>
In-Reply-To: <AANLkTi=P_yaotTvJz72O5hPNQc2h-DsaEdR4EqD6MohJ@mail.gmail.com>
References:  <AANLkTi=P_yaotTvJz72O5hPNQc2h-DsaEdR4EqD6MohJ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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