The making of the FC5 home theater box
Ok, I have a spare pc lying around & so I decided to put it into better use then just collecting dust.
I have some collections of realplayer video that I can only watch on the small pc monitor. So I decided to convert the spare pc to some sort of home theatre box so that I can watch the realplayer video on my 29" Sony WEGA flatscreen TV. Ok, I know someone is going to suggest to upgrade to a LCD TV. Well, that is almost a certainty in the not to distant future. I am sure.
Let's see what I've got to make a FC5 home theatre box. My spare pc has a duron 1000 MHz processor running on a AsRock K7VM2 board with 512Mb of rams. Though the board has a VIA onboard VGA, I needed a video card with TV-out to output the video to the TV. So I pulled out my good old nVidia Ti4200 3d card to do just that. The pc is fitted with a DVD-rom to read the DVD disc where I store most of my video collections. And to complete the hardware list, I plugged in a DLink G520 wireless network card. A wireless network seemed unavoidable for most home theatre box. For my case, my TV is far away from the rest of my wired network. Most people will throw in a 5.1 sound card for their home theatre box. For my case, I am just going to connect the sound straight into the TV. So I just use the onboard stereo sound card instead of spending money to buy extra.
Fedora Core 5 is used, simply because it is the one linux os that I am familiar with. The objective is simple, the pc is to output the video through the TV-out to the TV. The sound output from the sound card goes straight into the stereo-L & stereo-R input of the TV. And the pc has to be connected to the rest of the network via the wireless network card.
Installing FC5 on a such an old motherboard should have been idiot-proof. But strangely, I was met with a strange kernel panic on first boot after install with an unrecognised file system error. I suspect the driver for the VIA IDE-controller was accidentally missed out from the default FC5 kernel. I solved this by booting into 'linux rescue' mode with the FC5 CD & did a live update with yum. That upgraded the kernel to the latest 2.6.17-1.2157_FC5 & the system sprung to live.
To enable the TV-out, I installed the nVidia geforce linux driver via the livna repocitory. You can refer to the Stanon-Finley guide for FC5 on how to do that. It's at
[url]http://stanton-finley.net/fedora_core_5_installation_notes.html[/url]
Once installed, you can see the NVIDIA Display Settings under the 'Applicaton', 'System Tools' menu. To enable the TV-out, I used a S-video-To-composite-out convertor to connect the S-video out from my video card to the video-in of my TV. That is because my 7 years old SONY WEGA did not come with S-video. Next, go to 'System', 'Administration' menu & select 'Display'. Go to the 'Dual-head' tab & select 'Use Dual Head'. On the 'Second Monitor Type', select a standard CRT monitor that is 1024x768 or 800x600. The second monitor setting is for the TV actually. I choose 800x600 for my TV's resolution & 'Spanning desktops' for my 'desktop layout'. On exit, I was prompted to restart X Windows for the dual-head settings to take effect. On logging out of X Windows, I was prompted with multiple error messages asking me to reconfigure X. Ignore all errors & just proceed to reboot your FC5 box.
On reboot, I was happy to see displays on both the monitor as well as the TV-out. Once I get into X, I have a 'spanning' desktop from my 17" LCD monitor to my 29" SONY TV. I have to choose the resolution of 800X600 for both the LCD & the TV to align the desktop on both display. 800X600 is choosen because the text is too small & not very legible on a 29" SONY TV. As you can imagine, you can't read the text well on a old TV which has a very low resolution. You shold not have this problem if you are using the latest LCD TV. To work on the desktop, simply launch the video player & drag it to the TV desktop & maximise it. I use both RealPlayer for Linux & MPlayer. Why 'spanning desktops' is used instead of 'individual desktops' is because it seemed RealPlayer will crash once it's started playing in the TV desktop under 'individual desktops' mode. I think it's should be a bug in the current release of RealPlayer dated Feb 2006. Mplayer works well in both 'spanning desktops' or 'individual desktops' mode. RealPlayer seemed to work fine in 'spanning desktops' mode & so it is what I am using now.
Getting the wireless network to work is quite a chore in linux. I followed the livna's wpa_supplicant guide from below to get wireless working. You can download the pdf file from the link below for detailed procedure.
[url]http://www.terena.nl/mail-archives/mobility/pdfOhjc0QiMpF.pdf[/url]
So, now I have a FC5 home theatre box that plays video straight to the TV. And if need be, it can also play video files from any computers in my network via the wireless network. That is not bad for a low cost linux multimedia pc.
1 Comments:
現 借款 法律事務所 馬桶不通 food forming patty machine boiling machine 化妝品包 裝 紙盒 breading machine vegetable machinePlastic Drinking Cups宜蘭民宿 宜蘭旅遊教育訓練 品質管理 Ohsas 18001cheap electronics
Post a Comment
<< Home