From owner-freebsd-multimedia@FreeBSD.ORG Thu May 31 17:29:54 2012 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 2B4301065670 for ; Thu, 31 May 2012 17:29:54 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id BCBFF8FC14 for ; Thu, 31 May 2012 17:29:53 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 467F81E006FF; Thu, 31 May 2012 19:29:51 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q4VHSFaj096184; Thu, 31 May 2012 19:28:15 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q4VHSEdQ096183; Thu, 31 May 2012 19:28:14 +0200 (CEST) (envelope-from nox) Date: Thu, 31 May 2012 19:28:14 +0200 (CEST) From: Juergen Lock Message-Id: <201205311728.q4VHSEdQ096183@triton8.kn-bremen.de> To: freebsd-multimedia@herveybayaustralia.com.au X-Newsgroups: local.list.freebsd.multimedia In-Reply-To: <14772.1335354423@herveybayaustralia.com.au> Organization: Cc: freebsd-multimedia@freebsd.org Subject: rtl2832u w/ webcamd 3.2.0.2 (was: New driver opportunity - rtl2832u) 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: Thu, 31 May 2012 17:29:54 -0000 In article <14772.1335354423@herveybayaustralia.com.au> you write: > > >I happen to have a usb dvb card which uses a rtl2832u chipset (MyGica T803 >- manufacturer says so happily says that they support linux - yeah right!). >The drivers are a bit all over the place, and apparently they wont add them >to the v4l tree due to a lack of key criteria. I have a version of these >that supposedly work for linux 2.6 and were adapted from the manufacturers >drivers (no longer available), and I'd like to test them using webcamd and >I'm not entirely sure how. > > >I tried following this post: >http://freebsd.1045724.n5.nabble.com/webcamd-Adding-Linux-devices-td5580136.html, >[1] but I wasn't entirely sure how that would work with this particular >driver. Can anyone offer some pointers? > > >The drivers I picked up here: http://jms.id.au/wiki/EzcapDvbAdapter. [2] > > >I only have a short time to do this as I may have to take the device back >if I can't get it to work, so I need to work quickly in the next few days. >My intention is to get a working device that can be available outside of >tree for those who might need it, and maybe someone might be able to use it >to get a native driver working or improve it for webcamd use. >[...] Hi! I now have such a tuner too (LogiLink VG0002A) and finally tested it with the more up to date driver from: https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0 I found out even that driver doesn't work with media_tree 3.5 which the current webcamd port uses so I checked out the old 3.2.0.2 port from hps' repo, and here is how I got it to work: ------------snip------- # Testing webcamd 3.2.0.2 with rtl2832u driver from: # https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0 # (tested here with a LogiLink DVB-T USB Receiver VG0002A) # checkout the old webcamd 3.2.0.2 port: svn --username anonsvn --password anonsvn \ checkout -r2201 svn://svn.turbocat.net/i4b/trunk/ports cd ports/multimedia/webcamd # grab my webcamd patch: fetch http://people.freebsd.org/~nox/tmp/webcamd-3.2.0.2-rtl.patch # clone the driver repo: git clone https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0.git # prepare the webcamd tree: make patch # symlink the driver into the tree: # ("ln: ./Makefile: File exists" is expected) (cd work/webcamd-3.2.0.2/media_tree/drivers/media/dvb/dvb-usb && ln -s ../../../../../../../DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0 . && ln -s RTL2832-2.2.2_kernel-3.0.0/* . ) # apply my patch: patch -C