LinHES Forums
http://forum.linhes.org/

so close I can almost smellovision it!
http://forum.linhes.org/viewtopic.php?f=14&t=5543
Page 1 of 1

Author:  ol_geezer [ Mon Aug 01, 2005 12:52 pm ]
Post subject:  so close I can almost smellovision it!

D'oh! Like the son of a silly person I bought a Win-TV PVR 150 because I thought it was on the list.

The install worked, and I can do everything but change channels.

SO, I tried following the instructions to install the .3x version of ivtv.

The Knoppmyth install already seems to have a symbolic link called 'linux' in my /usr/src directory. However when I run 'make' in the drivers directory, it barfs and tells me that there is no such file or folder (refering to the kernel source).

What am I missing? Do I remove the existing symbolic link?

I am SOOO close!

Please help a noob

Author:  tjc [ Mon Aug 01, 2005 6:47 pm ]
Post subject: 

Try unpacking the kernel source... This varies by the version you're using, but basically...
Code:
cd /usr/src
tar jxvf kernel-source-2.6.11.9-chw-2.tar.bz2


The name will be different if you're not using R5A16 (do an ls -al) and if it's gzip-ed instead of bzip2-ed you need to use "z" rather than "j" in the tar options string.

Author:  ol_geezer [ Tue Aug 02, 2005 9:26 am ]
Post subject: 

Yep, worked like a charm. Thanks


I went ahead and followed the knoppmyth wiki article on updating ivtv, and I was able to de everything they sugested, however there is a lot of confusing information surrounding the new modprobe.d file:

Quote:
9.) nano /etc/modprobe.d/ivtv

--Note: You probably don't have this file unless you're upgrading. Just create it from scratch.

insert the following for PVR-150 NTSC non-mce

alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv tuner=39,50 ivtv_std=1,1 tda9887=0 mixer_input=2
add above ivtv lirc_dev lirc_i2c

insert the following for pvr-150 MCE (type 1042)

alias char-major-81 videodev

alias char-major-81-0 ivtv

alias char-major-61 lirc_i2c

options ivtv tuner=47

options saa7127 i2c_enable=-1

options cx25840 i2c_enable=1 no_black_magic=1

-- The add above line gave me an error on startup, so i commented it out. I also needed to add "options wm8775 mixer=2" to /etc/modprobe.d/wm8775 so i could get just composite sound with no static. - Nick Bonfatti

--Fix: edit /etc/mythtv/modules/ivtv and comment out the "options tuner=2" line
This one took me 2 hours to find. Now this works like a dream!!! -KF

--Fix: remove the eeprom module and modprobe the tveeprom module. With this loaded, your tuner will be detected automatically so you do not have to guess its type. I use the following script, which goes slower than necessary but the extra steps are helpful in debugging if anything goes wrong. For extra debugging, most of these modules support a debug=1 parameter which logs everything to dmesg instead of just detection and errors.

echo Loading IVTV drivers.
echo Unloading eeprom
rmmod eeprom
sleep 1
echo Loading tveeprom
modprobe tveeprom
sleep 1
echo Loading videodev
modprobe videodev
sleep 1
echo Loading cx25840
modprobe cx25840 i2c_enable=1
echo Loading tuner
modprobe tuner
sleep 1
echo Loading wm8775
modprobe wm8775
sleep 1
echo Loading ivtv
modprobe ivtv

Note: IVTV creates a new tuner module. I've had to rename the tuner module that came with the kernel to make the video stable and static free: mv /lib/modules/2.6.9-chw-4/kernel/drivers/media/video/tuner.ko /lib/modules/2.6.9-chw-4/kernel/drivers/media/video/tuner.ko.old

--Al Heinen


The confusion, on my part, starts at the line "ADD ABOVE IVTV...."

Could someone who understands this process please review and clean up the wiki? The fix comments are incomplete, and don't walk us noob's step by step like the original does.


Also, the comment about "remove the modprobe eeprom module and replace it...." section seems to expect that we know how to do that. I personally don't. and where does the script go? is it just a .sh script?

The big problem is that after following the instructions, now my computer monitor goes black when I select "Watch TV", and I can not control the computer.

I used the 0.3.3u version of ivtv.

Author:  robert.pdx [ Tue Aug 02, 2005 9:44 am ]
Post subject: 

I have a retail PVR 150 (non-mce). I'm using ivtv-0.3.6o, but maybe this info will still help.

Here's my /etc/mythtv/modules/ivtv file. Note that the tuner is not explicitly set here, but autodetected on boot:

Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
alias char-major-81-0 ivtv
options ivtv ivtv_std=0 tda9887=0 ivtv_debug=1
options cx25840 i2c_enable=1
options saa7127 i2c_enable=-1
options msp3400 once=1 simple=1

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

Author:  mjl [ Tue Aug 02, 2005 7:39 pm ]
Post subject:  Suggested tip

Hi all,

When using an editor, be careful for wordwrap, the listing as shown won't work as there are only two lines. install & remove. They are just being displayed as being wrpped.

If you enter them using nano, when you hit the end of the screen it will show a $ meaning there is more. Pressing 'end' will show that last part and 'home' takes you to the beginning.

This applies to all scripts altho there is a way to break long lines safely.

Hope this helps
Mike

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/