pvr250 and MythTV

Joe Auty joe at netmusician.org
Tue Feb 27 22:58:25 UTC 2007


On Feb 27, 2007, at 5:41 PM, usleepless at gmail.com wrote:

> Joe,
>
> On 2/27/07, Joe Auty <joe at netmusician.org> wrote:
>>
>> On Feb 27, 2007, at 2:41 PM, usleepless at gmail.com wrote:
>>
>> > Joe,
>> >
>> > On 2/27/07, Joe Auty <joe at netmusician.org> wrote:
>> >>
>> >> On Feb 27, 2007, at 11:58 AM, usleepless at gmail.com wrote:
>> >>
>> >> > Joe,
>> >> >
>> >> > On 2/27/07, Joe Auty <joe at netmusician.org> wrote:
>> >> >>
>> >> >> On Feb 27, 2007, at 11:51 AM, usleepless at gmail.com wrote:
>> >> >>
>> >> >> > Joe,
>> >> >> >
>> >> >> > On 2/27/07, Joe Auty <joe at netmusician.org> wrote:
>> >> >> >> 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
>> >> >> >
>> >> >> > the mythbackendlog suggest that you have not defined  
>> ( mythtv-
>> >> >> setup,
>> >> >> > 3. ). after you have done that, connect this source to  
>> your card
>> >> >> under
>> >> >> > 4.
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> I don't understand... I'm having this same problem with cat /
>> >> dev/cxm0
>> >> >>  > test.mpg even without the mythbackend running at all. This
>> >> is why
>> >> >> I thought there was a more fundamental problem with the driver.
>> >> >>
>> >> >> As it stands, Myth is not seeing any options in the Input
>> >> Connections
>> >> >> screen (option 4) even though it is able to see my capture  
>> card.
>> >> >
>> >> > the cat command probably fails because you haven't tuned to a
>> >> > channel yet.
>> >> >
>> >> > but i give up if you don't read what i write.
>> >> >
>> >>
>> >>
>> >>
>> >> Okay, I apologize for the miscommunication here.
>> >>
>> >> I think what is supposed to happen is that, like you said, within
>> >> video sources I would normally select "retrieve listings" and  
>> would
>> >> get my lineups, and then would be able to select between cable,
>> >> antenna, and some other stuff... I haven't yet seen this  
>> screen, as
>> >> clicking on retrieve listings just gives me a temporary  
>> progress bar
>> >> and does not change a thing. Looking at the DataDirect forums,  
>> there
>> >> has been an issue with their servers recently, so maybe this is a
>> >> DataDirect issue.
>> >>
>> >> If somebody reading this could kindly confirm this and let me know
>> >> what you get when you click on the "retrieve listings" button  
>> without
>> >> a brand new video source, this would be extremely helpful. I have
>> >> created my Zap2It account at the http://labs.zap2it.com page.
>> >>
>> >> EDIT: their site is now inaccessible, so perhaps this is the  
>> cause of
>> >> my problems after all!
>> >>
>> >>
>> >> Once I can download my Zap2It data, I'm assuming that I'll then be
>> >> able to setup my Input Connections...
>> >>
>> >>
>> >> Again, sorry for this miscommunication, clearly I'm simply not  
>> seeing
>> >> what I"m supposed to. Hopefully this is the last you'll hear from
>> >> me =)
>> >
>> > never mind. i can't help you with Zap2It data, i use xmltv_nl.  
>> but you
>> > are on the right track now. if you have an "input" defined, i am  
>> not
>> > sure if it is important if it retrieves right. you can try to  
>> bind it
>> > in mythtv-setup(4) to your card anyway?.
>> >
>> > this is probably a mythtv issue, not a freebsd one.
>> >
>>
>>
>>
>>
>> Okay, I'm inches away from getting this!
>>
>> I think *this* is a driver issue...
>>
>> I now see several input connections, and I've connected the "tuner"
>> connection to my video source (satellite). I don't yet have an IR
>> Blaster, but I should be able to see TV from whatever channel my
>> satellite is tuned into, right?
>>
>> Well, after completing the entire setup, running the filldatabase
>> command, starting up the backend, no problems until I go to watch TV
>> within the front end, and I get this error message several times to
>> stdout:
>>
>>
>> 2007-02-27 16:56:48.636 MPEGRec(/dev/cxm0) Error: error reading
>> from: /dev/cxm0
>>                          eno: Device not configured (6)
>>
>>
>> I'm getting the same here:
>>
>> # cat /dev/cxm0 > test.mpg
>> cat: /dev/cxm0: Device not configured
>>
>>
>> This is after associating the card with its input through mythtv-
>> setup within Input Connections...
>>
>> Is this, in fact, a driver issue? If not, I'll ask this question
>> elsewhere =)
>
> please post mythbackend log. you have connected your satbox by coax?
>
> do you have composite/svhs cables for that box?
>


I do have these cables, I could give this a try if this would be  
useful....

Is this driver designed to work via a simple cat redirection like the  
pvr250 port does? I'm wondering why you are focussed on the Myth port  
as opposed to capturing video this way?


For starters, here is the mythbackend output to stdout when I start  
it up:

2007-02-27 17:55:26.774 Using runtime prefix = /usr/local
2007-02-27 17:55:26.862 New DB connection, total: 1
2007-02-27 17:55:26.876 Connected to database 'mythconverg' at host:  
localhost
2007-02-27 17:55:26.891 Current Schema Version: 1158
Starting up as the master server.
2007-02-27 17:55:26.924 New DB connection, total: 2
2007-02-27 17:55:26.926 Connected to database 'mythconverg' at host:  
localhost
2007-02-27 17:55:26.936 EITHelper: localtime offset -5:00:00
2007-02-27 17:55:26.956 TVRec(1) Error: Start channel invalid,  
setting to '100' on input Tuner 0 instead.
2007-02-27 17:55:26.963 New DB connection, total: 3
2007-02-27 17:55:26.965 Connected to database 'mythconverg' at host:  
localhost
2007-02-27 17:55:30.812 ChannelBase: Could not find input: Television  
on card when setting channel 100

2007-02-27 17:55:30.844 ChannelBase: Could not find input: Television  
on card when setting channel 49

2007-02-27 17:55:30.852 TVRec(1) Error: Setting start channel '100'  
failed,
                         and backup '49' failed as well.
2007-02-27 17:55:30.980 New DB scheduler connection
2007-02-27 17:55:30.992 Connected to database 'mythconverg' at host:  
localhost
2007-02-27 17:55:31.023 Main::Starting HttpServer
2007-02-27 17:55:31.037 Main::Registering HttpStatus Extension
2007-02-27 17:55:31.059 mythbackend version: 0.20.20060828-3  
www.mythtv.org
2007-02-27 17:55:31.060 Enabled verbose msgs:  important general
2007-02-27 17:55:31.061 AutoExpire: Found 1 recorders w/max rate of  
72 MiB/min
2007-02-27 17:55:31.065 AutoExpire: Required Free Space: 2.1 GB w/ 
freq: 10 min
2007-02-27 17:55:33.022 Reschedule requested for id -1.
2007-02-27 17:55:33.962 Scheduled 0 items in 0.9 = 0.90 match + 0.04  
place
2007-02-27 17:55:33.972 Seem to be woken up by USER


Like I said before, the error message I get from trying to watch TV:

> 2007-02-27 16:56:48.636 MPEGRec(/dev/cxm0) Error: error reading
> from: /dev/cxm0
>                          eno: Device not configured (6)


Which is the same as:

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


Is this information useful?






-----------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
joe at netmusician.org




More information about the freebsd-multimedia mailing list