Difference between revisions of "User:Wormholio/rosebud"

From MythTV Official Wiki
Jump to: navigation, search
(more detailed example of QMYSQL3 driver error)
(IVTV firmware)
Line 23: Line 23:
 
  # yum install qt4-mysql
 
  # yum install qt4-mysql
 
and then <tt>mythtv-setup</tt> worked just fine.
 
and then <tt>mythtv-setup</tt> worked just fine.
 +
 +
 +
== Hauppauge PVR-150 ==
 +
 +
The <tt>mythtv-setup</tt> program could not connect to the video card, with <tt>dmesg</tt> giving
 +
ivtv0: Unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
 +
ivtv0: Did you put the firmware in the hotplug firmware directory?
 +
 +
The firmware can be obtained from the IVTV wiki [http://ivtvdriver.org/index.php/Firmware here],
 +
along with instructions on how to deploy it. The hotplug firmware directory for Fedora&nbsp;8 is <tt>/lib/firmware</tt>
 +
 +
  
 
== Additional Notes ==
 
== Additional Notes ==
 
* '''Database Initialization:'''  one observation also about the initialization of the database.  Running the file <tt>mythtv/database/mc.sql</tt> through MySQL only sets up the mythtv database user and user permissions, it does not create the database tables or populate them.  That is done later, by <tt>mythtv-setup</tt>
 
* '''Database Initialization:'''  one observation also about the initialization of the database.  Running the file <tt>mythtv/database/mc.sql</tt> through MySQL only sets up the mythtv database user and user permissions, it does not create the database tables or populate them.  That is done later, by <tt>mythtv-setup</tt>
 +
 +
* '''PVR-150 Firmware:''' the video capture card firmware is not loaded once and stored in ROM, it has to be loaded each time the computer is booted.

Revision as of 01:37, 30 September 2008

Home built-machine with:

  • Hauppauge PVR-150
  • Antec Overture Media Center case, Piano Black
  • AMD Athlon 64 3500+ Manchester 2.2GHz Socket 939 67W Single-Core Processor
  • MSI K8N Neo4-F 939 NVIDIA nForce4 ATX AMD Motherboard
  • ASUS EN7100GS512/TD/128M GeForce 7100GS 512MB (128MB onboard) 64-bit GDDR2 PCI Express x16 Video Card
  • X-Gene 01027 Black 86 Normal Keys USB RF Wireless Mini Keyboard with Optical Trackball Mouse
  • TP-Link TL-WN550G 802.11g/b wifi card (Atheros chipset)

Fedora 8

Database connection: I followed the directions on the page Installing_MythTV_SVN_on_Fedora with little difficulty and was able to get mythtv to build and install. (I did tweak the mythweb instructions slightly, to make it the only thing installed on the web server, and as a result to make it install without need of extra configuration). I used qmake-qt4 in place of just qmake, as instructed.

But when it got time to run mythweb-setup I had a problem. At startup I got a menu page asking me for database host, username, password, port, etc, but even though these were correct, it continued to tell me that it could not connect to the database, even though I verified that I could connect to the database "by hand" with those parameters. The error output in the shell window included:

QSqlDatabase warning: QMYSQL3 driver not loaded
QSqlDatabase: available drivers: QSQLLITE 
Unable to connect to database!
No error type from QSqlError?  Strange...
couldn't open db

Searching the web gave some hints about the problem, but no firm answer. But it lead me to figure out the solution: I needed the qt4-mysql package:

# yum install qt4-mysql

and then mythtv-setup worked just fine.


Hauppauge PVR-150

The mythtv-setup program could not connect to the video card, with dmesg giving

ivtv0: Unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
ivtv0: Did you put the firmware in the hotplug firmware directory?

The firmware can be obtained from the IVTV wiki here, along with instructions on how to deploy it. The hotplug firmware directory for Fedora 8 is /lib/firmware


Additional Notes

  • Database Initialization: one observation also about the initialization of the database. Running the file mythtv/database/mc.sql through MySQL only sets up the mythtv database user and user permissions, it does not create the database tables or populate them. That is done later, by mythtv-setup
  • PVR-150 Firmware: the video capture card firmware is not loaded once and stored in ROM, it has to be loaded each time the computer is booted.