LinHES Forums http://forum.linhes.org/ |
|
Pink and Green problem http://forum.linhes.org/viewtopic.php?f=6&t=4014 |
Page 1 of 1 |
Author: | WillyWonka [ Wed Mar 30, 2005 2:26 pm ] |
Post subject: | Pink and Green problem |
I've got the pink and green problem. Typing in the line Code: ivtvctl -j reg=0x6c,val=0xfa -d /dev/video16 fixes it. The only problem is I can't get it to execute that code every time I boot up. Some other posts have said add a post-install line to your ivtv file and it will work, but every time I do that I can see errors flying by the screen on bootup saying something along the lines of the line with "post-install" has an error, ignoring. This is what I'm typing Code: post-install ivtv /usr/local/bin/ivtvctl -j reg=0x6c,val=0xfa -d /dev/video16
How do I fix this? |
Author: | WillyWonka [ Wed Mar 30, 2005 5:57 pm ] |
Post subject: | |
I manged to figure this out. Code: dmesg | grep tuner On my machine that returns Tuner 47 Login as root. Modify /etc/mythtv/modules/ivtv Change the tuner from 2 to 47 Change Code: install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner to Code: install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner && /sbin/modprobe -r ivtv-fb Update the ivtv drivers: Code: cd /tmp wget http://membres.lycos.fr/badzzzz/ivtvdev_drv.o.gz gunzip ivtvdev_drv.o.gz cp ivtvdev_drv.o /usr/X11R6/lib/modules/drivers/ Then I ran Code: update-modules I don't know what it does but it is in a few docs on this web site. That got the TV working on the monitor after I rebooted. To get a picture on the TV I had to do this: Code: cd /etc/X11/ cp XF86Config-4 XF86Config-4.orig cp xf86config-4.pvr350-tvout.sample XF86Config-4 Code: spci | grep -i itv Returned this line: 0000:02:0c.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01) Edit XF86Config-4 Changed "Mouse0" to "USB Mouse" Scroll down to the "Device" section which lists the Hauppauge 350. Change the Driver line to read Code: Driver "ivtvdrv" On the BusID line I took the 0C from the spci line and entered it in there... Code: BusID "0:0x0C:0" As far as I understand it, that points the computer to the right slot on your motherboard. When I rebooted, I now had a Green & Pink screen Typing this on the command line fixed it Code: ivtvctl -j reg=0x6c,val=0xfa -d /dev/video16 But I couldn't get it to stick. I eventually found a place to put it. I have no idea if it's a good place, but it worked. In /etc/init.d there is a file called set_ivtv_params I made a backup of it and then edited it. Just under the loop (Where it says done) I placed the line Code: done $IVTVCTL -j reg=0x6c,val=0xfa -d /dev/video16 ;; saved and exited. When I rebooted, it worked on the RCA cables. I'm sure I can add Code: $IVTVCTL -j reg=0x2d,val=0x38 -d /dev/video16
to get the SVideo working too (I just can't find my cable at the moment to test). Anyways, so that's it. Thank you to everyone who tried to help me. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |