From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 24 17:29:06 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 393C316A403 for ; Tue, 24 Apr 2007 17:29:06 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id BF0FD13C484 for ; Tue, 24 Apr 2007 17:29:05 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so208643ugh for ; Tue, 24 Apr 2007 10:29:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GmJ984yF04XkbRPodGhOD7hl6WzgT+CkqtEJnRaLoDiCWtfA5wc+a6FGTaKkpjeLoKVgk0JsJKqNZ1b9V1HAh9gC9Piffb8MwqLXLby7Ru4LPriJRiziQ509OsNYJhQJ9pF1Z1EkwmgDGZ8Kp1VNGVKgM/92D/ARz1MaR4px86o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iKXdxdO5yrP71N4HDpLlmSz3Rwt7Nhrruj+HKsX7K36M48uPkdQf8wiksv/9yfvFWjSzobqinqh/5kQBdmFusvq6wu8kVoJwhaGh/lpRNbFBpWyRGGprgLiK/TSJGrT97lEqHPt6bA8d4b5bBIrjq+TjNEHH78wZIEwdgT/UkQg= Received: by 10.82.145.7 with SMTP id s7mr11288017bud.1177435744203; Tue, 24 Apr 2007 10:29:04 -0700 (PDT) Received: by 10.82.191.16 with HTTP; Tue, 24 Apr 2007 10:29:04 -0700 (PDT) Message-ID: <80f4f2b20704241029x68e18eddgad417a71195d2666@mail.gmail.com> Date: Tue, 24 Apr 2007 13:29:04 -0400 From: "Jim Stapleton" To: "Greg 'groggy' Lehey" In-Reply-To: <20070424001346.GF45246@wantadilla.lemis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20704230529s706c50a9pa4716e74c2b04182@mail.gmail.com> <20070424001346.GF45246@wantadilla.lemis.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx, linux code and modules 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: Tue, 24 Apr 2007 17:29:06 -0000 I have a question regarding the tuner identification process... Namely, what are the pieces pieces of identification are needed to identify the tuner, and how uniform are they between card make/models? ex: In the driver I see a 1 byte eeprom code (Eh), and a 1 byte tuner code (Th). Is it safe to assume that with these two codes, the tuner will always be identifiable? (i.e. lets say a Leadtek card uses the same tuner, will I be able to take one byte from the Leadtek eeprom for it's eeprom code (El), and one byte for it's tuner code (Tl), and be able to determine the tuner, or might I need multiple bytes for El and/or Tl? Will they always be integers? Could strings be expected? I'm just curious how much more data will need to be packed into the text entries on the files... And how much can be put there to make the tuner drivers as generic as possible (theoritically, it'd be nice to have one tuner driver that would work with any television/radio card, which would be able to determine the tuner, without the other drivers having to do calculations on the eeprop/card data). Thanks, -Jim Stapleton