From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 7 19:35:42 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 75F8816A4E1 for ; Sat, 7 Apr 2007 19:35:42 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3574013C455 for ; Sat, 7 Apr 2007 19:35:42 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so643574pyh for ; Sat, 07 Apr 2007 12:35:41 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Je91e7CRXwRWKFljhKNIunuI8qwgwy6dmr31i5MyO3D0CuDtIZD7q1ISEBMgwHW6v3vCAnhjjpKwhiscp3n7ski7VfqFhOfo5IyXMfyVYwZzKNSV5xnPxF++eAU47zY+nQoiR4Skh8k//v8nDNzxUCbNcezc1W5RW8d1n1JtNa0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FI3D2ttMq9dZNT4hX1MTShUQA+ScLKfNzWaCVAQ6TTXxxvQ8yS4KLErjLmXO36i9FLCOkKscv7t7Mmymx3dhr3B9vwn6onmSKr4v9A6DTGeIgwGiGStAMl4p4QUZbAiJDErMGaNzUvyZ+PhOIOrsuMbsouTEkJw+wHngSaCC8rI= Received: by 10.114.88.1 with SMTP id l1mr304578wab.1175974541143; Sat, 07 Apr 2007 12:35:41 -0700 (PDT) Received: by 10.114.192.12 with HTTP; Sat, 7 Apr 2007 12:35:41 -0700 (PDT) Message-ID: Date: Sat, 7 Apr 2007 21:35:41 +0200 From: usleepless@gmail.com To: "Torfinn Ingolfsen" In-Reply-To: <20070407194836.d725b2f3.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070407194836.d725b2f3.torfinn.ingolfsen@broadpark.no> Cc: freebsd-multimedia@freebsd.org Subject: Re: pvr-350 not working - how to debug? 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: Sat, 07 Apr 2007 19:35:42 -0000 Torfinn, On 4/7/07, Torfinn Ingolfsen wrote: > Hello, > > I have a pvr-350 in a desktop machine, and today i decided to upgrade > the machine to the latest stable: > tingo@kg-quiet$ uname -a > FreeBSD kg-quiet.kg4.no 6.2-STABLE FreeBSD 6.2-STABLE #17: Sat Apr 7 > 18:45:15 CEST 2007 root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET > amd64 > > and try out the new driver from usleep: > http://usleepless.110mb.com/pvrxxx_port-01042007.tgz > > After getting the patch file for iicbb off this list, I made a new > kernel, rebooted and installed the driver. > The card is detected fine: > Apr 7 18:58:18 kg-quiet kernel: cxm0: mem > 0xf8000000-0xfbffffff irq 20 at d > evice 0.0 on pci2 > Apr 7 18:58:18 kg-quiet kernel: cxm_iic0: controller> on cxm0 > Apr 7 18:58:18 kg-quiet kernel: iicbb0: on > cxm_iic0 > Apr 7 18:58:18 kg-quiet kernel: iicbus0: on iicbb0 > master-only > Apr 7 18:58:18 kg-quiet kernel: cxm0: Philips FM1216ME MK3 tuner > Apr 7 18:58:18 kg-quiet kernel: cxm0: SAA7115 rev 1 video decoder > Apr 7 18:58:18 kg-quiet kernel: cxm0: MSP4418G-B3 audio decoder > Apr 7 18:58:18 kg-quiet kernel: cxm0: IR Remote > Apr 7 18:58:18 kg-quiet kernel: cxm0: [FAST] > Apr 7 18:58:18 kg-quiet kernel: cxm0: encoder firmware version 0x2060039 > Apr 7 18:58:18 kg-quiet kernel: cxm0: decoder firmware version 0x2020023 > > However, when I try to use setchannel to set a frequency, like this: > pvr250-setchannel -m 4 196.25 > I get these errors in /var/log/messages: > Apr 7 19:01:28 kg-quiet kernel: cxm0: video decoder failed to lock > Apr 7 19:01:29 kg-quiet kernel: cxm0: audio decoder failed to lock > Apr 7 19:03:22 kg-quiet kernel: cxm0: video decoder isn't locked > Apr 7 19:03:22 kg-quiet kernel: Could not detect FPS > Apr 7 19:03:22 kg-quiet kernel: could not config dec > Apr 7 19:03:22 kg-quiet kernel: could not start encoder > Apr 7 19:04:36 kg-quiet kernel: cxm0: video decoder isn't locked > Apr 7 19:04:36 kg-quiet kernel: Could not detect FPS > Apr 7 19:04:36 kg-quiet kernel: could not config dec > Apr 7 19:04:36 kg-quiet kernel: could not start encoder > Apr 7 19:10:07 kg-quiet kernel: cxm0: video decoder isn't locked > > For every frequency I try. > I changed the cable, just to be on the safe side. No luck. > I then decided to try the pvr250 port. It installs, the card is detected: > Apr 7 19:31:21 kg-quiet kernel: cxm0: mem > 0xf8000000-0xfbffffff irq 20 at d > evice 0.0 on pci2 > Apr 7 19:31:21 kg-quiet kernel: cxm_iic0: controller> on cxm0 > Apr 7 19:31:21 kg-quiet kernel: iicbb0: on > cxm_iic0 > Apr 7 19:31:21 kg-quiet kernel: iicbus0: on iicbb0 > master-only > Apr 7 19:31:21 kg-quiet kernel: cxm0: Philips FM1216ME MK3 tuner > Apr 7 19:31:21 kg-quiet kernel: cxm0: SAA7115 rev 1 video decoder > Apr 7 19:31:21 kg-quiet kernel: cxm0: MSP4418G-B3 audio decoder > Apr 7 19:31:21 kg-quiet kernel: cxm0: IR Remote > Apr 7 19:31:21 kg-quiet kernel: cxm0: [GIANT-LOCKED] > Apr 7 19:31:21 kg-quiet kernel: cxm0: encoder firmware version 0x2050032 > Apr 7 19:31:21 kg-quiet kernel: cxm0: decoder firmware version 0x2020023 > > But I still get the same problem when I try to set a channel using > pvr250-setchannel: > Apr 7 19:31:48 kg-quiet kernel: cxm0: video decoder failed to lock > Apr 7 19:32:07 kg-quiet kernel: cxm0: video decoder isn't locked > Apr 7 19:32:16 kg-quiet kernel: cxm0: video decoder failed to lock > Apr 7 19:32:32 kg-quiet last message repeated 2 times > Apr 7 19:32:37 kg-quiet kernel: cxm0: video decoder isn't locked > Apr 7 19:33:07 kg-quiet kernel: cxm0: video decoder failed to lock > Apr 7 19:33:10 kg-quiet kernel: cxm0: video decoder isn't locked > Apr 7 19:34:02 kg-quiet kernel: cxm0: video decoder failed to lock > Apr 7 19:34:02 kg-quiet kernel: cxm0: audio decoder failed to lock > > > Luckily, my main mythbackend (which have the pvr-500) is still working. > Any hints on what I can do more to find the problem? and this worked previously with the pvr250-port? strange? anyhow: please test: http://usleepless.110mb.com/pvrxxx_port-07042007.tgz i got tired of the "not supported tuner" requests and problems. i have integrated the linux tuner-module and eeprom-module. so if i am not mistaken, now all tuners ( that linux supports ) are supported. let me know. regards, usleep