From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 16 11:35:51 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 C1A0716A416 for ; Mon, 16 Oct 2006 11:35:51 +0000 (UTC) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 903D743D80 for ; Mon, 16 Oct 2006 11:35:50 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.67] (aphax.nl [82.92.29.227]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id k9GBZmXA073552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Oct 2006 13:35:48 +0200 (CEST) (envelope-from h.nieser@xs4all.nl) Message-ID: <45336E8A.7070803@xs4all.nl> Date: Mon, 16 Oct 2006 13:35:38 +0200 From: Hans Nieser User-Agent: Thunderbird 1.5.0.7 (X11/20060919) MIME-Version: 1.0 To: usleepless@gmail.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-multimedia@freebsd.org Subject: Re: New port: pvrxxx for Hauppauge PVR150/500 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: Mon, 16 Oct 2006 11:35:51 -0000 usleepless@gmail.com wrote: > Dear List, > > i just want to make people aware that now there is a driver for the > Hauppauge PVR150 and PVR500 cards ( multimedia/pvrxxx ). > > it is based on the pvr250 port and some linuxtv.org code. > > features and missing features: > - stable > - supports more than 1 card in a single machine > - runs on 4.x, 5.x, 6.x > - partial v4l(2) interface, currently only tested with MythTV 0.18-fixes > - tuner input and composite input > - no radio support yet > - no ir support yet > > i am currently working on vbi support. if someone has a pvr250 and a > pvr150/500, i would be interested in making this driver support > 150+250+500. it should not be too hard. > > any feedback is welcome. Yesterday I finally installed the card and the driver, and although it sort off seems to work, I can't seem to tune it. When I do 'cat /dev/cxm0 > foo.mpg' I get static with both audio and video, but it doesn't change after tuning. I've ensured that I have the cable connected properly and that I am using the right frequencies. I am using the pvr250-setchannel command in this manner: pvr250-setchannel -d 0 -a on -m 4 189.25 This is what I get on dmesg after loading the driver modules (cxm and cxm_iic): cxm0: mem 0xf0000000-0xf3ffffff irq 21 at device 10.0 on pci2 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only tuner code 57 tuner_type = 4 cxm0: Philips FM1216ME MK3 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 PAL <2>tda 0-0000: switching to v4l2 <2>tda 0-0000: configure for: PAL-BG <2>tda 0-0000: writing: b=0xd4 c=0x70 e=0x09 <2>tda 0-0000: read: 0x4e <2>tda 0-0000: after power on : no <2>tda 0-0000: afc : -187.5 kHz [min] <2>tda 0-0000: fmif level : low <2>tda 0-0000: afc window : in <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: forced mode <2>cxm 0-0000: Detected audio standard: forced audio standard <2>cxm 0-0000: Audio muted: no <2>cxm 0-0000: Audio microcontroller: running <2>cxm 0-0000: Configured audio standard: A2-BG <2>cxm 0-0000: Configured audio mode: undefined <2>cxm 0-0000: Specified standard: PAL-BDGHI <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 <2>cxm 0-0000: Selected 65 MHz format: system DK <2>cxm 0-0000: Selected 45 MHz format: chroma cxm0: [GIANT-LOCKED] cxm0: encoder firmware version 0x2050032 After running the pvr250-setchannel command I get this on dmesg: device cxm0 opened <2>cxm 0-0000: Video signal: not present <2>cxm 0-0000: Detected format: NTSC-M <2>cxm 0-0000: Detected audio mode: forced mode <2>cxm 0-0000: Detected audio standard: forced audio standard <2>cxm 0-0000: Audio muted: no <2>cxm 0-0000: Audio microcontroller: running <2>cxm 0-0000: Configured audio standard: A2-BG <2>cxm 0-0000: Configured audio mode: undefined <2>cxm 0-0000: Specified standard: PAL-BDGHI <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 <2>cxm 0-0000: Selected 65 MHz format: system DK <2>cxm 0-0000: Selected 45 MHz format: chroma I guess the "Video signal: not present" indicates its some problem with the signal but still, the cable is definitely plugged in. (I'll try another cable later on just to be sure, if I can find one) Also, everytime I run the pvr250-setchannel command, this is outputted on the console: ioctl( tfd, BT848_GAUDIO ) failed.: Device not configured