From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 29 23:14:21 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10620106566B for ; Wed, 29 Aug 2012 23:14:21 +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 B26F68FC1C for ; Wed, 29 Aug 2012 23:14:20 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7B8381E000F2; Thu, 30 Aug 2012 01:14:19 +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 q7TNDm9Y058347; Thu, 30 Aug 2012 01:13:48 +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 q7TNDmlK058346; Thu, 30 Aug 2012 01:13:48 +0200 (CEST) (envelope-from nox) Date: Thu, 30 Aug 2012 01:13:48 +0200 (CEST) From: Juergen Lock Message-Id: <201208292313.q7TNDmlK058346@triton8.kn-bremen.de> To: torfinn.ingolfsen@getmail.no X-Newsgroups: local.list.freebsd.multimedia In-Reply-To: <20120829231202.30cac7c83fc31cfb5eb5e285@getmail.no> References: <201208062004.36271.hselasky@c2i.net> <20120829231202.30cac7c83fc31cfb5eb5e285@getmail.no> Organization: Cc: freebsd-multimedia@FreeBSD.org Subject: Re: New version of multimedia/webcamd ready for testing [v3.6.0.2] 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: Wed, 29 Aug 2012 23:14:21 -0000 In article <20120829231202.30cac7c83fc31cfb5eb5e285@getmail.no> you write: >On Mon, 06 Aug 2012 20:04:36 +0200 >Hans Petter Selasky wrote: > >> svn --username anonsvn --password anonsvn \ >> checkout svn://svn.turbocat.net/i4b/trunk/ports >> >> Please test and report back! > >For good measure, I also tested with a TerraTec H7[1] (since I saw that the az6007 driver was in there). >This device needs firmware, which I got from linuxtv.org[2]. > >root@kg-f4# uname -a >FreeBSD kg-f4.kg4.no 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Aug 5 18:43:08 CEST 2012 root@kg-f4.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 >root@kg-f4# portversion -v | grep webcamd >webcamd-3.6.0.2 > succeeds port (port has 3.6.0.1_1) > >root@kg-f4# usbconfig -d ugen3.2 >ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON >root@kg-f4# webcamd -d ugen3.2 >webcamd: Cannot find USB deviceroot@kg-f4# >root@kg-f4# ls /boot/modules/d* >/boot/modules/dvb-usb-terratec-h7-az6007.fw >root@kg-f4# webcamd -d ugen3.2 -f dvb-usb-terratec-h7-az6007.fw >webcamd: Cannot find USB deviceroot@kg-f4# >root@kg-f4# webcamd -d ugen3.2 -f /boot/modules/dvb-usb-terratec-h7-az6007.fw >webcamd: Cannot find USB deviceroot@kg-f4# >root@kg-f4# webcamd -f dvb-usb-terratec-h7-az6007.fw -d ugen3.2 >webcamd: Cannot find USB deviceroot@kg-f4# >root@kg-f4# webcamd -f /boot/modules/dvb-usb-terratec-h7-az6007.fw -d ugen3.2 >webcamd: Cannot find USB deviceroot@kg-f4# > >I also tested with the other firmware: >root@kg-f4# webcamd -d ugen3.2 -f /home/tingo/dl/dvb-usb-terratec-h7-drxk.fw >webcamd: Cannot find USB deviceroot@kg-f4# > Btw -f is just for the dir to find firmware in, and also if a driver is present you'll get different output from webcamd than "Cannot find USB device", even if firmware is missing. >I guess there are still bits missing for the H7 to work. > Looks like, yeah, tho I'm not quite sure what, I see /usr/ports/multimedia/webcamd/work/webcamd-3.6.0.1/az6007.o gets built (from /usr/ports/multimedia/webcamd/work/webcamd-3.6.0.1/media_tree/drivers/media/dvb/dvb-usb/az6007.c ) and contains your usbids... (USB_VID_TERRATEC and USB_PID_TERRATEC_H7_2, defined in /usr/ports/multimedia/webcamd/work/webcamd-3.6.0.1/media_tree/drivers/media/dvb/dvb-usb/dvb-usb-ids.h ) Do you get anything when you build webcamd with DEBUG and run it with -m az6007.debug=7 ? Does a vanilla Linux 3.6 kernel find the tuner? (I.e. when not using s2-liplianin and the stuff from 0110323_TERRATEC_H7_Linux.tar.gz) >References: >1) http://sites.google.com/site/tingox/terratec_h7 >2) http://linuxtv.org/downloads/firmware/ >-- >Torfinn Ingolfsen Good luck, :) Juergen