From owner-freebsd-multimedia@FreeBSD.ORG Tue Feb 27 14:05:26 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 E7C1D16A402 for ; Tue, 27 Feb 2007 14:05:26 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 9941713C4B2 for ; Tue, 27 Feb 2007 14:05:26 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1139424ana for ; Tue, 27 Feb 2007 06:05:26 -0800 (PST) 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=gn6RmU6HkkLYeIv467NCJViebXI65A4XsDlWz5ECqG8HhnsHdLQLZfCtT83zA4+MZsTraTfczzLcdzXVOjigGi3OKzTXJBFQcNIxNOyYCvLGcmbzcmoi/z+NYrdkn4ZIe0gsTyc1YtaRXqNHZlnJmIteytNHq+mpaU1Fqg/QcZQ= 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=o8bo34XzZG1IW4NrX4SIE5Ihho22VolsNryHP8OQufW2PNMxYm0pUoIllP17rHRuirU2lHxBqBVXmIapVyKElfaJGVus2zhAxaX21KuncSrtgft502iUq/J1L+2lIuxgQLolPDfaViHlVUGQbwggaqBTfsVd0+EbPIzR/h9x5yE= Received: by 10.114.179.1 with SMTP id b1mr77298waf.1172585123905; Tue, 27 Feb 2007 06:05:23 -0800 (PST) Received: by 10.114.199.18 with HTTP; Tue, 27 Feb 2007 06:05:23 -0800 (PST) Message-ID: Date: Tue, 27 Feb 2007 15:05:23 +0100 From: usleepless@gmail.com To: "Joe Auty" In-Reply-To: <64DD6AB3-AD58-4775-83F0-3991C8A754F4@netmusician.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4E6EF7B9-703F-4D86-A86E-A0B0B7B504F0@netmusician.org> <20070224144746.e3ef6367.torfinn.ingolfsen@broadpark.no> <20070224175433.fb82aed4.torfinn.ingolfsen@broadpark.no> <33F7A8F7-6DDB-463D-9455-C4D3C41D60A2@netmusician.org> <64DD6AB3-AD58-4775-83F0-3991C8A754F4@netmusician.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: pvr250 and MythTV 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, 27 Feb 2007 14:05:27 -0000 Joe, On 2/27/07, Joe Auty wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Feb 27, 2007, at 2:49 AM, usleepless@gmail.com wrote: > > > Joe, > > > > On 2/27/07, Joe Auty wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> Hello, > >> > >> I'm now running FBSD 6.2 and trying to test the pvrxxx port that was > >> sent to this list most recently. > >> > >> I've installed the port successfully after doing my kernel patch, but > >> MythTV is still reporting that /dev/cxm0 cannot be probed after > >> setting my video device to /dev/cxm0 (this is what you are supposed > >> to do, right?) > >> > >> It says: "Could not open '/dev/cxm0' to probe its inputs" > >> > >> Here is some info about my card, reported by /var/log/messages, FWIW: > >> > >> > >> Feb 27 02:27:27 mymachine kernel: cxm0: > >> mem 0xe0000000-0xe3ffffff irq 11 at device 9.0 on pci0 > >> Feb 27 02:27:27 mymachine kernel: cxm_iic0: >> I2C controller> on cxm0 > >> Feb 27 02:27:27 mymachine kernel: iicbb0: on > >> cxm_iic0 > >> Feb 27 02:27:27 mymachine kernel: iicbus0: on > >> iicbb0 master-only > >> Feb 27 02:27:27 mymachine kernel: cxm0: TCL 2002N-6A tuner > >> Feb 27 02:27:27 mymachine kernel: cxm0: SAA7115 rev 1 video decoder > >> Feb 27 02:27:27 mymachine kernel: cxm0: MSP3445G-B8 audio decoder > >> Feb 27 02:27:27 mymachine kernel: cxm0: IR Remote > >> Feb 27 02:27:27 mymachine kernel: cxm0: [FAST] > >> Feb 27 02:27:27 mymachine kernel: cxm0: encoder firmware version > >> 0x2060039 > >> > >> > >> > >> I know this probably isn't useful right now, but here is my > >> mythbackend spew: > >> > >> > >> # /usr/local/etc/rc.d/mythbackend.sh start > >> Starting mythbackend. > >> [root@mymachine /usr/ports/multimedia/pvrxxx]# 2007-02-27 > >> 02:32:56.171 Using runtime prefix = /usr/local > >> 2007-02-27 02:32:56.264 New DB connection, total: 1 > >> 2007-02-27 02:32:56.277 Connected to database 'mythconverg' at host: > >> localhost > >> 2007-02-27 02:32:56.291 Current Schema Version: 1158 > >> Starting up as the master server. > >> 2007-02-27 02:32:56.318 New DB connection, total: 2 > >> 2007-02-27 02:32:56.320 Connected to database 'mythconverg' at host: > >> localhost > >> 2007-02-27 02:32:56.330 EITHelper: localtime offset -5:00:00 > >> 2007-02-27 02:32:56.344 TVRec(1) Error: Problem finding starting > >> channel, setting to default of '3'. > >> 2007-02-27 02:32:56.358 ChannelBase(1) Error: InitializeInputs(): > >> Could not get inputs for the capturecard. > >> Perhaps you have forgotten to bind video > >> sources to your card's inputs? > >> ERROR: no valid capture cards are defined in the database. > >> Perhaps you should read the installation instructions? > >> 2007-02-27 02:32:56.375 Main::Starting HttpServer > >> QServerSocket: failed to bind or listen to the socket > >> 2007-02-27 02:32:56.388 Main::HttpServer Create Error > >> 2007-02-27 02:32:56.389 Main::Registering HttpStatus Extension > >> 2007-02-27 02:32:56.410 mythbackend version: 0.20.20060828-3 > >> www.mythtv.org > >> 2007-02-27 02:32:56.410 Enabled verbose msgs: important general > >> 2007-02-27 02:32:56.414 AutoExpire: Found 0 recorders w/max rate of 0 > >> MiB/min > >> 2007-02-27 02:32:56.417 AutoExpire: Required Free Space: 0.0 GB w/ > >> freq: 10 min > >> QServerSocket: failed to bind or listen to the socket > >> 2007-02-27 02:32:56.423 Failed to bind port 6543. Exiting. > >> Mutex destroy failure: Invalid argument > >> mythbackend in free(): error: chunk is already free > > > > congrats on your upgrade! > > > > as which user have you been running mythtv-setup? does this user have > > the proper rights to /dev/cxm0? > > > > as the mythbackend log states: you need to define an "input" to your > > capturecard. i believe this is option 4. in mythtv-setup. > > > > > > Awesome! > > Doing a sudo mythtv-setup now allows me to probe the card, but in my > input connections screen there are literally no options to choose > from, and even though the backend will now start, it is not > responding on its port: > > ]# ps aux | grep myth > root 5038 0.0 1.2 38668 18244 p0 SN 8:46AM 0:01.48 /usr/ > local/bin/mythbackend > root 5103 0.0 0.0 1580 640 p0 R+ 8:53AM 0:00.00 grep > myth > [root@mymachine /home/joe]# telnet localhost 6543 > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection refused > telnet: Unable to connect to remote host > > > > > Because I'm unable to select an input connection most likely, I get > the following when starting the backend: > > ]# /usr/local/etc/rc.d/mythbackend.sh restart > Stopping mythbackend. > Waiting for PIDS: 5038. > Starting mythbackend. > [root@mymachine /home/joe]# 2007-02-27 08:58:04.942 Using runtime > prefix = /usr/local > 2007-02-27 08:58:05.027 New DB connection, total: 1 > 2007-02-27 08:58:05.040 Connected to database 'mythconverg' at host: > localhost > 2007-02-27 08:58:05.054 Current Schema Version: 1158 > Starting up as the master server. > 2007-02-27 08:58:05.083 New DB connection, total: 2 > 2007-02-27 08:58:05.085 Connected to database 'mythconverg' at host: > localhost > 2007-02-27 08:58:05.094 EITHelper: localtime offset -5:00:00 > 2007-02-27 08:58:05.108 TVRec(1) Error: Problem finding starting > channel, setting to default of '3'. > 2007-02-27 08:58:05.111 ChannelBase(1) Error: InitializeInputs(): > Could not get inputs for the capturecard. > Perhaps you have forgotten to bind video > sources to your card's inputs? > > > > Any idea why I'm not getting any input connection options? http://www.mythtv.org/docs/mythtv-HOWTO-9.html#ss9.1 regards, usleep