From owner-freebsd-multimedia@FreeBSD.ORG Wed Mar 5 10:22:36 2008 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 223DA1065671 for ; Wed, 5 Mar 2008 10:22:36 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.234]) by mx1.freebsd.org (Postfix) with ESMTP id 8785A8FC14 for ; Wed, 5 Mar 2008 10:22:35 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by hu-out-0506.google.com with SMTP id 28so852997hub.8 for ; Wed, 05 Mar 2008 02:22:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=3+Mp6NWjpGmxSqAHNAv071vQ33yEkOhRSfEtkr7E3bM=; b=itYmTW0OcUHW1VPHY/XUx+INGtV/9KdjY4sQ07R4JDZ8+JgnYm1U23lEqMz26SY11G+8qbW4s1qbYfUteq0XEcQcmM+3l7vdDf0U2hUFtcqmGmo6jaNZJZTYxj3+50NGNB/elnY0vBCdPbxCwXY6OG/ayz0dxfSbMlq16xX/65A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=VUXHmEEaTEqXUrkI7gzOx92haB6eD1F6c5oME0Pt9irHRz9gv9+DSKELpEqrra9VTTblZGjy8/s2KRIi5apLyDCdrxfRKVw3HT7jtogZMzchDsXmRF+Ys0rEv7nvEiK1tgmA+Z2GBHpQiYcyxIyk8FGx4gS7cYH07pc+W1kiDy8= Received: by 10.82.148.7 with SMTP id v7mr7081570bud.37.1204711716341; Wed, 05 Mar 2008 02:08:36 -0800 (PST) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTPS id m5sm1123237gve.11.2008.03.05.02.08.33 (version=SSLv3 cipher=RC4-MD5); Wed, 05 Mar 2008 02:08:34 -0800 (PST) From: Tom Evans To: Luigi Rizzo In-Reply-To: <20080304205142.GA64139@onelab2.iet.unipi.it> References: <200802290144.43760.danny@ricin.com> <20080229052847.GB1562@mail.irbisnet.ru> <200803040325.09515.danny@ricin.com> <20080304205142.GA64139@onelab2.iet.unipi.it> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hc+6F7W2W6TiimSfftSn" Date: Wed, 05 Mar 2008 10:08:32 +0000 Message-Id: <1204711712.2126.199.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: Yuri Pankov , freebsd-multimedia@freebsd.org Subject: Re: Driver for Asus P7131 and other SAA-based cards ? (was Re: kbtv2 sound saa.c -- And BETA3 available) 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, 05 Mar 2008 10:22:36 -0000 --=-hc+6F7W2W6TiimSfftSn Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-03-04 at 21:51 +0100, Luigi Rizzo wrote: > On Tue, Mar 04, 2008 at 03:25:09AM +0100, Danny Pansters wrote: > .. > > I don't want to be pedantic but I would like see a report of any such p= anic=20 > > with the kbtv2-kmod-saa port first before I start changing all sorts of= =20 > > things. Or get it myself. >=20 > Hi, > let me take this message as a chance to ask whether there is any > work in progress on supporting (on FreeBSD) newer SAA-based cards such as= the > Asus P7131 Hybrid - especially, any support for the dvb decoder part ? >=20 > I can certainly work on this a bit, but would be glad to know > if i can start from something more than kmod-saa (which does not > seem to have dvb support, and in this specific case does not > even find the tuner). >=20 > thanks > luigi Hi Luigi I currently use two of these cards in a linux box with mythtv, but would love to get DVB support in FreeBSD so I can get rid of one more linux box. I'm afraid I've never written/hacked on device drivers, but I can certainly test/help out.=20 (from further on in the thread) Finding the appropriate firmware file for my card was quite difficult. The v4l-dvb drivers provide scripts which fetch driver packages from manufacturers and extracts a firmware from them, which can be a problem when the manufacturer stops distributing the driver! On my linux box, the Asus P7131 Hybrid uses these kmod: saa7134_alsa 10432 0 saa7134_dvb 13324 14 video_buf_dvb 4740 1 saa7134_dvb dvb_core 65448 1 video_buf_dvb tda1004x 13700 3 saa7134_dvb tda827x 6660 2 saa7134 111692 2 saa7134_alsa,saa7134_dvb video_buf 18692 4 saa7134_alsa, saa7134_dvb, =20 video_buf_dvb, saa7134 compat_ioctl32 1536 1 saa7134 ir_kbd_i2c 7056 1 saa7134 ir_common 29700 2 saa7134,ir_kbd_i2c videodev 24320 1 saa7134 v4l2_common 14976 2 saa7134,videodev v4l1_compat 12036 2 saa7134,videodev i2c_core 16256 7 saa7134_dvb, tda1004x, tda827x, saa7134,ir_kbd_i2c,i2c_i801,nvidia and the dmesg (probably not that helpful!) saa7130/34: v4l2 driver version 0.2.14 loaded saa7133[0]: found at 0000:05:02.0, rev: 209, irq: 20, latency: 84, mmio: 0x= fdbfe000 saa7133[0]: subsystem: 1043:4876, board: ASUSTeK P7131 Hybrid [card=3D112,a= utodetected] saa7133[0]: board init: gpio is 40000 input: saa7134 IR (ASUSTeK P7131 Hybri as /class/input/input2 saa7133[0]: i2c eeprom 00: 43 10 76 48 54 20 1c 00 43 43 a9 1c 55 d2 b2 92 saa7133[0]: i2c eeprom 10: ff ff ff 0f ff 20 ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08 ff 00 d5 ff ff ff ff saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 55 50 ff ff ff ff ff ff saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff saa7133[0]: registered device video0 [v4l2] saa7133[0]: registered device vbi0 saa7133[0]: registered device radio0 DVB: registering new adapter (saa7133[0]) saa7134 ALSA driver for DMA sound loaded saa7133[0]/alsa: saa7133[0] at 0xfdbfe000 irq 20 registered as card -1 Tom --=-hc+6F7W2W6TiimSfftSn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHznEblcRvFfyds/cRAjVeAKCGubLubKEsSzjQ3H/z5kJkKS6bFACeLgZ0 QvhpjVx6AC5J55B+dzLqdww= =jYlo -----END PGP SIGNATURE----- --=-hc+6F7W2W6TiimSfftSn--