From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail11.syd.optusnet.com.au ([211.29.132.192]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1LRQCv-0004nA-QY for linux-dvb@linuxtv.org; Mon, 26 Jan 2009 13:04:51 +0100 Received: from blackpaw.dyndns.org (c122-108-213-22.rochd4.qld.optusnet.com.au [122.108.213.22]) (authenticated sender lindsay.mathieson) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n0QC4evR000722 for ; Mon, 26 Jan 2009 23:04:41 +1100 Received: from lindsay-desktop.localnet (unverified [192.168.0.183]) by blackpaw.dyndns.org (SurgeMail 4.0a) with ESMTP id 316-1769969 for ; Mon, 26 Jan 2009 22:04:40 +1000 To: linux-dvb@linuxtv.org From: Lindsay Mathieson Date: Mon, 26 Jan 2009 22:04:42 +1000 MIME-Version: 1.0 Message-Id: <200901262204.42649.lindsay.mathieson@gmail.com> Subject: [linux-dvb] Dual Tuner Devices and udev rules Reply-To: linux-media@vger.kernel.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0956029047==" Mime-version: 1.0 Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: --===============0956029047== Content-Type: multipart/signed; boundary="nextPart2647435.9Ors2znfC4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2647435.9Ors2znfC4 Content-Type: multipart/alternative; boundary="Boundary-00=_abafJ+/iZ4As/qA" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-00=_abafJ+/iZ4As/qA Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The problem I have with any dual tuner device is that there is no way to=20 differentiate between tuner 0 and tuner 1 when writing a rule, which=20 consequently makes it impossible to write udev rules for such devices. Would it be possible for the driver to add an attribute that differentiates= =20 between the tuners on a device? e.g something like: ATTRS(tuner)=3D=3D"0" ATTRS(tuner)=3D=3D"1" =46ailing that, is there something clever about udev rules I'm missing? Thanks - Lindsay =2D-=20 Lindsay Mathieson http://blackpaw.jalbum.net/home --Boundary-00=_abafJ+/iZ4As/qA Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable p, li { white-space: pre-wrap; }

The problem I = have with any dual tuner device is that there is no way to

differentiate between tuner 0 and tuner 1= when writing a rule, which

consequently makes it impossible to write udev rules for such devices.

Would it be possible fo= r the driver to add an attribute that differentiates

between the tuners on a device? e.g something l= ike:

ATTRS(tuner)=3D=3D"= 0"

ATTRS(tuner)=3D=3D"1"=

=

Failing that, is ther= e something clever about udev rules I'm missing?


Thanks - Lindsay


--

Lindsay Mathieson

http= ://blackpaw.jalbum.net/home



--Boundary-00=_abafJ+/iZ4As/qA-- --nextPart2647435.9Ors2znfC4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkl9ptoACgkQNbLM9wS4sYfIggCeLq9g5z/03CjTkKL+N2tJYeG0 /Z4An1YdsGjc/ROM7I1cz2lMrPnf3TeU =LTmY -----END PGP SIGNATURE----- --nextPart2647435.9Ors2znfC4-- --===============0956029047== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb --===============0956029047==--