View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 104 posts ] 
Go to page Previous  1 ... 3, 4, 5, 6, 7  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Sep 28, 2006 9:23 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Please see the directions on the wiki. http://www.knoppmythwiki.org/index.php?page=CompileIvtv I tested these with 0.7.1 last night. All you need to do is read the 0.7.1 related note at the top, and make the obvious substitutions of 0.4.6 -> 0.7.1 everywhere and the newer kernel name where the directions tell you to.


Top
 Profile  
 
 Post subject: IT WORKS!!
PostPosted: Fri Sep 29, 2006 2:20 pm 
Offline
Joined: Thu Sep 14, 2006 3:41 pm
Posts: 14
I'm rebooting again just to make sure it is really working. :)

I followed the steps above and did steps 1-3 on http://www.knoppmythwiki.org/index.php?page=CompileIvtv

Everything appears to be functioning. Channels in the 50-60 range are fuzzy but that is a different problem.

Thanks to everyone who helped fixed the problem..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 29, 2006 6:00 pm 
Offline
Joined: Mon Mar 06, 2006 2:14 pm
Posts: 43
Ok so followed the directions and can now see myth on my tv but when i hit watch tv or any thing else i get a cant connect to backend error. this happen to any one else? any have any idea how i can correct this? i notice that i can type mythtv-backend stop / start as many times as i want and it never gives me the myth is already running or myth is not runnin error!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 08, 2006 4:49 pm 
Offline
Joined: Fri May 06, 2005 6:50 pm
Posts: 5
AFter numerous attempts to fix the reboot issue I decided to just let my system run and pray that it never had to reboot but that only lasted about 3 days before I messed the power up :) and after following the directions I too am receiving the can't connect to backend error.

(What I did)
-Made a backup of /etc directory to /myth/etc_backup
root@mythtv:mkdir /myth/etc_backup
root@mythtv:cp -RP /etc /myth/etc_backup

-rebooted and selected autoupgrade from R5D1 disk

-setup system

-config pvr350

-config no boot splash

- ...
I had a problem getting to a command prompt after the auto upgrade configuration. So I had to select "knoppmyth:reboot" in order to get X to fail and I could then have a command prompt on the monitor that was attached and be able to continue with the "-Make Zaroffs stuff" step. Is that ok?

-Make Zaroffs stuff
(created the file /etc/init.d/local)
root@mythtv:~# vi /etc/init.d/local
(inserted the following into /etc/init.d/local)
#! /bin/sh
modprobe ivtv-fb
(modified permissions of /etc/init.d/local)
root@mythtv:chmod +x /etc/init.d/local

-Updated rc.d
root@mythtv:~# update-rc.d local start 95 2 3 4 5 .

-Edited /etc/X11/XF86Config-4 file so the seciont dealing with the
Hauppauge 350 looked like the following:
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"

### change fb0 to whatever number you got in the previous section
Option "fbdev" "/dev/fb1"
Option "ivtv" "/dev/fb1"
Option "VideoOverlay" "on"
Option "XVideo" "1"

-Restart X and all should be well.
I did not restart X at this point as on a previous attempts I was unable to get a command promt if I quit at this point.

-Unpacked the Kernel
root@mythtv:cd /usr/src
root@mythtv:tar jxvf kernel-source-2.6.17-chw-8.tar.bz2

-Downloaded driver code
root@mythtv:wget http://dl.ivtvdriver.org/ivtv/archive/0 ... 7.1.tar.gz

-made the IVTV intsallation
root@mythtv:tar zxvf ivtv-0.7.1.tar.gz
root@mythtv:cd ivtv-0.7.1/
root@mythtv:make
root@mythtv:make install

-rebooted and now the tv is displaying Myth, remote is working, but I am receiving the can't connect to backend error when trying to watch tv or modify themes etc...

-Drop and recreate card config
I had trouble with the final step "-Drop and recreate card config" as I don't know how to do that yet? (newb, pls help!)


Thanks Zaroff, Silent and everyone else for helping me get to where it will display something after a reboot.


Top
 Profile  
 
PostPosted: Sun Oct 08, 2006 5:18 pm 
Offline
Joined: Mon May 22, 2006 11:52 am
Posts: 8
A very lazy hack for people that don't want to recompile the module:

I noticed that the ivtv_fb module would only take while X was running (using the monitor). So I wrote this script to start X using the old config in /etc/X11 on the monitor for 3 seconds while it loads the module. Then it switches the /etc/X11/XF86Config-4 sym link back to the config for the 350 and restarts X.

You should probably recompile the module and not do this.

to use:
Don't forget to set the correct PCI BusId in your /etc/X11/XF86Config.350 for your setup (my guess is its already set if it worked the first time)

save this script as /etc/init.d/IVTV-HACK
Code:
#! /bin/sh

case "$1" in
start)  echo -n "starting ivtv ugly hack"
        /etc/init.d/gdm stop
        rm -f /etc/X11/XF86Config-4
        /bin/ln -s /etc/X11/XF86Config-4.pre350  /etc/X11/XF86Config-4
        /etc/init.d/gdm start
        /bin/sleep 3
        /sbin/modprobe ivtv-fb
        rm -f /etc/X11/XF86Config-4
        /bin/ln -s /etc/X11/XF86Config-4.350  /etc/X11/XF86Config-4
        /etc/init.d/gdm restart
        ;;
stop)   echo -n "there is no stop"
        echo "."
        ;;
restart) echo -n "there is no restart"
        echo "."
        ;;
esac
exit 0



then as root run
Code:
chmod +x /etc/init.d/IVTV-HACK
update-rc.d IVTV-HACK start 95 5 .


Meant to be used on a R5D1 KnoppMyth install.
It worked for me before I found this thread.

edit: You may need to rename /etc/X11/XF86Config file (if it exists) to something else so that X doesnt load it instead of following the /etc/X11/XF86Config-4 link. I remember doing this at some point.


Last edited by dvanced on Mon Oct 09, 2006 7:52 am, edited 5 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 08, 2006 8:13 pm 
Offline
Joined: Thu Feb 02, 2006 3:57 am
Posts: 31
jtsteve wrote:
-Drop and recreate card config
I had trouble with the final step "-Drop and recreate card config" as I don't know how to do that yet? (newb, pls help!)


The easiest way to do this is:
1) Alt-2 to stop the backend.
2) Alt-S to run setup.
3) Go to #2, Capture Cards and choose "Delete all capture cards."
4) Re-add your card(s): "New capture card".
5) Exit out of setup and then Alt-3 to start the backend again.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 08, 2006 9:46 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Not quite complete silentaccord. When you delete and recreate the capture cards you also need to redo the input connections...

For several ways to get back into mythtv-setup see this wiki page - http://www.knoppmythwiki.org/index.php? ... MytTVsetup
For a complete list of steps for recreating you tuner card entries see item 11 on this wiki page - http://www.knoppmythwiki.org/index.php?page=CompileIvtv


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 08, 2006 10:03 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi dvanced,

Nice hack :) Maybe the driver compile etc is the proper thing to do, however since it worked the first time it should have worked the second time also with what was installed. Your hack proved it so.

May be something is in the wrong startup order or something is in a list to early / too late. A fresh view is good.

Thank you
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 04, 2006 2:58 pm 
Offline
Joined: Sun Apr 02, 2006 12:06 am
Posts: 6
I had a a hell of a time getting my 350 tv out working with R5D1. In addition to Zaroffs's hack, I had to enable bootsplash. Otherwise modprobe ivtv-fb would crash the machine.

Then the key was adding this line to my XF1186Config-4:

Option "fbdev" "/dev/fb1"

This one didn't do anything for me:

Option "ivtv" "/dev/fb1"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 08, 2006 9:51 pm 
Offline
Joined: Sat Oct 14, 2006 9:07 am
Posts: 1
I was able to solve all my pvr-350 woes using Zaroff's and Batkinson's directions.

zaroff1967 wrote:
root@mythtv:~# nano /etc/init.d/local

This file should look like:
Code:
#! /bin/sh

modprobe ivtv-fb


Then

root@mythtv:~# chmod +x /etc/init.d/local
root@mythtv:~# update-rc.d local start 95 2 3 4 5 .

Finally, the crucial part was in XF86Config-4:
Code:
Section "Device"
        Identifier      "Hauppauge PVR 350 iTVC15 Framebuffer"
        Driver          "ivtvdev"

        ### change fb0 to whatever number you got in the previous section
        Option          "fbdev" "/dev/fb1"
        Option          "ivtv" "/dev/fb1"
        Option          "VideoOverlay" "on"
        Option          "XVideo" "1"

        ### change the busid to whatever is reported by lspci. Note that
        ### output of lspci is hex, so add a preceding "0x" to the BusID
        BusID "PCI:0:20:0"

        Screen          0
EndSection


Restart X and all should be well.

The fbdev line turned out to be the important part that was missing. I believe someone else got it working earlier by adding that line but for some reason it didn't work for me at the time. The 'local' startup script is a bit of a cheat to get the ivtv-fb module loaded but I couldn't find another way to get it to load correctly. My system has bootsplash enabled which is why I'm using 'fb1' above. If you don't have bootsplash then you should use 'fb0'.

My system will now bootup and the frontend will come up on the 350's tv-out without any sort of manual intervention just like it did in previous releases. I suspect the above steps may be the solution for others as well. Will some other people try this and post their results?

batkinson wrote:
perform zaroffs hacks to /etc/init.d/local and XF86Config-f

Code:
apt-get update
apt-get install wget

wget http://dl.ivtvdriver.org/ivtv/stable/ivtv-0.8.0.tar.gz

tar -zxf ivtv-0.8.0.tar.gz
cd ivtv-0.8.0/
make && make install


(refer to http://ivtvdriver.org for more ivtv info)

cross fingers hold breath reboot


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 09, 2006 9:37 pm 
Offline
Joined: Sun Apr 02, 2006 2:07 pm
Posts: 12
I can confirm I followed the instructions in the directly above post and it worked for me. Two small changes:

1. I used ivtv-0.7.1.tar.gz, as mentioned above
2. I used /dev/fb0 instead of /dev/fb1 in the X config file


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 09, 2006 10:33 pm 
Offline
Joined: Thu Feb 02, 2006 3:57 am
Posts: 31
Has anyone noticed higher cpu usage with ivtv 0.7.1? I have an 866mhz pentium 3 and was seeing >50% cpu for mythfrontend during playback with 0.7.1. I reinstalled 0.7.0 and it's now less than 5% like it was in R5C7.


Top
 Profile  
 
 Post subject: Epic Saga
PostPosted: Fri Nov 10, 2006 6:56 pm 
Offline
Joined: Fri Oct 20, 2006 8:49 pm
Posts: 52
Location: Lafayette, IN
Wow. I had this problem earlier this week when I reinstalled R5D1, and I thought I'd wait a while to let the guinea pigs work through the initial troubleshooting! :)

...And by Guinea pigs, I mean those of you who are more knowledgable about Linux than I. :)

This thread unfolded like an epic saga, but it appears to be only on the first part of the trilogy...

Sorry if this post is useless babble, but I at least wanted to let you all know that your efforts are appreciated.

I am now going to try the Zaroff / Batkinson Solution, and see if that works for me.

Herr Schmeckendeugler


Top
 Profile  
 
PostPosted: Fri Nov 10, 2006 7:48 pm 
Offline
Joined: Fri Oct 20, 2006 8:49 pm
Posts: 52
Location: Lafayette, IN
All Righty! I got as far as recompiling the ivtv module, and received an error. (Maybe I shoulda wrote down what it was... Oh well!) But, since it was a fresh install, I just rebooted to see what would happen! At worst, I gotta reinstall.

The result: The TV out appears to be getting... a signal, SOME type of signal, but just black. The Monitor displays some stuff going in a diagnal sloping-to-the-right fashion, as if the "Carriage Return" output were no longer functioning properly. The last thing to appear on the screen is...

Code:
ivtv0-osd: new global alpha = 208 (1 255 0)
ivtv-0 osd: framebuff


...There it goes off the screen. FYI some other ivtv-0 stuff is indicated above that which may or may not be pertinent.

This wouldn't be so much of a problem if I could SSH in, or figure a way out to get to a command prompt! Perhaps the entire machine is just locked up? SHould CTRL+ALT+DEL do a reboot? Should any other Linux Keystrokes do anything that I might not know about (similar to the ALT+F2 or whatever to get another shell)?[/code]


Top
 Profile  
 
 Post subject: SUCCESS!!!
PostPosted: Fri Nov 10, 2006 10:00 pm 
Offline
Joined: Fri Oct 20, 2006 8:49 pm
Posts: 52
Location: Lafayette, IN
SUCCESS!!!!

content deleted.

see later post for better description. :arrow:


Last edited by schmeckendeugler on Mon Nov 13, 2006 8:04 am, edited 2 times in total.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 104 posts ] 
Go to page Previous  1 ... 3, 4, 5, 6, 7  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu