View Full Version : Installing MythTV on Ubuntu 6.06 (Dapper) with a Hauppauge PVR-150/250/350/500
althepcman
June 2nd, 2006, 08:59 AM
This is my first how to so excuse any mistake but I thoiught I would post it for the benifit of others.
Basically Follow:
http://hyams.webhop.net/mythtv/myth_ubuntu.html
When you get to this:
apt-get install build-essential dialog apache2 mysql-server phpmyadmin gcc-3.4
apt-get install libapache2-mod-auth-mysql
apt-get install dvdauthor mplayer-586
apt-get install ntp ntp-simple
Do this instead:
sudo apt-get install build-essential dialog apache2 mysql-server phpmyadmin gcc-3.4 libapache2-mod-php5
apt-get install libapache2-mod-auth-mysql
apt-get install dvdauthor mplayer-586
apt-get install ntp ntp-simple
You then need to retart apache by doing the following:
sudo /etc/init.d/apache2 restart
When you get to this:
cd utils
wget ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip
wget ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22254_inf.zip
unzip pvr_2.0.24.23035.zip
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
cp HcwMakoA.ROM /usr/lib/hotplug/firmware/v4l-cx25840.fw
cp HcwFalcn.rom /usr/lib/hotplug/firmware/v4l-cx2341x-enc.fw
mv /lib/modules/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/
mv /lib/modules/ivtv-fw-enc.bin /usr/lib/hotplug/firmware/
cp ../v4l-cx2341x-init.mpg /usr/lib/hotplug/firmware
ln -s /usr/lib/hotplug/firmware/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/v4l-cx2341x-dec.fw
Instead do this:
cd utils
wget ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip
wget ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22254_inf.zip
unzip pvr_2.0.24.23035.zip
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
cp HcwMakoA.ROM /lib/firmware/v4l-cx25840.fw
cp HcwFalcn.rom /lib/firmware/v4l-cx2341x-enc.fw
mv /lib/modules/ivtv-fw-dec.bin /lib/firmware/
mv /lib/modules/ivtv-fw-enc.bin /lib/firmware/
cp ../v4l-cx2341x-init.mpg /lib/firmware/
ln -s lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
Then do:
ls -ltra /lib/firmware/
Then return to:
http://hyams.webhop.net/mythtv/myth_ubuntu.html
Follow on from there.
I hope this helps
wogdog
June 2nd, 2006, 02:27 PM
You rock! I will give this a try right now.
wogdog
June 2nd, 2006, 02:47 PM
Is it necessary to do both unzip statements in line 3 and 4 of your replacement code? They look like they do the same thing.
unzip pvr_2.0.24.23035.zip
unzip pvr_2.0.24.23035.zip
This is my first how to so excuse any mistake but I thoiught I would post it for the benifit of others.
Basically Follow:
http://hyams.webhop.net/mythtv/myth_ubuntu.html
Untill you get to this:
Instead do this:
wget ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip
wget ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22254_inf.zip
unzip pvr_2.0.24.23035.zip
unzip pvr_2.0.24.23035.zip
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
cp HcwMakoA.ROM /lib/firmware/v4l-cx25840.fw
cp HcwFalcn.rom /lib/firmware/v4l-cx2341x-enc.fw
mv /lib/modules/ivtv-fw-dec.bin /lib/firmware/
mv /lib/modules/ivtv-fw-enc.bin /usr/firmware/
cp ../v4l-cx2341x-init.mpg /lib/firmware/
ln -s lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
Then do:
ls -ltra /lib/firmware/
Then return to:
http://hyams.webhop.net/mythtv/myth_ubuntu.html
Follow on from there.
I hope this helps
NT4usB
June 2nd, 2006, 05:19 PM
lol... I just got to that part in hyams guide (again...) and went looking for his site to c&p the link info... and found this post!
timing is everything...*g*
Thanks for posting it!
ed: is that a typo... unzipping the same file twice:
unzip pvr_2.0.24.23035.zip
unzip pvr_2.0.24.23035.zip
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
edd: sorry, already spotted by wogdog. oops!
eddd: fyi, I had to mkdir /lib/firmware/. folder firmware didn't exist in my fresh desktop install.
bicchi
June 2nd, 2006, 07:57 PM
I wasn't sure where to put the firmware. Thanks.
By the way. You have this command: mv /lib/modules/ivtv-fw-enc.bin /usr/firmware/
I think this should be: mv /lib/modules/ivtv-fw-enc.bin /lib/firmware/
*** I do not have /usr/firmware/ ***
Also, is anyone having problems changing channels while watching TV?
Try this: (modify the commands below to /dev/video0 or /dev/video1 accordingly)
* Open 2 terminals.
* on one type: mplayer /dev/video0
* on the other: ivtv-tune -c 4 -d /dev/video0
The above should actually change the channel to 4. Try with -c 5, -c 6, etc. while displaying the video.
In my case the stream stops until I reload the module with.
sudo modprobe -r ivtv
sudo modprobe ivtv
Can anyone comment on this issue? I have a WinTV PVR 250.
roazena
June 3rd, 2006, 01:07 AM
Two days ago I had the misfortune of futzing with my Myth box, the one built using Hyams' Breezy instructions. Tonight, I'm installing Dapper and dag if that isn't exactly what I needed. Thanks again.
jacrider
June 3rd, 2006, 09:28 AM
I am glad this thread has started as I am trying to install MythTV on my Dapper box.
I am running into a problem very early in the install that I am hoping someone can help me find the error of my ways.
After installing apache2 and mysql, there is a step where you open "localhost" in Firefox and select phpmyadmin to setup a root passwork.
When I select phpmyadmin, I get a box asking me where I want to save the file. Not a link to the password admin.
Anyone know where I have gone wrong?
Many thanks.
althepcman
June 3rd, 2006, 09:36 AM
Is it necessary to do both unzip statements in line 3 and 4 of your replacement code? They look like they do the same thing.
unzip pvr_2.0.24.23035.zip
unzip pvr_2.0.24.23035.zip
Opps. Sorry my bad.
I fixed that typo and the other one.
Thanks for everyones support.
Sorry it took me a while to post back. Busy day. :)
althepcman
June 3rd, 2006, 09:40 AM
I wasn't sure where to put the firmware. Thanks.
By the way. You have this command: mv /lib/modules/ivtv-fw-enc.bin /usr/firmware/
I think this should be: mv /lib/modules/ivtv-fw-enc.bin /lib/firmware/
*** I do not have /usr/firmware/ ***
Also, is anyone having problems changing channels while watching TV?
Try this: (modify the commands below to /dev/video0 or /dev/video1 accordingly)
* Open 2 terminals.
* on one type: mplayer /dev/video0
* on the other: ivtv-tune -c 4 -d /dev/video0
The above should actually change the channel to 4. Try with -c 5, -c 6, etc. while displaying the video.
In my case the stream stops until I reload the module with.
sudo modprobe -r ivtv
sudo modprobe ivtv
Can anyone comment on this issue? I have a WinTV PVR 250.
Yes it is /lib/firmware/
sorry that was my typo.
Also with you changing channels with ivtv-tune I find it takes a couple of seconds on my box to actually change channels.
I havn't had to reload the module.
I have a 250 MCE card.
bicchi
June 3rd, 2006, 03:50 PM
From what I find in this thread (http://www.gossamer-threads.com/lists/mythtv/users/206801), I am not the only one having issues with the driver freezing while changing channels. The problem only happens while I am viewing the stream such as with the command: mplayer /dev/video0. The channels change without a problem if I am not using the stream. I assume that this has to do with some kind of file sharing violation or more specifically not allowing ivtv-tune to use the device while its been read by another process.
Let me also point out that I upgraded from Breezy and this is not a clean install. I have also looked at the output of dmesg and looks fine. Does anyone knows how to do some kind of hard reset on the card? Perhaps it needs to clear some kind of eprom.
Kryptonate
June 3rd, 2006, 04:29 PM
Hello,
I can't get past the phpmyadmin-directory. It wants to download something :s. Anyone know of a solution? Thanks
ponchera
June 3rd, 2006, 07:49 PM
Same problem here. :mad:
althepcman
June 3rd, 2006, 08:15 PM
Hello,
I can't get past the phpmyadmin-directory. It wants to download something :s. Anyone know of a solution? Thanks
Yeah it seems to a problem with apache and php.
It's not recognizing php scripts.Its very strange. Even though php is installed.
I will see if I can work around it. :)
xinix
June 4th, 2006, 11:52 AM
Here are a couple repositories with the Mythtv .19 version:
deb http://home.eng.iastate.edu/~superm1 dapper main
deb-src http://home.eng.iastate.edu/~superm1 dapper main
or
deb http://knm.org/mythdebs/ binary/
deb-src http://knm.org/mythdebs/ source/
I can't get the mythmusic plugin to install. It fails with a dependency for libcdaudio0 but libcdaudio1 is what is on the ubuntu repos. Anyone had luck with this?
laurens
June 4th, 2006, 01:08 PM
Yeah it seems to a problem with apache and php.
It's not recognizing php scripts.Its very strange. Even though php is installed.
I will see if I can work around it. :)
I had the same problem. I think this fixed it for me:
sudo apt-get install libapache2-mod-php5
Thanks for the howto btw :)
jafenske
June 4th, 2006, 02:01 PM
I'm having the same problem with the myphpadmin and I installed the above and still nothing... Anyone have any other ideas?
Thanks
JOe
By the way I've got an AMD64... could this be the problem
jafenske
June 4th, 2006, 02:33 PM
I tried installing php on my 386 breezy box and it went off without a hitch...
jafenske
June 4th, 2006, 02:46 PM
I clear the cache in my browser and it worked...
see this thread for solution
http://www.ubuntuforums.org/showthread.php?t=185825&highlight=MythTV
jacrider
June 4th, 2006, 03:52 PM
Installing libapache2-mod-php5 worked for me.
You need to go to "privileges", select the "root" account and then scroll down and you will see an option to change the password.
Worked.
On to the next step.
jacrider
June 4th, 2006, 11:04 PM
Ok. I have made more progress, but I am not there yet!
I am having difficulty is getting the remote to work. I have installed as per Hyams how-to. I have tested as the root user and can see codes on the screen as Push buttons.
However, when I login as mythtv, I can't seem to get it to work?
Any ideas?
NT4usB
June 5th, 2006, 01:35 AM
I had the same problem. I think this fixed it for me:
sudo apt-get install libapache2-mod-php5
Thanks for the howto btw :)
That worked for the Firefox thing. Had to restart X (Ctrl+Alt+Backspace) for it to take though.
no.one
June 5th, 2006, 06:14 PM
When I try to login to phpmyadmin, I receive this message:
Error
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
Edit: Oh, and by the way, I've reinstalled everything relating to php several times (complete removal through synaptic).
ponchera
June 5th, 2006, 10:17 PM
I had the same problem. I did a complete remove of all mysql5 (sear, sort by the first column with box) Exept for whatever was dependencies of other ubuntu stuff.
Then i followed the command in post #22
http://www.ubuntuforums.org/showthread.php?t=48397&page=3
sudo apt-get install apache2 php5 mysql-client-5.0 mysql-server-5.0 phpmyadmin libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql
no.one
June 6th, 2006, 03:51 PM
Thank you ponchera! It works now.
barbex
June 6th, 2006, 04:32 PM
Just in case someone bangs their head like me:
non-US people have to specify the frequency-map in ivtv-tune like this:
ivtv-tune -teurope-west -c E2 -d /dev/video0
althepcman
June 7th, 2006, 04:31 AM
I added the stuff about installing libapache-mod-php5.
Also for all you folow australian's Here some cheats for you:
ivtv-tune -t australia -c 40 -d /dev/video0
Channel 40 gets me Channel 9/Win tv
Sureshot324
June 7th, 2006, 12:31 PM
On my amd64 install of dapper, the firmware had to go to /lib/firmware/2.6.15-23-amd64-generic
chadk
June 7th, 2006, 07:47 PM
I've spent a couple hours on this now and just can't get it going. Is there perhaps a script out there to help simplify all this? There's just sooo many steps that can go wrong it's worse than installing certain flavors of linux that start with G.
ThreeE
June 8th, 2006, 12:25 AM
When I do mythfilldatabase I get a bunch of these:
DB Error (Inserting into dd_schedule):
Query was:
INSERT INTO dd_schedule (programid,stationid,scheduletime,duration,repeat, stereo,subtitled,hdtv,closecaptioned,tvrating,part number,parttotal,endtime) VALUES('SH6878270000','19283','2006-06-14T23:30:00','00:30:00',0,0,0,0,0,NULL,0,0,'2006-06-15T00:00:00');
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat,stereo,subtitled,hdtv,closecaptioned,tvrat ing,partnumber,parttotal,endtim' at line 1
Any ideas? I have to say -- this is much easier on Dapper than it was on Breezy.
JazzCrazed
June 8th, 2006, 12:45 AM
I've successfully followed this howto with a brand new Dapper install. Thanks for it, worked great!
But I have one last trick to figure out. I use digital cable, that goes through a Scientific Atlanta 1850 set-top-box. I purchased an IR blaster from http://irblaster.info -- referred there because it reputedly works well with MythTV. On that site, there's a link to a tutorial on setting up an IR blaster to control a cable/dish box on a KnoppMyth box, which I thought would be similar enough to my own setup to use.
Just my luck that it wasn't, as the author of the tutorial told me in an e-mail that the differences between the distros were too significant for his tutorial to be effective. Trying anyway, I didn't get too far before I encountered errors that I couldn't figure out.
Has anybody setup their MythTV in Ubuntu to control a cable box with an IR blaster?
kcrajkumar
June 8th, 2006, 12:46 AM
I'm having the same problem with the myphpadmin and I installed the above and still nothing... Anyone have any other ideas?
Thanks
JOe
By the way I've got an AMD64... could this be the problem
----
Hi,
Eventhough php was installed correctly, phpmyadmin was stored in a different directory and a softlink was created in "DocumentRoot" Directory.
PhpMyAdmin Install Dir : /usr/share/phpmyadmin
Apache Document Root : /var/www/
lrwxrwxrwx 1 root root 21 2006-06-06 23:37 phpmyadmin -> /usr/share/phpmyadmin
I think, this makes apache to think phpmyadmin is a regular file and not a directory. Need to do more reading on this.
do the following :
http://localhost/phpmyadmin/index.php .. you will see the phpmyadmin web page.
hope this will help !!!
Thanks.
JSVH
June 8th, 2006, 02:23 AM
When I do mythfilldatabase I get a bunch of these:
DB Error (Inserting into dd_schedule):
Query was:
INSERT INTO dd_schedule (programid,stationid,scheduletime,duration,repeat, stereo,subtitled,hdtv,closecaptioned,tvrating,part number,parttotal,endtime) VALUES('SH6878270000','19283','2006-06-14T23:30:00','00:30:00',0,0,0,0,0,NULL,0,0,'2006-06-15T00:00:00');
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat,stereo,subtitled,hdtv,closecaptioned,tvrat ing,partnumber,parttotal,endtim' at line 1
Any ideas? I have to say -- this is much easier on Dapper than it was on Breezy.
I am running into the same problem!
Atleast I can get mythtv will start up, just no database . So no tv listings. let me know if you find out what the problem is.
JSVH
June 8th, 2006, 02:58 AM
I also found that I can no longer get to mysql via Firefox>localhost> and when I click phpmyadmin I get "phpMyAdmin - Error. Cannot load mysql extension. Please check your PHP configuration." I could get into phpmyadmin earlier to set my password and what not.
althepcman
June 8th, 2006, 03:51 AM
I also found that I can no longer get to mysql via Firefox>localhost> and when I click phpmyadmin I get "phpMyAdmin - Error. Cannot load mysql extension. Please check your PHP configuration." I could get into phpmyadmin earlier to set my password and what not.
Opps forgot to tell eveyone after installign all those things in the how to you should restart apache by doing the following:
sudo /etc/init.d/apache2 restart
I will add this to the how to. :)
NT4usB
June 8th, 2006, 05:22 AM
If it isn't one thing, it's another...
I've been through this install several times. Never with complete success... Well, maybe the first time but I screwed that up by updating the kernel...
Upside, it's always something different that goes wrong for me so I get to learn new stuff each time.
This time (sixth complete install if iirc) I'm stuck on:
root@dapperpvr:~# ./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
-bash: ./ivtvfwextract.pl: No such file or directory
Only thing I've intentionally done different than the instructions was grab the ivtv-0.4.5 drivers instead of ivtv-0.4.4.
I'm pretty sure everything went into the correct folders, etc. Made sure I put .5 where the howto said .4... Would using the 0.4.5 drivers mess me up?
the .pl makes reference to finding the zip in /mnt/cdrom so I put a copy there. No joy.
Can I extract and place the contents of pvr_1.18.21.22254_inf.zip manually?
Any other suggestions?
Happy Linux user for going on four weeks!
althepcman
June 8th, 2006, 05:30 AM
[QUOTE=NT4usB]If it isn't one thing, it's another...
I've been through this install several times. Never with complete success... Well, maybe the first time but I screwed that up by updating the kernel...
Upside, it's always something different that goes wrong for me so I get to learn new stuff each time.
This time (sixth complete install if iirc) I'm stuck on:
root@dapperpvr:~# ./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
-bash: ./ivtvfwextract.pl: No such file or directory
Are you in the utils directory when you do:
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
eg if you enter the command pwd You should get:
/usr/src/ivtv-0.4.5/utils
NT4usB
June 8th, 2006, 11:51 AM
...
Are you in the utils directory when you do:
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
eg if you enter the command pwd You should get:
/usr/src/ivtv-0.4.5/utils
I tried it that way. Even cp the zip to that folder to see if that would work.
iirc, I didn't get the No such folder... error that way. Also didn't see any indication at all that the files extracted. Just back to the prompt...
Should I see any response when running ./ivtvfwextract.pl?
A search of my hard disk didn't find the extracted files so I assume it didn't extract.
I almost pasted a shot of my terminal so you could see all the different ways I tried to get it to work. It would have filled the page and was mostly noob fumblings anyway.
I did make it completely through hyams install including your variation previously.
When I finished, MythTv was only detecting one of my 150’s and Mysql was jacked but other than that, I got through it. Both cards were working and could record tv but myth only saw one.
So, I know this all works…
I completely borked my system trying to straighten out Mysql, so I flatlined it, started over again, and here we are…
jafenske
June 8th, 2006, 12:13 PM
I've having the same problems with sql... I been looking at other how-to guides and in this one
http://www.abarbaccia.com/content/view/17/32/
for instance they make sure mythtv user can acess the database by
$ mysql -u root -p mysql
mysql> UPDATE user SET password=PASSWORD('mythtv') WHERE user="mythtv";
mysql> FLUSH PRIVILEGES;
mysql> quit
Why don't we have to do that here?
dapple
June 8th, 2006, 01:07 PM
When I do mythfilldatabase I get a bunch of these:
DB Error (Inserting into dd_schedule):
Query was:
INSERT INTO dd_schedule (programid,stationid,scheduletime,duration,repeat, stereo,subtitled,hdtv,closecaptioned,tvrating,part number,parttotal,endtime) VALUES('SH6878270000','19283','2006-06-14T23:30:00','00:30:00',0,0,0,0,0,NULL,0,0,'2006-06-15T00:00:00');
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat,stereo,subtitled,hdtv,closecaptioned,tvrat ing,partnumber,parttotal,endtim' at line 1
Any ideas? I have to say -- this is much easier on Dapper than it was on Breezy.
I am running into the same problem!
Atleast I can get mythtv will start up, just no database . So no tv listings. let me know if you find out what the problem is.
repeat is a reserved word in MYSQL5. Downgrade to MYSQL 4. You'll have to setup the database all over again but mythfilldatabase will work on MYSQL4. This has been fixed in Mythtv .19x but has not been ported back to the .18.1 version.
laurens
June 8th, 2006, 03:55 PM
Just a quick note:
I've been following this tutorial, and I got it running, however, I did not get MythWeb running. Please note, that I was compiling from the svn repository. However, I think this might come up with some other people too:
I kept getting errors when trying to log in to mythweb, where it was complaining that I needed to install php-mysql. I had it installed, and phpmyadmin worked perfectly; Just mythweb kept giving me the error.
Turned out this link held the answer:
http://www.mythtv.org/pipermail/mythtv-users/2003-April/003459.html
find your php.ini file. Make sure you've got a line in it like this:
extension=mysql.so
and that it is uncommented. and restart apache. That should cure you.
Hope it helps, it did for me!
laurens
June 8th, 2006, 03:58 PM
repeat is a reserved word in MYSQL5. Downgrade to MYSQL 4. You'll have to setup the database all over again but mythfilldatabase will work on MYSQL4. This has been fixed in Mythtv .19x but has not been ported back to the .18.1 version.
You can also edit the file, and replace all occurances of repeat with `repeat` (backticks!!).
This is untested, but I have done things like this in the past with mysql. Hope it helps - it seems less painfull than downgrading :)
Cheers!
valmar
June 8th, 2006, 06:56 PM
Hello to everybody.
I followed this guide with the links provided to hyams page. Everything seems fine. I installed the ivtv drivers and mythtv (All on dapper). Howwwever, I have the following problem:
when setting up with mythtv-setuo, when I get to the channels, I cannot scan for channels.
I also tried with xawtv to use the card. After choosing my settings (PAL and europe-west), everything I get is a black screen
I am using amd 64, could that be the problem?
Thank you in advance for your help
Valerio
Staach
June 9th, 2006, 01:39 AM
Not sure if this is the right place to ask this question but here goes. Is it possible to install mythtv on the server version (instead of the desktop)? The reason I want this, is that I need a full webserver (+ mail) with typo3 installed on the same pc as mythtv. However I'm still quite new at linux so I´ll need the guidence from both http://hyams.webhop.net/mythtv/myth_ubuntu.html (and this thread) and other server-walk-thrus.
Thx in advance
Staach
JSVH
June 9th, 2006, 01:41 AM
Thanks Dapple, Upgaded to .19 and that fixed that.
I can't get the mythmusic plugin to install. It fails with a dependency for libcdaudio0 but libcdaudio1 is what is on the ubuntu repos. Anyone had luck with this?
I am in the same boat as you xinix. let me know if you found a way to get mythmusic to work.
Thanks Everyone!
NT4usB
June 9th, 2006, 04:48 AM
Well, I'm back to where I was before I trashed my box the first time, thanks to tips in this thread and other howto's...
Now to sort out the channel changing issue.
handband2
June 10th, 2006, 01:06 PM
I've gone through everything in the HowTo a couple times but I keep getting the same error:
make -C driver install
make[1]: Entering directory `/usr/src/ivtv-0.4.5/driver'
make -C /lib/modules/2.6.15-23-k7/build M=/usr/src/ivtv-0.4.5/driver modules
make[2]: Entering directory `/usr/src/linux-source-2.6.15'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-source-2.6.15'
make INSTALL_MOD_PATH= INSTALL_MOD_DIR=ivtv \
-C /lib/modules/2.6.15-23-k7/build M=/usr/src/ivtv-0.4.5/driver modules_install
make[2]: Entering directory `/usr/src/linux-source-2.6.15'
INSTALL /usr/src/ivtv-0.4.5/driver/ivtv-fb.ko
cp: omitting directory `/lib/modules/2.6.15-23-k7'
make[3]: *** [/usr/src/ivtv-0.4.5/driver/ivtv-fb.ko] Error 1
make[2]: *** [modules_install] Error 2
make[2]: Leaving directory `/usr/src/linux-source-2.6.15'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/ivtv-0.4.5/driver'
make: *** [install] Error 2
How would I go about fixing this error?
Thanks
planetmn
June 10th, 2006, 10:06 PM
I tried it that way. Even cp the zip to that folder to see if that would work.
iirc, I didn't get the No such folder... error that way. Also didn't see any indication at all that the files extracted. Just back to the prompt...
Should I see any response when running ./ivtvfwextract.pl?
A search of my hard disk didn't find the extracted files so I assume it didn't extract.
I almost pasted a shot of my terminal so you could see all the different ways I tried to get it to work. It would have filled the page and was mostly noob fumblings anyway.
I did make it completely through hyams install including your variation previously.
When I finished, MythTv was only detecting one of my 150’s and Mysql was jacked but other than that, I got through it. Both cards were working and could record tv but myth only saw one.
So, I know this all works…
I completely borked my system trying to straighten out Mysql, so I flatlined it, started over again, and here we are…
I'm having the same problem:
root@mythtv:/usr/src/ivtv-0.4.4# ./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
-bash: ./ivtvfwextract.pl: No such file or directory
If I do an ls, the file is clearly there. Any ideas?
Thanks,dave
qrazi
June 11th, 2006, 06:37 AM
I am having problems with my IVTV driver.
I used to run mythtv with no problems on ubuntu 5.10. I recently upgraded to 6.06, but after the upgrade, i cannot watch livetv anymore, and recordings dont actually record anymore.
So i tried to compile the IVTV driver again, using this howto. I get stuck at the point where i am going to make the IVTV driver.
it gives a lot of of the same error:
/usr/src/ivtv-0.4.4/driver/msp3400.c:78: error: ‘normal_i2c_range’ undeclared he re (not in a function)
/usr/src/ivtv-0.4.4/driver/msp3400.c: In function ‘msp3400c_reset’:
/usr/src/ivtv-0.4.4/driver/msp3400.c:221: warning: pointer targets in initializa tion differ in signedness
/usr/src/ivtv-0.4.4/driver/msp3400.c:222: warning: pointer targets in initializa tion differ in signedness
/usr/src/ivtv-0.4.4/driver/msp3400.c:225: warning: pointer targets in initializa tion differ in signedness
and some more of basicly the same error. I have done searchiong on the internet, but i cannot find why it gives this error, or what this error means....
Any suggestions? Maybe how to do a clean install?
TomSelleck
June 11th, 2006, 01:00 PM
I can't get past:
depmod
modprobe ivtv
dmesg
I always get the following error at the end of the log:
[4300563.861000] ivtv: ==================== START INIT IVTV ====================
[4300563.861000] ivtv: version 0.4.5 (tagged release) loading
[4300563.861000] ivtv: Linux version: 2.6.15-23-386 preempt 486 gcc-4.0
[4300563.861000] ivtv: In case of problems please include the debug info between
[4300563.861000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[4300563.861000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[4300563.863000] ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
[4300563.863000] PCI: Enabling device 0000:00:0b.0 (0014 -> 0016)
[4300563.863000] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level , low) -> IRQ 10
[4300563.863000] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[4300563.905000] tveeprom: ivtv version
[4300563.905000] tveeprom: Hauppauge: model = 48132, rev = J323, serial# = 7064662
[4300563.905000] tveeprom: tuner = Philips FM1236 (idx = 23, type = 2)
[4300563.905000] tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
[4300563.905000] tveeprom: audio processor = MSP4448 (type = 1b)
[4300563.905000] tveeprom: decoder processor = SAA7115 (type = 13)
[4300563.905000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[4300563.936000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
[4300563.936000] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
[4300564.095000] saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[4300564.199000] ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
[4300564.257000] saa7127 1-0044: ivtv driver
[4300564.259000] saa7127 1-0044: saa7127 found @ 0x88 (ivtv i2c driver #0)
[4300564.259000] ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
[4300564.305000] msp3400 1-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio mod e=simpler
[4300564.305000] msp3400 1-0040: msp34xxg daemon started
[4300564.322000] ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40]
[4300565.108000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[4300565.118000] ivtv0: unable to open firmware v4l-cx2341x-dec.fw
[4300565.118000] ivtv0: did you put the firmware in the hotplug firmware directory?
[4300565.119000] ivtv0 warning: failed loading decoder firmware
[4300565.119000] ivtv0 warning: Error loading firmware -1!
[4300565.119000] ivtv0: Error -1 initializing firmware.
[4300565.128000] ivtv0: Error -12 on initialization
[4300565.128000] ivtv: probe of 0000:00:0b.0 failed with error -12
[4300565.128000] ivtv: ==================== END INIT IVTV ====================
I started with a clean 6.06 build and followed Hyams' guide to the letter except for the exceptions posted in the start of this thread. I'm befuddled.
TomSelleck
June 11th, 2006, 01:32 PM
I always get the following error at the end of the log:
[4300565.108000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[4300565.118000] ivtv0: unable to open firmware v4l-cx2341x-dec.fw
[4300565.118000] ivtv0: did you put the firmware in the hotplug firmware directory?
[4300565.119000] ivtv0 warning: failed loading decoder firmware
[4300565.119000] ivtv0 warning: Error loading firmware -1!
[4300565.119000] ivtv0: Error -1 initializing firmware.
[4300565.128000] ivtv0: Error -12 on initialization
[4300565.128000] ivtv: probe of 0000:00:0b.0 failed with error -12
[4300565.128000] ivtv: ==================== END INIT IVTV ====================
I fixed it. The clue was in the log above. It successfully loaded v4l-cx2341x-enc.fw, but not v4l-cx2341x-dec.fw. I looked in /lib/firmware and saw that v4l-cx2341x-dec.fw was a symbolic link. I removed the link and copied the real file there instead. It worked.
I have a DVD player hooked up to the S-Video input of my PVR-350. I get good sound and picture, except that the picture is only in black and white. Off I go...
HJB
June 11th, 2006, 02:27 PM
Hi qrazi. Have a look here http://ubuntuforums.org/showthread.php?p=1125764#post1125764
SlamBam
June 11th, 2006, 04:25 PM
Hi,
Sorry i´m a quite new on Linux and am stuck on the ´sudo apt-get mythtv´. I added to my /etc/apt/source.list the following:
deb http://knm.org/mythdebs/ binary/
deb-src http://knm.org/mythdebs/ source/
Now there is a dependency in mythfrontend that I can´t install: liblame0. Can anyone help on this?
Thanks
planetmn
June 11th, 2006, 06:31 PM
Hi all. I had posted a problem earlier, and it turned out to be a FFI (Failure to Follow Instructions). I've moved on and run into another error. After installing the IVTV driver, I try to depmod and then modprobe ivtv and I receive the following:
david@mythtv:~$ sudo depmod
david@mythtv:~$ modprobe ivtv
FATAL: Module ivtv not found.
Does anybody know what caused this? Should I just go ahead and reinstall the ivtv drivers?
I tried restarting the computer to see if the module just failed to load, but I get the same response.
Thanks,
dave
NT4usB
June 11th, 2006, 08:48 PM
I'm having the same problem:
root@mythtv:/usr/src/ivtv-0.4.4# ./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
-bash: ./ivtvfwextract.pl: No such file or directory
If I do an ls, the file is clearly there. Any ideas?
Thanks,dave
I ended up googling around until I found reference to extracting the files (driver?) from the windows .exe installer.
Basically fumbled and stumbled until I had the files I needed then moved them to where I thought they should go.
In the end I was able to complete the install and for the first time ever I could change channels!
The remote worked, I could switch between card0 and card1, see the channel lineups, record a show while watching another channel...
Rejoice! it works!
The next day I fired it up, installed the daily updates, launched mythfrontend and it was broke again... changing channels just locks it up.
I had been seeing an update for libmyth-0.18.1c2a for a couple days but ignoring it.
I was so close to getting this working that I figured any update with 'myth' in it would probably wreck things. I installed it.
...Looks like it did.
This is the point where I start uninstalling things and reinstalling things, breaking associations, jacking the system completely up, flatlining the box and starting over.
I just love Linux. Reminds me of the days working with NT4. One false move, BSOD. move to the back of the line please...
ed: update. I found part of the solution to the lock up problem in the MythTV troubleshooting section of their install guide. From the guide:
MySQL not connecting correctly
Your MySQL installation may have networking turned off. Check that /etc/mysql/my.cnf does not contain skip-networking. If it does, remove it. Also verify that bind-address is set to your IP address instead of 127.0.0.1. If you change either of these items, restart MySQL.
The IP address fixed channel changing for card0. card1 is still jacked.
Happy Linux user for four weeks today!
Hybrid Blue
June 12th, 2006, 01:25 AM
Hi there guys, im trying to build 0.19 from source but im running into a little prob lem here on dapper...
Ive installed all the libs/files that are needed to make the Plugin for mythmusic to build...the problem is that the configure script cant see that i have cdparanoia installed... Im not sure how to fix this as ive tried to add some more locations to $PATH and this hasn't changed anything... If anyone can give me a little help with this i would be greatful!
Thanks a lot guys!
althepcman
June 12th, 2006, 03:43 AM
Hi all. I had posted a problem earlier, and it turned out to be a FFI (Failure to Follow Instructions). I've moved on and run into another error. After installing the IVTV driver, I try to depmod and then modprobe ivtv and I receive the following:
david@mythtv:~$ sudo depmod
david@mythtv:~$ modprobe ivtv
FATAL: Module ivtv not found.
Does anybody know what caused this? Should I just go ahead and reinstall the ivtv drivers?
I tried restarting the computer to see if the module just failed to load, but I get the same response.
Thanks,
dave
Hi,
This happened to me after eading through the how to I found that sometimes installing the ivtv drviers, they would get install to:
/lib/modules/<kver>/ivtv
<kver> for me = 2.6.15.7-ubuntu1
This could be different.
To fix do the following:
sudo cp -r /lib/modules/<kver>/ivtv /lib/modules/`uname -r`/
kayno
June 12th, 2006, 03:56 AM
Here are a couple repositories with the Mythtv .19 version:
deb http://home.eng.iastate.edu/~superm1 dapper main
deb-src http://home.eng.iastate.edu/~superm1 dapper main
or
deb http://knm.org/mythdebs/ binary/
deb-src http://knm.org/mythdebs/ source/
I can't get the mythmusic plugin to install. It fails with a dependency for libcdaudio0 but libcdaudio1 is what is on the ubuntu repos. Anyone had luck with this?
were you able to solve this problem, or is anyone aware of a solution??
I cannot install mythmusic because of this error too. other than that, the repositorys were greatly appreciated!!
HJB
June 12th, 2006, 06:01 AM
Hi there guys, im trying to build 0.19 from source but im running into a little prob lem here on dapper...
Ive installed all the libs/files that are needed to make the Plugin for mythmusic to build...the problem is that the configure script cant see that i have cdparanoia installed... Im not sure how to fix this as ive tried to add some more locations to $PATH and this hasn't changed anything... If anyone can give me a little help with this i would be greatful!
Thanks a lot guys!
Hi HybridBlue, I got the whole thing working from the sources BUT, I cant get it to start. It didn't create the mythtv user. Im at work now and dont have my self made 'howto' with me. Tell me how you get this working. I believe there is a problem with some paths to lib files.
Bye
H
Hybrid Blue
June 12th, 2006, 07:01 PM
Hi HybridBlue, I got the whole thing working from the sources BUT, I cant get it to start. It didn't create the mythtv user. Im at work now and dont have my self made 'howto' with me. Tell me how you get this working. I believe there is a problem with some paths to lib files.
Bye
H
Ha! I finally got it, it appears that when you install the package cdparanoia via apt-get the mythtv configure script cant see it in /usr/lib (where the libs were located in my install)
so what i did was export this to path by issueing..
export PATH="/usr/lib:$PATH"
Then i Cd'ed to the path where ive got the source for the mythplugins and issued the config script as stated in the guide of the front page..
sudo ./configure --prefix=/usr/local/mythtv-0.19 --enable-transcode --enable-vcd
The result was a success and im just about to run my make/make install =)
Ill let you know if anything else breaks heh.. and if anyone needs help with getting this far let me know!
HB
Mehster
June 12th, 2006, 07:11 PM
Originally Posted by planetmn
I'm having the same problem:
root@mythtv:/usr/src/ivtv-0.4.4# ./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
-bash: ./ivtvfwextract.pl: No such file or directory
If I do an ls, the file is clearly there. Any ideas?
Thanks,dave
OK, it sounds like the perl script might not be set to executable. Type sudo chmod +x ivtvfwextract.pl and then try again.
planetmn
June 12th, 2006, 07:45 PM
Hi,
This happened to me after eading through the how to I found that sometimes installing the ivtv drviers, they would get install to:
/lib/modules/<kver>/ivtv
<kver> for me = 2.6.15.7-ubuntu1
This could be different.
To fix do the following:
sudo cp -r /lib/modules/<kver>/ivtv /lib/modules/`uname -r`/
It looks to me like neither of those directories had the module files. /lib/modules/2.6.15 doesn't exist (<kver> = 2.6.15) and /lib/modules/2.6.15-23-386 had the following files:
david@mythtv:/lib/modules/2.6.15-23-386$ ls
build madwifi-ng modules.ieee1394map modules.pcimap volatile
initrd modules.alias modules.inputmap modules.seriomap
kernel modules.ccwmap modules.isapnpmap modules.symbols
madwifi modules.dep modules.ofmap modules.usbmap
So I tried to reinstall the drivers and my output from make and make install is below. I don't know much (well, really anything) about linux, but this didn't look like it worked for me.
david@mythtv:/usr/src/ivtv-0.4.4$ sudo make
make -C driver all
make[1]: Entering directory `/usr/src/ivtv-0.4.4/driver'
make -C /lib/modules/2.6.15-23-386/build M=/usr/src/ivtv-0.4.4/driver modules
make[2]: Entering directory `/usr/src/linux-source-2.6.15'
WARNING: Symbol version dump /usr/src/linux-source-2.6.15/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-source-2.6.15'
make[1]: Leaving directory `/usr/src/ivtv-0.4.4/driver'
make -C utils all
make[1]: Entering directory `/usr/src/ivtv-0.4.4/utils'
make -C ../driver ivtv-svnversion.h
make[2]: Entering directory `/usr/src/ivtv-0.4.4/driver'
make[2]: Leaving directory `/usr/src/ivtv-0.4.4/driver'
make CFLAGS="-I/usr/src/ivtv-0.4.4/utils -I/usr/src/ivtv-0.4.4/utils/../driver -D_GNU_SOURCE -O2 -Wall" -C ivtv-tune
make[2]: Entering directory `/usr/src/ivtv-0.4.4/utils/ivtv-tune'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.4.4/utils/ivtv-tune'
make CFLAGS="-I/usr/src/ivtv-0.4.4/utils -I/usr/src/ivtv-0.4.4/utils/../driver -D_GNU_SOURCE -O2 -Wall" -C cx25840ctl
make[2]: Entering directory `/usr/src/ivtv-0.4.4/utils/cx25840ctl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/ivtv-0.4.4/utils/cx25840ctl'
make[1]: Leaving directory `/usr/src/ivtv-0.4.4/utils'
make -C test all
make[1]: Entering directory `/usr/src/ivtv-0.4.4/test'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/ivtv-0.4.4/test'
david@mythtv:/usr/src/ivtv-0.4.4$ sudo make install
make -C driver install
make[1]: Entering directory `/usr/src/ivtv-0.4.4/driver'
make -C /lib/modules/2.6.15-23-386/build M=/usr/src/ivtv-0.4.4/driver modules
make[2]: Entering directory `/usr/src/linux-source-2.6.15'
WARNING: Symbol version dump /usr/src/linux-source-2.6.15/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-source-2.6.15'
make INSTALL_MOD_PATH= INSTALL_MOD_DIR=ivtv \
-C /lib/modules/2.6.15-23-386/build M=/usr/src/ivtv-0.4.4/driver modules_install
make[2]: Entering directory `/usr/src/linux-source-2.6.15'
INSTALL /usr/src/ivtv-0.4.4/driver/ivtv-fb.ko
cp: omitting directory `/lib/modules/2.6.15-23-386'
make[3]: *** [/usr/src/ivtv-0.4.4/driver/ivtv-fb.ko] Error 1
make[2]: *** [modules_install] Error 2
make[2]: Leaving directory `/usr/src/linux-source-2.6.15'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/ivtv-0.4.4/driver'
make: *** [install] Error 2
I'm sorry to keep posting more and more problems, but cany anybody tell me if the modules even installed correctly?
Thanks,
dave
Hybrid Blue
June 12th, 2006, 07:56 PM
Ahh Now that i have fixed my problem with myth not wanting to build with mythmusic installed (fixed..see last post about two above this for how)
I seem to be having a problem with mythtv seting my tuners properly..ive been reading that this might be an issue with the ownership/premissions on the device? At the moment it appears that myth is trying to use the device's in PAL mode where i need them in NTSC-us. I only have an idea this is happening because i got video to show when using a GUI for messing with the cards just to test that they were working properly... After i messed with the settings and got them set to NTSC in this GUI it seemed to work fine..
Has anyone else had this problem or might know how i can fix it? I feel im getting close lol, im almost ready to toss this system into my "server" room but ive still got to get this last thing working lol.
Thanks for all the help everyone =) i havnt posted much till now but all your comments and the guides have been a great help so far!
-HB
MetalMusicAddict
June 12th, 2006, 08:24 PM
Just a quick one. Im about to get a Hauppauge card but I was thinking to use Xubuntu as a base. Shouldnt be a problem using this guide right? Nothing looks Gnome specific.
kayno
June 12th, 2006, 08:59 PM
Ahh Now that i have fixed my problem with myth not wanting to build with mythmusic installed (fixed..see last post about two above this for how)
can you go into a little more detail on how you got mythmusic working? I am trying to apt-get install mythmusic, but get the following error:
The following packages have unmet dependencies.
mythmusic: Depends: libcdaudio0 but it is not installable
E: Broken packages
I added /usr/lib to my path as you said you did, but this didnt help. I don't really want to have to compile mythplugins myself - I was able to apt-get instally mythvideo and mythweb, and mythmusic is the only one left i want.
Any help would be greatly appreciated - my mythbox is nearly back to the way it was when it was running with fedora core 5, and once this and the remote is working, my love affair with ubuntu will be complete.
Hybrid Blue
June 12th, 2006, 09:31 PM
can you go into a little more detail on how you got mythmusic working? I am trying to apt-get install mythmusic, but get the following error:
The following packages have unmet dependencies.
mythmusic: Depends: libcdaudio0 but it is not installable
E: Broken packages
I added /usr/lib to my path as you said you did, but this didnt help. I don't really want to have to compile mythplugins myself - I was able to apt-get instally mythvideo and mythweb, and mythmusic is the only one left i want.
Any help would be greatly appreciated - my mythbox is nearly back to the way it was when it was running with fedora core 5, and once this and the remote is working, my love affair with ubuntu will be complete.
When i installed i had to download the package then use dpkg -i to install it...
This is where i got it from
http://packages.ubuntulinux.org/warty/libs/libcdaudio0
For some reson i couldnt get it from apt
you could also try issueing sudo apt-get -f install
kayno
June 12th, 2006, 10:48 PM
When i installed i had to download the package then use dpkg -i to install it...
This is where i got it from
http://packages.ubuntulinux.org/warty/libs/libcdaudio0
For some reson i couldnt get it from apt
awesome :D. I had to dpkg -r libcdaudio-dev and libcdaudio1 first, but then your steps worked fine. thanks :)
all looks pretty good now:
dpkg -l | grep myth
ii libmyth 0.19-5 Common library code for MythTV and add-on mo
rc libmyth-0.18.1c2a 0.18.1-5ubuntu3 Common library code for MythTV and add-on mo
rc libmyth-0.19.c2a 0.19-0ubuntu0 Common library code for MythTV and add-on mo
ii mythmusic 0.19-5 Music add-on module for MythTV
ii myththemes 0.19-5 A personal video recorder application (extra
ii mythtv 0.19-5 A personal video recorder application (clien
ii mythtv-backend 0.19-5 A personal video recorder application (serve
ii mythtv-common 0.19-5 A personal video recorder application (commo
ii mythtv-database 0.19-5 A personal video recorder application (datab
ii mythtv-frontend 0.19-5 A personal video recorder application (clien
ii mythtv-lcdserver 0.19-5 A personal video recorder application (clien
ii mythvideo 0.19-5 A generic video player frontend module for M
ii mythweb 0.19-5 Web interface add-on module for MythTV
for libmyth-0.18.1c2a and libmyth-0.19.c2a, can i simply dpkg -r --purge them, or will it nuke settings or something?
Hybrid Blue
June 13th, 2006, 01:20 AM
awesome :D. I had to dpkg -r libcdaudio-dev and libcdaudio1 first, but then your steps worked fine. thanks :)
all looks pretty good now:
dpkg -l | grep myth
ii libmyth 0.19-5 Common library code for MythTV and add-on mo
rc libmyth-0.18.1c2a 0.18.1-5ubuntu3 Common library code for MythTV and add-on mo
rc libmyth-0.19.c2a 0.19-0ubuntu0 Common library code for MythTV and add-on mo
ii mythmusic 0.19-5 Music add-on module for MythTV
ii myththemes 0.19-5 A personal video recorder application (extra
ii mythtv 0.19-5 A personal video recorder application (clien
ii mythtv-backend 0.19-5 A personal video recorder application (serve
ii mythtv-common 0.19-5 A personal video recorder application (commo
ii mythtv-database 0.19-5 A personal video recorder application (datab
ii mythtv-frontend 0.19-5 A personal video recorder application (clien
ii mythtv-lcdserver 0.19-5 A personal video recorder application (clien
ii mythvideo 0.19-5 A generic video player frontend module for M
ii mythweb 0.19-5 Web interface add-on module for MythTV
for libmyth-0.18.1c2a and libmyth-0.19.c2a, can i simply dpkg -r --purge them, or will it nuke settings or something?
Im not sure about using purge on them as i havnt done that but maybe someone else here might be able to help you out? Im glad to hear that i could be of help as well! =)
HB
HJB
June 13th, 2006, 08:05 AM
Hi MetalMusicAddict.
Im using Xfce4 without anyproblems. Using most of the apps you mention.
Works great
Its very similar to Gnome but not so bloaty
"You can run Gnome applications, because desktop "Xfce4" environment provides the possibility to initialize Gnome base system at start-up."
Have a look here: http://www.xbox-linux.org/wiki/XUbuntu
Bye
H
scifan
June 13th, 2006, 09:13 AM
I actually started with this guide... and then after having problems which turned out to be caused by running IVTV 0.4.5 (run 0.4.4!!!), I actually built mythtv 0.19 from source.. . and it seems to work great...
We'll have to see how stable it is... my last adventure with myth was pretty decent, but was based upon knoppmyth (and had issue's with too much garbage in log files causing the system to detonate).
best of luck guy's... it is worth the effort...
My PVR 500 works GREAT... have NVIDIA drivers driving my TV at 720P (need to figure out how to scale this down just a little bit... )
volksman
June 13th, 2006, 10:16 AM
Any chance this works with the USB2 device from Hauppagge?
Hybrid Blue
June 13th, 2006, 04:35 PM
Any chance this works with the USB2 device from Hauppagge?
I remember seeing somewhere that you can use mythtv with an external USB tuner, i dont really remember which one your talking about or if i know the correct one at all =) but here is a list of what people have in their systems which you can do a search on your cards model to see if its in use by someone =)
http://pvrhw.goldfish.org/tiki-pvrhwdb.php
Hope this helps =)
HB
HJB
June 13th, 2006, 05:17 PM
I actually started with this guide... and then after having problems which turned out to be caused by running IVTV 0.4.5 (run 0.4.4!!!), I actually built mythtv 0.19 from source.. . and it seems to work great...
)
Hi scifan
Can you please write down the steps you took compiling the source.
Did you only do the
./configure
qmake mythtv.pro
make
or did you add settings to the configure?
When I did it no mythtv user was created?
Please help
Bye
H
dodongo
June 13th, 2006, 05:59 PM
So suppose you'd followed everyone's (very helpful, thanks!) instructions, and based on dmesg output*, you had everything installed properly and should be good to go... but there's no good output to speak of from the card.
Part of the problem is that I don't have cable to run to the TV at the moment. And though there is an OTA channel nearby which I should (theoretically) be able to receive, I can't believe the dipole they included would get anything on broadcast TV frequencies.
But wait! There's more! I *can* do full test runs on broadcast *FM*. And what I get there is something screechy that sounds kinda like a sawtooth wave. This on a frequency which my little alarm clock receives crystal-clear.
Does anyone have any ideas as to why what should be a good install of the software at this point leads to bizarre hardware malfunction? Any ideas of test I could run in the signal chain to see what's up?
Thanks!
-Chuck
-------------
* - Here it is:
[4294689.923000] ivtv: ==================== START INIT IVTV ====================
[4294689.923000] ivtv: version 0.4.4 (tagged release) loading
[4294689.923000] ivtv: Linux version: 2.6.15-23-686 SMP preempt 686 gcc-4.0
[4294689.923000] ivtv: In case of problems please include the debug info between
[4294689.923000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[4294689.923000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[4294689.923000] ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
[4294689.923000] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 21 (level, low) -> IRQ 209
[4294689.923000] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[4294689.952000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[4294689.993000] tveeprom 0-0050: Hauppauge model 48132, rev K268, serial# 8551606
[4294689.993000] tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
[4294689.993000] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
[4294689.993000] tveeprom 0-0050: audio processor is MSP4448 (idx 27)
[4294689.993000] tveeprom 0-0050: decoder processor is SAA7115 (idx 19)
[4294689.993000] tveeprom 0-0050: has radio, has IR remote
[4294690.055000] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[4294690.055000] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61][4294690.219000] hiddev96: USB HID v1.10 Device [APC Back-UPS ES 500 FW:801.e3.D USB FW:e3] on usb-0000:00:1d.1-2
[4294690.230000] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[4294690.328000] Build date: May 29 2006
[4294690.328000] Debugging version (IEEE80211)
[4294690.328000] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[4294690.328000] ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[4294690.328000] ath0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[4294690.328000] ath0: H/W encryption support: WEP AES AES_CCM TKIP
[4294690.328000] ath0: mac 5.9 phy 4.3 radio 4.6
[4294690.328000] ath0: Use hw queue 1 for WME_AC_BE traffic
[4294690.328000] ath0: Use hw queue 0 for WME_AC_BK traffic
[4294690.328000] ath0: Use hw queue 2 for WME_AC_VI traffic
[4294690.328000] ath0: Use hw queue 3 for WME_AC_VO traffic
[4294690.328000] ath0: Use hw queue 8 for CAB traffic
[4294690.328000] ath0: Use hw queue 9 for beacons
[4294690.328000] Debugging version (ATH)
[4294690.328000] ath0: Atheros 5212: mem=0xff9f0000, irq=201
[4294690.349000] input: Logitech USB Receiver as /class/input/input2
[4294690.349000] input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.1-1.4
[4294690.349000] usbcore: registered new driver usbhid
[4294690.349000] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[4294690.359000] ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
[4294690.403000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04E8 pid 0x323A
[4294690.403000] usbcore: registered new driver usblp
[4294690.403000] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[4294690.449000] saa7127 0-0044: ivtv driver
[4294690.451000] saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
[4294690.453000] ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
[4294690.492000] ts: Compaq touchscreen protocol output
[4294690.525000] msp3400 0-0040: chip=MSP4448G-B3 +nicam +simple +simpler +radio mode=simpler
[4294690.525000] msp3400 0-0040: msp34xxg daemon started
[4294690.545000] ivtv0: i2c attach to card #0 ok [client=MSP4448G-B3, addr=40]
[4294690.582000] tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
[4294690.582000] ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
[4294691.255000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[4294691.286000] ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
[4294691.496000] ivtv0: Encoder revision: 0x02050032
[4294691.506000] ivtv0: Decoder revision: 0x02020023
[4294691.506000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
[4294691.506000] ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
[4294691.507000] ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
[4294691.507000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[4294691.508000] ivtv0: Create encoder radio stream
[4294691.508000] ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
[4294691.508000] ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
[4294691.509000] ivtv0: Create decoder VOUT stream
[4294691.509000] ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
[4294691.550000] ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
[4294691.660000] tuner 0-0061: type set to 47 (LG NTSC (TAPE series))
[4294691.930000] ivtv0: Initialized WinTV PVR 350, card #0
[4294691.930000] ivtv: ==================== END INIT IVTV ====================
dodongo
June 13th, 2006, 06:02 PM
I'm having the same problem:
root@mythtv:/usr/src/ivtv-0.4.4# ./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
-bash: ./ivtvfwextract.pl: No such file or directory
If I do an ls, the file is clearly there. Any ideas?
Thanks,dave
I saw up above you'd already fixed this problem. However, it looks like you just have a syntax error in your command. The pound sign (#) needs to be replaced wtih the version of the driver you're *actually* using -- probably either a 4 or a 5. The zip file you downloaded should contain the version number.
Vincent_Lin
June 13th, 2006, 08:41 PM
I have a question. well, a problem. I must have done something wrong,
while I was doing mythfilldatabase, a number of errors came out:
DB Error (Inserting into programgenres table):
Query was:
INSERT IGNORE INTO programgenres (chanid, starttime, relevance, genre) SELECT chanid, starttime, relevance, class FROM dd_v_program, dd_genre WHERE (dd_v_program.programid = dd_genre.programid);
Driver error was [2/1146]:
QMYSQL3: Unable to execute query
Database error was:
Table 'mythconverg.dd_v_program' doesn't exist
Could someone help?
Thanks.
Vincent
NT4usB
June 13th, 2006, 09:08 PM
I actually started with this guide... and then after having problems which turned out to be caused by running IVTV 0.4.5 (run 0.4.4!!!), I actually built mythtv 0.19 from source.. . and it seems to work great...
What troubles did 0.4.5 cause? I'm struggling with changing channels on one of my tuners. May be related?
scifan
June 14th, 2006, 01:10 AM
basic symptom was that I would see a given channel nice and clear, try to change channels and my system would freeze.
Problems don't exist with 0.4.4...
Run your mythbackend with a "-v playback" and check your logs... (if you have logging enabled).
there was an IVTV error when I'd try and change channels... when I searched on gossemer-threads (however it's spelled) the result basically stated that there were issue's with the 0.4.5 version and with 0.6.2... and to run either 0.4.4 or 0.6.1 depending on which kernel your running.
hope this helps...
my current issue is trying to figure out how to setup mythweb... might need to get some help with my .htaccess file...
I get the following error:
Database Setup Error
The database environment variables are not correctly set in the
included .htaccess file. Please read through the comments included
in the file and set up the db_* environment variables correctly.
Some possible solutions are to make sure that mod_env is enabled
in httpd.conf, as well as having followed the instructions in the
README about the AllowOverride settings.
though I've looked through the config/conf.php file and have worked with the .htaccess file... searching for idea's... :)
home this helps you.
kayno
June 14th, 2006, 01:21 AM
my current issue is trying to figure out how to setup mythweb... might need to get some help with my .htaccess file...
I get the following error:
Database Setup Error
The database environment variables are not correctly set in the
included .htaccess file. Please read through the comments included
in the file and set up the db_* environment variables correctly.
Some possible solutions are to make sure that mod_env is enabled
in httpd.conf, as well as having followed the instructions in the
README about the AllowOverride settings.
though I've looked through the config/conf.php file and have worked with the .htaccess file... searching for idea's... :)
home this helps you.
maybe you need to enable the mod_env module for apache. i think this should do it:
sudo /usr/sbin/apache-modconf apache enable mod_env
scifan
June 14th, 2006, 01:21 AM
got it...
had to actually load the rewrite_module also... :)
FujiApples
June 14th, 2006, 03:34 AM
Hi Everyone,
I'm trying to setup a pvr500 card and I'm stuck after installing the ivtv drivers. When testing the drivers using
cat /dev/video0 > /tmp/test.mpg
my computer crashes and reboots. It does the same thing when I try and veiw the stream in mplayer with
mplayer /dev/video0
The playback will work for a while, maybe 15 seconds, before crashing. Any ideas?
Thanks for the help.
NT4usB
June 14th, 2006, 04:10 PM
basic symptom was that I would see a given channel nice and clear, try to change channels and my system would freeze.
Problems don't exist with 0.4.4...
Sounds like what I've been fighting.
What troubles me is, at first both cards would freeze. I screwed with permissions and a bunch of stuff I had no idea what I was messing with and got one card to work.
Last night, I messed a little bit with stuff and both cards work.
I hate to remove the 4.5. For sure I'll wreck the dependancies and end up formating and starting over again...
Run your mythbackend with a "-v playback" and check your logs... (if you have logging enabled).
I've been running terminal with --verbose all on the frontend, seeing errors there and chasing them. Sounds like I'm working the wrong end of the problem...
I did have the log enabled in Myth. googled around some of the errors. Apparently, lots of people asking, not too many people solving...
there was an IVTV error when I'd try and change channels... when I searched on gossemer-threads (however it's spelled) the result basically stated that there were issue's with the 0.4.5 version and with 0.6.2... and to run either 0.4.4 or 0.6.1 depending on which kernel your running.
I've seen some ivtv error messages. googling around finds suggestions for fixes and workarounds. That's what I've been messing with. Wish I was better at documenting all the krap I changed... what worked and what didn't (as if I really knew.)
hope this helps...
It does.
Going to read up on the gossimer info and soon as I manage to jack this current build beyond repair, I'll remember to use the 4.4's when I start over...
my current issue is trying to figure out how to setup mythweb... might need to get some help with my .htaccess file...
I think I played with that for 10 minutes one night.
(try to stay focused on the pvr problems but sometimes I wander off on tangents, trying the other features, breaking other things...)
I pointed it at Firefox, opened Firefox and had a look. Concluded I have three perfectly good lcd's on my desk for browsing, don't need to surf my tv too...
tedwardo2
June 14th, 2006, 05:22 PM
You can also edit the file, and replace all occurances of repeat with `repeat` (backticks!!).
This is untested, but I have done things like this in the past with mysql. Hope it helps - it seems less painfull than downgrading :)
Cheers!
I'm having this problem, too. I tried downgrading to mysql4 but it didn't work. Does anyone know where the file I have to put backticks around the word "repeat" is?
kcrajkumar
June 14th, 2006, 07:41 PM
Im not sure about using purge on them as i havnt done that but maybe someone else here might be able to help you out? Im glad to hear that i could be of help as well! =)
HB
Hi Kayno / Hybrid Blue,
Could you please explain how you installed from source ?? I have followed the step and installed everything upto MythTv Installation. I want to install 0.19 but don't know to use the sources ( sources.list ) mentioned on this list or use mythtv documentation to get the source code and compile it... could you please let us know how did you install 0.19... if you have documentation on that please provide. Appreciate your help. Thanks.
dmitryse
June 14th, 2006, 07:42 PM
Great guide, thanks!
I was following this thread for some time now and finally everything works on my install, except the strange problem with the remote control. I have MCE USB remote, all drivers configured, everything worked fine. My box is set to auto-logon as mythtv user, and start the mythfrontend automatically (via Sessions/Startup Programs). Every time I reboot, the remote would not work. If I exit the mythfrontend, and start it up again, the remote works. When I log off, and log on as mythtv user, the remote works. Here is what I have checked so far:
1. lircd is running
2. Both /home/mythtv/.lircrc and /home/mythtv/.mythtv/lircrc configuration files are present, they both symbolic links and point to /etc/lircrc configuration file
3. mythtv user has read and write access to /dev/lircd
My .xsession-errors file has the following relevant lines:
The first time mythfrontend starts up on fresh boot
------------snip--------------------
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
-----------snip----------------------
Any consecutive starts of mythfrontend do not generate any “lirc_init failed” messages and remote works.
Any ideas?
Thanks
Hybrid Blue
June 14th, 2006, 08:19 PM
Hi Kayno / Hybrid Blue,
Could you please explain how you installed from source ?? I have followed the step and installed everything upto MythTv Installation. I want to install 0.19 but don't know to use the sources ( sources.list ) mentioned on this list or use mythtv documentation to get the source code and compile it... could you please let us know how did you install 0.19... if you have documentation on that please provide. Appreciate your help. Thanks.
Ill have to take a little while to make a write-up of how i got everything working.. Ill get working on it tonight and post what ive got for ya tomorrow.
kayno
June 14th, 2006, 11:04 PM
Hi Kayno / Hybrid Blue,
Could you please explain how you installed from source ?? I have followed the step and installed everything upto MythTv Installation. I want to install 0.19 but don't know to use the sources ( sources.list ) mentioned on this list or use mythtv documentation to get the source code and compile it... could you please let us know how did you install 0.19... if you have documentation on that please provide. Appreciate your help. Thanks.
i never installed from source. add these lines to your /etc/apt/sources.list:
deb http://home.eng.iastate.edu/~superm1 dapper main
deb-src http://home.eng.iastate.edu/~superm1 dapper main
deb http://knm.org/mythdebs/ binary/
deb-src http://knm.org/mythdebs/ source/
and then update:
sudo apt-get update
then install mythtv and required plugins:
sudo apt-get install mythtv
and any plugins you want, eg:
sudo apt-get install mythmusic
sudo apt-get install mythvideo
sudo apt-get install mythweb
gyro
June 14th, 2006, 11:54 PM
I have been using linux for only three days now so I am very new to this I am getting stuck at this point:
apt-get install linux-source-<kver> linux-headers-`uname -r`
this is what I see in my terminal:
root@brian-desktop:~# apt-get install linux-source-2.6.15 linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree... Done
Package linux-source-2.6.15 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package linux-source-2.6.15 has no installation candidate
Any help would be greatly appreciated. I'm sure this is a silly question but I am still just learning the basics.
thanks,
brian
althepcman
June 15th, 2006, 06:21 AM
I have been using linux for only three days now so I am very new to this I am getting stuck at this point:
this is what I see in my terminal:
root@brian-desktop:~# apt-get install linux-source-2.6.15 linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree... Done
Package linux-source-2.6.15 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package linux-source-2.6.15 has no installation candidate
Any help would be greatly appreciated. I'm sure this is a silly question but I am still just learning the basics.
thanks,
brian
Try:
sudo apt-get install linux-source
See what happens then. :)
dmitryse
June 16th, 2006, 11:31 AM
Every time I reboot, the remote would not work. If I exit the mythfrontend, and start it up again, the remote works. When I log off, and log on as mythtv user, the remote works.
I found wat was wrong with the remote - lirc start sequence number. In my install, the lirc start sequence number was set to 99:
update-rc.d lirc defaults 99
It seems that mythfrontend was loading before lirc. I had to change the lirc start sequence:
Remove lirc from autostart:
sudo update-rc.d -f lirc remove
than add it again, this time with the different start sequence number:
sudo update-rc.d lirc defaults 20
It fixed the problem
dodongo
June 16th, 2006, 11:46 AM
Try:
sudo apt-get install linux-source
See what happens then. :)
This should fix your problem. Reason being, Ubuntu has a series of "metapackages" which help make sure important parts of your system stay in sync. For example, there's a linux-kernel-[processor] metapackage, as well as a linux-source metapackage. When you get a kernel update, the metapackage changes* to instruct the system that there's a new version which needs to be installed.
This is done for a variety of reasons, the biggest being that if a bug should occur in a new kernel update, people's systems might not boot! Thus, having the old kernel still on your machine is a very good thing, at least for a little while. The metapackages let Ubuntu do that, while still automatically updating the kernel packages when new versions are needed.
The linux-source and linux-kernel metapackages will update at the same time, which will ensure you have the correct source to build against.
-------------
* - I think I'm right on this? Right? ;)
wardjame
June 21st, 2006, 02:38 AM
I had ivtv working ok but it now hates me. I was able to test using the cat /dev/video0 > /tmp/test.mpg on both cards without any problems but the command now fails with cat: /dev/video0: No such file or directory. And modprobe ivtv returns FATAL: Module ivtv not found. I re-ran the section on installing ivtv and am still getting the same errors. Any suggestions?
chadk
June 22nd, 2006, 04:50 PM
i never installed from source. add these lines to your /etc/apt/sources.list:
sudo apt-get install mythmusic
sudo apt-get install mythvideo
sudo apt-get install mythweb
I was happy to see all this but then I went and tried installing myth tv and got this:
Setting up mythtv-backend (0.19-5) ...
Starting MythTV server: mythbackendSession management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
.
Setting up mythtv-lcdserver (0.19-5) ...
Errors were encountered while processing:
mythtv-database
mythtv
E: Sub-process /usr/bin/dpkg returned an error code (1)
????
antonis_wrx
June 22nd, 2006, 06:06 PM
I followed the instructions in the first post and then these instructions: http://hyams.webhop.net/mythtv/myth_ubuntu.html but still I can't use my hauppauge 250 pvr pci. kdetv doesn't work at all, tvtime returns the following error message:
Running tvtime 1.0.1.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/antonis/.tvtime/tvtime.xml
videoinput: Card failed to allocate capture buffers: Invalid argument
dmesg output is:
[17179591.088000] ivtv: ==================== START INIT IVTV ================== ==
[17179591.088000] ivtv: version 0.4.5 (tagged release) loading
[17179591.088000] ivtv: Linux version: 2.6.15-25-386 preempt 486 gcc-4.0
[17179591.088000] ivtv: In case of problems please include the debug info betwe en
[17179591.088000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[17179591.088000] ivtv: any module options, when mailing the ivtv-users mailing list.
[17179591.088000] ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
[17179591.088000] ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 21 (level, low) -> IRQ 217
[17179591.100000] skge eth0: enabling interface
[17179591.144000] tveeprom: ivtv version
[17179591.144000] tveeprom: Hauppauge: model = 32034, rev = B148, serial# = 6912 309
[17179591.144000] tveeprom: tuner = LG TP18PSB11D (idx = 48, type = 29)
[17179591.144000] tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04, v4l2 = 0x000000 07)
[17179591.144000] tveeprom: audio processor = MSP3415 (type = 6)
[17179591.144000] tveeprom: decoder processor = SAA7115 (type = 13)
[17179591.144000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[17179591.276000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
[17179591.276000] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61 ]
[17179591.444000] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[17179591.568000] ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
[17179591.616000] msp3400 0-0040: chip=MSP3415G-B8 +nicam +simple +simpler +radi o mode=simpler
[17179591.616000] msp3400 0-0040: msp34xxg daemon started
[17179591.636000] ivtv0: i2c attach to card #0 ok [client=MSP3415G-B8, addr=40]
[17179591.720000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 225
[17179591.720000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[17179592.040000] intel8x0_measure_ac97_clock: measured 54682 usecs
[17179592.040000] intel8x0: clocking to 48000
[17179592.084000] input: ImPS/2 Generic Wheel Mouse as /class/input/input2
[17179592.096000] ts: Compaq touchscreen protocol output
[17179592.332000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[17179592.548000] ivtv0: Encoder revision: 0x02050032
[17179592.548000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers ( 4096KB total)
[17179592.548000] ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2 048KB total)
[17179592.548000] ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (20 48KB total)
[17179592.548000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffe rs (2048KB total)
[17179592.548000] tuner: type set to 29 (LG PAL_BG (TPI8PSB11D)) by ivtv i2c dri ver #0
[17179592.788000] ivtv0: Initialized WinTV PVR 250, card #0
[17179592.792000] ivtv: ==================== END INIT IVTV ==================
scifan
June 24th, 2006, 12:35 PM
What happens if you cat /dev/video0 > testfile.mpg do you get anything?
I have a pvr500 and with ivtv 4.5 and the default dapper kernel I would get choppy video playback and actually the driver would crash when I'd try and change channels.
What I have found for working succes on my system:
Ivtv 4.4 (there are issue's with IVTV 4.5 and with IVTV 6.3 - read gossimer Threads)
LIRC 0.8.0 (compiled so I could have mceusb2 for my USB MCE IR receiver happy)
mysql 4.1
mythtv 19.1 fixes installed from one of the sites - I don't remember which at one point I'd actually downloaded the deb's at a previous stage of this adventure... so when I decided to try them again, I dpkg installed them from my local source... (the version referenced in the deb name is 0.19-5)... make sure you install the libmyth-dev deb so you can download the mythtv 19 plugins source and compile mythmusic which isn't installable under dapper due to unresolved dependancies (read above in this thread)...
(./configure --enable-all --prefix=/usr
make) will make the modules using the configurations you need... expect to have to add dev libraries to fully make mythmusic... make sure you get the SDL library or goom won't work...
and then just copy the mythmusic plugin (libmythmusic.so) to the plugins directory in /usr/lib/mythtv
I'm running mysql 4.1 because I'd been trying all sorts of things to resolve the pesky sql server has "gone away" messages. I'd tried running my system with mysql 5.0 - broke enough things that the front end was segfaulting... so I broke down and re-installed - and with this installation I loaded mysql 4.1 and tried mythtv 18.1 and 19.0 and had issue's with mysql again. decided to give 19.1 (19-5) one more try and success... I'm unsure that it's worth my effort to migrate back to mysql 5.0 from 4.1... you know - don't "fix it" unless it's broken... and at this point it's not broken.
At this point I have all of the "current" season passes copied into my mythbox (have ~ 350 scheduled items, 66 recorded programs consuming ~ 53gb (some of half hour programs for my kids) and it's running stable... I'm transcoding all of the programs that are being recorded to xvid and I'm experiencing a good space savings over the mpeg2 files from the PVR500) Make sure that if you have a PVR card, you make sur eyou record at 720x480 to ensure your video looks good.. :)
Commercial skip seems to work very well.
I have everything running out 720p/component video to my HDTV which is working pretty decently.
antonis_wrx
June 24th, 2006, 07:14 PM
What happens if you cat /dev/video0 > testfile.mpg do you get anything?
I get no error messages. Here's the testfile.mpg I get. http://rapidshare.de/files/24024807/testfile.mpg.html I don't know if this is what I am supposed to get. Using ivtv-tune -c # -d /dev/video0 I get a black screen on mplayer
_cashel
June 27th, 2006, 04:37 PM
I've been following this guide up to the part of installing MythTV with no errors whatsoever. When I ran
apt-get install mythtv mythbrowser mythdvd mythgallery mythmusic mythnews mythvideo mythweather
it went through the entire install process and asked for my mysql password. I thought I entered in the password correctly (the same password used for phpmyadmin), but I get an error stating it failed to connect to the database after it's finished running through the install. If I re-enter the above command, it basically says the same thing and doesn't even run the install for me to enter the mysql password. How can I get it to run the install so I can retry the password?
Also, I was planning on following this guide step by step, installing 0.18, and immediately after installing 0.18, upgrade/manually compile 0.19 (I ran into some trouble just trying to compile 0.19 before and fubared everything). I shouldn't have any trouble doing this should I? Nothing *should* screw up?
edit: I changed the pass in the mysql.txt to the real phpmyadmin/mysql pass, I had mistyped it. When running the apt-get install command I still get a cannot connect to database error
chadk
June 27th, 2006, 05:44 PM
Is it possible for someone to VNC to my system and install MythTV assuming I open the port on my router? I have this card installed and it's just sitting there. Wish I could use it.
chadk
June 27th, 2006, 08:39 PM
Is it possible for someone to VNC to my system and install MythTV assuming I open the port on my router? I have this card installed and it's just sitting there. Wish I could use it.
c'mon! It'll be fun!
inf0c0m
June 28th, 2006, 09:24 AM
Not sure if this is the right place to ask this question but here goes. Is it possible to install mythtv on the server version (instead of the desktop)? The reason I want this, is that I need a full webserver (+ mail) with typo3 installed on the same pc as mythtv. However I'm still quite new at linux so I´ll need the guidence from both http://hyams.webhop.net/mythtv/myth_ubuntu.html (and this thread) and other server-walk-thrus.
Thx in advance
Staach
staach, youll want to do the regular install, the server install will not install X. however you can do the server install and follow the guides on how to install a 'light' X (using Xfce or fluxbox) on ubuntuwiki.
inf0c0m
June 28th, 2006, 09:40 AM
I had ivtv working ok but it now hates me. I was able to test using the cat /dev/video0 > /tmp/test.mpg on both cards without any problems but the command now fails with cat: /dev/video0: No such file or directory. And modprobe ivtv returns FATAL: Module ivtv not found. I re-ran the section on installing ivtv and am still getting the same errors. Any suggestions?
i upgraded from breezy to dapper and i had the same thing, i seem to recall having to reinstall a newer version of the ivtv drivers a few times in order to get it working. i would try to back all of your steps up, and essentially start over from scratch. that way you know if youve missed anything.
Staach
June 29th, 2006, 01:15 AM
staach, youll want to do the regular install, the server install will not install X. however you can do the server install and follow the guides on how to install a 'light' X (using Xfce or fluxbox) on ubuntuwiki.
Thx for the rep. I had sort of lost hope on this, but I will try a go on the server/light X :eek:
jlindley
June 29th, 2006, 02:19 PM
I had ivtv working ok but it now hates me. I was able to test using the cat /dev/video0 > /tmp/test.mpg on both cards without any problems but the command now fails with cat: /dev/video0: No such file or directory. And modprobe ivtv returns FATAL: Module ivtv not found. I re-ran the section on installing ivtv and am still getting the same errors. Any suggestions?
I had the same problem, turned out that adding ivtv to the file /etc/modules is unneeded, and when I took it out everything worked fine. I think I had added some errant formatting to the file which was also a problem.
ceargle
July 3rd, 2006, 09:33 PM
Just finished installing MythTV 0.18 on Xubuntu 6.06 and was getting a DB Error whenever I ran 'mythfilldatabase'. Upgrading to 0.19 with the repos Xinix supplied on page 2 of this thread fixed this problem.
talz13
July 3rd, 2006, 10:47 PM
I'm right in the middle of setting up mythtv on my freshly installed 6.06 setup, and got to the point in the hyams guide for setting up mythweb (i'm installing 0.19 from source under section 9.8 of the guide).
The guide says:
Mythweb needs some special attention for proper installation. We do that here:
apt-get install apache2 libapache2-mod-php4
mkdir /usr/local/mythtv/share/mythtv/mythweb
mv /var/www/mythweb /var/www/mythweb-0.18
ln -s /usr/local/mythtv/share/mythtv/mythweb /var/www/mythweb
cd mythweb
cp -r . /usr/local/mythtv/share/mythtv/mythweb
chown www-data /var/www/mythweb/data
cd ..
I can't seem to find any folders or files that fit this description (not a mythweb-0.18 or mythweb-0.19 or anything at all). The only things under my /var/www/ are "apache2-default" and "phpmyadmin".
Also, above this line where it says to install apache2 and libapache2-mod-php4, installing mod-php4 wants to remove mod-php5. Is that what i want to do? Because this guide said to install php5 instead.
Can anybody offer some advice to get my install progressing again? Maybe it's something horribly simple that I just completely overlooked?
Nanodeath
July 5th, 2006, 03:46 AM
I also have a confusing dilemma...okay, two, actually.
1) When I reboot my computer, the /dev/video and /dev/video0 files/whatevers go away, even when they were at least partially working before hand.
2) When following the ivtv instruction guides on this page and on Hyam's page, the IVTV module loads...but there's no useful information between the INIT ITVT and the ending brackets in dmesg. Any ideas? I have a WinTV PVR-350 and am giving the 0.4.6 ivtv drivers a shot. TIA.
inf0c0m
July 5th, 2006, 10:28 AM
I also have a confusing dilemma...okay, two, actually.
1) When I reboot my computer, the /dev/video and /dev/video0 files/whatevers go away, even when they were at least partially working before hand.
2) When following the ivtv instruction guides on this page and on Hyam's page, the IVTV module loads...but there's no useful information between the INIT ITVT and the ending brackets in dmesg. Any ideas? I have a WinTV PVR-350 and am giving the 0.4.6 ivtv drivers a shot. TIA.
can you post the info between the ===init ivtv=== and the ==end init ivtv== one? this may be why you are not getting any /dev/videoX
inf0c0m
July 5th, 2006, 10:31 AM
I'm right in the middle of setting up mythtv on my freshly installed 6.06 setup, and got to the point in the hyams guide for setting up mythweb (i'm installing 0.19 from source under section 9.8 of the guide).
The guide says:
I can't seem to find any folders or files that fit this description (not a mythweb-0.18 or mythweb-0.19 or anything at all). The only things under my /var/www/ are "apache2-default" and "phpmyadmin".
Also, above this line where it says to install apache2 and libapache2-mod-php4, installing mod-php4 wants to remove mod-php5. Is that what i want to do? Because this guide said to install php5 instead.
Can anybody offer some advice to get my install progressing again? Maybe it's something horribly simple that I just completely overlooked?
there is a problem with something that gets installed between php and mysql. what version of mysql are you running and what version of php are you running? and more importantly what version of mythweb are you running?
Nanodeath
July 5th, 2006, 03:39 PM
can you post the info between the ===init ivtv=== and the ==end init ivtv== one? this may be why you are not getting any /dev/videoX
Well...just after I run through the install the first time (when /dev/video0 IS present) I get this:
[17184702.072000] ivtv: ==================== START INIT IVTV ====================
[17184702.072000] ivtv: version 0.4.4 (tagged release) loading
[17184702.072000] ivtv: Linux version: 2.6.15-25-386 preempt 486 gcc-4.0
[17184702.072000] ivtv: In case of problems please include the debug info between
[17184702.072000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with[17184702.072000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[17184702.072000] ivtv: ==================== END INIT IVTV ====================
From what I've seen, that's farrr too short...
inf0c0m
July 5th, 2006, 06:58 PM
Well...just after I run through the install the first time (when /dev/video0 IS present) I get this:
[17184702.072000] ivtv: ==================== START INIT IVTV ====================
[17184702.072000] ivtv: version 0.4.4 (tagged release) loading
[17184702.072000] ivtv: Linux version: 2.6.15-25-386 preempt 486 gcc-4.0
[17184702.072000] ivtv: In case of problems please include the debug info between
[17184702.072000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with[17184702.072000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[17184702.072000] ivtv: ==================== END INIT IVTV ====================
From what I've seen, that's farrr too short...
yeah thats way too short. try running through the install again, just for ivtv
Nanodeath
July 6th, 2006, 12:24 AM
yeah thats way too short. try running through the install again, just for ivtv
[17179592.232000] bttv0: using: Hauppauge (bt878) [card=10,autodetected]
[17179592.376000] tvaudio 0-005b: tda9850 found @ 0xb6 (bt878 #0 [sw])
[17179592.432000] tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
[17179593.084000] bt878: AUDIO driver version 0.0.0 loaded
[17179592.232000] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[17179592.232000] bttv0: using: Hauppauge (bt878) [card=10,autodetected]
[17179592.236000] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[17179592.328000] tveeprom 0-0050: Hauppauge model 62471, rev A , serial# 1134796
Is this part important at all?
inf0c0m
July 7th, 2006, 08:25 AM
[17179592.232000] bttv0: using: Hauppauge (bt878) [card=10,autodetected]
[17179592.376000] tvaudio 0-005b: tda9850 found @ 0xb6 (bt878 #0 [sw])
[17179592.432000] tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
[17179593.084000] bt878: AUDIO driver version 0.0.0 loaded
[17179592.232000] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[17179592.232000] bttv0: using: Hauppauge (bt878) [card=10,autodetected]
[17179592.236000] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[17179592.328000] tveeprom 0-0050: Hauppauge model 62471, rev A , serial# 1134796
Is this part important at all?
yeah, thats looking better, but your still not finding anything as far /dev/videoX goes?
msbose
July 7th, 2006, 01:27 PM
Followed the guide and this post to install mythtv. Opted to use mythtv .19 and ivtv-0.4.6 and "successfully" installed mythtv (no errors with mysql and phpadmin, etc). However, I do not get any video. I see that it records fine and plays back in the preview window but when I click on "Watch TV" the screen goes black and all I can hear is the audio with no video. I have to cold start the machine since ESC does not throw me back to the main screen. I am so close.. yet so far! ](*,) Help!
msbose
July 7th, 2006, 01:32 PM
My dmesg Output:
ivtv: ==================== START INIT IVTV ================== ==
[17179597.348000] ivtv: version 0.4.6 (tagged release) loading
[17179597.348000] ivtv: Linux version: 2.6.15-25-686 SMP preempt 686 gcc-4.0
[17179597.348000] ivtv: In case of problems please include the debug info betwe en
[17179597.348000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[17179597.348000] ivtv: any module options, when mailing the ivtv-users mailing list.
[17179597.364000] AC'97 0 analog subsections not ready
[17179597.432000] intel8x0_measure_ac97_clock: measured 55177 usecs
[17179597.432000] intel8x0: clocking to 48000
[17179597.432000] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 18 (level, low) -> IRQ 177
[17179597.432000] PCI: Setting latency timer of device 0000:02:01.0 to 64
[17179597.532000] input: PC Speaker as /class/input/input2
[17179597.660000] e1000: 0000:02:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:0e:a6: 69:aa:e5
[17179597.684000] Floppy drive(s): fd0 is 1.44M
[17179597.708000] parport: PnPBIOS parport detected.
[17179597.708000] parport0: PC-style at 0x378 (0x778), irq 7<6>FDC 0 is a post-1 991 82077
[17179597.708000] , dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[17179597.840000] input: ImExPS/2 Generic Explorer Mouse as /class/input/input3
[17179597.928000] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[17179597.932000] ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
[17179597.932000] ACPI: PCI Interrupt 0000:03:0b.0[A] -> GSI 23 (level, low) -> IRQ 185
[17179597.980000] tveeprom: ivtv version
[17179597.980000] tveeprom: Hauppauge: model = 32062, rev = C185, serial# = 2881 901
[17179597.980000] tveeprom: tuner = TCL 2002N 6A (idx = 85, type = 50)
[17179597.980000] tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x0000100 0)
[17179597.980000] tveeprom: audio processor = MSP3445 (type = c)
[17179597.980000] tveeprom: decoder processor = SAA7115 (type = 13)
[17179597.980000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[17179598.000000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
[17179598.000000] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61 ]
[17179598.044000] ts: Compaq touchscreen protocol output
[17179598.196000] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[17179598.324000] ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
[17179598.388000] msp3400 0-0040: chip=MSP3445G-B8 +nicam +simple +simpler +radi o mode=simpler
[17179598.388000] msp3400 0-0040: msp34xxg daemon started
[17179598.400000] ivtv0: i2c attach to card #0 ok [client=MSP3445G-B8, addr=40]
[17179599.188000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[17179599.404000] ivtv0: Encoder revision: 0x02050032
[17179599.404000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers ( 4096KB total)
[17179599.404000] ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2 048KB total)
[17179599.404000] ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2 048KB total)
[17179599.404000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffe rs (2048KB total)
[17179599.404000] tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
[17179599.412000] e1000: eth0: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
[17179599.552000] ivtv0: Initialized WinTV PVR 250, card #0
[17179599.552000] ivtv: ==================== END INIT IVTV ==================
NT4usB
July 7th, 2006, 07:57 PM
Might be the ivtv 0.4.6 drivers. Go back through this thread and there's stuff about staying with 0.4.4. (It solved my 'black screen' problem)
msbose
July 7th, 2006, 08:27 PM
I'll reinstall the OS and give it another shot with ivtv 0.4.4 and let you know.
Moridin333
July 7th, 2006, 10:02 PM
I FINALLY FIGURED IT OUT!!!
I was having major problems getting channel info with mythupdatedb. Turns out that the version of MySQL is not compatible with the version of MythTV on the repos.
To fix this problem do a complete removal of MySQL-server 5 and install MySql 4
I had to make a mythtv user in MySQL and run Mythtv-setup again. But everything is working now.
msbose
July 8th, 2006, 05:13 PM
Tried reinstalling Ubuntu and following the guide 3 times and get the same "black screen" each time. :confused:
evilbunny
July 8th, 2006, 07:14 PM
Hmmm I've skim read a lot of the posts and there seems to be a few bits of mis-info posted.
I added only the following lines to my /etc/apt/sources.list;
# MythTV 0.19
deb http://knm.org/mythdebs/ binary/
#IVTV 0.4.6 pkgs
deb http://www.hellion.org.uk/debian sid main
Anything else seems dead or has a limited number of packages etc etc etc so is a waste of time even pulling the packages file.
To compile most kernel modules you just need the headers and not the actually source, and the simplest way to get everything needed is simply typing "sudo m-a prepare". This will grab the relivent headers for your kernel and compilers needed. Then you can run "sudo m-a auto-install ivtv0.4", it'll do it's thing and you should hopefully end up with the ivtv modules installed as a result.
I have 4 tuners, 3 pvr 150's with remotes/IR blasters, and 1 without (MCE). I'd suggest everyone only buy the cards with IR blasters as this gives you greatest flexibility since you can use the IR blasters for set top boxes. Some smart cookie has fixed the lirc source to work not only with the remotes but also with the IR blaster to change channels. Go to http://www.blushingpenguin.com/mark/blog/?p=24 and follow the step by step instructions to the letter and everything seems to work just peechy.
I previously posted some general tips already on this topic: http://www.ubuntuforums.org/showpost.php?p=323935&postcount=30
jafenske
July 8th, 2006, 07:30 PM
Have anyone had success upgrading to mythtv 0.19 with the packages found on
http://drop.thehunter.ws/index.php?path=mythtv-debian/
I'm having a sql syntax error and my research suggests that I either have to upgrade to 0.19 or down grade to mysql4.0.
Thanks
evilbunny
July 8th, 2006, 07:56 PM
I'm having a sql syntax error and my research suggests that I either have to upgrade to 0.19 or down grade to mysql4.0
I don't know of a good reason to use MySQL 5 with mythtv until they fix the problematic field... Although future proofing using back ticks should have been done in any case to prevent this exact problem from ever occuring...
NT4usB
July 8th, 2006, 07:57 PM
After a month and a half of following howto's, uninstalling, reinstalling, googling, and generally beating my head against the desk, I have a fully functional MythTV 0.19-5. Using what I learned from all the howto's and guides, I started over and went after it step by step.
Basically, I uninstalled everything Myth.
Then I got mysql working correctly. Then I got the cards working. Got the remote working. Then installed 19-5 from the knm repository.
To fix the libcdaudio1 deal that kept mythmusic from installing I used the ubuntu 5.10 repositoried to install libcdaudio0. Then switched back to the 6.06 repositories and completed the install.
msbose
July 9th, 2006, 03:21 AM
This whole experience reinforces the fact that linux is NOT intended for the masses. I have tried following instructions and trying various settings only to HAVE to give up! I installed SageTV on windows and the whole process took 25-30 minutes! I want MythTV to work so bad..., and spent all of the last three days tinkering with hope that it'll work.... and ended up disappointed. Oh well! This n00b (on linux) has given up!:-({|=
evilbunny
July 9th, 2006, 04:07 AM
If linux was so hard, why didn't you just buy a tivo?
msbose
July 9th, 2006, 05:06 PM
I do have a Tivo.
Anyway, I finally got MythTV working and am not sure what I did different to be quite honest. This is what I remember:
- Used Automatrix for installing NVIDIA drivers
- IVTV-0.4.6 was downloaded from the link above
- Installed MythTV 0.19-5 (also from the link a few posts back)
evilbunny
July 9th, 2006, 06:40 PM
Anyway, I finally got MythTV working and am not sure what I did different to be quite honest.
Did you use the same package repositories in previous attempts?
Ummm?
NT4usB
July 9th, 2006, 08:18 PM
I found 0.18 didn't work for me with the latest mysql (5.).
The repositories at:
deb http://home.eng.iastate.edu/~superm1 dapper main
deb-src http://home.eng.iastate.edu/~superm1 dapper main
have 0.19 but only the basic install. No themes or plugins.
These repositories:
deb http://knm.org/mythdebs/ binary/
deb-src http://knm.org/mythdebs/ source/
have 0.19-5 complete. Only issue is with mythmusic but installing libcdaudio0 from the 5.10 repo's solves that.
Like I said in a prior post, get the other stuff (mysql, cards, etc.) working perfectly before installing mythtv and it works great.
anguyen
July 11th, 2006, 08:55 AM
I just followed the steps outlined in this thread. First, I'd like to say thank you. I would have had a much harder time getting everything working without this thread.
To contribute back, here are some problems I ran into and what I did to get around them.
* Instead of installing mysql-server, install mysql-server-4.1.
sudo apt-get install build-essential dialog apache2 mysql-server-4.1 phpmyadmin gcc-3.4 libapache2-mod-php5
mysql-server will install the latest version, which is mysql-server-5.0 as of this post.
* Before installing mythweb, install the php5 metapackage, otherwise, mythweb will try to install the php4 metapackage.
apt-get install php5 mythweb mythtv-doc
* Make sure php is enabled for apache2 (it was only enabled for cgi in my case). Make sure the following lines appear in /etc/php5/apache2/php.ini
extension=mysql.so
extension=mysqli.so
* Be sure your host file contains all the names for your local host. When apache starts, it tries to figure out the fully qualified name for the host (to assign to the default virtual host?). My apache gave me a warning about not being able to figure out the name of the localhost when I would start/restart it. This caused problems when trying to accessing the web server from a web browser on a different machine. I had no problems using http://localhost from the same machine, but could not get things to work when using a browser on another machine with http://myth.mydomain.com. Check that /etc/hosts contains the fully qualified name of your host:
127.0.1.1 myth.mydomain.com myth
Now that I have my system setup with my PVR-150, I am working on adding all the QAM256 channels from my AverMeida A180.
Andy
ianupright
July 13th, 2006, 03:12 AM
Ok, apparently I'm an idiot when it comes to ubuntu 6.06. I tried digging around the wiki, but I didn't find what I wanted. What SVN repository are you downloading Myth 0.19 from? Do you have a URL or a wiki page that describes this? Is this a myth SVN repository or a Dapper SVN repository?
Thanks
Dave M G
July 13th, 2006, 09:24 AM
I have successfully installed and run the IVTV drivers with Ubuntu Dapper through many kernel upgrades. Since about kernel 2.6.15-20-686 or so.
I have a PVR-150.
I installed IVTV using the instructions here:
http://s91928265.onlinehome.us/hfamily/mythtv/myth_ubuntu.html
With the adjustments for Dapper as described at the beginning of this thread here:
http://www.ubuntuforums.org/showthread.php?t=186747
But with this last kernel upgrade, 2.6.15-26-686, the install process no longer works.
I get to almost the very end of the IVTV install instructions, and then I hit this error:
dave@homebase:/usr/src/ivtv-0.4.6/utils$ sudo modprobe ivtv
FATAL: Error inserting ivtv (/lib/modules/2.6.15-26-686/ivtv/ivtv.ko): Invalid module format
First, why is this process not working anymore?
Second, is there no hope of getting IVTV to be included in a repository? Going through this long list of commands every time there's a kernel upgrade is insane.
bicchi
July 13th, 2006, 10:10 AM
Second, is there no hope of getting IVTV to be included in a repository? Going through this long list of commands every time there's a kernel upgrade is insane.
I have had the same issue since I got this card long time ago and with every kernel upgrade I have to recompile the drivers. I do believe that the drivers are been put into the Linux kernel. Not sure if the modules will end up on 2.6.17 or 2.6.18 all depends of how good the code is. I am not sure how the firmware is going to work, probably we will still have to download the firmware files and copy those directly to the appropiate directory. It would be nice if ubuntu puts them on deb package that also includes the utilities for controlling the card.
Look at this two threads for more info:
http://www.gossamer-threads.com/lists/ivtv/devel/30697 (http://www.gossamer-threads.com/lists/ivtv/devel/30697)
http://www.kernel.org/git/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git&a=search&h=HEAD&s=ivtv
xeta
July 13th, 2006, 12:22 PM
Well, I've basically given up on my pvr350. The guide was great but, I cant get the firmware to work with my card. Unfourtunatley I was talked into the 350 by a hauppauge rep that said it was "better". Seeing all the 150, and 250's that work...(and not really seeing any 350's work) I guess I got shafted. Ah well. Thanks for the good writeup. At least some people have it up and running.
NT4usB
July 13th, 2006, 04:45 PM
I have successfully installed and run the IVTV drivers with Ubuntu Dapper through many kernel upgrades. Since about kernel 2.6.15-20-686 or so.
I have a PVR-150.
I installed IVTV using the instructions here:
http://s91928265.onlinehome.us/hfamily/mythtv/myth_ubuntu.html
With the adjustments for Dapper as described at the beginning of this thread here:
http://www.ubuntuforums.org/showthread.php?t=186747
But with this last kernel upgrade, 2.6.15-26-686, the install process no longer works.
I get to almost the very end of the IVTV install instructions, and then I hit this error:
dave@homebase:/usr/src/ivtv-0.4.6/utils$ sudo modprobe ivtv
FATAL: Error inserting ivtv (/lib/modules/2.6.15-26-686/ivtv/ivtv.ko): Invalid module format
First, why is this process not working anymore?
Second, is there no hope of getting IVTV to be included in a repository? Going through this long list of commands every time there's a kernel upgrade is insane.
[fwiw] (iirc) after I updated the kernel (and ivtv and lirc broke,) I figured everything needed to build ivtv and lirc should still be on the box.
So I only d/l'd the Linux-headers (don't even know if this was necessary.)
cd'd to ivtv, make, make install.
cd'd to the lirc dir, make, make install and everything was working again.
Mind you, I have no idea what I'm doing in Linux... but this got mythtv going again.
ymmv.
sebz2005
July 14th, 2006, 07:35 AM
Really quickly, can some one tell me what to do here. I'm trying to do
apt-get build-dep mythtv
but it's telling me to get the liblame-dev package, but it's been replaced with liblame0.
What do I do?!?
pbmax
July 15th, 2006, 01:47 AM
I fixed it. The clue was in the log above. It successfully loaded v4l-cx2341x-enc.fw, but not v4l-cx2341x-dec.fw. I looked in /lib/firmware and saw that v4l-cx2341x-dec.fw was a symbolic link. I removed the link and copied the real file there instead. It worked.
I haven't figured out how to fix this. I have the same problem with installing the firmware
[17184137.680000] cx25840 0-0044: unable to open firmware v4l-cx25840.fw
[17184137.740000] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
[17184137.768000] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[17184137.776000] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
[17184138.424000] ivtv0: unable to open firmware v4l-cx2341x-enc.fw
[17184138.424000] ivtv0: did you put the firmware in the hotplug firmware directory?
[17184138.424000] ivtv0 warning: failed loading encoder firmware
[17184138.424000] ivtv0 warning: Error loading firmware -3!
[17184138.424000] ivtv0: Error -3 initializing firmware.
[17184138.428000] ivtv0: Error -12 on initialization
[17184138.428000] ivtv: probe of 0000:02:01.0 failed with error -12
[17184138.428000] ivtv: ==================== END INIT IVTV ====================
any suggestions?
thanks
pb
althepcman
July 15th, 2006, 11:40 PM
I haven't figured out how to fix this. I have the same problem with installing the firmware
[17184137.680000] cx25840 0-0044: unable to open firmware v4l-cx25840.fw
[17184137.740000] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
[17184137.768000] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[17184137.776000] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
[17184138.424000] ivtv0: unable to open firmware v4l-cx2341x-enc.fw
[17184138.424000] ivtv0: did you put the firmware in the hotplug firmware directory?
[17184138.424000] ivtv0 warning: failed loading encoder firmware
[17184138.424000] ivtv0 warning: Error loading firmware -3!
[17184138.424000] ivtv0: Error -3 initializing firmware.
[17184138.428000] ivtv0: Error -12 on initialization
[17184138.428000] ivtv: probe of 0000:02:01.0 failed with error -12
[17184138.428000] ivtv: ==================== END INIT IVTV ====================
any suggestions?
thanks
pb
Check that you have the ivtv files in the correct directory by doing the following:
ls -ltra /lib/firmware/
if you see the following files:
-rw-r--r-- 1 root root 262144 2006-07-03 22:36 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 2006-07-03 22:36 ivtv-fw-dec.bin
-r--r--r-- 1 root root 14264 2006-07-03 22:37 v4l-cx25840.fw
-r--r--r-- 1 root root 376836 2006-07-03 22:37 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root 155648 2006-07-03 22:38 v4l-cx2341x-init.mpg
v4l-cx2341x-dec.fw -> lib/firmware/ivtv-fw-dec.bin
Then it should work.
idcard_1
July 16th, 2006, 04:19 PM
On my amd64 install of dapper, the firmware had to go to /lib/firmware/2.6.15-23-amd64-generic
Thanks! Yeah its seems for an amd64 system the firmware files have to go inside
/lib/firmware/`uname -r`/
I didn't stumble on this site until about my 10th install, but finally got the drivers to load correctly. Now I just need to get the lirc installed!
evilbunny
July 17th, 2006, 12:18 PM
But with this last kernel upgrade, 2.6.15-26-686, the install process no longer works.
I get to almost the very end of the IVTV install instructions, and then I hit this error:
dave@homebase:/usr/src/ivtv-0.4.6/utils$ sudo modprobe ivtv
FATAL: Error inserting ivtv (/lib/modules/2.6.15-26-686/ivtv/ivtv.ko): Invalid module format
First, why is this process not working anymore?
Quick solution is to delete the directory, untar it and rebuild it and it'll work, for some reason when you run the install later it tries to build it for the old kernel still...
evilbunny
July 17th, 2006, 12:50 PM
Thanks! Yeah its seems for an amd64 system the firmware files have to go inside
/lib/firmware/`uname -r`/
No this is for all current versions of ubuntu because of hal and other updates/upgrades...
noday42
July 17th, 2006, 03:49 PM
Check that you have the ivtv files in the correct directory by doing the following:
ls -ltra /lib/firmware/
if you see the following files:
-rw-r--r-- 1 root root 262144 2006-07-03 22:36 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 2006-07-03 22:36 ivtv-fw-dec.bin
-r--r--r-- 1 root root 14264 2006-07-03 22:37 v4l-cx25840.fw
-r--r--r-- 1 root root 376836 2006-07-03 22:37 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root 155648 2006-07-03 22:38 v4l-cx2341x-init.mpg
v4l-cx2341x-dec.fw -> lib/firmware/ivtv-fw-dec.bin
Then it should work.
mine has all of those, and still doesn't work....though, my v4l-cx2341x-dec.fw part is showing up in light blue.....I dont know if that means anything.
I'm really stuck and have no clue where to go from here, because no matter what, the firmware for v4l-cx2341x-dec.fw cannot be opened
qrazi
July 17th, 2006, 05:51 PM
I have also upgraded to 6.06, and then mythtv to 0.19. Ever since, the interface of mythtv doesnt show the plugins like videos, music etc anymore. In mythweb it does include my music and videocollection however.
Anybody an idea why this is, or how to fix it?
thefool808
July 18th, 2006, 10:51 AM
I'm having the same problem. From a previous post in this thread, it seems that the symlink may be causing the problem. Can you try copying the file lib/firmware/ivtv-fw-dec.bin to v4l-cx2341x-dec.fw? I'm at work and can't attempt this solution right now, but will try it when I get home.
mine has all of those, and still doesn't work....though, my v4l-cx2341x-dec.fw part is showing up in light blue.....I dont know if that means anything.
I'm really stuck and have no clue where to go from here, because no matter what, the firmware for v4l-cx2341x-dec.fw cannot be opened
pbmax
July 19th, 2006, 12:37 AM
Opps forgot to tell eveyone after installign all those things in the how to you should restart apache by doing the following:
sudo /etc/init.d/apache2 restart
I will add this to the how to. :)
I had the same problem as althepcman, but the restart didn't fix it. Anyone know what would?
thanks
pb
althepcman
July 19th, 2006, 06:00 AM
I had the same problem as althepcman, but the restart didn't fix it. Anyone know what would?
thanks
pb
System restart. :)
Try it and let me know.
thefool808
July 19th, 2006, 09:10 AM
Just this morning I succesfully got X running on the pvr350 tv out. I had to use the ivtvdev driver from http://www.hellion.org.uk/ivtv/index.html and the xorg.conf changes at http://www.mythtv.org/wiki/index.php/XV_on_PVR-350.
I don't like using a precompiled kernel module though, so if someone could help me out with directions on compiling my own from source that would be great. I was following the directions from http://ivtv.writeme.ch/tiki-index.php?page=XDriverHowTo but I don't know my "/path/to/X/sources" in Dapper. Any help would be appreciated.
Dave M G
July 19th, 2006, 09:21 AM
There's a point in the instructions where it says to edit /usr/src/linux/Makefile, and make EXTRAVERSION match the output of 'uname -r'.
My uname -r says
2.6.15-26-686
So, my EXTRAVERSION should be:
EXTRAVERSION = -26-686
But I can't help but notice that, before I do any edits, the EXTRAVERSION in my Makefile is a completely different format:
EXTRAVERSION = .7-ubuntu1
Although I follow all the rest of the instructions to the letter, IVTV is still not working. It was working find in previous builds, and this is the first time I've seen .7-ubuntu1.
Is there some conflict because of the differing formats of EXTRAVERSION?
Titus A Duxass
July 19th, 2006, 09:29 AM
I noticed that, I over wrote it with my extra version.
IVTV problems - try switching off and disconnect the power for about 30 seconds then restart.
Dave M G
July 19th, 2006, 09:30 AM
Another thing...
this time while running through the IVTV install process, when I was making the IVTV drivers, I got this output:
make[2]: Entering directory `/usr/src/linux-source-2.6.15'
WARNING: Symbol version dump /usr/src/linux-source-2.6.15/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST
*** Warning: "i2c_master_send" [/usr/src/ivtv-0.4.5/driver/tveeprom.ko] undefined!
*** Warning: "i2c_attach_client" [/usr/src/ivtv-0.4.5/driver/tveeprom.ko] undefined!
*** Warning: "i2c_detach_client" [/usr/src/ivtv-0.4.5/driver/tveeprom.ko] undefined!
*** Warning: "i2c_del_driver" [/usr/src/ivtv-0.4.5/driver/tveeprom.ko] undefined!
*** Warning: "i2c_add_driver" [/usr/src/ivtv-0.4.5/driver/tveeprom.ko] undefined!
*** Warning: "i2c_master_recv" [/usr/src/ivtv-0.4.5/driver/tveeprom.ko] undefined!
*** Warning: "i2c_probe" [/usr/src/ivtv-0.4.5/driver/tveeprom.ko] undefined!
*** Warning: "i2c_del_driver" [/usr/src/ivtv-0.4.5/driver/tuner.ko] undefined!
*** Warning: "i2c_add_driver" [/usr/src/ivtv-0.4.5/driver/tuner.ko] undefined!
*** Warning: "i2c_detach_client" [/usr/src/ivtv-0.4.5/driver/tuner.ko] undefined!
Any idea on why this is happening?
Titus A Duxass
July 19th, 2006, 09:37 AM
Nope, no idea. But that looks like your problem area. Did you follow the how-to step by step.
Did you cut and paste the commands or did you use tab to auto-complete them for you?
Edit at 17:38 CET
I have just completed this step with out any problems, you must be going wrong before the make and make install commands.
NT4usB
July 19th, 2006, 03:05 PM
Another thing...
this time while running through the IVTV install process, when I was making the IVTV drivers, I got this output:
make[2]: Entering directory `/usr/src/linux-source-2.6.15'
WARNING: Symbol version dump /usr/src/linux-source-2.6.15/Module.symvers
is missing; modules will have no dependencies and modversions.
fwiw, I saw this every time I reinstalled (probably 6 complete reinstalls... doh!)
It didn't affect anything related to ivtv that I could see.
Been running good for ~2 weeks now (finally!)
Can't help on the other errors...
pyroman
July 19th, 2006, 05:05 PM
Hey all, I got mythtv and everything installed and working correctly, but my main goal was to be able to hook up my game console and play it. That worked too, sorta. There is a good amount of lag between when I do something with the controls, and I see some results on the screen. I've looked around on all diffrent forums, and I've gotten close to my goal. One thing is do need help with though is turning off the MPEG encoder. I read that if I was able to do this, the lag would go away. So I was wondering, does anyone knew how to turn that bad boy off?
O yeh, I should probably mention that I'm using a PVR-150-MCE.
jonah1980
July 20th, 2006, 07:01 AM
Hi could anyone please help me out on 64bit if possible, i've started a thread here: http://www.ubuntuforums.org/showthread.php?p=1278633#post1278633
Also could anyone suggest if the Pinnacle PCTV Hybrid Pro PCI will work with Myth and also the remote control. I can't find anything about this tv card and linux so far... I hope it works, already got the hardware but gave up windows a few weeks ago. Brave steps but now i'm on a new dapper 64bit machine with a few bugs but pretty much everything is working sweet.
qrazi
July 20th, 2006, 02:26 PM
I have also upgraded to 6.06, and then mythtv to 0.19. Ever since, the interface of mythtv doesnt show the plugins like videos, music etc anymore. In mythweb it does include my music and videocollection however.
Anybody an idea why this is, or how to fix it?
Does anybody else have experience with this problem? I tried to reinstall version 0.19 several times, both from repositories as from source, but i dont get MythVideo/Music/DVD etc. working.
iglablues
July 20th, 2006, 10:53 PM
Sorry.
bla2000
July 21st, 2006, 05:10 PM
I've had mythtv running for the past year on Hoary. If I decide to upgrade and install mythtv 0.19 with mysql5 will I be able to restore my existing myconverg database that is currently running on mysql4? Or is my only option install dapper, mythtv and downgrade to mysql4 before restoring my existing database?
Thanks.
sebz2005
July 21st, 2006, 11:43 PM
I have a Tevion DVB-T 220 RF card and the latest kernel, 2.6.17.6, supports it. I installed it, but now I don't know what type of card I should select in the mythtv-setup. Or should I update to MythTV-0.19?
atrus123
July 22nd, 2006, 10:26 AM
Just in case anyone is interested, here is a walkthrough (http://www.animewine.com/index.php?entry=entry060720-151531) I wrote up for installing MythTV on Dapper using the ATI All-In-Wonder-Pro card.
It is my first walkthrough. Please note my sources at the bottom of the entry. (This thread was one of my sources).
qrazi
July 23rd, 2006, 04:41 AM
Does anybody else have experience with this problem? I tried to reinstall version 0.19 several times, both from repositories as from source, but i dont get MythVideo/Music/DVD etc. working.
I sort of fixed my problem with having apparantly no plugins. As it turned out, with my upgrade to 0.19 i didnt properly install the plugins.
When I upgraded I first tried to compile from source, but later used a repositorie.
Right now, I have added the following to my sources.list:
## MythTV 0.19
deb http://knm.org/mythdebs/ binary/
Then I used synaptic to remove the installed myth 0.19 packages, and install the new 0.19.5 packages from this repositorie. Now i do have all the plugins. Also, it didnt seem to mess up my database. The only thing is, that my PVR 250 card seems to have lost its drivers, and MythMusic didnt want to install because of an dependancie problem.... Anyway, I can continue with messing with Mythtv....
chessforce
July 24th, 2006, 02:32 AM
When I do mythfilldatabase I get a bunch of these:
DB Error (Inserting into dd_schedule):
Query was:
INSERT INTO dd_schedule (programid,stationid,scheduletime,duration,repeat, stereo,subtitled,hdtv,closecaptioned,tvrating,part number,parttotal,endtime) VALUES('SH6878270000','19283','2006-06-14T23:30:00','00:30:00',0,0,0,0,0,NULL,0,0,'2006-06-15T00:00:00');
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat,stereo,subtitled,hdtv,closecaptioned,tvrat ing,partnumber,parttotal,endtim' at line 1
Any ideas? I have to say -- this is much easier on Dapper than it was on Breezy.
I am running into the same problem!
Atleast I can get mythtv will start up, just no database . So no tv listings. let me know if you find out what the problem is.
Since "repeat" is a MySQL (version >=5.0) reserved keyword, as mentioned by others, you will have to replace "repeat" with some other word. However, this cannot be done via the editing of a text/config file, but instead must be done by modifying /usr/lib/libmythtv-0.18.1.so.0 with a hex editor. In order to do this, you can try these steps:
PLEASE NOTE that this is a workaround and probably should not be considered a permanent fix (furthermore, it may not even work). If I recall correctly, the conflict with the keyword has been resolved in MythTV 0.19
1. Update apt's repository data: `sudo apt-get update`
2. Install and set-up MythTV: `sudo apt-get install mythtv`
3. Install KHexEdit: `sudo apt-get install khexedit`
4. Run KHexEdit in super-user mode: `sudo khexedit`
5. In KHexEdit, go to File->Open and select /usr/lib/libmythtv-0.18.1.so.0
6. Go to Edit->Replace and select "Regular Text" in both the "Format (find):" and "Format (replace):" drop-down menus.
7. Type "repeat" (without the quotation marks) in the "Find:" box.
8. Type something else that has the same number of characters as "repeat" (e.g. substituting the first letter of "repeat" with another letter should work) in the "Replace:" box.
9. Press "OK" and make sure that all instances of "repeat" are replaced with your choice that was made in step 8.
10. Do File->Save and then File->Quit.
NT4usB
July 24th, 2006, 05:30 PM
... and MythMusic didnt want to install because of an dependancie problem.... Anyway, I can continue with messing with Mythtv....
installing libcdaudio0 from the 5.10 repo's solves that.
chadk
July 24th, 2006, 05:38 PM
When I do
sudo /etc/init.d/apache2 restart
I get this:
* Forcing reload of apache 2.0 web server... (98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs [fail]
chadk
July 24th, 2006, 08:19 PM
You wouldn't think MythTV would be this friggin difficult.
dodongo
July 25th, 2006, 10:33 PM
"If I recall correctly, the conflict with the keyword has been resolved in MythTV 0.19"
This is true. I had the same SQL syntax error as reported, and I can confirm that the 0.19 packages fix this issue.
As pointed out above, the solution is to add the following to /etc/apt/sources.list:
## MythTV 0.19
deb http://knm.org/mythdebs/ binary/
audun1
July 26th, 2006, 06:26 PM
Hello. I have a big problem with the ivtv thing...
i have this long thing and everything is in place :S
addr=61]
[ 6456.642264] cx25840 5-0044: ivtv driver
[ 6456.642270] cx25840 5-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[ 6456.677480] cx25840 5-0044: unable to open firmware v4l-cx25840.fw
[ 6456.737167] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
[ 6456.752481] wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 6456.760046] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
[ 6456.773197] tda9887 5-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
[ 6456.773203] ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
[ 6456.791994] ivtv0: Detected a TEA5767 radio tuner. Enabling radio support.
[ 6457.405163] ivtv0: unable to open firmware v4l-cx2341x-enc.fw
[ 6457.405295] ivtv0: did you put the firmware in the hotplug firmware directory?
[ 6457.405414] ivtv0 warning: failed loading encoder firmware
[ 6457.405508] ivtv0 warning: Error loading firmware -3!
[ 6457.405596] ivtv0: Error -3 initializing firmware.
[ 6457.400074] ivtv0: Error -12 on initialization
[ 6457.400083] ivtv: probe of 0000:06:08.0 failed with error -12
[ 6457.400116] ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
[ 6457.400204] ACPI: PCI Interrupt 0000:06:09.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 82
[ 6457.400213] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[ 6457.438917] tveeprom: Second (radio) tuner idx 101
[ 6457.438921] tveeprom: ivtv version
[ 6457.438924] tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2999632
[ 6457.438927] tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
[ 6457.438931] tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
[ 6457.438933] tveeprom: audio processor = CX25843 (type = 25)
[ 6457.438935] tveeprom: decoder processor = CX25843 (type = 1e)
[ 6457.438939] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[ 6457.449315] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
[ 6457.449320] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
[ 6457.594970] cx25840 5-0044: ivtv driver
[ 6457.594974] cx25840 5-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[ 6457.612756] cx25840 5-0044: unable to open firmware v4l-cx25840.fw
[ 6457.672360] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
[ 6457.672608] wm8775 5-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 6457.680213] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
[ 6457.690592] tda9887 5-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
[ 6457.690596] ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
[ 6457.702752] ivtv0: This is the second unit of a PVR500
[ 6457.702756] ivtv0: Correcting tveeprom data: no radio present on second unit
[ 6458.342591] ivtv0: unable to open firmware v4l-cx2341x-enc.fw
[ 6458.342597] ivtv0: did you put the firmware in the hotplug firmware directory?
[ 6458.342600] ivtv0 warning: failed loading encoder firmware
[ 6458.342602] ivtv0 warning: Error loading firmware -3!
[ 6458.342605] ivtv0: Error -3 initializing firmware.
[ 6458.344003] ivtv0: Error -12 on initialization
[ 6458.344087] ivtv: probe of 0000:06:09.0 failed with error -12
[ 6458.344193] ivtv: ==================== END INIT IVTV ====================
I am trying linux since i have used Microsoft Media Center and i must say that Microsoft have a DIG win on TV ond stuff :-(
Here are my hotplug folder
root@AMDX2:/usr/lib/hotplug/firmware# ls
ivtv-fw-dec.bin ivtv-fw-enc.bin v4l-cx2341x-dec.fw v4l-cx2341x-enc.fw v4l-cx2341x-init.mpg v4l-cx25840.fw
Have i missed something?
HELP :D
Thanks
manoova
July 29th, 2006, 01:12 PM
The info below assumes you are using Ubuntu 6.06. I think the path you are using /lib/hotplug/firmware (whatever it is) is relevant to Ubuntu 5.10.
I hope this helps.
Download and install the latest IVTV drivers. At the time of writing this was 0.4.6. See http://www.ivtv.org/
cd /usr/src
wget http://dl.ivtvdriver.org/ivtv/archive/0.4.x/ivtv-0.4.6.tar.gz
tar xvfz ivtv-0.4.6.tar.gz
cd ivtv-0.4.6
make
make install
Check that you get the following:
ls /lib/modules/`uname -r`/ivtv
cx25840.ko ivtv-fb.ko ivtv.ko saa7127.ko tda9887.ko tuner.ko tveeprom.ko
cd utils/
wget ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip
wget ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22254_inf.zip
unzip pvr_2.0.24.23035.zip
Archive: pvr_2.0.24.23035.zip
replace ReleaseNotes.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: ReleaseNotes.txt
inflating: hcwECP.ax
inflating: HcwFalcn.rom
inflating: HcwMakoA.ROM
inflating: HCWPP2.inf
inflating: hcwPP2.sys
inflating: hcwPrxA2.ax
inflating: hcwutl32.dll
inflating: hcwxds.dll
inflating: hcwCCnv2.ax
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
cp HcwMakoA.ROM /lib/firmware/v4l-cx25840.fw
cp HcwFalcn.rom /lib/firmware/v4l-cx2341x-enc.fw
mv /lib/modules/ivtv-fw-dec.bin /lib/firmware/
mv /lib/modules/ivtv-fw-enc.bin /lib/firmware/
cp ../v4l-cx2341x-init.mpg /lib/firmware/
ln -s /lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
ls -ltra /lib/firmware/
Now lets tell Ubuntu that we have ivtv modules. Edit /etc/modules, and just stick "ivtv" at the end of the file.
nano -w /etc/modules
Also edit /etc/modprobe.d/aliases,
nano -w /etc/modprobe.d/aliases
and put the following line in where it fits:
alias char-major-81-0 ivtv
depmod
modprobe ivtv
dmesg
If you get out detailing IVTV and your card without any errors then it has worked. If not look over the steps above carefully.
Testing IVTV
cat /dev/video0 > /tmp/test.mpg
Ctrl-C to stop recording. Open mplayer: Applications --> Sound and Video --> Mplayer Movie Player. Right click on the window --> Open File --> /tmp/test.mpg. If you see grey snow you're in business.
hereitcomes
July 29th, 2006, 10:56 PM
im using a hauppauge wintv nova-t pci card which works fine in kaffeine so i know the drivers are ok, i set up mythtv eventually after errors about connecting to the backend, now when i hit "Watch TV" the screen goes blank and sends me back to the ubuntu login screen
any ideas?
thank you
update: I discovered that it is recording the channels fine, just not letting me see them live! here is the output of mythfrontend
2006-07-30 03:59:43.617 New DB connection, total: 1
2006-07-30 03:59:43.638 New DB connection, total: 2
2006-07-30 03:59:43.645 DVB#0 DVB SI Table Parser Started
2006-07-30 03:59:43.714 DVB#0 Using DVB card 0, with frontend Conexant CX22702 DVB-T.
2006-07-30 03:59:43.717 New DB connection, total: 3
2006-07-30 03:59:44.679 DVB#0 DVB signal 2d | snr ffff | ber 0 | unc 0
2006-07-30 03:59:44.679 DVB#0 Status: LOCK.
2006-07-30 03:59:44.679 DVB#0 Multiplex Locked
2006-07-30 03:59:45.864 DVB#0 Successfully tuned to channel 1.
2006-07-30 03:59:45.874 New DB scheduler connection
2006-07-30 03:59:45.884 mythbackend version: 0.18.1.20050510-1 www.mythtv.org
2006-07-30 03:59:45.885 Enabled verbose msgs : important general
2006-07-30 03:59:47.884 Reschedule requested for id -1.
2006-07-30 03:59:48.118 Scheduled 0 items in 0.2 = 0.23 match + 0.01 place
2006-07-30 03:59:48.120 Seem to be woken up by USER
2006-07-30 04:00:03.813 MainServer::HandleAnnounce Playback
2006-07-30 04:00:03.813 adding: scott-desktop as a client (events: 0)
2006-07-30 04:00:03.849 MainServer::HandleAnnounce Playback
2006-07-30 04:00:03.850 adding: scott-desktop as a client (events: 1)
2006-07-30 04:00:03.865 MainServer::HandleAnnounce Playback
2006-07-30 04:00:03.865 adding: scott-desktop as a client (events: 0)
2006-07-30 04:00:03.897 MainServer::HandleAnnounce Playback
2006-07-30 04:00:03.897 adding: scott-desktop as a client (events: 0)
2006-07-30 04:00:03.913 adding: scott-desktop as a remote ringbuffer
2006-07-30 04:00:03.937 Changing from None to WatchingLiveTV
2006-07-30 04:00:03.948 DVB#0 Recorder: Card opened successfully (using PS mode).
2006-07-30 04:00:03.960 DVB#0 Data read from DMX - This is for debugging with transform.c
manoova
August 1st, 2006, 08:28 AM
I've documented my experience of installing MythTV 0.19 on Ubuntu 6.06. The document is attached and available for download. It's a zipped PDF.
I'd be extremely grateful if people could review it and comment/correct. It focuses on my hardware setup and therefore misses elements such as ATi graphics configs and TV capture cards other than the Hauppauge range.
I look forward to your feedback.
Jordy
August 1st, 2006, 09:46 AM
Hey manoover
Running through your instructions and I'm having trouble getting the following line to work:
apt-*get install linux-*source-*<kver> linux-*headers-*`uname *r`
I get this error:
paul@paul-desktop:~$ apt-*get install linux*-source-*2.6.15-26-386 linux-*headers*-`uname *r`
bash: uname *r: command not found
bash: apt*-get install linux-*source*-2.6.15-26-386 linux*-headers*: command not found
Also tried it with "sudo" but no luck
Any Ideas?
thanks
Paul
manoova
August 1st, 2006, 10:00 AM
Hey manoover
Running through your instructions and I'm having trouble getting the following line to work:
apt-*get install linux-*source-*<kver> linux-*headers-*`uname *r`
I get this error:
paul@paul-desktop:~$ apt-*get install linux*-source-*2.6.15-26-386 linux-*headers*-`uname *r`
bash: uname *r: command not found
bash: apt*-get install linux-*source*-2.6.15-26-386 linux*-headers*: command not found
Also tried it with "sudo" but no luck
Any Ideas?
thanks
Paul
Hi Paul
Your command should like like this:
apt-get install linux-source-<kver> linux-headers-`uname -r`
where <kver> is something like 2.6.15
i.e.
apt-get install linux-source-2.6.15 linux-headers-`uname -r`
pipedream
August 1st, 2006, 10:39 AM
Manoova,
Nice job putting your pdf together and up to date. I struggled yesterday going back and forth between the guides on the first page.
I'm hoping that your IVTV section will help me since that is where I left off last night with all kinds of errors.
Thanks for making this!
pipedream
August 1st, 2006, 12:11 PM
Could anyone please tell me if I need to do anything different while compiling and installing the ivtv driver and related firmware for my set up of (2) PVR-150’s ?
Do I need to change anything in /etc/modprobe.d/aliases, or alias char-major-81-0
Ivtv to account for the two PVR-150’s ?
Linux Newbie here, so sorry if it is easy and straight forward.
Thanks for any help!
NT4usB
August 1st, 2006, 02:20 PM
Could anyone please tell me if I need to do anything different while compiling and installing the ivtv driver and related firmware for my set up of (2) PVR-150’s ?
Do I need to change anything in /etc/modprobe.d/aliases, or alias char-major-81-0
Ivtv to account for the two PVR-150’s ?
Linux Newbie here, so sorry if it is easy and straight forward.
Thanks for any help!
I'm not in front of my box atm but iirc, you add two entries:
...81-0 ivtv and ...81-1 ivtv
read this howto in the ivtv section look for the aliases part.(hint, the pvr500 has 2 tuners)
http://hyams.webhop.net/mythtv/myth_ubuntu.html
pipedream
August 1st, 2006, 10:06 PM
Any suggestions on what I did wrong? Here is my ivtv dmesg
[17179595.408000] cx25840 0-0044: unable to open firmware v4l-cx25840.fw
[17179595.480000] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
[17179595.508000] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[17179595.516000] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
[17179595.544000] tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
[17179595.544000] ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
[17179596.164000] ivtv0: unable to open firmware v4l-cx2341x-enc.fw
[17179596.164000] ivtv0: did you put the firmware in the hotplug firmware direct ory?
[17179596.164000] ivtv0 warning: failed loading encoder firmware
[17179596.164000] ivtv0 warning: Error loading firmware -3!
[17179596.164000] ivtv0: Error -3 initializing firmware.
[17179596.164000] ivtv0: Error -12 on initialization
[17179596.164000] ivtv: probe of 0000:02:04.0 failed with error -12
[17179596.164000] ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
[17179596.164000] ACPI: PCI Interrupt 0000:02:0b.0[A] -> GSI 16 (level, low) -> IRQ 169
[17179596.164000] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[17179596.212000] tveeprom: ivtv version
I thought I just copied paste from the guide on the previous page. My `uname -r` is = 2.6.15-26-386 which is slightly different than the guide, wondering what I need to do differently.
Thanks for you help.
pipedream
August 1st, 2006, 10:18 PM
Here is what my /lib/firmware/ folder looks like:
drwxr-xr-x 3 root root 4096 May 30 18:53 2.6.15-23-386
drwxr-xr-x 3 root root 4096 Jul 31 18:44 2.6.15-26-386
drwxr-xr-x 19 root root 4096 Jul 31 20:57 ..
lrwxrwxrwx 1 root root 29 Aug 1 17:17 v4l-cx2341x-dec.fw -> /lib/firmware/ivtv-fw-dec.bin
drwxr-xr-x 4 root root 4096 Aug 1 17:17 .
-rw-r--r-- 1 root root 262144 Aug 1 20:14 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 Aug 1 20:14 ivtv-fw-dec.bin
-r--r--r-- 1 root root 14264 Aug 1 20:15 v4l-cx25840.fw
-r--r--r-- 1 root root 376836 Aug 1 20:15 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root 155648 Aug 1 20:15 v4l-cx2341x-init.mpg
Not sure why above I am getting the error that the firmware is not found.
Jordy
August 2nd, 2006, 06:17 AM
Hey Manoova,
Thanks for the response, bu it still doesn't work for me. The code i put in the reply last night got corrupted by myy copy/paste from the terminal window. So i'll try again:
paul@paul-desktop:~$ sudo apt-get install linux-source-2.6.15 linux-headers-`uname -r`
sudo apt-get install linux-source-2.6.15: command not found
Tried it again tonight but get this response every time even agter reboot...
thanks
paul
](*,)
Jordy
August 2nd, 2006, 06:49 AM
Hey Manoova,
Thanks for the response, but it still doesn't work for me. The code i put in the reply last night got corrupted by my copy/paste from the terminal window. So i'll try again:
paul@paul-desktop:~$ sudo apt-get install linux-source-2.6.15 linux-headers-`uname -r`
sudo apt-get install linux-source-2.6.15: command not found
Tried it again tonight but get this response every time even after reboot...
thanks
paul
manoova
August 2nd, 2006, 09:11 AM
Hey Manoova,
Thanks for the response, but it still doesn't work for me. The code i put in the reply last night got corrupted by my copy/paste from the terminal window. So i'll try again:
paul@paul-desktop:~$ sudo apt-get install linux-source-2.6.15 linux-headers-`uname -r`
sudo apt-get install linux-source-2.6.15: command not found
Tried it again tonight but get this response every time even after reboot...
thanks
paul
Hi Paul
I really don't know. I copied this from Section 5.1 of http://hyams.webhop.net/mythtv/myth_ubuntu.html. It just works for me. I haven't had anyone else comment that it doesn't work.
What does the output of uname -r look like? Is this a fresh install of Ubuntu 6.06? That package definitely exists as it is referenced here http://packages.ubuntu.com/dapper/devel/linux-source-2.6.15.
Perhaps try installing it using Synaptic Package Manager.
Sean
Jordy
August 2nd, 2006, 10:00 AM
Sean,
the result of `uname r` is 2.6.15-26-386..My build is only a few days old, much like me in the world of linux...
how would I use synaptic to achieve this?
Paul
Jordy
August 2nd, 2006, 10:04 AM
Sean sorry forgot to add the rest... `uname -r` by itself produces
bash: 2.6.15-26-365: command not found
Paul
manoova
August 2nd, 2006, 12:25 PM
Sean sorry forgot to add the rest... `uname -r` by itself produces
bash: 2.6.15-26-365: command not found
Paul
Drop the ` from before and after uname -r if you are running it on it's own.
For Synaptic, (from memory) Click on System --> Administration --> Synaptic Package Manager. Let it load up and then search for linux-source-2.6.15. When it finds it click Apply.
midwinter_
August 3rd, 2006, 01:51 AM
Hi all.
I'm getting this error following the instructions on the first page:
when I sudo apt-get dvdauthor mplayer-586
I get "E: invalid operation dvdauthor"
Any help? not being able to get past step 2 of the how-two is really driving me nuts.
Cheers
manoova
August 3rd, 2006, 03:45 AM
I'm getting this error following the instructions on the first page:
when I sudo apt-get dvdauthor mplayer-586
I get "E: invalid operation dvdauthor"
Your command is missing "install". It should read:
apt-get install dvdauthor mplayer-586
midwinter_
August 3rd, 2006, 11:52 AM
Sorry about that! With
sudo apt-get install dvdauthor mplayer-586
It gets the package lists, builds the dependency tree, then says
"E: Couldn't find package mplayer-586"
Any ideas?
Cheers
pipedream
August 3rd, 2006, 12:34 PM
For those of you interested and or having problems with your firmware. I resolved the issue I was having.
What I did was as the guide suggested, but then I copied those files in my /lib/firmware/ folder to (manually created some of these):
/lib/hotplug/firmware/
/usr/lib/firmware/
/usr/lib/hotplug/firmware/
I know I probably replicated where they went but I read on the Wikki for this firmware that there is some file called "firware.agent" that points the firmware to a special "hotplug" directory and that it is different in various versions of linux.
This didn't immediately work. However, once I did a "Reboot" it worked and both of my PVR-150's showed up with OUT problems and I was able to do a screen capture with both of those.
So, lesson learned here is that if you are a Noob like me and get something wrong the first time and correct it on your 2nd, 3rd, or 4th attempt and it still doesn't work. Try a good old M$-style reboot of your system.
I hope this information helps someone else at some point.
pipedream
August 3rd, 2006, 12:35 PM
For those of you interested and or having problems with your firmware. I resolved the issue I was having.
What I did was as the guide suggested, but then I copied those files in my /lib/firmware/ folder to (manually created some of these):
/lib/hotplug/firmware/
/usr/lib/firmware/
/usr/lib/hotplug/firmware/
I know I probably replicated where they went but I read on the Wikki for this firmware that there is some file called "firware.agent" that points the firmware to a special "hotplug" directory and that it is different in various versions of linux.
This didn't immediately work. However, once I did a "Reboot" it worked and both of my PVR-150's showed up with OUT problems and I was able to do a screen capture with both of them.
So, lesson learned here is that if you are a Noob like me and get something wrong the first time and correct it on your 2nd, 3rd, or 4th attempt and it still doesn't work. Try a good old M$-style reboot of your system.
I hope this information helps someone else at some point.
NT4usB
August 3rd, 2006, 08:53 PM
"Reboot"
I been looking at too many posts... I'm starting to see double! *g*
I'll second the suggestion to reboot. I was up very late (early AM actually) trying to get my 150's to work. Everything was configured correctly but nothing worked.
Finally said F it, shutdown and went to bed.
Next day, fired up and they were working!
manoova
August 4th, 2006, 03:46 AM
Sorry about that! With
sudo apt-get install dvdauthor mplayer-586
It gets the package lists, builds the dependency tree, then says
"E: Couldn't find package mplayer-586"
Any ideas?
Cheers
No idea. What repositories do you have? I.e. what does /etc/apt/sources.list look like?
pipedream
August 4th, 2006, 12:00 PM
Not sure if this post belongs here or not, if not I apologize in advance.
Here is the problem I am having with MythTV and a “google search” did not reveal any solutions to this issue.
I am getting a “prebuffer time out error”. I get this error while just watching Live TV. It works fine and I can record, but if I leave LiveTV running overnight or for more than say three hours it crashes and exists out of mythfrontend.
I just can not see it being a memory issue. I have 1 Gig of RAM and a freshly installed 400 Gig SATA II hard drive.
I installed Ubuntu using the default file system and setup a directory as Mythtv user to store recording in
/home/Mythtv/Mythtv/store/recordings
/home/Mythtv/Mythtv/store/buffers
Hope someone can help.
Thanks!
Shay Stephens
August 4th, 2006, 01:17 PM
Is there any indication of which pvr card has the fewest problems? I want to set up a pvr, and there doesn't seem to be much talk about which cards are working best. The pvr-500 looks cool with the dual hardware and it looks like it can handle 720p (is that right?).
Can anyone point me in the right direction here?
chadk
August 4th, 2006, 05:49 PM
I did this and had good results but when I go to test ivtv I get:
/usr/src/ivtv-0.4.6/utils# cat /dev/video0 > /tmp/test.mpg
cat: /dev/video0: No such file or directory
If I look in /dev I don't see any video in there. No video0, video1, video2, etc., none of them.
chadk
August 4th, 2006, 06:02 PM
lsmod reveals:
lsmod
Module Size Used by
ivtv 227220 0
i2c_algo_bit 10120 1 ivtv
videodev 10368 1 ivtv
so I'm not sure why /dev/video0 isn't showing up?
chadk
August 4th, 2006, 06:57 PM
fixed the missing video0 device by moving the card in my PCI slots.
Now my problem is the "repeat" field name in the sql code that updates the tables in mysql. I need to upgrade to myth tv .19-fixes.
I don't know where to get mythtv0.19-fixes
NT4usB
August 5th, 2006, 02:47 AM
fixed the missing video0 device by moving the card in my PCI slots.
Now my problem is the "repeat" field name in the sql code that updates the tables in mysql. I need to upgrade to myth tv .19-fixes.
I don't know where to get mythtv0.19-fixes
http://www.ubuntuforums.org/showpost.php?p=1234507&postcount=126
this worked for me
techrosis
August 8th, 2006, 12:36 AM
If this is offtopic too much please advise me to a better thread...is it unheard of or not possible to run MythTV without a tuner card...for example...i would like to run it just for the other apps like the dvd player and weather and video player etc...i like the simplicity of it (mainly so my wife will be able to use it ;) )
PowerRanger
August 8th, 2006, 10:22 PM
Here is what my /lib/firmware/ folder looks like:
drwxr-xr-x 3 root root 4096 May 30 18:53 2.6.15-23-386
drwxr-xr-x 3 root root 4096 Jul 31 18:44 2.6.15-26-386
drwxr-xr-x 19 root root 4096 Jul 31 20:57 ..
lrwxrwxrwx 1 root root 29 Aug 1 17:17 v4l-cx2341x-dec.fw -> /lib/firmware/ivtv-fw-dec.bin
drwxr-xr-x 4 root root 4096 Aug 1 17:17 .
-rw-r--r-- 1 root root 262144 Aug 1 20:14 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 Aug 1 20:14 ivtv-fw-dec.bin
-r--r--r-- 1 root root 14264 Aug 1 20:15 v4l-cx25840.fw
-r--r--r-- 1 root root 376836 Aug 1 20:15 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root 155648 Aug 1 20:15 v4l-cx2341x-init.mpg
Not sure why above I am getting the error that the firmware is not found.
I am also having problems getting the fw-dec firmware to load.
ls -l of my /lib/firmware dir produces the same list. I've tried copying the contents of this dir to:
/lib/hotplug/firmware/
/usr/lib/firmware/
and
/usr/lib/hotplug/firmware/
..and rebooting with no success.
I notice that when I issue ls -l while in /lib/firmware, the v4l-cx2341x-dec.fw appears as red text highlighted in black. What does this mean? Is my sym link bad?
EDIT-- my ls -l results were not _exactly_ the same as the parent post. I was missing the leading '/' in /lib/firmware/ivtv-fw-dec.bin of the link, I rm'd the original and re-created the link- still had to reboot, but now it's working. I'm pretty sure I cut & pasted the original commmand to create the link, so somewhere, in one of the turtorials or 'howto's' it's wrong.
Mike
phenolholic
August 9th, 2006, 03:02 AM
Hello,
I'm following Hyams HOWTO of installing MythTV. In the part that mentions opening up 'localhost' from browser and changing password, and after trying to go into the 'phpmyadmin' directory, I get:
Cannot load mysql extension. Please check your PHP configuration. - Documentation
I ignored this, and kept on with the installation. After loading mythtv-setup, I get a Database Configuration menu, which says 'Myth could not connect to your database. Please verify the correct information'
asking me for my login, password, host name, database, and database type. On the /home/mythtv/.mythtv/mysql.txt file, this is the information on there:
DBHostName=localhost
DBUserName=admin
DBPassword=
DBName=mythconverg
DBType=QMYSQL3
I tried going into mythtv-setup and putting in admin and leaving the passwd field blank on that database configuration menu, but no luck.
I also tried:
mysql -u root
and got the mysql> prompt and entered:
SET PASSWORD FOR admin = PASSWORD('mythtv');
and got this response:
ERROR 1133 (42000): Can't find any matching row in the user table
I've verified the services are running and indeed Apache2 and MySQL both are running. Any help would be appreciated. Thanks in advance
realitychx
August 9th, 2006, 01:30 PM
Sorry about that! With
sudo apt-get install dvdauthor mplayer-586
It gets the package lists, builds the dependency tree, then says
"E: Couldn't find package mplayer-586"
Any ideas?
Cheers
I was having the same issue and then i found this and it worked:
sudo vi /etc/apt/sources.list
then add the two lines under the last multiverse line.
deb http://archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper multiverse
And after that
apt-get update
apt-get install mplayer
skattman83
August 10th, 2006, 12:34 PM
I was following the tutorial, and I came across this problem, which is listed in the troubleshooting section:
One of the first items to check is whether or not the mythtv user can access the sql database. If you can type
mysql -u mythtv -p mythconverg
and after keying in the mysql password you get a "mysql>" prompt, then you are OK. Type "quit" to get out of mysql.
It does not recognize my password, however, no solution was provided. How do I fix this?
wogdog
August 10th, 2006, 01:48 PM
Manoova, like many of the other users here, I am on the multiple rebuild path of my mythTV box. This time I am using the instructions that you created. I am able to get to step 12, Setting up mythweb, and am having a problem.
I can do the following:
Edit the apache2 configuration:
sudo nano *w /etc/apache2/httpd.conf
Add the following to this file:
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
<Directory /var/www/mythweb>
Options FollowSymLinks
AllowOverride All
</Directory>
but then when I issue the sudo /etc/init.d/apache2 restart command, I get the following error: Expected </Directory\xc2\xa0/var/www/mythweb> but saw </Directory>
Any advice?
wogdog
August 10th, 2006, 01:52 PM
I was following the tutorial, and I came across this problem, which is listed in the troubleshooting section:
It does not recognize my password, however, no solution was provided. How do I fix this?
Can you get to the phpmyadmin page and set it through there? I am not sure which tutorial you are using, so I am not sure what step you are on...
skattman83
August 10th, 2006, 02:46 PM
Can you get to the phpmyadmin page and set it through there? I am not sure which tutorial you are using, so I am not sure what step you are on...
I'm using the tutorial that this tutorial refers to.
http://hyams.webhop.net/mythtv/myth_ubuntu.html
Also, when I go into localhost through firefox to get the phpadmin page, it comes up, but I cant find where to change the password. Any ideas?
techrosis
August 10th, 2006, 03:09 PM
I'm using the tutorial that this tutorial refers to.
http://hyams.webhop.net/mythtv/myth_ubuntu.html
Also, when I go into localhost through firefox to get the phpadmin page, it comes up, but I cant find where to change the password. Any ideas?
i think it's under Privaleges...then you select the root account and scroll down and you'll see the password box...
skattman83
August 10th, 2006, 03:38 PM
I'm getting this error that is telling me "Couldn't get the color key color, and we need it. You likely won't get any video."
And its right, I'm not getting any video. Any ideas on whats wrong or how to fix this?
xargonax
August 12th, 2006, 03:58 AM
Hi,
I have been trying to compile ivtv for the whole afternoon. Everything compiles smoothly with no errors however my dmesg keeps showing:
[17182403.444000] ivtv: ==================== START INIT IVTV ====================
[17182403.444000] ivtv: version 0.4.4 (tagged release) loading
[17182403.444000] ivtv: Linux version: 2.6.15-26-386 preempt 486 gcc-4.0
[17182403.444000] ivtv: In case of problems please include the debug info between
[17182403.444000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[17182403.444000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[17182403.444000] ivtv: ==================== END INIT IVTV ====================
Is there something I missed?
NoahsMyBro
August 12th, 2006, 10:35 AM
After a few very long nights, and repeated reattempts of various steps, I finally got to where my new Ubuntu/MythTV box is nearly finished. I've used the steps laid out by Hyam, and the slight alterations spelled out by the original poster in this thread, and appreciate the efforts of both of the, as well as the rest of you in this post. There's no way I'd have made it this far without all of this help.
Obviously I still have a problem.
I have NOT begun to install Myth yet. After installing ivtv I try capturing video to test.mpg and viewing it with mplayer. I've tried a few different channels, and the recorded .mpg is *always* dark static.
Prior to this install approach, I'd tried to use KnoppMyth, and saw the same result. With KNoppMyth I traced the problem down to a lack of xvideo support for my Unichrome graphics chipset, but somewhere online I saw that Dapper supports Unichrome, and that's what led me to try Ubuntu for this.
When I run mplayer from the command line, I see this:
root@myth-server:~# mplayer -vo xv /dev/video0
MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron Applebred (Family: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
91 audio & 204 video codecs
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /dev/video0.
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 9600.0 kbps (1200.0 kbyte/s)
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
Exiting... (End of file)
Any ideas what I need to do here, before I continue with the MythTV install?
Thanks,
Steve
EDIT: (I'm ignoring the mplayer bit above - I can run mplayer from the GUI so I can ignore the above for now.)
I believe this issue has something to do with the tuner type. If I go through every channel from 2 to 78, (ivtv-tune -c 5 -d /dev/video0), ivtv responds that a signal is detected for channels 5 & 6. Also, those channels do show the TV signal, although it's too snowy too watch or hear satisfactorily.
I've been trying to change the tuner type by editing /etc/modprobe.d/options, and then running the two commands:
depmod -a
modprobe ivtv
BUT, I don't know what the two commands there actually do! By running those, I was hoping to 're-read' the options file I've been editing so I can know whether or not I've affected anything by changing the tuner type.
A) Do any of you know which tuner type I should specify for a PVR-150, with Comcast cable of New Jersey? (Analog)
B) Is it correct to set the tuner type in the /etc/modprobe.d/options file?
C) Once I set the tuner type, what is the correct procedure to make the system 're-read' the options file, both for permanence as well as for testing purposes?
Thanks,
Steve
iglablues
August 12th, 2006, 04:48 PM
I've not seen anyone else post a similar question, so I'm already going on the assumption that I'm just missing something.
I have a Myth box all set up using Hyam's guide and the edits at the beginning of this thread. I only have one tuner installed (PVR-250), I'm using Myth18, and I have DirectTV. I have the remote that came with the card installed and everything, and I'm using it for recording purposes right now because I don't yet know how to make it control my satellite box. So, I change channels with the regular remote, and record or timeshift with the Hauppauge remote. All back story.
The real issue I have is that my tv has to be tuned to channel 3 to get channels, right? So, following Hyam, I run the ivtv-tune -c 3 /dev/video0 and when I start mythtv it goes fine, I get a picture. I turn off my box, come back the next day, it loads right into MythTV and I get fuzz. I have to go back out and rerun that line to get the card to tune to channel 3. Isn't there some way to make that a permanent change? I thought the line above would do that, but it seems to be temporary only. I can do it every time I turn on the box, but it sort of defeats the purpose of having it boot right into the MythTV utility if I have to bcak out every time to set the channel. What am I missing?
iglablues
August 12th, 2006, 06:54 PM
Never mind. I have larger problems to deal with now. I think I may just have to hang up the MythTV hat and go with something more user-friendly, like Beyond TV or something. ](*,)
This box took forever to get going, and I was happily sitting watching Kids Next Door: The Movie when the screen went blue. I had disabed the screensaver (again, using Hyram's guide), so I knew it wasn't that. Long wait later I was finally able to get back to my Ubuntu screen and the terminal, where I saw all these myth_proto_version error-type messages. Tried to go back in to MythTV, and I got something about device0 not being recognized. I rebooted, tried to log in, and it wouldn't let me. Kept cycling. At one point an error message about the GDM popped up. I had, maybe an hour ago, edited the GDM following Hyram's guide so that it would boot into the MythTV user. Apparently that backfired, because now I can't get into my system at all.
I also tried hooking it up directly to my monitor again and not the tv. X Server can't be started. I get a "fatal server error: No screens found". :(
This was perhaps the wrong project for me after all. After all the raves I'd read, I thought it was doable, but I guess it's not for everyone, no matter how good you are at following instructions.
NoahsMyBro
August 14th, 2006, 09:15 AM
Not sure if this is acceptable for the forum, but I just want to bump this in case some of you gurus weren't around over the weekend. If I don't see any further action on it after this bump, I promise I won't do this again.
Thanks,
Steve
dodongo
August 14th, 2006, 11:33 AM
Hi Steve -- I don't know if "bumping" is considered appropriate 'round here -- but I do know that if you break etiquette, no one is going to banish you from the boards forever, or something awful! :)
In the hopes of at least getting the ball rolling on your question:
I've been trying to change the tuner type by editing /etc/modprobe.d/options, and then running the two commands:
depmod -a
modprobe ivtv
BUT, I don't know what the two commands there actually do! By running those, I was hoping to 're-read' the options file I've been editing so I can know whether or not I've affected anything by changing the tuner type.
Well, to quote this site (http://linux.about.com/library/cmd/blcmdl8_depmod.htm):
Depmod creates a "Makefile"-like dependency file, based on the symbols it finds in the set of modules mentioned on the command line or from the directories specified in the configuration file. This dependency file is later used by modprobe to automatically load the correct module or stack of modules.
I don't know if that actually will help (sorry!) but there's a brief overview of what those tools do. Essentially, they make sure the kernel modules you want to load are ready to go in properly. And I'm content to take it on faith at that point, but if others have more instructional goodies to toss in, I'm all ears!
I may be wrong on this -- so please step in and holler if I'm wrong -- but I do not believe /etc/modprobe.d/options is the place to make modifications to your MythTV / PVR-150 setup.
The two things that I can think of right off the bat:
1. In the mythtv-setup program, go to General (#1) and check for your Frequency table: You need to make sure you're on us-cable, or possibly one of the two variants (you may need to check each, stopping mythbackend before changing the setting each time). The reason you're getting only fuzzy reception on only a couple of channels total may be due to the fact that the system is looking on the wrong table.
2. That mplayer error does look a little suspect to me, though it doesn't account for most of the other symptoms you've got, from my perspective. Let's not deal with that unless we have to -- I get some video output errors in my log files, too, but mythtv has run flawlessly since I got it set up. I hope we'll get you to that point soon!
Good luck -- let me know if you need more help with #1, or the results of trying that out... And of course, I hardly know what I'm doing anyway, so if others have insights, please jump in! :D
NoahsMyBro
August 14th, 2006, 01:54 PM
Dodongo - thanks for the advice. I sa the bit you quoted regarding depmod and modprobe, but haven't really comprehended it yet. I think I need to spend some time to actually focus and figure it out.
As for my specific problem, I haven't installed Myth yet. I wanted to verify ivtv is working properly first.
I think tonight I'm going to try and connect an old videogame cosnole to the Hauppauge and see if I can capture a signal from it, either on Channel 3 using "-tus-bcast", or the composite-in video input.
-- Steve
dodongo
August 14th, 2006, 02:06 PM
As for my specific problem, I haven't installed Myth yet. I wanted to verify ivtv is working properly first.
Oh, cheers. Sorry I didn't pick up on that. You still have to select the right frequency table, even when using the ivtv command-line tools. I'm not at my Ubuntu box ATM, but if you do this
ivtv-tune --help
I think you'll find there is a command-line option for specifying which table you want, along with the channel, etc. I don't know what all the us-cable variants are (there are several, like us-cable-hrc, I think) -- but try first using us-cable as your frequency table and see if that works / helps / makes things worse.
deba
August 15th, 2006, 03:23 PM
I'm having problems with ivtv compile, and being new to linux need some help :)
[4294689.432000] ivtv: ==================== START INIT IVTV ====================
[4294689.432000] ivtv: version 0.4.4 (tagged release) loading
[4294689.432000] ivtv: Linux version: 2.6.15-23-386 preempt 486 gcc-4.0
[4294689.432000] ivtv: In case of problems please include the debug info between
[4294689.432000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[4294689.432000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[4294689.432000] ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
[4294689.433000] ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 16 (level, low) -> IRQ 185
[4294689.671000] usbcore: registered new driver hiddev
[4294689.715000] ACPI: PCI Interrupt 0000:00:14.5[B] -> GSI 17 (level, low) -> IRQ 209
[4294689.756000] tveeprom: ivtv version
[4294689.756000] tveeprom: Hauppauge: model = 48135, rev = J324, serial# = 7244836
[4294689.756000] tveeprom: tuner = Philips FM1246 (idx = 24, type = 1)
[4294689.756000] tveeprom: tuner fmt = PAL(I) (eeprom = 0x10, v4l2 = 0x00000010)
[4294689.756000] tveeprom: audio processor = MSP4418 (type = 19)
[4294689.756000] tveeprom: decoder processor = SAA7115 (type = 13)
[4294689.756000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[4294689.957000] ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 18 (level, low) -> IRQ 201
[4294690.012000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
[4294690.012000] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
[4294690.249000] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
[4294690.395000] ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
[4294690.460000] saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c driver #0)
[4294690.460000] ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
[4294690.493000] msp3400 0-0040: chip=MSP4418G-A2 +nicam +simple +simpler +radio mode=simpler
[4294690.493000] msp3400 0-0040: msp34xxg daemon started
[4294690.516000] ivtv0: i2c attach to card #0 ok [client=MSP4418G-A2, addr=40]
[4294691.018000] NET: Registered protocol family 17
[4294691.254000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[4294691.257000] ivtv0: unable to open firmware v4l-cx2341x-dec.fw
[4294691.257000] ivtv0: did you put the firmware in the hotplug firmware directory?
[4294691.257000] ivtv0 warning: failed loading decoder firmware
[4294691.257000] ivtv0 warning: Error loading firmware -1!
[4294691.257000] ivtv0: Error -1 initializing firmware.
[4294691.265000] ivtv0: Error -12 on initialization
[4294691.265000] ivtv: probe of 0000:02:09.0 failed with error -12
[4294691.269000] ivtv: ==================== END INIT IVTV ====================
dodongo
August 15th, 2006, 03:32 PM
This part looks critical to me:
[4294691.257000] ivtv0: unable to open firmware v4l-cx2341x-dec.fw
[4294691.257000] ivtv0: did you put the firmware in the hotplug firmware directory?
[4294691.257000] ivtv0 warning: failed loading decoder firmware
I would go back and do everything in section 5.2 of the guide (http://hyams.webhop.net/mythtv/myth_ubuntu.html) again (sorry!). It looks like you missed or messed up on the steps that deal with extracting and symlinking this file in the right place.
In particular, this part:
mv /lib/modules/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/
mv /lib/modules/ivtv-fw-enc.bin /usr/lib/hotplug/firmware/
cp ../v4l-cx2341x-init.mpg /usr/lib/hotplug/firmware
ln -s /usr/lib/hotplug/firmware/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/v4l-cx2341x-dec.fw
The first line there moves the decoder firmware to the proper location, and the last symlinks that file to another location. I don't have any idea why, but I know if you do both those properly, the decoder firmware should load.
You did some / all of it right up to that point though -- just above that line, the log mentions it did load the encoder firmware properly. But to reiterate, I would redo all of section 5.2 just to be on the safe side.
deba
August 15th, 2006, 04:49 PM
Thanks for reply Dodongo, I have re-done section 5.2 and get this same result how do un link symlinks? I think this is problem this is the dir structure and the end:-
drwxr-xr-x 3 root root 4096 May 31 01:53 2.6.15-23-386
drwxr-xr-x 19 root root 4096 Aug 14 22:56 ..
lrwxrwxrwx 1 root root 28 Aug 15 00:00 v4l-cx2341x-dec.fw -> lib/firmware/ivtv-fw-dec.bin
drwxr-xr-x 3 root root 4096 Aug 15 00:00 .
-rw-r--r-- 1 root root 262144 Aug 15 21:42 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 Aug 15 21:42 ivtv-fw-dec.bin
-r--r--r-- 1 root root 14264 Aug 15 21:43 v4l-cx25840.fw
-r--r--r-- 1 root root 376836 Aug 15 21:43 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root 155648 Aug 15 21:43 v4l-cx2341x-init.mpg
Any one gotta clue ??, i'm sure someone has this problem before. I need to learn more linux comands and quick :)
dodongo
August 15th, 2006, 04:57 PM
Thanks for reply Dodongo, I have re-done section 5.2 and get this same result how do un link symlinks? I think this is problem this is the dir structure and the end:-
drwxr-xr-x 3 root root 4096 May 31 01:53 2.6.15-23-386
drwxr-xr-x 19 root root 4096 Aug 14 22:56 ..
lrwxrwxrwx 1 root root 28 Aug 15 00:00 v4l-cx2341x-dec.fw -> lib/firmware/ivtv-fw-dec.bin
drwxr-xr-x 3 root root 4096 Aug 15 00:00 .
-rw-r--r-- 1 root root 262144 Aug 15 21:42 ivtv-fw-enc.bin
-rw-r--r-- 1 root root 262144 Aug 15 21:42 ivtv-fw-dec.bin
-r--r--r-- 1 root root 14264 Aug 15 21:43 v4l-cx25840.fw
-r--r--r-- 1 root root 376836 Aug 15 21:43 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root 155648 Aug 15 21:43 v4l-cx2341x-init.mpg
Any one gotta clue ??, i'm sure someone has this problem before. I need to learn more linux comands and quick :)
To "undo" a symlink, just delete it. So in your case, you'd go to that directory and do
sudo rm v4l-cx2341x-dec.fw
then you can do
sudo ln -s /usr/lib/hotplug/firmware/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/v4l-cx2341x-dec.fw
You'll notice your symlink above is pointing to the wrong file! That may be the problem. And yes, while setting up my system, I had a very similar problem. You're not alone!
deba
August 15th, 2006, 05:15 PM
Now i'm lost! ok i've deleted the link but how do you mean its pointing to the wrong file ? Is the HOWTO doc wrong?
dodongo
August 15th, 2006, 05:36 PM
You'll notice in your output earlier that the file looked like this:
v4l-cx2341x-dec.fw -> lib/firmware/ivtv-fw-dec.bin
But /lib/firmware/iviv-fw-dec.bin isn't where the file should've been! It's not pointing there anymore, of course, since you've deleted it.
If you followed the howto instructions precisely, your decoder firmware should be in /usr/lib/hotplug/firmware -- that's what this command does:
mv /lib/modules/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/
If you followed those instructions exactly, and use the symlink command exactly, you should have all the right files in the right places, and your decoder firmware problems should be a thing of the past! Again, I'd just encourage you to do all of sect. 5.2 over again, in the hopes of catching any other remaining problems.
deba
August 15th, 2006, 05:50 PM
If you check the 1st page of this thread you will noitce the corrections that have been made for dapper install. This is what i'm following:-
When you get to this:
Quote:
cd utils
wget ftp://ftp.shspvr.com/download/wintv-...0.24.23035.zip
wget ftp://ftp.shspvr.com/download/wintv-....22254_inf.zip
unzip pvr_2.0.24.23035.zip
./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
cp HcwMakoA.ROM /usr/lib/hotplug/firmware/v4l-cx25840.fw
cp HcwFalcn.rom /usr/lib/hotplug/firmware/v4l-cx2341x-enc.fw
mv /lib/modules/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/
mv /lib/modules/ivtv-fw-enc.bin /usr/lib/hotplug/firmware/
cp ../v4l-cx2341x-init.mpg /usr/lib/hotplug/firmware
ln -s /usr/lib/hotplug/firmware/ivtv-fw-dec.bin /usr/lib/hotplug/firmware/v4l-cx2341x-dec.fw
Instead do this:
Code:
cd utils wget ftp://ftp.shspvr.com/download/wintv-...0.24.23035.zip wget ftp://ftp.shspvr.com/download/wintv-....22254_inf.zip unzip pvr_2.0.24.23035.zip ./ivtvfwextract.pl pvr_1.18.21.22254_inf.zip cp HcwMakoA.ROM /lib/firmware/v4l-cx25840.fw cp HcwFalcn.rom /lib/firmware/v4l-cx2341x-enc.fw mv /lib/modules/ivtv-fw-dec.bin /lib/firmware/ mv /lib/modules/ivtv-fw-enc.bin /lib/firmware/ cp ../v4l-cx2341x-init.mpg /lib/firmware/ ln -s lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
deba
August 15th, 2006, 05:51 PM
There is no /hotplug directory
dodongo
August 15th, 2006, 09:15 PM
If you check the 1st page of this thread you will noitce the corrections that have been made for dapper install.
Ah! That's right -- I'd forgotten there was an addendum on the first page.
backdoor
August 15th, 2006, 11:33 PM
Hello,
This is a great post in showing the steps to get MythTv going. And the many questions and answers helped clear up a lot of things.
I want to ask another question and hopefully its not too out of line with this post.
I have 2 tuners in my machine. A PVR250 and a WinTV GO card.
Both work fine. The only problem is after I've assinged them in MythTV using the dev/videoX device numbers, and I happen to reboot my machine afterwards, the device numbers get switched. Needless to say, I can not watch TV (I get the menu page back) and only thing I can do to fix it is go to mythtv-setup again and remove/readd the cards back in and re-assign the current /dev/videoX numbers.
I believe the switching of the devices is happening because of udev and the order in which the cards get initialized. The first to initialize gets /dev/video0 and the next /dev/video1.
My question is, is there any way I can nail up the devices so that they don't keep on changing on me after every reboot?
Thanks in advance.
NoahsMyBro
August 15th, 2006, 11:54 PM
To Dodongo, and any others following my piece of this thread:
Thanks for all your help; I've gotten past the particular stumbling block I'd been facing.
To any others troubleshooting like I've been for the past week:
NEVER OVERLOOK THE OBVIOUS.
My problem was that I captured nothing but static, regardless of tuner-type, channel, frequency, etc... Turns out my #@$%*^&@ coax cable was defective! I swapped out the cable, and began capturing perfectly sharp and clear signals. :mad:
I'm now faced with the problem that my capture is in Black & White, but I'm pretty sure I've seen that addressed on various webpages, so hopefully I'll get it solved easily.
-- Steve
deba
August 16th, 2006, 04:24 AM
Hi backdoor
I believe the switching of the devices is happening because of udev and the order in which the cards get initialized. The first to initialize gets /dev/video0 and the next /dev/video1.
Maybe if swap the cards around in your machine, worth a try i think the system will init pci slot0 then pci slot1, etc. Did this with ethernet cards a long time ago seemed to work ok.
backdoor
August 16th, 2006, 10:35 PM
Hi deba,
I can certainly try this, but I do believe that because of the almost random nature of which card intializes first using udev, this might not make a difference.
I still want to know if there is a way to assign (hard-code) the cards to the /dev/videoX devices so I don't have to worry about it anymore. I have hard-coded ethernet devices like this before, but I just don't know how it could be done for these tuners.
Thanks.
phenolholic
August 17th, 2006, 01:12 AM
Hello,
I followed Hyams guide in installing MythTV. Everything seems okay, as far as the setup and configuration. In mythfrontend, I select Watch TV and I get purple vertical lines and my computer freezes. I think it might have something to do with the display. The TV card works fine under XawTV. Any guidance is appreciated
NoahsMyBro
August 22nd, 2006, 01:57 AM
I'm stumped.
I've got a Ubuntu 6.06 PC, with an Hauppauge PVR-150.
I've followed the combination of the Hyams Home guide & the first post in this thread, and have almost achieved complete success.
However, I cannot get the MySQL database to work properly. If I launch mythfilldatabase, I receive a ton of the INSERT INTO dd_schedule errors that suggest I have MySQL 5, and MythTV 0.18. If I understand correctly, I can either downgrade MySQL, or upgrade MythTV, to solve the problem.
Here's the part I don't understand: I built this machine from scratch a couple of weeks ago specifically for this purpose. I started with a bare drive, and followed the HOWTOs As closely as I could. To the best of my knowledge, I have *NEVER* installed MythTV 0.18. From the very beginning, I downloaded the 0.19 .bz2 files, and used those, adhering to the Hyams page update (section 9.8).
SO, that doesn't jibe with the conclusion that my db errors are related to Myth being version 0.18.
HOWEVER, if I look at Synaptic, and search for Myth, everything that comes up lists 18.1 in the 'installed version' column.
10 minutes ago I went back, and re-did the entire 9.8 section in the HOWTO, up until the section to add items to the startup programs tab (haven't done that step yet).
In a nutshell, I've followed the guide, using section 9.8 to install myth 0.19, and stopped just before adding anything to startup. I haven't bothered setting up the remote control yet, or anything else past section 6.
HOW do I have Myth 0.18, instead of 0.19, and how may I fix this so I can successfully run mythfilldatabase, have a program guide, and schedule recordings?
I've been losing a ton of sleep over this project, and most folks think I'm nuts, and ought to just get a Tivo or load up WinXP instead. But as I replied to someone about this last week, "Where's the fun in that?"
Thanks for any help,
Steve
NT4usB
August 22nd, 2006, 04:13 AM
I fought it for over a month...
Finally, I got it working by first getting my cards to work, and mysql, and the remote. Once those were stable, I installed MythTV.
Add these to your sources.list:
deb http://knm.org/mythdebs/ binary/
deb-src http://knm.org/mythdebs/ source/
Then install 19-5 via synaptic.
Fix the issue with mythmusic by installing libcdaudio0 from the 5.10 repos. Then pin it so it doesn't get updated.
xboxer21
August 23rd, 2006, 01:10 PM
NT4usB,
when I use synaptic to install mythtv 19-5, there seems to be a lot of unresolved dependencies and therefore finally fails to install mythtv. Any Thoughts?
Thanks
NT4usB
August 23rd, 2006, 05:54 PM
Resolve the dependencies... I dunno?
Do you have everything else working? ivtv, mysql, apache2, etc?
iirc, once I had those dialed, I could add and remove mythtv at will.
The first time I installed 0.19 I used the repositories at:
deb http://home.eng.iastate.edu/~superm1 dapper main
deb-src http://home.eng.iastate.edu/~superm1 dapper main
but it only had the base install.
iirc, I later found knm so I removed 0.19 and installed 0.19-5. (or, maybe I dumped 19-5 over the top. I don't remember)
May be that the 0.19 at iastate.edu left behind things that made 19-5 work.
I'm no expert although I'm fairly proficient after several uninstalls, formats, reinstalls, etc. It does work!
My Mythbox has been running unattended for ~2 months now with only one myth lockup and one restart to update the kernel.
dillanlaughlin
August 23rd, 2006, 07:08 PM
Hey Everyone, I am stuck on these drivers, I've followed the guide 4 times now to no avail. As far as I can tell I've followed the directions right down to the letter. Right now this is as far as I get:
dillan@ubuntu01:~$ sudo depmod
dillan@ubuntu01:~$ modprobe ivtv
FATAL: Module ivtv not found.
I am using the Hauppage 500 card and would greatly appreciate anyones help.
Thank You!
xboxer21
August 23rd, 2006, 11:16 PM
Resolve the dependencies... I dunno?
Do you have everything else working? ivtv, mysql, apache2, etc?
iirc, once I had those dialed, I could add and remove mythtv at will.
The first time I installed 0.19 I used the repositories at:
deb http://home.eng.iastate.edu/~superm1 dapper main
deb-src http://home.eng.iastate.edu/~superm1 dapper main
but it only had the base install.
iirc, I later found knm so I removed 0.19 and installed 0.19-5. (or, maybe I dumped 19-5 over the top. I don't remember)
May be that the 0.19 at iastate.edu left behind things that made 19-5 work.
I'm no expert although I'm fairly proficient after several uninstalls, formats, reinstalls, etc. It does work!
My Mythbox has been running unattended for ~2 months now with only one myth lockup and one restart to update the kernel.
I will try in the same order as you did , Everything else is set up correctly.
Thanks Again
admiralawesome
August 24th, 2006, 12:42 AM
dillanlaughlin,
I had the same problem. Here's what I did. I used the ivtv-0.4.6 drivers rather than 0.4.4. During the make install, there were conflicts listed in the command's output. They're easy to miss. I fixed those by copying and pasting the exact commands listed in the make install output. Things still didn't work after that; I wasn't getting an ivtv folder under /lib/modules/`uname -r`/ at all. So I did a search and found that the ivtv folder was instead being created under /lib/modules/2.6.13.7-ubuntu1/ I think it was. Copying the ivtv folder from there to /lib/modules/`uname -r`/ fixed the "Module ivtv not found" problem for me. After fixing any conflicts during the make install of the ivtv drivers, do a search for the ivtv folder. It might have been created under the wrong folder.
xboxer21
August 26th, 2006, 10:50 PM
NT4usB,
I finally got mythtv installed except for mythflix which has an issue with overwriting some png file installed by mythnews. I have all drivers installed. I can capture and playback video with audio after following Hyam's how to (http://hyams.webhop.net/mythtv/myth_ubuntu.html). However I have the following problems :(
When I select Watch TV I hear sound for one second and the whole pc freezes.
Mythweb does not work
I have modifies the .htaccess file and have added the mysql username and password, I still continue to get the following error message
Database Setup Error
The database environment variables are not correctly set in the
included .htaccess file. Please read through the comments included
in the file and set up the db_* environment variables correctly.
iSome possible solutions are to make sure that mod_env is enabled
n httpd.conf, as well as having followed the instructions in the
README about the AllowOverride settings.
I would case less about the webmyth for now, but I'm not sure why my pc freezes after I select Watch TV.
Thanks
NT4usB
August 27th, 2006, 01:11 AM
What version of ivtv did you install?
Mythtv locked up when I used 4.5 (or 4.6, I don't remember which...)
4.4 worked for me.
iirc, my computer wasn't locked up, just mythtv. If I Alt+Tab to bring the terminal to the front, then Ctrl+c to cancel Mythfrontend, I got my computer back.
I didn't install mythflix, saw no need for it. Mythweb didn't interest me (yet) It may work, I dunno.
xboxer21
August 27th, 2006, 03:01 PM
NT4usB,
MythTV works now, just had to reinstall Nvidia drivers and a few codecs to get it working. I have ivtv-0.4.4 installed, never tried 4.5 or 4.6, I will try messing with mythweb and post my results later
Thanks for all your help.
crispy_420
August 29th, 2006, 04:04 AM
ABLE TO WATCH TV!!!
Basically it works for me but I do have a few questions:
Will my windows MCE remote work (was originally a Win MCE system I built, but hated the record format - MS-DVR)? More so has anyone tried and suceeded?
I have a mini-ATX mobo (asus) with built it 5.1 surround sound (RealTek), will that work with a reciever with multichannel in (eg. front right, front left, etc.)? Want this for DVD watching (in surround sound 5.1) and so the subwoofer will work?
What is the "good" repo for libcdaudio0? I know it is a breezy one but could someone post one here for me?
So far so good for me and I am trying this again for the first time in years. I originally bought this system to make a MythTV box (on FC3 - been a bit since I started this project). But after many attempts and failures, I gave up for a long time. For this time I used Win Media Center, which I was really happy with. But there was a catch: recorded to a format that many video editors at the time. So again I gave up and my system just sat there for months without a boot up. Then I came across posts like this and others and thought, why not. After many failures and reinstalls, I took my time and did a little bit at a time (install -> drivers -> ETC.). This time it worked, and for that I credit Ubuntu and it's loyal community.
So to those still having problems, DO NOT GIVE UP!!! In the long run it will be worth it to succeed. You may spend a long time getting it up and running, but you get a nice standard format. Just think of media center's format and the time it will cost to re-encode all those MS-DVR formatted videos to a functional format.
But as with any new project, only time will tell. For me this was just a project. If I really need to record, I have SageTV and GB-PVR (http://www.gbpvr.com/) to record. GB-PVR is a free project (to use) but is not open source. And it has many plugins too (ComSkip to name one).
Next up: SageTV Linux OEM (http://www.sagetv.com/linuxOEMedition.html)
Maybe even a swappable drive system. One drive with Ubuntu/MythTV and Windows Media Center (dual boot). Another with SageTV Linux.
skattman83
August 31st, 2006, 03:57 PM
I can't get the ivtv driver working on my pvr 150 card. Running the dmesg ends with these lines, which I think may be the problem:[17180164.692000] tuner: type set to 4 (NoTuner) by ivtv i2c driver #0
[17180164.988000] ivtv0: Initialized WinTV PVR 150, card #0
[17180164.988000] ivtv: ==================== END INIT IVTV ==================
That line about type set to 4 (NoTuner), seems like it would be causing a problem. Any ideas?
xboxer21
August 31st, 2006, 04:19 PM
I can't get the ivtv driver working on my pvr 150 card. Running the dmesg ends with these lines, which I think may be the problem:[17180164.692000] tuner: type set to 4 (NoTuner) by ivtv i2c driver #0
[17180164.988000] ivtv0: Initialized WinTV PVR 150, card #0
[17180164.988000] ivtv: ==================== END INIT IVTV ==================
That line about type set to 4 (NoTuner), seems like it would be causing a problem. Any ideas?
What version of the ivtv drivers did you install and what kernel are you using?
Can you record any video by doing
cat /dev/video0 > /tmp/test.mpg
(hit Ctrl+C to stop the capturing)
Use Mplayer to Play it back.
BTW I got my mythweb working after I did the following changes to the apache2.conf file
nano /etc/apache2/apache2.conf
<Directory /var/www/mythweb>
AllowOverride All
Options FollowSymLinks
</Directory>
skattman83
August 31st, 2006, 05:01 PM
@xboxer21:
I'm running IVTV driver version 4.4, and my kernel is 2.6.15-26-686. If I try to run cat /dev/video0 > /tmp/test.mpg, all I get is static.
skattman83
August 31st, 2006, 08:21 PM
I just purchased the card in July. Is it perhaps a new version that I need a newer driver for?
xboxer21
September 1st, 2006, 10:08 AM
@xboxer21:
I'm running IVTV driver version 4.4, and my kernel is 2.6.15-26-686. If I try to run cat /dev/video0 > /tmp/test.mpg, all I get is static.
You probably are seeing static because the Tuner is not tuned to a viewable channel. Go to the bottom of section 5.3 in Hyams how to (http://hyams.webhop.net/mythtv/myth_ubuntu.html) and try to tune using command line.
I bought my PVR-250 2 weeks ago. The 4.4 drivers should work.
Did you follow althepcman's modifications to the howto to install the firmware at the beginning of this thread (1st post).
skattman83
September 1st, 2006, 10:46 AM
Yes, I followed the changes to the guide. The section in the dmesg about ivtv does not list any errors loading the firmware, so I don't think that is the problem, unless the firmware isn't for my card. What card do you have, if you run lspci?
xboxer21
September 1st, 2006, 11:49 AM
I have a PVR250, Dont have access to my home pc now but I vaguely remember seeing something about Hauppauge when I did lspci. I will confirm when i get a chance.
skattman83
September 1st, 2006, 12:08 PM
Mine listed some brand other brand name, I think it started with an N, but I'm not certain.
xboxer21
September 2nd, 2006, 01:35 PM
Mine listed some brand other brand name, I think it started with an N, but I'm not certain.
Here's mine after I do lspci
0000:04:06.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
detectiveinspekta
September 2nd, 2006, 09:26 PM
Hi I think this line is wrong and craped people up.
ln -s lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
should be
ln -s /lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
I think...
I had a problem with the ivtv firmware decoder, the encoder would load but the decoder was missing. I did the above but ubuntu went to the shits when I tried to reboot.
I'm using dapper server install BTW, it uses some server kernel so I think it maybe the cause?
Also how long does it take to change channels? I had it running under windows and it takes maybe 1s to change using a bunny ears arial
detectiveinspekta
September 2nd, 2006, 09:32 PM
Alsome, you need to do a full power-down of the computer, take the plug out for a few minutes after you install ivtv. Seems to be loading correctly now. Worth putting in
NoahsMyBro
September 2nd, 2006, 11:10 PM
I've got a few different questions about my MythTV install. I'm not sure if they should be asked separately, each in it's own thread, or if it's proper to ask here in this thread. If they should be asked elsewhere, just say so and I'll happily do that.
System is:
Ubuntu 6.06
MySQL 5.0
MythTV 19.5
Motherboard is a Soyo K7VME - Integrated Unichrome graphics, no TV-Out.
CPU = AMD Athlon XP 1Ghz. ACTUALLY PAID FOR SEMPRON 2300, a little PO'd about that.
RAM = 512Mb.
Hauppauge PVR-150 with Remote Control
I've got the fundamental functionality of my MythTV system working properly now. I can download the Program Guide, schedule recordings, watch live TV, and watch recordings, and use the Hauppauge Remote Control.
1) No TV-Out. If I pick up an inexpensive AGP videocard, what would I have to do to install it, and use it instead of the onboard graphics? How will this impact the currently installed and working MythTV install?
......1a) I'm seriously considering this card: GIGABYTE GV-N52128DS Geforce FX5200 128MB DDR AGP 4X/8X Video Card (http://www.newegg.com/Product/Product.asp?Item=N82E16814125191). Once finished, the system will only be used for MythTV, and *maybe*, down the road, a little bit of MAME. No other gaming will be asked of the system. Any opinions on how well this card will work here? The only reason I'm looking to buy the card is to gain TV-Out, and watch the MythTV machine on a 27" JVC CRT, Standard Def TV.
2) Addition of a 2nd Tuner - The system has an Hauppauge PVR-150 tuner installed and working. The motherboard has only two PCI slots, with the Hauppauge occupying one. Now that I've got things working, I'd like to add a second tuner. I've got an Avermedia TV-M179 card waiting to be installed. Would it be fairly painless to install this second card and not break anything, using section 8.14 (adding a second PVR-150) of Hyams Home HOWTO as a guide?
3) During the install (using the first post of this thread, and the Hyams Home HOWTO), somewhere along the way I broke MyPHPAdmin. Should I bother trying to fix it, and does anybody have any good ideas as to how I could fix it? Regrettably I'm not prepared to give even the most basic info about *how* specifically it is broken.
4) MythGallery - I've copied a bunch of pictures from our home server to the directory I specified for MythGallery to use. Inadvertently, some of the files I copied were videos originally shot by my digital camera. (I think the digicam produces Quicktime format videos.) Whether a picture or a video, the thumbnails all display in MythGallery. If I view one of the videos, the video displays fine. If, however, I try to view a photo, all I see is a large white screen where the picture should display. I haven't found any reference at all to something like this via Google. Have any of you seen this, and do you know how I can fix it?
5) Multitasking - I'm not sure what I can or can't do on this box while running Myth. Occasionally it seems Myth (Front or Backend) will crash when I do different things, with no apparent reason or warning. When this happens, nothing occurs to let me know; rather, Myth Frontend will stop responding, and/or programs simply won't record. This hasn't happened frequently enough for me to see a pattern, but has occured a few times. What CAN I do while using Myth, and what can't I do? I'm not trying to do anything terribly demanding on the system.
...5a) One specific task I'm curious about - Can I watch one recorded program while recording a new program?
...5b) Can I rip CDs while recording a program?
6) Music - The first few times I tried to rip a CD, the job ended incredibly quickly, with no tracks ripped. I changed the encoding to .OGG and the ripping process took much longer, and actually worked. I'm now installing LAME. Is it likely I simply had no .mp3 encoder installed?
7) Program Guide - I'm in North America. I've registered an account with Zap2It, and am using the DataDirect Program Guide.
...7a) When running Mythfilldatabase I see a msg telling me my
subscription will expire, I think sometime in November. Why is this? Does it auto-renew? Does the subscription begin to cost money after that?
...7b) A couple of nights ago I tried searching for a specific program, Veronica Mars. I could not find the program listed anywhere in the guide, whether using Find or doing a search. Is this a problem on my end, or does the guide sometimes just miss things?
I know that's a lot of questions. I hope some of you can help with some of them; sorry again if this is the wrong place for this.
Thanks for any help you can offer,
Steve
NT4usB
September 3rd, 2006, 12:49 AM
...
1) No TV-Out. If I pick up an inexpensive AGP videocard, what would I have to do to install it, and use it instead of the onboard graphics? How will this impact the currently installed and working MythTV install?
......1a) I'm seriously considering this card: GIGABYTE GV-N52128DS Geforce FX5200 128MB DDR AGP 4X/8X Video Card (http://www.newegg.com/Product/Product.asp?Item=N82E16814125191). Once finished, the system will only be used for MythTV, and *maybe*, down the road, a little bit of MAME. No other gaming will be asked of the system. Any opinions on how well this card will work here? The only reason I'm looking to buy the card is to gain TV-Out, and watch the MythTV machine on a 27" JVC CRT, Standard Def TV.
TV out doesn't require much of a card. This one would work.
(ed: this card doesn't have s-video or component out. Composite out is your only choice. Be sure it will work on your tv)
You'll have to install the Nvidia drivers (plenty of documentation on these boards.)
Shouldn't bother the Myth install... Don't know if your system can handle much multi tasking while Myth is running. If you really want your programs recorded (or whatever else you're working on) Probably should decide to do one or the other.
2) Addition of a 2nd Tuner - The system has an Hauppauge PVR-150 tuner installed and working. The motherboard has only two PCI slots, with the Hauppauge occupying one. Now that I've got things working, I'd like to add a second tuner. I've got an Avermedia TV-M179 card waiting to be installed. Would it be fairly painless to install this second card and not break anything, using section 8.14 (adding a second PVR-150) of Hyams Home HOWTO as a guide?
Don't think Myth (or ivtv) supports Aver. Look it up.
A second PVR-150 would require only a couple edits to files.
...
...5a) One specific task I'm curious about - Can I watch one recorded program while recording a new program?
Should be no problem. I record 2 programs and watch another.
...5b) Can I rip CDs while recording a program?
Probably not. Ripping (specifically, encoding) requires a lot of resources.
7) Program Guide - I'm in North America. I've registered an account with Zap2It, and am using the DataDirect Program Guide.
...7a) When running Mythfilldatabase I see a msg telling me my
subscription will expire, I think sometime in November. Why is this? Does it auto-renew? Does the subscription begin to cost money after that?
they'll send an email to the address you signed up with to remind you. You simply go to your account there and click on a renew button.
...7b) A couple of nights ago I tried searching for a specific program, Veronica Mars. I could not find the program listed anywhere in the guide, whether using Find or doing a search. Is this a problem on my end, or does the guide sometimes just miss things?
Lots of different ways to search. Did you try searching by keyword 'Veronica' or something?
The guide is not perfect. If you know it's playing and when, you can manually schedule it.
detectiveinspekta
September 3rd, 2006, 05:03 AM
Anyone know how to make the tv-out for the PVR-350?
So far I have this site http://www.willmer.com/kb/2005/04/x-out-on-a-pvr-350/ but there is no such location for /usr/X11R6/lib/modules/drivers/
Using a dapper install
skattman83
September 4th, 2006, 08:38 PM
When I run a lspci, my card comes up the same as xboxer21's. Secondly, I saw this post below so I investigated it.
Hi I think this line is wrong and craped people up.
ln -s lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
should be
ln -s /lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
I think...
I ran a ls -l /lib/firmware/v41-cx2341x-dec.fw which pointed to /lib/firmware/ivtv-fw-dec.bin. The link was listed as red text on a black background, what does that mean?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.