Fwd: MythTV with USB DVB-T

Len Lawrence <lcl-s9phx+4gxdMG2Il/[email protected]> Sat, 11 Sep 2010 01:30:33 +0100
Newsgroups gmane.linux.mandrake.newbie
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------030706020505080600080509
Content-Type: multipart/alternative;
 boundary="------------060103080905010201090202"

--------------060103080905010201090202
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit



-------- Original Message --------
Subject: 	MythTV with USB DVB-T
Date: 	Sat, 11 Sep 2010 01:28:16 +0100
From: 	Len Lawrence <lcl-s9phx+4gxdMG2Il/[email protected]>
To: 	expert-4qZELD6FgxheH41UXmfQsti2O/[email protected]



Mandriva 2009.1, 2.6.29.1-desktop-4mnb

Devices such as the Hauppage WinTV DVB-T Nova USB stick have been
widely reported as compatible with kernels later that 2.6.27 so I
installed one and the operating system appeared to recognize it once
the firmware file was copied to /lib/firmware.  This created the
/dev/dvb tree and switched on the green LED on the USB device.  There
are two LEDs - presumably for the two tuners (?).

A listing from lsmod contains these entries:

dvb_usb                18764  1 dvb_usb_dib0700
dvb_core              103468  1 dvb_usb
dib3000mc              14056  1 dvb_usb_dib0700
dibx000_common          4068  3 dib7000p,dib7000m,dib3000mc
dib0070                 8356  3 dvb_usb_dib0700

I had already installed MythTV earlier and simply ran the setup
program and the mythfilldatabase --manual command to connect the video
source (antenna) to the tuner card.  Subsequently I was able to scan
for Freeview channels, about half of which came in at 60% to 80%
signal strength.  However when I tried "Watch TV" the screen flashed
and reverted to the menu.  Can't remember the errors - might have been
something to do with the mySQL database.  mysqld was running and so
was the mythtv backend.

After several hours of trying I decided to delete all the mythtv
components; urpme -a myth and then delete mythconverg.  Reinstalled
mythtv but could no longer create the database.  Can't remember how I
did it in the first case.  None of the other possibilities for TV
viewing work; they all seem to want /dev/video or /dev/v4l, and kwintv
could not be located in Mandriva.  References on Ubuntu forums to
using vlc to display TV indicated that dvb-utils was required but this
is not part of Mandriva's distribution.

So can anybody give me a clear idea of what I need to do to set up
MythTV again?  How do you create the initial database for instance?
The online manual only tells me to do what I am doing anyway.  No
troubleshooting tips.

I have attached the terminal output from a mythtv-setup session in
case anyone cares to check it.

Apologies for the length of this query.

Len


--------------060103080905010201090202
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
 cellspacing="0">
  <tbody>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th>
      <td>MythTV with USB DVB-T</td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
      <td>Sat, 11 Sep 2010 01:28:16 +0100</td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
      <td>Len Lawrence <a class="moz-txt-link-rfc2396E" href="mailto:lcl-s9phx+4gxdMG2Il/[email protected]">&lt;lcl-s9phx+4gxdMG2Il/[email protected]&gt;</a></td>
    </tr>
    <tr>
      <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
      <td><a class="moz-txt-link-abbreviated" href="mailto:expert-4qZELD6FgxheH41UXmfQsti2O/[email protected]">expert-4qZELD6FgxheH41UXmfQsti2O/[email protected]</a></td>
    </tr>
  </tbody>
</table>
<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<big><tt>Mandriva 2009.1, 2.6.29.1-desktop-4mnb<br>
<br>
Devices such as the Hauppage WinTV DVB-T Nova USB stick have been<br>
widely reported as compatible with kernels later that 2.6.27 so I<br>
installed one and the operating system appeared to recognize it once<br>
the firmware file was copied to /lib/firmware.&nbsp; This created the<br>
/dev/dvb tree and switched on the green LED on the USB device.&nbsp; There<br>
are two LEDs - presumably for the two tuners (?).<br>
<br>
A listing from lsmod contains these entries:<br>
<br>
dvb_usb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18764&nbsp; 1 dvb_usb_dib0700<br>
dvb_core&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 103468&nbsp; 1 dvb_usb<br>
dib3000mc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14056&nbsp; 1 dvb_usb_dib0700<br>
dibx000_common&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4068&nbsp; 3 dib7000p,dib7000m,dib3000mc<br>
dib0070&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8356&nbsp; 3 dvb_usb_dib0700<br>
<br>
I had already installed MythTV earlier and simply ran the setup<br>
program and the mythfilldatabase --manual command to connect the video<br>
source (antenna) to the tuner card.&nbsp; Subsequently I was able to scan<br>
for Freeview channels, about half of which came in at 60% to 80%<br>
signal strength.&nbsp; However when I tried "Watch TV" the screen flashed<br>
and reverted to the menu.&nbsp; Can't remember the errors - might have been<br>
something to do with the mySQL database.&nbsp; mysqld was running and so<br>
was the mythtv backend.<br>
<br>
After several hours of trying I decided to delete all the mythtv<br>
components; urpme -a myth and then delete mythconverg.&nbsp; Reinstalled<br>
mythtv but could no longer create the database.&nbsp; Can't remember how I<br>
did it in the first case.&nbsp; None of the other possibilities for TV<br>
viewing work; they all seem to want /dev/video or /dev/v4l, and kwintv<br>
could not be located in Mandriva.&nbsp; References on Ubuntu forums to<br>
using vlc to display TV indicated that dvb-utils was required but this<br>
is not part of Mandriva's distribution.<br>
<br>
So can anybody give me a clear idea of what I need to do to set up<br>
MythTV again?&nbsp; How do you create the initial database for instance?<br>
The online manual only tells me to do what I am doing anyway.&nbsp; No<br>
troubleshooting tips.<br>
<br>
I have attached the terminal output from a mythtv-setup session in<br>
case anyone cares to check it.<br>
<br>
Apologies for the length of this query.<br>
<br>
Len<br>
</tt></big><br>
</body>
</html>

--------------060103080905010201090202--

--------------030706020505080600080509
Content-Type: text/plain;
 name="mythtvsetup"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="mythtvsetup"

[lcl@altair ...]$ mythtv-setup
2010-09-11 00:14:32.588 Using runtime prefix = /usr
2010-09-11 00:14:32.595 XScreenSaver support enabled
2010-09-11 00:14:32.603 DPMS is active.
2010-09-11 00:14:32.604 Empty LocalHostName.
2010-09-11 00:14:32.604 Using localhost value of altair
2010-09-11 00:14:32.608 New DB connection, total: 1
2010-09-11 00:14:32.610 Using WOL to wakeup database server (Try 1 of 2)
WOLsqlServerCommand not set
2010-09-11 00:14:34.614 Using WOL to wakeup database server (Try 2 of 2)
WOLsqlServerCommand not set
2010-09-11 00:14:36.617 WOL failed, unable to connect to database!
2010-09-11 00:14:36.617 Unable to connect to database!
2010-09-11 00:14:36.617 Driver error was [1/1049]:
QMYSQL3: Unable to connect
Database error was:
Unknown database 'mythconverg'

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2010-09-11 00:14:36.668 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
................................................................................
2010-09-11 00:14:39.336 UPnPautoconf() - No UPnP backends found
2010-09-11 00:14:39.336 No UPnP backends found
2010-09-11 00:14:39.338 Primary screen 0.
2010-09-11 00:14:39.338 Using screen 0, 1920x1200 at 0,0
2010-09-11 00:14:39.338 No theme dir: /home/lcl/.mythtv/themes/blue
2010-09-11 00:14:39.339 Switching to square mode (blue)
2010-09-11 00:14:39.355 Using the Qt painter
2010-09-11 00:14:39.355 JoystickMenuClient Error: Joystick disabled - Failed to read /home/lcl/.mythtv/joystickmenurc
mythtv: could not connect to socket
mythtv: No such file or directory
2010-09-11 00:14:39.355 lirc_init failed for mythtv, see preceding messages
2010-09-11 00:14:46.707 DB Error (Clear setting):
Query was:

No error type from QSqlError?  Strange...
2010-09-11 00:14:46.707 DB Error (SaveSettingOnHost query failure: ):
Query was:

No error type from QSqlError?  Strange...
2010-09-11 00:14:46.707 DB Error (Clear setting):
Query was:

No error type from QSqlError?  Strange...
2010-09-11 00:14:46.707 DB Error (SaveSettingOnHost query failure: ):
Query was:

No error type from QSqlError?  Strange...
2010-09-11 00:16:22.084 Writing settings file /home/lcl/.mythtv/mysql.txt
2010-09-11 00:16:22.084 Closing DB connection named 'DBManager0'
2010-09-11 00:16:22.119 Using WOL to wakeup database server (Try 1 of 2)
WOLsqlServerCommand not set
2010-09-11 00:16:24.123 Using WOL to wakeup database server (Try 2 of 2)
WOLsqlServerCommand not set
2010-09-11 00:16:26.126 WOL failed, unable to connect to database!
2010-09-11 00:16:26.126 Unable to connect to database!
2010-09-11 00:16:26.126 Driver error was [1/1049]:
QMYSQL3: Unable to connect
Database error was:
Unknown database 'mythconverg'

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2010-09-11 00:16:26.177 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2010-09-11 00:16:26.227 Cannot login to database?
2010-09-11 00:16:26.227 Cannot login to database?
2010-09-11 00:16:26.228 Primary screen 0.
2010-09-11 00:16:26.228 Using screen 0, 1920x1200 at 0,0
2010-09-11 00:16:26.228 No theme dir: /home/lcl/.mythtv/themes/blue
2010-09-11 00:16:26.229 Switching to square mode (blue)
2010-09-11 00:16:26.235 Using the Qt painter
2010-09-11 00:16:26.235 JoystickMenuClient Error: Joystick disabled - Failed to read /home/lcl/.mythtv/joystickmenurc
mythtv: could not connect to socket
mythtv: No such file or directory
2010-09-11 00:16:26.235 lirc_init failed for mythtv, see preceding messages
2010-09-11 00:16:26.456 DB Error (Clear setting):
Query was:

No error type from QSqlError?  Strange...
2010-09-11 00:16:26.456 DB Error (SaveSettingOnHost query failure: ):
Query was:

No error type from QSqlError?  Strange...
2010-09-11 00:16:36.748 User cancelled database configuration
2010-09-11 00:16:36.784 Deleting UPnP client...
2010-09-11 00:16:37.910 Failed to init MythContext, exiting.
 


--------------030706020505080600080509--