pvr250 and MythTV

Joe Auty joe at netmusician.org
Tue Feb 27 16:44:33 UTC 2007


Okay, I think I have found my MythTV problem.... It seems to not be a  
Myth problem, but a driver one (again, I'm using the modified driver  
sent to the list recently):



# cat /dev/cxm0 > test.mpg
cat: /dev/cxm0: Device not configured

# tail /var/log/messages
Feb 27 11:39:03 mymachine kernel: cxm0: video decoder isn't locked
Feb 27 11:39:03 mymachine kernel: Could not detect FPS
Feb 27 11:39:03 mymachine kernel: could not config dec
Feb 27 11:39:03 mymachine kernel: could not start encoder


I've found some information about this error dating back to 2004:

http://lists.freebsd.org/pipermail/freebsd-multimedia/2004-March/ 
000922.html

No resolution though...

Are other users of this modified port/driver having this problem?




On Feb 27, 2007, at 9:40 AM, Joe Auty wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Feb 27, 2007, at 9:05 AM, usleepless at gmail.com wrote:
>
>> Joe,
>>
>> On 2/27/07, Joe Auty <joe at netmusician.org> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>>
>>> On Feb 27, 2007, at 2:49 AM, usleepless at gmail.com wrote:
>>>
>>> > Joe,
>>> >
>>> > On 2/27/07, Joe Auty <joe at netmusician.org> 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: <Conexant iTVC16 MPEG  
>>> Coder>
>>> >> mem 0xe0000000-0xe3ffffff irq 11 at device 9.0 on pci0
>>> >> Feb 27 02:27:27 mymachine kernel: cxm_iic0: <Conexant iTVC15 /  
>>> iTVC16
>>> >> I2C controller> on cxm0
>>> >> Feb 27 02:27:27 mymachine kernel: iicbb0: <I2C bit-banging  
>>> driver> on
>>> >> cxm_iic0
>>> >> Feb 27 02:27:27 mymachine kernel: iicbus0: <Philips I2C bus> 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 at 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 at 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 at 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
>
>
>
> I have read the guide, yet it doesn't explain why I'm not seeing  
> any input connection options, unless my lack of confidence in my  
> "channel frequency table" setting could be causing the problem?
>
> Also, my satellite requires DVB, and I don't think --enable-dvb was  
> an option included at build?
>
> http://www.mythtv.org/wiki/index.php/DVB
>
> When I do a make of the port, I see the following:
>
> Video4Linux sup. yes
> ivtv support     yes
> FireWire support no
> DVB support      no [/usr/include]
> DBox2 support    yes
>
>
>
> Is this all out of the scope of what you guys can help me with? If  
> so, I'll leave you guys out of this, just thought that my reports  
> might be useful - particularly the ones involving the driver....
>
> Do you guys experience the occasional core dump using mythtv-setup?  
> If not, would this be useful to report?
>
>
>
>
>
> - -----------
> Joe Auty
> NetMusician: web publishing software for musicians
> http://www.netmusician.org
> joe at netmusician.org
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (Darwin)
>
> iD8DBQFF5EL7CgdfeCwsL5ERAiaLAJ9vmO75TPvUXzVGAyDCy8EyNpNZSQCffyGZ
> IfP4U/kwGED/9Vl9xh5oC+o=
> =bddt
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-multimedia at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "freebsd-multimedia- 
> unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20070227/7828684e/PGP.pgp


More information about the freebsd-multimedia mailing list