From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.hauppauge.com ([167.206.143.4]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JYiF3-0001re-2F for linux-dvb@linuxtv.org; Mon, 10 Mar 2008 14:40:56 +0100 Message-ID: <47D539E8.6060204@linuxtv.org> Date: Mon, 10 Mar 2008 09:38:48 -0400 From: Michael Krufky MIME-Version: 1.0 To: Jarryd Beck References: <47D49309.8020607@linuxtv.org> <47D4B8D0.9090401@linuxtv.org> In-Reply-To: Cc: linux-dvb@linuxtv.org Subject: Re: [linux-dvb] NXP 18211HDC1 tuner List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: Jarryd Beck wrote: >> I think that the tda18271 driver will work with your tuner, but we may >> need to make some small adjustments. If you look in tda18271-fe.c , >> you'll find the code that autodetects between a TDA18271c1 and a >> TDA18271c2 ... >> > > [snip] > > Also if I could somehow get this working with the right > code, I don't know how to set up the values in the tda182171_config > struct. > Jarryd, Assuming that there is no tda829x analog demod present, and that this is a digital-only device, try something like this: static struct tda18271_config jarryd_tda18271_config = { .gate = TDA18271_GATE_DIGITAL } You should leave .std_map as NULL unless you need to override the default values per standard. The value in the ".std_bits" corresponds to the lower five bits in EP3 (register 0x05 [4:0]) Most likely, the driver's default setting will work for you, but you may find that the vendor chose a different value if you sniff the usb traffic from the windows driver. This value is directly tied to the IF frequency between the tuner and demod. -Mike Krufky _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb