10.04-beta1 hvr-2200 station not getting signal

Bug #548609 reported by map7
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Expired
Undecided
Unassigned

Bug Description

I've just tried out Mythbuntu 10.04-beta1 64bit with the built in driver for the saa-7164. I downloaded firmware for the HVR-2200, then I had to scan the channels using the scan command:

$ scan /usr/share/dvb/dvb-t/au-Melbourne -o zap -a 1 | tee ~/.mythtv/channels.conf

Then I had to import this in my scan so that I could get channels SBS and Nine. I've heard that these channels are special in their encoding.

If I do the normal scan I pick up channels 2, 7, and 10. The only way I get SBS & nine is through the manual scan. But when I go and try to watch these stations I get errors.

Here is the output on the command line after starting mythfrontend and going to the SBS channel:

2010-03-26 18:30:00.918 ProgramInfo: Updated pathname '':'' -> '1003_20100326183000.mpg'
2010-03-26 18:30:07.421 RingBuf(/var/lib/mythtv/livetv/1003_20100326183000.mpg): Invalid file (fd -1) when opening '/var/lib/mythtv/livetv/1003_20100326183000.mpg'.
2010-03-26 18:30:07.421 NVP(1), Error: JumpToProgram's OpenFile failed.
2010-03-26 18:30:07.421 NVP(1), Error: Unknown recorder error, exiting decoder
2010-03-26 18:30:07.631 TV: Attempting to change from Watching WatchingLiveTV to None
2010-03-26 18:30:08.023 TV: Changing from Watching WatchingLiveTV to None
2010-03-26 18:30:08.051 TV: Attempting to change from None to None
2010-03-26 18:30:08.052 SendReceiveStringList(GET_FREE_RECORDER_COUNT) called from UI thread
2010-03-26 18:30:08.057 SendReceiveStringList(GET_NEXT_FREE_RECORDER,-1) called from UI thread
2010-03-26 18:30:08.081 TV: Attempting to change from None to Watching WatchingLiveTV
2010-03-26 18:30:08.081 MythContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2010-03-26 18:30:08.081 Using protocol version 56
2010-03-26 18:30:08.100 Spawning LiveTV Recorder -- begin
2010-03-26 18:30:08.268 Spawning LiveTV Recorder -- end
2010-03-26 18:30:08.269 ProgramInfo: Updated pathname '':'' -> '1002_20100326183008.mpg'
2010-03-26 18:30:08.272 We have a playbackURL(/var/lib/mythtv/livetv/1002_20100326183008.mpg) & cardtype(DUMMY)
2010-03-26 18:30:08.273 We have a RingBuffer
2010-03-26 18:30:08.324 playCtx, Error: Attempting to setup a player, but it already exists.
2010-03-26 18:30:08.325 TV Error: LiveTV not successfully started
2010-03-26 18:30:13.142 SendReceiveStringList(MESSAGE,SYSTEM_EVENT PLAY_STOPPED SENDER mythserver) called from UI thread

After about 15minutes I get the error in mythfrontend:
Error opening jump program file buffer

Here is the error I get from the backend:
2010-03-26 18:37:54.725 MainServer::ANN Playback
2010-03-26 18:37:54.739 adding: mythserver as a client (events: 0)
2010-03-26 18:37:54.762 TVRec(1): Changing from None to Watching WatchingLiveTV
2010-03-26 18:37:54.777 TVRec(1): HW Tuner: 1->1
2010-03-26 18:37:55.101 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2010-03-26 18:37:55.119 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:55.155 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:55.273 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:56.251 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:56.274 Finished recording Can We Help?: channel 1002
2010-03-26 18:37:56.296 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:56.307 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:56.319 Finished recording Can We Help?: channel 1002
2010-03-26 18:37:56.332 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:37:56.347 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2010-03-26 18:37:56.352 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:56.363 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:37:56.443 ProgramInfo: Updated pathname '':'' -> '1002_20100326183755.mpg'
2010-03-26 18:37:56.463 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:37:57.885 RecBase(1:/dev/dvb/adapter0/frontend0): GetKeyframePositions(13,9223372036854775807,#1) out of 3
2010-03-26 18:37:57.969 RecBase(1:/dev/dvb/adapter0/frontend0): GetKeyframePositions(13,9223372036854775807,#1) out of 3
2010-03-26 18:37:59.711 TVRec(1): HW Tuner: 1->1
2010-03-26 18:38:00.094 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:38:00.107 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:38:00.119 Finished recording Can We Help?: channel 1002
2010-03-26 18:38:00.182 mythbackend version: trunk [23623] www.mythtv.org
2010-03-26 18:38:00.229 Using runtime prefix = /usr
2010-03-26 18:38:00.235 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2010-03-26 18:38:00.239 Using configuration directory = /home/mythtv/.mythtv
2010-03-26 18:38:00.251 Empty LocalHostName.
2010-03-26 18:38:00.252 ProgramInfo: Updated pathname '':'' -> '1003_20100326183800.mpg'
2010-03-26 18:38:00.262 Using localhost value of mythserver
2010-03-26 18:38:00.274 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:38:00.292 New DB connection, total: 1
2010-03-26 18:38:00.296 ProgramInfo: Updated pathname '':'' -> '1003_20100326183800.mpg'
2010-03-26 18:38:00.309 Connected to database 'mythconverg' at host: localhost
2010-03-26 18:38:00.318 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:38:00.329 Closing DB connection named 'DBManager0'
2010-03-26 18:38:00.351 Connected to database 'mythconverg' at host: localhost
2010-03-26 18:38:00.367 Current MythTV Schema Version (DBSchemaVer): 1254
2010-03-26 18:38:00.374 ProgramInfo: Updated pathname '':'' -> '1002_20100326183756.mpg'
2010-03-26 18:38:00.416 [mp3 @ 0x7f2c7b269380]Header missing
2010-03-26 18:38:00.687 DTVSM(/dev/dvb/adapter0/frontend0) Error: Wrong PMT; pmt->pn(788) desired(785)
2010-03-26 18:38:00.713 DTVSM(/dev/dvb/adapter0/frontend0) Error: Wrong PMT; pmt->pn(787) desired(785)
2010-03-26 18:38:00.717 DTVSM(/dev/dvb/adapter0/frontend0) Error: Wrong PMT; pmt->pn(786) desired(785)
2010-03-26 18:38:00.740 DTVSM(/dev/dvb/adapter0/frontend0) Error: Wrong PMT; pmt->pn(799) desired(785)
2010-03-26 18:38:00.766 DTVSM(/dev/dvb/adapter0/frontend0) Error: Wrong PMT; pmt->pn(798) desired(785)
2010-03-26 18:38:00.819 DTVSM(/dev/dvb/adapter0/frontend0) Error: Wrong PMT; pmt->pn(789) desired(785)
2010-03-26 18:38:02.843 AFD: Opened codec 0x1e16ba0, id(MPEG2VIDEO) type(Video)
2010-03-26 18:38:02.850 AFD: codec MP2 has 2 channels
2010-03-26 18:38:02.861 AFD: Opened codec 0x1e14410, id(MP2) type(Audio)
2010-03-26 18:38:02.872 AFD Error: Could not find decoder for codec (DVB_TELETEXT), ignoring.
2010-03-26 18:38:02.931 Preview: Grabbed preview '/var/lib/mythtv/livetv/1002_20100326183756.mpg' 720x576@64s
2010-03-26 18:38:02.974 ~MythContext waiting for threads to exit.

I think the problem is to do with the codec missing
2010-03-26 18:38:02.872 AFD Error: Could not find decoder for codec (DVB_TELETEXT), ignoring.

Revision history for this message
map7 (map7) wrote :

I can view SBS using mplayer

Had to install dvbstream and mplayer-nogui

In the first terminal I type
$ tzap -a 1 -c ~/.mythtv/channels.conf -r 'SBS ONE'

Second terminal
$ dvbstream -c 1 -ps -o 161 81 | mplayer -

Revision history for this message
Kane Partridge (kanetp) wrote :

I can confirm that I have exactly the same problem.

I am located in Melbourne, I can tune into all channels except SBS and 9 on both of my HVR-2200 (two cards in system).
I also have a DTV1000T in the same system, which can tune into SBS and 9 just fine.

The signal, snr, ber values coming out of the HVR-2200 driver seem very different to the DTV1000T i'm not sure if this has something to do with it, perhaps mythtv is misinterpreting it.

I have had this problem for over a year, ubuntu and mythtv updates over the year have had no affect on the problem.

The output of tzap scanning SBS ONE on the DTV1000T:

tuning to 536625000 Hz
video pid 0x00a1, audio pid 0x0051
status 01 | signal 0000 | snr 8000 | ber 00003fff | unc 00000000 |
status 1f | signal 2626 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 2626 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 2626 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 2626 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK

The output of tzap scanning SBS ONE on HVR-2200:

tuning to 536625000 Hz
video pid 0x00a1, audio pid 0x0051
status 00 | signal 5454 | snr 0015 | ber 0000ffff | unc 00000000 |
status 1f | signal fefe | snr 00f6 | ber 00000017 | unc 00000048 | FE_HAS_LOCK
status 1f | signal fefe | snr 0000 | ber 00000011 | unc 00000048 | FE_HAS_LOCK
status 1f | signal fefe | snr 00f6 | ber 00000021 | unc 00000048 | FE_HAS_LOCK
status 1f | signal fefe | snr 00f6 | ber 0000001d | unc 00000048 | FE_HAS_LOCK

the HVR-2200 reports bit error rates whereas the DTV1000T does not, snr also seems quite low, perhaps the HVR-2200 has a different scale or meaning for these values.

If there are more test anyone can suggest to perform please let me know, I have been living without SBS and 9 for so long I have almost given up on my DVR! :(

Revision history for this message
Thomas Mashos (tgm4883) wrote :

Confirming since it's verified by multiple users

Changed in mythbuntu:
status: New → Confirmed
Revision history for this message
Thomas Mashos (tgm4883) wrote :

We really do appreciate you opening this ticket to help improve Mythbuntu, but it needs to be closed for a number of reasons. The biggest one is that upstream has moved on to a new version and believes this to be fixed. Could you please verify if this issue still exists in the latest version?

Please do not let the closing of this ticket dissuade you from opening a new ticket if this (or any other) problem occurs with the newer versions.

Thomas Mashos (tgm4883)
Changed in mythbuntu:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.