SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-11-2007, 05:44 PM
milbarge milbarge is offline
Sage User
 
Join Date: Nov 2004
Posts: 5
QAM Linux HOWTO (using a180)

Now that QAM is officially supported by Sage I thought that I'd set up a QAM box for a friend. Since there is no manual for this it took a lot of trial and error. I've got it working now and I figured I'd save you my frustration...

These instructions assume an Avermedia A180 for the tuner card and a working Sage Linux 6.1.8.1 (or later I assume) install, running off the standard Gentoo install described by sage (although if you can compile a sage compliant ffmpeg on a different distro you probably don't need these instructions). Also you should be comfortable on the linux command line and have no fear compiling a kernel (you don't actually use the new kernel just some modules).

The two major things that you must do in order to get the a180 up and running on Gentoo are.
1)Fetch and install the cards firmware
2)Compile and install the saa7134-dvb kernel module (and the saa7134 too)

1)Fetch the firmware
ssh into your Sage box and enter the commands below (assuming root login)
Code:
# cd /usr/src/linux-2.6.15.3/Documentation/dvb/
# chmod +x get_dvb_firmware
# ./get_dvb_firmware nxt2004
# cp dvb-fe-nxt2004.fw /lib/firmware
2)The kernel module
Unfortunately the saa7134-dvb kernel module is not installed by default however, we are on gentoo so we have the source ; )
Code:
# cd /usr/src/linux
# make menuconfig
Now navigate through the menu as such:

Device Drivers --->
Multimedia devices --->
Video For Linux --->

Make sure that the saa7134 module is being built (it should be) you can tell if the
<> DVB/ATSC Support for saa7134 based TV cards
line is marked <M> if not highlight it and press m.

Next press Esc then go to:
Digital Video Broadcasting Devices --->

Highlight
<> DVB Core Support
and press m

Keep on pressing Esc until you get to a menu asking you to save and hit yes.

Finally compile the kernel and modules
Code:
# make && make modules_install
This will take a while, get a beer.
Once the compile is done try to load the kernel module

Code:
modprobe saa7134-dvb
if it worked, when you type dmesg, the last few lines should contain
Code:
nxt2004: Waiting for firmware upload (dvb-fe-nxt2004.fw)...
nxt2004: Firmware upload complete
and you should have the directory
/dev/dvb/adapter0/

To make the changes permanent
Code:
# echo saa7134-dvb >> /etc/modules.autoload.d/kernel-2.6
Shut Sage down
Code:
# /opt/sagetv/server/stopsage
and edit
/opt/sagetv/server/Sage.properties

change the line
linux/enable_dvb_capture=false
to true and start sage
Code:
# /opt/sagetv/server/startsage
Now when you launch the sage front end you should see in the add tuner menu adapter0 (ignore the extra videoX tuner it doesn't work).
Select adapterX, set up xmltv, and the let Sage scan in your new QAM channels (it takes a long time).
Finally you'll need to remap all of the new channels using the instructions in the Sage manual.

Good luck!

Last edited by milbarge; 04-11-2007 at 11:26 PM.
Reply With Quote
  #2  
Old 06-25-2007, 11:48 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
This needs to be updated.

The enable DVB is now opposite of OP.

Code:
linux/disable_dvb_capture=false
I believe I also had to change the following in my encoders section

Code:
mmc/encoders/-1306016063/broadcast_standard=QAM
from ATSC.

b

PS Using FiOS for QAM I am able to get locals (both HD and SD) and 64 music channels.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A180 Clear QAM Lahr Hardware Support 6 04-10-2007 05:19 PM
Linux Fan oddjob SageTV Linux 1 02-07-2007 12:20 PM
Linux version install errors rschellenberg SageTV Linux 4 08-06-2006 09:16 PM
Linux QAM Support? austin SageTV Linux 2 07-09-2006 08:40 PM
Can't get a180 and dta 151 to play together jhendrix Hardware Support 2 05-01-2006 10:38 AM


All times are GMT -6. The time now is 02:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.