From owner-freebsd-multimedia@FreeBSD.ORG Tue May 18 05:32:05 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 8B77E16A4CE for ; Tue, 18 May 2004 05:32:05 -0700 (PDT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 747C843D5C for ; Tue, 18 May 2004 05:31:51 -0700 (PDT) (envelope-from bc-fbsd-mm@vicious.dropbear.id.au) Received: by postman.ripe.net (Postfix, from userid 8) id 55D5C55D32; Tue, 18 May 2004 14:31:51 +0200 (CEST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id F1CD44FC18 for ; Tue, 18 May 2004 14:31:50 +0200 (CEST) Received: from x53.ripe.net (x53.ripe.net [193.0.1.53]) by birch.ripe.net (8.12.10/8.11.6) with ESMTP id i4ICVolU005249 for ; Tue, 18 May 2004 14:31:50 +0200 Date: Tue, 18 May 2004 14:31:50 +0200 (CEST) From: Bruce Campbell X-X-Sender: bc@x53.ripe.net To: freebsd-multimedia@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-RIPE-Spam-Level: X-RIPE-Spam-Status: N 0.000026 / 0.0 / 0.0 / disabled X-RIPE-Signature: 5fc8e09ba1246a1f3b15c0b42fd17de0 Subject: Getting the hauppage pvr250 card working under 5.2 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 12:32:05 -0000 For better or for worse, I have a Hauppage PVR250 Wintv card, and I'm trying to get it working under FreeBSD 5.2 . What I have tried so far is: John Wehle's cxm code of March 20, 2004 as posted to this list. hcwpvrp2.sys 1.7? (MD5 f9de6571f8a7afdffb13ffb31adeeada) cxm0: encoder firmware version 0x2040002 cxm0: decoder firmware version 0x2020001 hcwpvrp2.sys 1.8 (MD5 d157f8ad1dc71ced812307b7cd5ee263) ( Both retrieved from http://www.hauppauge.com/pages/support_pvr250-350.html ) cxm0: encoder firmware version 0x2040011 cxm0: decoder firmware version 0x2020023 The card in various PCI slots (in some slots the module refuses to load at all) both with and without other PCI cards in place. The working solution appears to be the slot next to a vga card in place, and not the extra ethernet card (3com). The end result with the basic code is the expected: $ cat /dev/cxm0 > /var/tmp/foo.mpg cat: /dev/cxm0: Device not configured After making minor changes to the code for more specific information and increasing the loop in cxm_saa7115_wait_for_lock from 10 to 20, then further changing the code such that, yes, its ok to ignore the locks in the various wait_for_lock routines (all now return 1) and finally overriding the frames per second in cxm_saa7115_detected_fps (to 25 in my case, 30 in others), I can see static by doing 'mplayer -vo x11 -ao null /dev/cxm0': Default: static. setchannel -c (known video signal plugged in): black setchannel -s (no cable): black setchannel -t 0, 2 to 89: all static ( known signal on channel 6 ) ( Cannot change to channels above 89, nor channel 1 ) Is there something else that I'm missing in order to see video via the TV card? -- Bruce Campbell Random hacker.