From owner-freebsd-multimedia@freebsd.org Wed Apr 27 08:01:46 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 70583B1DC36 for ; Wed, 27 Apr 2016 08:01:46 +0000 (UTC) (envelope-from grog@lemis.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5E5AB17B0 for ; Wed, 27 Apr 2016 08:01:46 +0000 (UTC) (envelope-from grog@lemis.com) Received: by mailman.ysv.freebsd.org (Postfix) id 59C29B1DC35; Wed, 27 Apr 2016 08:01:46 +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 595E5B1DC34 for ; Wed, 27 Apr 2016 08:01:46 +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 3A8F717AE for ; Wed, 27 Apr 2016 08:01:45 +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 9A97E1B72800 for ; Wed, 27 Apr 2016 08:01:38 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 462A244A5FF; Wed, 27 Apr 2016 18:01:37 +1000 (AEST) Date: Wed, 27 Apr 2016 18:01:37 +1000 From: Greg 'groggy' Lehey To: multimedia@freebsd.org Subject: Problems with webcamd and RTL2832U Message-ID: <20160427080137.GQ15485@eureka.lemis.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="53AZ357FMu84hmXL" Content-Disposition: inline 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: Wed, 27 Apr 2016 08:01:46 -0000 --53AZ357FMu84hmXL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm trying to set up MythTV on a 10.2-STABLE system using an RTL2832U class tuner and webcamd webcamd-4.2.0.9. The tuner probes as: Apr 27 12:36:40 tiwi devd: Executing 'logger Unknown USB device: vendor 0x0bda product 0x2838 bus uhub0' Apr 27 12:36:40 tiwi root: Unknown USB device: vendor 0x0bda product 0x2838 bus uhub0 These IDs are mentioned in https://wiki.freebsd.org/WebcamCompat, along with the comment: Needs webcamd >= 3.10.0.7; seems to be only a bit less sensitive than my dib0700 tuners (worse reception in low-signal areas); remotes not supported yet by the Linux rtl28xxu driver and thus by webcamd; also supported by the comms/dabstick-radio and comms/rtl-sdr ports I run webcamd with the invocation: webcamd -N RTL2838UHIDIR-Realtek -S 00000001 -M 0 -v 0 -B This creates the devices: # ls -lR /dev/dvb/ total 1 dr-xr-xr-x 2 root wheel 512 27 Apr 17:54 adapter0 /dev/dvb/adapter0: total 0 crw-rw---- 1 webcamd webcamd 0x95 27 Apr 17:54 demux0 crw-rw---- 1 webcamd webcamd 0x96 27 Apr 17:54 dvr0 crw-rw---- 1 webcamd webcamd 0x97 27 Apr 17:54 frontend0 When I run mythtv-setup and try to access the tuner, I get the messages: 2016-04-27 17:27:43.168109 W DiSEqCDevTree: No device tree for cardid 1 2016-04-27 17:27:57.021513 W DiSEqCDevTree: No device tree for cardid 1 ktrace tells me: 3391 mythtv-setup CALL openat(AT_FDCWD,0x8608eb598,0x2,0) 3391 mythtv-setup NAMI "/dev/dvb/adapter0/frontend0" 3391 mythtv-setup RET _umtx_op -1 errno 60 Operation timed out ... 3391 mythtv-setup CALL write(0x1,0x7fffdfbfb640,0x49) 3391 mythtv-setup GIO fd 1 wrote 73 bytes "2016-04-27 17:04:39.188786 W DiSEqCDevTree: No device tree for cardid 1 " 3391 mythtv-setup RET write 73/0x49 There's nothing of importance between the attempt to open /dev/dvb/adapter0/frontend0 and the error message, so clearly that's the reason for the message, even if it's not quite appropriate. I don't see any mention of rtl28xxu in current documentation, and no way to specify a driver in the man page. Can I assume that this is an undocumented change? Any ideas how to corner the problem? 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 --53AZ357FMu84hmXL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlcgceEACgkQIubykFB6QiMyHgCgikDNGeurwx7+QXq9BjULATAW z3UAmwSYph1/xFSNHrEeW/cYr1fp7f4b =f3D+ -----END PGP SIGNATURE----- --53AZ357FMu84hmXL--