From owner-freebsd-multimedia@FreeBSD.ORG Thu Mar 6 23:02:15 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 A02E41065670 for ; Thu, 6 Mar 2008 23:02:15 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8A38FC24 for ; Thu, 6 Mar 2008 23:02:15 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.130.190] (port=38388 helo=smtp1.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1JXP6L-0002aR-IY for freebsd-multimedia@freebsd.org; Fri, 07 Mar 2008 00:02:13 +0100 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.217.164]:52255 helo=desktop.homenet) by smtp1.groni1.gr.home.nl with smtp (Exim 4.60) (envelope-from ) id 1JXP6K-00038M-VZ for freebsd-multimedia@freebsd.org; Fri, 07 Mar 2008 00:02:13 +0100 Received: by desktop.homenet (sSMTP sendmail emulation); Fri, 7 Mar 2008 00:01:13 +0100 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Fri, 7 Mar 2008 00:01:13 +0100 User-Agent: KMail/1.9.7 References: <20080305090704.GA24762@onelab2.iet.unipi.it> <20080305175530.6bnix17f40c8go48@webmail.leidinger.net> In-Reply-To: <20080305175530.6bnix17f40c8go48@webmail.leidinger.net> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803070001.13563.danny@ricin.com> X-Spam-Score: 0.0 (/) 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: Thu, 06 Mar 2008 23:02:15 -0000 On Wednesday 05 March 2008 17:55:30 Alexander Leidinger wrote: > Quoting Luigi Rizzo (from Wed, 5 Mar 2008 > > I am not sure all these things belong in the kernel - they > > are not IO or CPU intensive, and it would be a lot more flexible to > > handle them through userland programs that issue appropriate IOCTL > > to play with the internal i2c bus or card registers. > > > > In this respect, I am leaning towards a userland approach rather > > than adding a lot of stuff to the current saa.ko driver > > I agree. > > Bye, > Alexander. I very much agree with this too. It just makes more sense. I don't think there's ever going to be one general/generic tuner (tuner-dbv-x) lib though. Some umbrella with common iic stuff that provides an API (read: simple ioctl header file as in /usr/include/tv_tuner.h) for making common stuff standardized (like probing for TDA on known address, probing for tuner address, etc) would be an improvement already and decrease wheel-reinvention. Cheers, Dan