From owner-freebsd-multimedia@freebsd.org Fri Apr 29 07:47:05 2016 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 392E8B200AD for ; Fri, 29 Apr 2016 07:47:05 +0000 (UTC) (envelope-from grog@lemis.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 245EE16A9 for ; Fri, 29 Apr 2016 07:47:05 +0000 (UTC) (envelope-from grog@lemis.com) Received: by mailman.ysv.freebsd.org (Postfix) id 20217B200AC; Fri, 29 Apr 2016 07:47:05 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D85AB200AB for ; Fri, 29 Apr 2016 07:47:05 +0000 (UTC) (envelope-from grog@lemis.com) Received: from www.lemis.com (www.lemis.com [208.86.226.86]) by mx1.freebsd.org (Postfix) with ESMTP id DC98616A8 for ; Fri, 29 Apr 2016 07:47:04 +0000 (UTC) (envelope-from grog@lemis.com) Received: from eureka.lemis.com (www.lemis.com [208.86.226.86]) by www.lemis.com (Postfix) with ESMTP id DC3211B72803; Fri, 29 Apr 2016 07:47:02 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 80B6344A5FF; Fri, 29 Apr 2016 17:47:00 +1000 (AEST) Date: Fri, 29 Apr 2016 17:47:00 +1000 From: Greg 'groggy' Lehey To: Hans Petter Selasky Cc: multimedia@freebsd.org Subject: Re: Problems with webcamd and RTL2832U Message-ID: <20160429074700.GD22731@eureka.lemis.com> References: <20160427080137.GQ15485@eureka.lemis.com> <57207F55.2040309@selasky.org> <20160428071242.GB22731@eureka.lemis.com> <5721BA55.7030701@selasky.org> <20160429025243.GC22731@eureka.lemis.com> <57230274.80802@selasky.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AkbCVLjbJ9qUtAXD" Content-Disposition: inline In-Reply-To: <57230274.80802@selasky.org> Organization: The FreeBSD Project Phone: +61-3-5346-1370, +61-3-5309-0418 Mobile: 0401 265 606. Use only as instructed. WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2016 07:47:05 -0000 --AkbCVLjbJ9qUtAXD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Friday, 29 April 2016 at 8:43:00 +0200, Hans Petter Selasky wrote: > On 04/29/16 04:52, Greg 'groggy' Lehey wrote: >> Certainly I shouldn't be using it, since this is a DVB-T tuner. This >> is puzzling: why is MythTV even trying to use it? I can't find any >> reference to it in the DVB-T setup, which isn't surprising. Does >> webcamd have any connection with DiSEqC? > > Diseqc is a set of commands that send special voltage sequences on > the antenna port, for an external multi-antenna switch. My understanding is that it only relates to DVB-S. That's also the response to the otherwise ignored bug report at https://code.mythtv.org/trac/ticket/4378 suggests. > I guess if you use DVB-T, this is not supported by the device. Have > you connected a Diseqc device with the antenna port? Not knowingly. But there are a couple of amplifiers upstream, so I disconnected the antenna and plugged in the toy antenna that came with the tuner. Deleted the entries for the old tuner and tried again. Once again it created not one, but two entries in the capturecard table. It's interesting to note that the only difference between the two records is the attribute dvb_diseqc_type: one is set to 0, the other to NULL. I have already tried removing one record, or setting both to NULL or 0. No help. But it does suggest there's something broken in Myth. > Maybe you can check the MythTV code where the error comes from and > make it ignore the failures? That's painful. Here's a snippet of code that I found in Myth years ago (http://www.lemis.com/grog/diary-sep2004.php#18): /* ci must be 0 */ if(bitoff != 6) { (uint8_t)strm[co]= bitten; co++; } goto BAUCHWEH; HERZWEH: In any case, I have another old Myth box (Linux) connected to the same antenna system, and I don't have problems there. Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA --AkbCVLjbJ9qUtAXD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlcjEXQACgkQIubykFB6QiOniwCdGEOIMYoQU261MAwW7ktTSFRE vjQAoKyIk7i9qI+r2I9goKA453U0Atk2 =0drO -----END PGP SIGNATURE----- --AkbCVLjbJ9qUtAXD--