[mythtv-users] Failed to open Hauppauge HVR-2250 TV card

Bob bbq at cavu.com
Tue Jun 19 21:06:34 UTC 2012


Please, please help.

I just cannot get the MythTV backend to work.  I've configured my
capture card (Hauppauge HVR-2250).  This card is listed as supported.

I'm using MythBuntu 12.04 LTS that installs MythTV 0.25.

I've followed the steps recommended by RobotBeard.com "Getting a Haupauge
HVR-2250 to work with MythTV,", including installing his recommended
firmware in /lib/firmware:

  v4l-saa7164-1.0.3.fw
  v4l-saa7164-1.0.3-3.fw
  v4l-saa7164-1.0.2.fw
  dvb-fe-tda10048-1.0.fw

When the logs still complained about missing NXP7164-2010-03-10.1.fw, I
found it on the net and put it there too.  Rebooted.

Now lspci includes:

  03:00.0 Multimedia controller: Philips Semiconductors SAA7164 (rev 81)
  04:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION] (rev
    a2)
  04:00.1 Audio device: NVIDIA Corporation High Definition Audio
    Controller (rev a1)

It was recommended that I say that this card is DVB.  Note that it has
two tuners and RobotBreard.com recommends treating each one as a
separate card, which I have done.

Now when I do:

  ls -l lld /dev/dvb/*/*

I see:

  crw-rw----+ 1 root video 212, 1 Jun 15 00:17 /dev/dvb/adapter0/demux0
  crw-rw----+ 1 root video 212, 2 Jun 15 00:17 /dev/dvb/adapter0/dvr0
  crw-rw----+ 1 root video 212, 0 Jun 15 00:17 /dev/dvb/adapter0/frontend0
  crw-rw----+ 1 root video 212, 3 Jun 15 00:17 /dev/dvb/adapter0/net0
  crw-rw----+ 1 root video 212, 5 Jun 15 00:17 /dev/dvb/adapter1/demux0
  crw-rw----+ 1 root video 212, 6 Jun 15 00:17 /dev/dvb/adapter1/dvr0
  crw-rw----+ 1 root video 212, 4 Jun 15 00:17 /dev/dvb/adapter1/frontend0
  crw-rw----+ 1 root video 212, 7 Jun 15 00:17 /dev/dvb/adapter1/net0


On the Capture card setup I specified each half as:

  [DVDB: /dev/dvb/adapter0/frontend0] (DVBinput)->(None)
and
  [DVDB: /dev/dvb/adapter1/frontend0] (DVBinput)->(None)

Note that I could not change the input from "None".  I suspect that this
may be my problem.


On Input conection I have:

  [DVB: /dev/dvb/adapter0/frontend0] (DVBInput)->(None)
and
  [DVB: /dev/dvb/adapter1/frontend0] (DVBInput)->(None)


On Profile Group I have

  Name: Profile 1
  Card-Type: DVB TV capture card (v3.x)


Yes, I have connected source to input:

  capture device: [DVB: /dev/dvb/adapter0/frontend0}
  Input:          DVInput
  Video source:   (None)  -- NOTE that I cannot change this from None;
                             could this be related to the problem?
and
  capture device: [DVB: /dev/dvb/adapter1/frontend0}
  Input:          DVInput
  Video source:   (None)  -- NOTE that I cannot change this from None;
                             could this be related to the problem?

For the catelog I set up the one for North America with a valid account
and password.

I manually started MySQL since MythBuntu apparently wasn't smart enough
to add it to /etc/rc5.d.


When I invoke mythbackend in foreground I the the following
(UNindented lines are my comments):

  2012-06-15 00:28:22.132942 C  mythbackend version: fixes/0.25 [v0.25]
    www.mythtv.org
  2012-06-15 00:28:22.133014 N  Enabled verbose msgs:  general
  2012-06-15 00:28:22.133085 N  Setting Log Level to LOG_INFO
  2012-06-15 00:28:22.133236 I  Added logging to the console
  2012-06-15 00:28:22.133258 I  Added database logging to table logging
  2012-06-15 00:28:22.133513 N  Setting up SIGHUP handler
  2012-06-15 00:28:22.133744 N  Using runtime prefix = /usr
  2012-06-15 00:28:22.133911 N  Using configuration directory =
    /root/.mythtv
  2012-06-15 00:28:22.134673 I  Assumed character encoding: en_US.UTF-8
  2012-06-15 00:28:22.206065 E  Unable to read configuration file
    mysql.txt
Where does it expect mysql.txt?
I have:
/home/mythtv/.mythtv/mysql.txt -> /etc/mythtv/mysql.txt
/home/bob/.mythtv/mysql.txt -> /etc/mythtv/mysql.txt
/etc/mythtv/mysql.txt
  2012-06-15 00:28:22.206635 N  Empty LocalHostName.
  2012-06-15 00:28:22.206663 I  Using localhost value of myth
  2012-06-15 00:28:22.376692 N  Setting QT default locale to EN_US
  2012-06-15 00:28:22.376832 I  Current locale EN_US
  2012-06-15 00:28:22.376968 N  Reading locale defaults from
    /usr/share/mythtv//locales/en_us.xml
  2012-06-15 00:28:22.398150 I  Current MythTV Schema Version
    (DBSchemaVer): 1299
  2012-06-15 00:28:22.399347 I  Loading en_us translation for module
    mythfrontend
  2012-06-15 00:28:22.401766 N  MythBackend: Starting up as the master
    server.
  2012-06-15 00:28:22.411891 E  TVRec(1): Problem finding starting
    channel, setting to default of '3'.
  2012-06-15 00:28:22.704556 E  InitializeInputs(): 
  			Could not get inputs for the capturecard.
  			Perhaps you have forgotten to bind video
  			sources to your card's inputs?
  2012-06-15 00:28:22.704695 E  ChannelBase: CreateChannel() Error: Failed
    to open device /dev/dvb/adapter0/frontend0
  2012-06-15 00:28:22.704825 E  Problem with capture cardsCard 1failed init
  2012-06-15 00:28:22.708630 E  TVRec(2): Problem finding starting
    channel, setting to default of '3'.
(It would not let me specify a starting channel.)
  2012-06-15 00:28:22.999579 E  InitializeInputs(): 
  			Could not get inputs for the capturecard.
  			Perhaps you have forgotten to bind video
  			sources to your card's inputs?
HELP!!!!!!!!!!!!!!!!!!
  2012-06-15 00:28:22.999682 E  ChannelBase: CreateChannel() Error: Failed
    to open device /dev/dvb/adapter1/frontend0
  2012-06-15 00:28:22.999745 E  Problem with capture cardsCard 2failed init
  2012-06-15 00:28:23.003491 E  TVRec(3): Problem finding starting
  channel, setting to default of '3'.
(It would not let me specify a starting channel.)
  2012-06-15 00:28:23.004291 E  InitializeInputs(): 
  			Could not get inputs for the capturecard.
  			Perhaps you have forgotten to bind video
  			sources to your card's inputs?
HELP!!!!!!!!!!!!!!!!!!
  2012-06-15 00:28:23.004382 E  ChannelBase: CreateChannel() Error: Failed
    to open device file:/
  2012-06-15 00:28:23.004426 E  Problem with capture cardsCard 3failed init
  2012-06-15 00:28:23.004460 W  MythBackend: No valid capture cards are
    defined in the database.
  2012-06-15 00:28:23.007320 W  Scheduler: Listings source '' is defined,
    but is not attached to a card input.
  2012-06-15 00:28:23.007350 E  Scheduler: No channel sources defined in
    the database

Of course the frontend cannot connect to the backend because the backend
fails to start up normally.

Thanks for any help!!!
Bob
bbq at cavu.com


More information about the mythtv-users mailing list