From owner-freebsd-multimedia@FreeBSD.ORG Tue Dec 26 03:25:42 2006 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 BB6AB16A407 for ; Tue, 26 Dec 2006 03:25:42 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc15.comcast.net (sccrmhc15.comcast.net [63.240.77.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8959313C487 for ; Tue, 26 Dec 2006 03:25:42 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from gimpy (c-24-118-186-172.hsd1.mn.comcast.net[24.118.186.172]) by comcast.net (sccrmhc15) with ESMTP id <20061226031217015004ucofe>; Tue, 26 Dec 2006 03:12:17 +0000 From: Josh Paetzel To: freebsd-multimedia@freebsd.org Date: Mon, 25 Dec 2006 21:12:16 -0600 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612252112.16751.josh@tcbug.org> Cc: Subject: Troubles with WinTV-PVR 150 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, 26 Dec 2006 03:25:42 -0000 Been trying to make a WinTV-PVR 150 go with FBSD 6.1-R-p11 Here's what I've done and where I'm at: added to kernel: device iicbus device iicbb device smbus make patch-iicbb in /usr/ports/multimedia/pvrxxx/ recompile kernel and boot into it Unzip the three following files out of cd-analogue-pvr-pci-26.zip: HcwMakoB.ROM (20 apr 2005 size 14264) HcwMakoC.ROM (9 feb 2006 size 16382) hcwPVRP2.sys (14 sep 2005 size 824512) and rename HcwMakoC.ROM -> HcwMakoA.ROM Move stuff to /usr/ports/distfiles, hack pvrxxx port's distinfo to use the correct files and sizes and so forth. edit work/modules/cxm/cxm/fbsd-compat.c #thef.size = 14264; thef.size = 16382; installed multimedia/pvrxxx kldload cxm_iic kldload cxm In dmesg: cxm0: mem 0xdc000000-0xdfffffff irq 17 at device 12.0 on pci0 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only tuner code 112 cxm0: unknown tuner code 0x70 tuner_type = -1 cxm0: could not initialize tuner iicbus0: detached iicbb0: detached cxm_iic0: detached device_attach: cxm0 attach returned 6 edit cxm_eeprom.c and add case 0x70: recompile pvrxxx kldload cxm_iic and cxm again cxm0: mem 0xdc000000-0xdfffffff irq 17 at device 12.0 on pci0 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only tuner code 112 tuner_type = 7 cxm0: Philips FI1246 MK2 tuner <2>cxm 0-0000: loaded /lib/modules/v4l-cx25840.fw firmware (14264 bytes) <2>cxm debug 0-0000: decoder set input (0) <2>cxm debug 0-0000: now setting Tuner input <2>cxm debug 0-0000: set audio input (0) <2>cxm debug 0-0000: set audio input (0) cxm0: Eeprom NTSC <2>tda 0-0000: switching to v4l2 <2>tda 0-0000: configure for: NTSC-M <2>tda 0-0000: writing: b=0xd4 c=0x30 e=0x44 could not start iic bus probed 54 probed 136 probed 160 probed 194 probed 224 probed 226 probed 228 probed 230 <2>tda 0-0000: i2c i/o error: rc == 2 (should be 4) read error <2>tda 0-0000: i2c i/o error: rc == -215889125 (should be 1) <2>tda 0-0000: read: 0x 0 <2>tda 0-0000: after power on : no <2>tda 0-0000: afc : - 12.5 kHz <2>tda 0-0000: fmif level : low <2>tda 0-0000: afc window : out <2>tda 0-0000: vfi level : low <2>cxm 0-0000: Video signal: not present <2>cxm 0-0000: Detected format: NTSC-M <2>cxm 0-0000: Detected audio mode: mono <2>cxm 0-0000: Detected audio standard: BTSC <2>cxm 0-0000: Audio muted: yes <2>cxm 0-0000: Audio microcontroller: running <2>cxm 0-0000: Configured audio standard: automatic detection <2>cxm 0-0000: Configured audio system: BTSC <2>cxm 0-0000: Specified standard: NTSC-M <2>cxm 0-0000: Specified input: Tuner <2>cxm 0-0000: Specified audio input: Tuner <2>cxm 0-0000: Specified audioclock freq: 48 kHz <2>cxm 0-0000: Preferred audio mode: stereo cxm0: [GIANT-LOCKED] cxm0: encoder firmware version 0x2050032 pvr250-setchannel 30 ioctl( tfd, BT848_GAUDIO ) failed.: Device not configured mplayer /dev/cxm0 static in window and spams to dmesg: device cxm0 opened cxm0: encoder dma not enough buffer space free cxm0: encoder dma not already in progress cxm0: encoder dma not enough buffer space free cxm0: encoder dma not already in progress cxm0: encoder dma not enough buffer space free cxm0: encoder dma not already in progress cxm0: encoder dma not enough buffer space free endlessly Any hints on where to go from here? -- Thanks, Josh Paetzel