LinHES Forums
http://forum.linhes.org/

HDPVR issues on LinHES 7 [SOLVED]
http://forum.linhes.org/viewtopic.php?f=21&t=22231
Page 1 of 1

Author:  ethernut [ Thu Aug 25, 2011 9:29 am ]
Post subject:  HDPVR issues on LinHES 7 [SOLVED]

I dusted off the old MBE/FE and did a 7.02 install, then did a pacman -Syu to bring up to the latest. I'm at kernel 2.6.39-LINHES with latest Myth code as of yesterday.

i.e. core-testing/mythtv 0.24-21 (pvr) [installed]
A Homebrew PVR project


I have a DCT6414 III Cable box and a HDPVR. Which has worked pretty darn well in the past.

HDPVR:

I can cat /dev/video0 > test.ts and it works great on SD and HD channels.
I can mythchanger -c 992 and it works great.

The Issue:

The problem I'm having is the Mythbackend isn't even attempting to change channels. And when I go to watch TV, it doesnt trigger the HDPVR to start. I have "/usr/bin/mythchanger -c" as the channel change script. I even tried the old 6200ch for grins which also works from the command line, but doesnt work. Heck I even set the channel change script to /bin/true to just have it pick up and record, but the HDPVR never triggers. I've set both my starting channel and preset tuner channel to 992 in mythtv-settings.


Below is my debug output of mythbackend using -v channel. At .995 I selected watch TV. MBE never tries to change channel or trigger recording on the HDPVR.


Help a brother out? What am I missing?

Thx!

Bryan

[root@mythtv ~]# mythbackend -v channel
2011-08-25 11:10:53.289 mythbackend version: 0.24-fixes [g515171d] www.mythtv.org
2011-08-25 11:10:53.290 Using runtime prefix = /usr
2011-08-25 11:10:53.290 Using configuration directory = /root/.mythtv
2011-08-25 11:10:53.290 Empty LocalHostName.
2011-08-25 11:10:53.290 Using localhost value of mythtv
2011-08-25 11:10:53.315 New DB connection, total: 1
2011-08-25 11:10:53.319 Connected to database 'mythconverg' at host: localhost
2011-08-25 11:10:53.322 Closing DB connection named 'DBManager0'
2011-08-25 11:10:53.323 Connected to database 'mythconverg' at host: localhost
2011-08-25 11:10:53.324 Current locale EN_US
2011-08-25 11:10:53.324 Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2011-08-25 11:10:53.332 Current MythTV Schema Version (DBSchemaVer): 1264
2011-08-25 11:10:53.335 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2011-08-25 11:10:53.342 Enabling Upnpmedia rebuild thread.
2011-08-25 11:10:54.548 MythBackend: Starting up as the master server.
2011-08-25 11:10:54.551 New DB connection, total: 2
2011-08-25 11:10:54.551 Connected to database 'mythconverg' at host: localhost
2011-08-25 11:10:54.553 TVRec(1): Start channel: 992.
2011-08-25 11:10:54.554 Channel(/dev/video0): Device name 'Hauppauge HD PVR' driver 'hdpvr'.
2011-08-25 11:10:54.554 New DB connection, total: 3
2011-08-25 11:10:54.554 Connected to database 'mythconverg' at host: localhost
2011-08-25 11:10:54.584 ChannelBase(1): Input #1: 'Component' schan(992) sourceid(1) ccid(1)
2011-08-25 11:10:54.584 ChannelBase(1): Current Input #1: 'Component'
2011-08-25 11:10:54.585 Global TVFormat Setting 'NTSC'
2011-08-25 11:10:54.585 Channel(/dev/video0): Input #1: 'Component' schan(992) tun(992) v4l1(NTSC) v4l2(NTSC)
2011-08-25 11:10:54.585 Channel(/dev/video0): SetFormat(Default) fmt(NTSC) input(1)
2011-08-25 11:10:54.585 Channel(/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2)
2011-08-25 11:10:54.621 Channel(/dev/video0): SetFormat(NTSC) fmt(NTSC) input(1)
2011-08-25 11:10:54.623 Channel(/dev/video0)::SwitchToInput(in 1, '')
2011-08-25 11:10:54.623 Channel(/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2)
2011-08-25 11:10:54.647 Channel(/dev/video0) Error: GetCurrentChannelNum(992): Failed to find Channel
2011-08-25 11:10:54.647 Channel(/dev/video0)::TuneTo(992): curList[-1].freq(-1)
2011-08-25 11:10:54.647 Channel(/dev/video0)::TuneTo(992): Error, failed to find channel.
2011-08-25 11:10:54.647 ChannelBase(1): Looking for startchannel '992' on input 'Component'
2011-08-25 11:10:54.649 ChannelBase(1): Found startchannel '992' on input 'Component'
2011-08-25 11:10:54.656 New DB scheduler connection
2011-08-25 11:10:54.656 Connected to database 'mythconverg' at host: localhost
2011-08-25 11:10:54.658 Main::Registering HttpStatus Extension
2011-08-25 11:10:54.658 Enabled verbose msgs: important general channel
2011-08-25 11:10:54.662 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2011-08-25 11:10:57.661 Reschedule requested for id -1.
2011-08-25 11:10:57.682 Scheduled 0 items in 0.0 = 0.00 match + 0.02 place
2011-08-25 11:10:57.684 Seem to be woken up by USER
2011-08-25 11:11:03.346 UPnpMedia: BuildMediaMap VIDEO scan starting in :/myth/video:
2011-08-25 11:11:03.349 UPnpMedia: BuildMediaMap Done. Found 4 objects
2011-08-25 11:11:24.982 MainServer::ANN Monitor
2011-08-25 11:11:24.982 adding: mythtv as a client (events: 0)
2011-08-25 11:11:24.983 MainServer::ANN Monitor
2011-08-25 11:11:24.983 adding: mythtv as a client (events: 1)
2011-08-25 11:11:24.988 MainServer::ANN Playback
2011-08-25 11:11:24.989 adding: mythtv as a client (events: 0)
2011-08-25 11:11:24.995 TVRec(1): Changing from None to WatchingLiveTV
2011-08-25 11:11:24.995 ChannelBase(1): Looking for startchannel '4' on input 'Component'
2011-08-25 11:11:24.997 ChannelBase(1): Found startchannel '4' on input 'Component'
2011-08-25 11:11:24.998 TVRec(1): HW Tuner: 1->1
2011-08-25 11:11:24.998 Channel(/dev/video0): Device name 'Hauppauge HD PVR' driver 'hdpvr'.
2011-08-25 11:11:25.028 ChannelBase(1): Input #1: 'Component' schan(992) sourceid(1) ccid(1)
2011-08-25 11:11:25.028 ChannelBase(1): Current Input #1: 'Component'
2011-08-25 11:11:25.028 Global TVFormat Setting 'NTSC'
2011-08-25 11:11:25.028 Channel(/dev/video0): Input #1: 'Component' schan(992) tun(992) v4l1(NTSC) v4l2(NTSC)
2011-08-25 11:11:25.028 Channel(/dev/video0): SetFormat(Default) fmt(NTSC) input(1)
2011-08-25 11:11:25.031 LoadFromScheduler(): Error, called from backend.
2011-08-25 11:11:25.034 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2011-08-25 11:11:25.052 Channel(/dev/video0)::SwitchToInput(in 1, '')
2011-08-25 11:11:25.053 Channel(/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2)
2011-08-25 11:11:25.090 Channel(/dev/video0) Error: GetCurrentChannelNum(992): Failed to find Channel
2011-08-25 11:11:25.090 Channel(/dev/video0)::TuneTo(992): curList[-1].freq(-1)
2011-08-25 11:11:25.090 Channel(/dev/video0)::TuneTo(992): Error, failed to find channel.
2011-08-25 11:11:25.093 SM(/dev/video0)::Start: begin
2011-08-25 11:11:25.093 SM(/dev/video0)::Start: end
2011-08-25 11:11:40.188 TVRec(1): Changing from WatchingLiveTV to None
2011-08-25 11:11:40.188 SM(/dev/video0)::Stop: begin
2011-08-25 11:11:40.234 SM(/dev/video0)::Stop: end

Author:  ethernut [ Fri Aug 26, 2011 2:35 pm ]
Post subject: 

I did a fresh install of 7.02, changed nothing upon install. It does the same thing. Wont trigger the HDPVR when I go to watch TV and wont attempt to change channels.

#cat /dev/video0 > test.ts
and
#mythchanger -c

works without a flaw from the command line...

Author:  ethernut [ Fri Aug 26, 2011 7:33 pm ]
Post subject: 

Crud I hate figuring something all by my lonesome, sinking hours upon hours on insanity google searches that yield *zero* useful information... betcha all been there..

This one, it turns out was easy.. and all the clues are in my debug above..

It was a layer 8 issues for sure..

read this slowly:

IF YOU HAVE AN HDPVR, DO NOT PUT A CHANNEL IN THE PRESET TUNER TO CHANNEL SECTION IN MYTHTV-SETTINGS. LEAVE IT BLANK..

ok, off soapbox, there I said it...

...and durn it, it also cryptically (or not so cryptically) alludes to that same fact in the mythtv hdpvr wiki page. It says "You must leave Preset tuner to channel empty or LiveTV and channel changes will not work."

DUH.. [smacks head with hammer]

Anyway.. SOLVED! Fully upgraded 7.0.2 with pacman -Syu and updated pacman.conf for latest testing repositories and everything is hunky-dory.. Recording my Doctor Who marathon and happy as a lark on Kenel 2.6.39-LINHES.

Thanks Team!

Author:  mattbatt [ Fri Aug 26, 2011 10:13 pm ]
Post subject: 

great to hear. Been there done that. It's moments like these that you realize MythTV is a hobby not an end-user product.

Author:  ethernut [ Sat Aug 27, 2011 2:09 am ]
Post subject: 

No Joke.. I *love* the ability to watch TV *my* way. But when it doesn't work.. dude....

Now if it'd just be stable enough so my wife wouldn't break it every time she touches the control, I'd be happy. But that might be a bit much to ask.. She loves to channel surf (she refuses to use the guide :roll: :roll: :roll: :roll: ), and that doesn't work too well with a HDPVR..

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/