LinHES Forums http://forums.linhes.org/ |
|
Compaq S4000NX + PVR-350 on R4V5 - and upgrade to R5A12 http://forums.linhes.org/viewtopic.php?f=9&t=3133 |
Page 1 of 1 |
Author: | lane [ Wed Dec 29, 2004 12:05 pm ] |
Post subject: | Compaq S4000NX + PVR-350 on R4V5 - and upgrade to R5A12 |
It's taken me almost a week now, but it's fully operational. This is a stock Compaq with 128Meg of RAM. I purchased a new PVR-350 on-line with the idea that I could use it's TV-Out since the Compaq doesn't have one nativly and I didn't really want to purchase two cards. Much of what I had to do was because of the brand new PVR-350. The older ones don't seem to be as much trouble. I'm using a Nyko Airflow EX USB gamepad for xmame. Below are links to all of the posts that I used to get this operational. To date I have tested: TV-Out, Remote, xmame, recording while watching a recorded. I suspect that this install would work for just about any computer using only a PVR-350 for TV-Out. READ ALL OF THE POSTS I REFERENCE. IN MANY CASES THERE ARE POSTS AT THE END OR MIDDLE WERE YOU CAN FIND THE GOOD INFORMATION. Note: When running update-modules I get the following error, but everything seems to work just fine so I'm not going to worry about it. depmod: *** Unresolved symbols in /lib/modules/2.4.25-chw/kernel/drivers/media/video/cx25840.o 1. Start here and get the initial stuff installled and operational. I moved to the next post once I could see and hear live TV on my monitor. When selecting a tuner I used 44. I have a card address of 0:0x0a:0. http://mysettopbox.tv/phpBB2/viewtopic.php?t=2524&highlight=pvr+350 2. At this point you need to get TV-Out working, so go to this post. It's primarily about getting a Green and Purple Screen Fixed, but it has the whole TV-Out procedure in it. You can get the funny screen because we need a newer driver for the 350 than comes with R4V5. I had to use "output_select=1" to get anything on the screen either Composite or S-Video. That is written somewhere in the posts, but I thought I would point it out. I think it has to do with the new card, but I could be wrong. http://mysettopbox.tv/phpBB2/viewtopic.php?t=2995&postdays=0&postorder=asc&start=0 3. You need to turn on hardware decoding now and I used several sections of this post. When I refer to a "section 4" below it meens from this post I'm going to send you to. http://knoppmythwiki.homelinux.org/index.php?page=HauppaugeThreeFiftyInstallation Use number section 5 to turn it on hardware decoding so the video is smokin fast. 4. Use section 5 to fix your TV screen if it's black (or use us the link below) 4.1 Options 2 for Black Screen after hardware decode. http://mysettopbox.tv/phpBB2/viewtopic.php?t=697 5. Use section 6 to fix your sound once you are using the 350 hardware TV-Out Note: Run this as mythtv user, not root or the changes are not saved correctly (that was a sad moment for me). You can check when you are done that the settings were saved in /home/mythtv/.aumixrc 6. Turn the "mic" all the way up in aumix (run this while in X it's much cooler than in cli). 6.1 I ended up adding this line to the file /home/mythtv/.fvwm/.fvwm2rc because it just wasn't getting loaded when I rebooted. exec aumix -m 100 -v 100 7. In mythtv Be sure to change it to "master" in Setup, Setup, General, Mixer Control. If you don't then you can't make changes to the TV sound level with your new working remote when we turn it on later. Ok, now that you can watch TV (I hope) on the TV. 8. Let's fix the remote. http://mysettopbox.tv/phpBB2/viewtopic.php?t=3092&sid=ff17b622e49edce36c31386cfc9e27be Note: If you are copying files from your windows box, be sure to "man dos2unix" if you are getting errors on the file format. 9. Now we'll get MAME working. http://mysettopbox.tv/phpBB2/viewtopic.php?t=2518&highlight= 10. NEW Stuff Get your joystick working. All I had to do was the following: a. edit /etc/modules. b. add the line "joydev" to the end of the file c. run update-modules d. reboot To test you can use "cat < /dev/input/js0" If you get the message, no device (or something like that) your joystick isn't working yet. If you get junk on your screen while hitting buttons/moving stuff on the joystick, then you're golden. Now just "jstest /dev/input/js0" to make sure it's seeing everything right. I had to use "-joytype 5" in my command line script to make xmame recognise it. This is using the SDL compiled xmame, not x11. 11. And a few more things to do at the end. Read the last 12 or so paragraphs here for some good extra info on setting time, samba, nfs, etc. http://knoppmythwiki.homelinux.org/?id=KnoppMythInstall 12. New Make is so you can view recordings from another computer web browser. http://mysettopbox.tv/phpBB2/viewtopic.php?p=14239#14239 13. New If you are a windows person go here so some possible viewing of mythtv files. http://dsmyth.sourceforge.net/ Thanks it. Hope it's all working for ya. Thanks to everyone that has provided this information I have referenced, and to the developers of Mythtv and especially KnoppMyth! -Lane |
Author: | cecil [ Wed Dec 29, 2004 2:25 pm ] |
Post subject: | |
I edited your post to remove the link to the ROM site otherwise, great post! |
Author: | lane [ Wed Dec 29, 2004 7:55 pm ] |
Post subject: | |
Sorry, didn't relize that was a no-no. Been poping around to WAY to many web sites in the last week. ![]() Thank you, for the great work you've done on KnoppMyth Cecil. -Lane |
Author: | cesman [ Thu Dec 30, 2004 12:22 am ] |
Post subject: | |
You're welcome. |
Author: | lane [ Sat Apr 09, 2005 4:19 pm ] |
Post subject: | |
This system was just (as in 10 minutes ago) upgraded to R5A12. Here is what I did for the log I keep: # Backup using knopmyth backup # Put the CD in and let it run # selected upgrade # Enter yes to everything # Copies files # Press enter , remove CD and reboot # # X Loaded on monitor # Enter proper root password # Enter at warning # Left time alone # used DHCP boradcast # used i586 # Does a bunch of stuff here # note: Look for nuv2disk -- # It's now "Restoring MythTV SQL database ..." # I'm going to presume this is from the backup I did. Hopefully anyway... # Reboots # # Enter No to removing the channels and input card questions. Went through all of the screens but didn't make changes. # # After a reboot, ran the SnapperDragon script at: http://mysettopbox.tv/phpBB2/viewtopic. ... ight=r5a12 # # Replaced /etc/lircrcd.conf with Code: # /etc/lircd.conf # this config file was automatically generated # using lirc-0.7.0(hauppauge) on Tue Nov 30 00:38:32 2004 # # contributed by # # brand: lirc.conf # model no. of remote control: # devices being controlled by this remote: # begin remote name grayHauppauge bits 13 flags RC5 eps 30 aeps 100 one 0 0 zero 0 0 gap 200966 repeat_bit 2 begin codes Power 0x00000000000017BD Go 0x0000000000001FBB TV 0x000000000000179C Videos 0x0000000000001F98 Music 0x0000000000001799 Pictures 0x0000000000001F9A Guide 0x000000000000179B Radio 0x0000000000001F8C UP 0x0000000000001794 LEFT 0x0000000000001F96 RIGHT 0x0000000000001797 DOWN 0x0000000000001F95 OK 0x00000000000017A5 Back-Exit 0x0000000000001F9F Menu 0x000000000000178D Prev-Channel 0x0000000000001F92 Mute 0x000000000000178F Volume-UP 0x0000000000001F90 Volume-DOWN 0x0000000000001791 Channel-UP 0x0000000000001FA0 Channel-DOWN 0x00000000000017A1 Record 0x0000000000001FB7 Stop 0x00000000000017B6 Rewind 0x0000000000001FB2 Forward 0x00000000000017B4 Play 0x0000000000001FB5 Previous 0x00000000000017A4 Next 0x0000000000001F9E Pause 0x00000000000017B0 1 0x0000000000001F81 2 0x0000000000001782 3 0x0000000000001F83 4 0x0000000000001784 5 0x0000000000001F85 6 0x0000000000001786 7 0x0000000000001F87 8 0x0000000000001788 9 0x0000000000001F89 0 0x0000000000001780 star 0x0000000000001F8A hash 0x000000000000178E red 0x0000000000001F8B green 0x00000000000017AE yellow 0x0000000000001FB8 blue 0x00000000000017A9 end codes end remote # then replace /home/mythtv/.mythtv/lircrc with Code: # MythTV native LIRC config file for # the grey Hauppauge remote # # # begin prog = irexec button = Power repeat = 4 config = /home/mythtv/scripts/mythpowerbutton.sh end # # Program Guide begin prog = mythtv button = green config = F2 end # # TV Recording Playback begin prog = mythtv button = Videos config = F3 end # # Live TV begin prog = mythtv button = TV config = F4 end # # MythWeather begin prog = mythtv button = Go config = F7 end # # MythGame begin prog = mythtv button = Green config = F5 end # # MythMusic begin prog = mythtv button = Music config = F6 end # # Previous Channel begin prog = mythtv button = Prev-Channel config = H end # # Channel Up begin remote = grayHauppauge prog = mythtv button = Channel-UP repeat = 3 config = Up end # Channel Down begin prog = mythtv button = Channel-DOWN repeat = 3 config = Down end # OK/Select begin prog = mythtv button = OK config = Space end # Play begin prog = mythtv button = Play config = Return end # Stop begin prog = mythtv button = Stop config = Esc end # Escape/Exit/Back begin prog = mythtv button = Back-Exit config = Esc end # Power Off/Exit # begin # prog = mythtv # button = Power # config = Esc # end # Red means stop! #begin #prog = mythtv #button = red #config = Esc #end # Pause begin prog = mythtv button = Pause repeat = 3 config = P end # Mute begin prog = mythtv button = Mute repeat = 3 config = F9 end begin prog = mythtv button = UP repeat = 3 config = Up end begin prog = mythtv button = RIGHT repeat = 3 config = Right end begin prog = mythtv button = DOWN repeat = 3 config = Down end begin prog = mythtv button = LEFT repeat = 3 config = Left end # Fast forward (while viewing) begin prog = mythtv button = Forward repeat = 3 config = > end # Rewind (while viewing) begin prog = mythtv button = Rewind repeat = 3 config = < end # Skip forward (10 min default) begin prog = mythtv button = Next repeat = 3 config = PgDown end # Skip backward (10 min default) begin prog = mythtv button = Previous repeat = 3 config = PgUp end # Record begin prog = mythtv button = Record repeat = 3 config = R end # Delete begin prog = mythtv button = red repeat = 3 config = D end # OSD browse begin prog = mythtv button = Menu repeat = 3 config = O end # Display EPG while in live TV, # View selected show while in EPG begin prog = mythtv button = Guide repeat = 3 config = M end # Volume-Up begin prog = mythtv button = Volume-UP repeat = 3 config = ] end # Volume-Down begin prog = mythtv button = Volume-DOWN repeat = 3 config = [ end # Bring up OSD info begin prog = mythtv button = Go repeat = 3 config = I end # Change display aspect ratio #begin #prog = mythtv #button = FULL #repeat = 3 #config = W #end # Seek to previous commercial cut point begin prog = mythtv button = yellow repeat = 3 config = Q end # Seek to next commercial cut point begin prog = mythtv button = blue repeat = 3 config = Z end # Numbers 0-9 begin prog = mythtv button = 0 repeat = 3 config = 0 end begin prog = mythtv button = 1 repeat = 3 config = 1 end begin prog = mythtv button = 2 repeat = 3 config = 2 end begin prog = mythtv button = 3 repeat = 3 config = 3 end begin prog = mythtv button = 4 repeat = 3 config = 4 end begin prog = mythtv button = 5 repeat = 3 config = 5 end begin prog = mythtv button = 6 repeat = 3 config = 6 end begin prog = mythtv button = 7 repeat = 3 config = 7 end begin prog = mythtv button = 8 repeat = 3 config = 8 end begin prog = mythtv button = 9 repeat = 3 config = 9 end ### MPlayer lirc setup # Show OSD begin prog = mplayer button = Menu repeat = 3 config = osd end # Pause playback begin prog = mplayer button = Pause repeat = 3 config = pause end # Skip ahead a minute if playing # If paused, resume playing begin prog = mplayer button = Play repeat = 3 config = seek +1 end # Stop playback and exit begin prog = mplayer button = Stop repeat = 3 config = quit end # Mute begin prog = mplayer button = Mute repeat = 3 config = mute end # Seek back 10 seconds begin prog = mplayer button = Rewind repeat = 3 config = seek -10 end # Seek forward 30 seconds begin prog = mplayer button = Forward repeat = 3 config = seek +30 end # Quit begin prog = mplayer button = Back-Exit repeat = 3 config = quit end # Seek forward 10 minutes begin prog = mplayer button = Next repeat = 3 config = seek +600 end # Seek backward 10 minutes begin prog = mplayer button = Previous repeat = 3 config = seek -600 end # Toggle full-screen #begin #prog = mplayer #button = FULL #repeat = 3 #config = vo_fullscreen #end # Ok, now we need the mythtvpower.sh script to stop and start the frontend using the power button on the new style gray hauppauge remotes. I stole this from: http://wilsonet.com/mythtv/tips.php /home/mythtv/scripts/mythtvpowerbutton.sh Code: #!/bin/bash
PROG=mythfrontend STATUS=`ps -e | grep $PROG | grep -v grep | wc -l | awk '{print $1}'` if [ $STATUS -eq 0 ] then ( $PROG & ) else killall $PROG fi exit 0 # # Turned on Samba, also from the wiki # Imidiate start /etc/init.d/samba start # Long turm start update-rc.d samba defaults # reboot # All of my saved shows were available, all settings, etc. were copied over. -Lane |
Author: | maxism [ Fri Apr 15, 2005 2:56 pm ] |
Post subject: | |
I got PVR350 TVOUT working but now I have to deal with Purple and Green Screen, I have the directions to fix this but I do not know to turn off the TVOut so I can get to my monitor screen. I can't see the TV screen well enough with the purple and green on to do anything. Is there a way to get the terminal to come up on the pc monitor and not the tv. I already unplugged the cable from the back and rebooted but that doesn't help. Max |
Author: | lane [ Fri Apr 15, 2005 3:11 pm ] |
Post subject: | |
Two methods. Ctrl-Alt-F1 or F2 or F3 etc. will get you a console port on the PC monitor. Then do Alt-F7 to get things back on the TV. Or the "better" way is to ssh into the myth box. There are several free ssh clients on the internet if you have another computer you can use to administer it. -Lane |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |