From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 27 20:37:02 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB75616A4CE for ; Mon, 27 Sep 2004 20:37:02 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86D1B43D41 for ; Mon, 27 Sep 2004 20:37:02 +0000 (GMT) (envelope-from mlea.lists@gmail.com) Received: by mproxy.gmail.com with SMTP id 79so3226848rnk for ; Mon, 27 Sep 2004 13:36:15 -0700 (PDT) Received: by 10.38.171.30 with SMTP id t30mr350288rne; Mon, 27 Sep 2004 13:36:14 -0700 (PDT) Received: by 10.38.78.44 with HTTP; Mon, 27 Sep 2004 13:36:14 -0700 (PDT) Message-ID: Date: Mon, 27 Sep 2004 15:36:14 -0500 From: Michael Lea To: multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Hauppauge PVR-250 with unknown tuner X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: michael.lea@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 20:37:03 -0000 I'm trying to make a Hauppauge WinTV PVR-250 work with FreeBSD 5.2.1. I've compiled the drivers that John Wehl posted to the list in March, but when I "kldload cxm", I get this on the console: cxm0: mem 0xec000000-0xefffffff irq 10 at device 16.0 on pci0 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only cxm0: unknown tuner code 0x52 cxm0: could not initialize tuner iicbus0: detached iicbb0: detached cxm_iic0: detached device_probe_and_attach: cxm0 attach returned 6 The sticker on the tuner says "NTSC / NTSC-J 32032 Rev B182". Google turned up a similar problem to mine on the Linux ivtv list... it looks like my tuner is an LG TAPC-H791F (although I haven't yet looked under the Hauppauge sticker to confirm this). I tried adding the new tuner to John's drivers using the Linux drivers as a model. This is the bit I added to cxm_tuner.c (I also added appropriate bits to cxm.h & cxm_eeprom.c): { "LG Innotek TAPC-H791F", 55250, 801250, { { 450000, { 0x8e, 0x30 } }, { 170000, { 0x8e, 0x90 } }, { 48250, { 0x8e, 0xa0 } } }, 0, 0, { 0, { 0x00, 0x00 } }, { &us_air_channels, &us_cable_channels } } This got the driver to load properly, but now I get these errors: # setchannel -t 2 ioctl( tfd, METEORSINPUT ) failed.: Invalid argument ioctl( tfd, TVTUNER_SETCHNL ) failed.: Invalid argument # cat /dev/cxm0 >tmp.mpg cat: /dev/cxm0: Device not configured Any suggestions? Thanks in advance. - Mike -- It will not follow that everything must be suppressed which may be abused... if all those useful inventions that are liable to abuse should therefore be concealed, there is not any Art or Science which may be lawfully professed. -- Bishop John Wilkins, 1641