From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 25 17:12:12 2007 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 5F9E616A403 for ; Sun, 25 Mar 2007 17:12:12 +0000 (UTC) (envelope-from sean.west@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id EB1AF13C48C for ; Sun, 25 Mar 2007 17:12:11 +0000 (UTC) (envelope-from sean.west@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1399436ugh for ; Sun, 25 Mar 2007 10:12:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=n4z3Qa/QrK48WB5nA+xUAx4OjH4IPD6PIHHaAX+jFi74NxRXIxjX4fsdGPUP5Xfu++SlxmC0ifKjgXBghjujcg3mqey+y6y8JgGq1MzXU+jMxNHCO42o4/YDBhGomIAgEqbcMxSKnjhwCT0ZzQ6fForwiZVjLuyfPharFr688cw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mv2A3A6mBOiq8YWTfZQcQC403QFrli4B4ChrzIQhfZUkDT6EBPy8uuDO6Plr28MMnLnjSBJiXEUnyKg9U6skEL+QHWVnRgGCG46qlwcac9SgvUKnvUAXbDCGLKsI7Y7b1sUuj0slgIDveuMJtAvq3qo2LiY8Yk/qcDrWTTvZlDI= Received: by 10.114.47.1 with SMTP id u1mr2226329wau.1174841045852; Sun, 25 Mar 2007 09:44:05 -0700 (PDT) Received: by 10.114.121.4 with HTTP; Sun, 25 Mar 2007 09:44:05 -0700 (PDT) Message-ID: <50feecaf0703250944r2a373b13waad923d872701b93@mail.gmail.com> Date: Sun, 25 Mar 2007 09:44:05 -0700 From: "Sean West" To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD 5.5, PVR500, MythTV svn 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: Sun, 25 Mar 2007 17:12:12 -0000 Hi All, I have been scouring this list (and others) for solutions to several problems I have encountered, with much success. I now have the cxm drivers installed and working (?). I installed the latest MythTV sources (as of yesterday, rev 13117) and applied the lock-fix.diff patch (thanks usleep!). The only problem I'm having is that if I start reading from the cxm driver for more than say 30 seconds (it seems quite random), my computer reboots. It doesnt freeze and then reboot after a bit, it just reboots immediately. I think the problem may be the "tuner code" that I have added to the cxm_eeprom.c file. My tuner code is 0x5c. I looked up in the ivtv sources and they point to Philips FQ1236A MK4, which is no where to be found in the current cxm_eeprom.c. I tried some of the other Philips tuners, to no avail, all of them give "video signal: not present", along with a staticy picture. I had noticed that a few people on the list had success with the TCL 2002N-6A tuner. I tried it, and voila! It worked. Well for a few seconds atleast. It doesnt matter whether I am reading with MythTV or doing a cat /dev/cxm0, it will still reboot after a few seconds. Here is my cxm driver output: cxm0: mem 0xe0000000-0xe3ffffff irq 16 at device 8.0 on pci2 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only second(radio) tuner 101 tuner code 92 tuner_type = 20 cxm0: TCL 2002N-6A 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 <2>tda 0-0000: read: 0xe0 <2>tda 0-0000: after power on : no <2>tda 0-0000: afc : - 12.5 kHz <2>tda 0-0000: fmif level : high <2>tda 0-0000: afc window : in <2>tda 0-0000: vfi level : high <2>cxm 0-0000: Video signal: present <2>cxm 0-0000: Detected format: NTSC-M <2>cxm 0-0000: Detected audio mode: mono <2>cxm 0-0000: Detected audio standard: NICAM-I <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: encoder firmware version 0x2050032 cxm1: mem 0xe4000000-0xe7ffffff irq 17 at device 9.0 on pci2 cxm_iic1: on cxm1 iicbb1: on cxm_iic1 iicbus1: on iicbb1 master-only second(radio) tuner 101 tuner code 92 tuner_type = 20 cxm1: TCL 2002N-6A 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) cxm1: 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 <2>tda 0-0000: read: 0xe0 <2>tda 0-0000: after power on : no <2>tda 0-0000: afc : - 12.5 kHz <2>tda 0-0000: fmif level : high <2>tda 0-0000: afc window : in <2>tda 0-0000: vfi level : high <2>cxm 0-0000: Video signal: present <2>cxm 0-0000: Detected format: NTSC-M <2>cxm 0-0000: Detected audio mode: mono <2>cxm 0-0000: Detected audio standard: NICAM-I <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 cxm1: encoder firmware version 0x2050032 [(9:41)(root@unf)(~)]> uname -a FreeBSD unf 5.5-STABLE FreeBSD 5.5-STABLE #12: Sun Mar 18 12:01:20 PDT 2007 root@unf:/usr/obj/usr/src/sys/UNF i386 Anything else needed? Thanks! Sean