View previous topic :: View next topic |
Author |
Message |
bemis Tux's lil' helper
Joined: 30 Mar 2004 Posts: 136 Location: USA
|
Posted: Mon May 30, 2005 10:18 pm Post subject: Re: PVR-500MCE |
|
|
I just finished installing and setting up my shiny new PVR-500MCE - and it works out of the box with the "ivtv" ebuild, after adding the lines:
Code: |
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv tuner=57,57,57,57
add above ivtv lirc_dev lirc_i2c
|
to /etc/modules.d/ivtv and rerunning modules-update. (apparently my PVR250 is tuner-type 47, as opposed to the 57 of the 500MCE -- haven't quite figured out how to reconcile that yet - will try to remember to post an update when i'm done)
bemis _________________ Y'know, somewhere along the line, my brain got wired directly to my fingers .. I'm not even consulted anymore in the decision making processes.
-bemis |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Mon May 30, 2005 11:34 pm Post subject: |
|
|
Awesome, I shall try this when my 500 arrives tomorrow =) _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Wed Jun 01, 2005 5:38 am Post subject: |
|
|
I was wondering if you meant /etc/modules.d/ivtv-fb because I dont see a file named ivtv in /etc/modules.d
I just ran "emerge ivtv", and when it finished I modprobed the module and it is loaded.
[EDIT] Ignore my stupid question, I see that I have to create the file after I emerge ivtv [/EDIT] _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system
Last edited by mmschnei on Wed Jun 01, 2005 3:13 pm; edited 1 time in total |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Wed Jun 01, 2005 3:00 pm Post subject: |
|
|
Well I have tried using IVTV from portage as well as by hand following the instructions posted here.
I have been unable to get either one of these working. But I think this might be my own fault, I did it last night when I was VERY tired. Im going to start again from scratch today. Please feel free to offer advice / helpful links.[/url] _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Sat Jun 04, 2005 3:07 am Post subject: |
|
|
Well, just wanted to let everyone know that I have the driver working now and everything seems to be in order.
Thank you all very much and I shall post once more soon. I plan on writting a guide to help those who want to get their PVR-500 working =) _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Tue Jun 07, 2005 3:43 pm Post subject: |
|
|
mmschnei wrote: | I plan on writting a guide to help those who want to get their PVR-500 working =) |
I hope to see this guide, I was trying to decide whether to buy this card or not, but if there is a definitive setup guide, that makes the decision right there. I have been trying to use KnoppMyth for my PVR box, but if I can get it all running under Gentoo, I'd rather do that. _________________ ~Matt |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Tue Jun 07, 2005 5:20 pm Post subject: |
|
|
Well, I still plan on writting the guide. =)
My buddy just got one and Im going to help him set it up. I want to go through that process first so I that I know that I am not missing any steps and that my process works well enough. =)
I will either post it directly here or on my web space, either way I'll post here to let you guys know about it.
Thanks for the encouragement. _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
deadearth n00b
Joined: 20 Jun 2005 Posts: 19
|
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Tue Jun 21, 2005 12:18 am Post subject: |
|
|
Everyone,
Im sorry about the guide. Working on this on my buddys box has turned into a nightmare but I think I found out where we went wrong and we are gonig to nuke it and start over so I can get an accurate guide. Also Im quite busy with work, I just got promoted and stuffs so freetime is at a premium. I hope to have it up in a week or so, sorry about this again.
Thanks for your patience _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Tue Jun 21, 2005 12:59 am Post subject: |
|
|
Congrats on the promotion. _________________ ~Matt |
|
Back to top |
|
|
DAharon Apprentice
Joined: 17 Jun 2004 Posts: 155
|
Posted: Fri Jun 24, 2005 11:55 pm Post subject: |
|
|
I just got this card, and am having some problems.
The first thing I did after installing the card and emerging ivtv was add ivtv to /etc/modules.autoload.d/kernel-2.6.
Then I created the ivtv file in /etc/modules.d exactly as stated above by bemis.
I do not have lirc installed, since I assumed I didn't need it, but when I tried to listen to the radio with gqradio (pointing it to radio0) I couldn't get any sound. Dmesg revealed a ton of error messages related to i2c.
What does lirc_i2c have to do with everything?
Also on a related note: what steps should I take to ensure that everything is working properly before I even emerge mythtv and begin messing with that?
Thanks. |
|
Back to top |
|
|
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Sat Jun 25, 2005 1:09 am Post subject: |
|
|
I haven't used the radio portion, but what ivtv version did you emerge?
I got a lot of those i2c messages before when I was using 0.3.6L, try using a newer version like 0.3.6o, that got rid of my messages. (Disclaimer: I am using Knoppmyth R5A16, not Gentoo, so this could be way off.) _________________ ~Matt |
|
Back to top |
|
|
DAharon Apprentice
Joined: 17 Jun 2004 Posts: 155
|
Posted: Sat Jun 25, 2005 1:44 am Post subject: |
|
|
Hmm, I just assumed that the ivtv version in portage was up to date, but apparently it is only 2.0. It was masked. When will they update it? I prefer to do everything through portage, so that I don't have things spread about all over that portage doesn't know about and that I am bound to forget about. |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Sat Jun 25, 2005 12:32 pm Post subject: |
|
|
DAharon:
I would unfortunalty suggest that you do not do this through portage. I tend to agree with you on this one, but for this particular driver portage just cannot keep up. If you check out Chris Kennedy's site, he usuauly releases two updates per day for this, he is VERY active. I can assure you that building this is fairly simple, I might end up just writing an ebuild instead of using my script seeing as how they are pretty much the same thing, but I cannot gurantee anything I am still very busy. I do know that the driver in portage DOES NOT work with the PVR-150/PVR-500 cards. The earliest I know of working was around 0.32. I currently use the 0.36 driver and until I find that functionality has been added I dont see much point in upgrading everday. I half watch the changelog on the driver versions to see if anything has been changed. Anyways... for now I would not put any immediate hope of this being in portage simply because of the nature of the development. _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
DAharon Apprentice
Joined: 17 Jun 2004 Posts: 155
|
Posted: Sat Jun 25, 2005 4:06 pm Post subject: |
|
|
Ok, I see. The same thing happened to me with the acx100 drivers. At least its moving along. Thanks.
BTW, with those acx100 drivers, I could always just say 'make inject' and then compile the kernel with 'make && make modules_install'. ivtv says to just 'make' and then 'make install'. Whats the difference between the two different ways? |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Sat Jun 25, 2005 10:02 pm Post subject: |
|
|
The difference is that with the acx100 drivers you "inject" the driver into the kernel so you by recompiling your kernel the drivers are built into it (or added as modules). When you execute make inject I believe it just addes the lines to your .config file and adds the file into the appropriate kernel source directory. With ivtv the driver is indepedant of the kernel and runs as a module loaded on top of the kernel. Make will compile the necessary binaries (modules and executables) and make install basically just moves then and their related configuration files to the correct locations.
Now, I have never used/read about "make inject" before nor am I terribly good with anything above the userlevel of linux so what I said was based on my understanding but could be completely wrong. Can someone please verify this information and post any corrections... I would appreciate it very much. _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
DAharon Apprentice
Joined: 17 Jun 2004 Posts: 155
|
Posted: Sat Jun 25, 2005 10:25 pm Post subject: |
|
|
Well, I installed ivtv_3.3k which gave me errors. I then consulted this thread again and installed 3.6o which loads nicely, but unfortunatley when I 'cat /dev/video0 > crap.mpg' I get the static but no sound. I also don't get any sound from gqradio pointed to radio0 either. |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Sat Jun 25, 2005 10:27 pm Post subject: |
|
|
AFAIK radio is not working yet. _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Sat Jun 25, 2005 10:28 pm Post subject: |
|
|
Just a thought, but is the audio for the sound card turned up in the alsamixer? I only ask this because I fell victim to this while setting up my box. _________________ ~Matt |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Sat Jun 25, 2005 10:30 pm Post subject: |
|
|
Also for the audio to work you need the HcwMakoA.ROM file to be placed in your /lib/modules directory. _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
belly n00b
Joined: 21 Apr 2004 Posts: 32
|
Posted: Sat Jun 25, 2005 10:32 pm Post subject: |
|
|
Yes, that too. That file is located on the CD that came with the card (If you didnt know that already) _________________ ~Matt |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Sat Jun 25, 2005 10:35 pm Post subject: |
|
|
Its also available on the website but if you cant find it msg me on AIM or PMSG me and I can link you to it hosted locally. (I am not posting the URL publically because I am not sure if it is legal and the last thing I need right now is another lawsuit.) _________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
mmschnei Tux's lil' helper
Joined: 17 Aug 2004 Posts: 107 Location: Purdue University
|
Posted: Mon Jul 11, 2005 12:42 pm Post subject: |
|
|
Well someone just wrote to me regarding the ivtv driver and his PVR-500MCE card. I have all but forgotten about my supposed "guide" I was going to be writing... anyways for those who are still having trouble here is my reply to this gent. I hope this has some good information for you.
Quote: | Well the fact that you are capturing is a good sign. I would think that the fix for your problem would lie in the version of ivtv which you are using, but I could be wrong. I did not use the version which was in portage, it is outdated and it doesnt work. I highly recommend building it from source as this is quite easy with this driver, just follow the documenation on it and it shouldn't be a problem. Regarding rom files... I have the following:
Code: | mmschnei@mythril /usr/lib/modules $ ls
HcwMakoA.ROM ivtv-fw-enc.bin ivtv-fw-dec.bin
|
Code: | mmschnei@mythril ivtv $ pwd
/lib/modules/2.6.11-gentoo-r9/ivtv
mmschnei@mythril ivtv $ ls
cx25840.ko ivtv.ko saa7115.ko tda9887.ko tveeprom.ko
ivtv-fb.ko msp3400.ko saa7127.ko tuner.ko wm8775.ko
|
And here is the information which I have in my /etc/modules.d/ files:
Code: | mmschnei@mythril modules.d $ cat ivtv
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 bttv
options cx25840 no_black_magic=1
mmschnei@mythril modules.d $ cat cx25840
i2c_enable=1,1,1,1 no_black_magic=1
mmschnei@mythril modules.d $ cat wm8775
mixer=2
mmschnei@mythril modules.d $ cat ivtv-fb
# modules.d configuration file for IVTV-FB
# For more information please read:
# FB_DOCS
# Configurable module parameters
# ------------------------------
# ivtv_fb_card_id: ID number of ivtv card to use as framebuffer device (0-7)
mmschnei@mythril modules.d $
|
And just an FYI the version of IVTV which I am currently using without a problem is 0.3.6b, its about a month old now. Mr. Kennedy makes many released (averages over one per day) so I have no idea what has been done since then, but this works for my cable tv input.
Hope this is helpful,
Matt |
_________________ Matt Schneider
Materials Engineering Student
Purdue University
West Lafayette, Indiana, USA
malaeum@gmail.com
matt@pascs.com
system specs: http://malaeum.net/system |
|
Back to top |
|
|
bemis Tux's lil' helper
Joined: 30 Mar 2004 Posts: 136 Location: USA
|
Posted: Mon Aug 29, 2005 8:28 pm Post subject: |
|
|
After a few PM requests for more info about my setup (above), I figured I'd post more information:
Setup:
Card0: PVR250 with IR
Card1: PVR500MCE
Card1a: PVR150
Card1b: PVR150
(PVR500MCE is detected by the ivtv driver as 2 PVR150s)
/etc/modules.d/ivtv:
Code: |
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv #= /dev/video1
alias char-major-81-1 ivtv #= /dev/video2
alias char-major-81-2 ivtv #= /dev/video3
options ivtv ivtv_std=0 tuner=50,57,57 tda9887=0,0,0 ivtv_debug=1
options saa7127 i2c_enable=1,-1,-1
options cx25840 i2c_enable=-1,1,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
|
used with IVTV driver 0.3.6z
Code: |
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (z) loading
|
the ROM i downloaded and installed in /lib/modules/ is available at:
ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/
(i use this one:)
ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.18.22316.zip
(unzip the archive into a new directory and put the .ROM file in /lib/modules/ and it should be loaded on cold-boot)
-- make sure that you delete/move/get out of the way all of the modules built by the ivtv installer before trying to load them in /lib/modules/[kernel]
(ivtv-*, saa71* tveeprom* tuner* tda9887* cx25840* wm8775* msp3400*)
that pretty much wraps it up -- the reason i upgraded to the 0.3 series instead of sticking with the portage version (that i'd indicated above worked just fine) is that i had both quality issues and stability issues with the 0.2 tree.
also note that the numbers above (in modules.d/ivtv) indicate card number, so if you have a PVR250 and a PVR500MCE, the config should work out of the box - but if you only have a PVR500MCE, you should remove the first value from each of the entries (for example:)
Code: |
options ivtv ivtv_std=0 tuner=57,57 tda9887=0,0 ivtv_debug=1
|
and once you have everything functioning as expected, you'll likely want to remove any refrences to the "debug=1" as they pollute your logs pretty badly.
hope this helps some of you.
bemis _________________ Y'know, somewhere along the line, my brain got wired directly to my fingers .. I'm not even consulted anymore in the decision making processes.
-bemis |
|
Back to top |
|
|
Oizoken n00b
Joined: 17 Apr 2002 Posts: 18
|
|
Back to top |
|
|
|