Thursday, December 11, 2008

Sky HDTV in ubuntu 8.10

For seeing the QAM Digital broadcating, sky HDTV program is required.
but it's runs only on Windows.
Even Windows Media Center does not capture the QAM channel in korea.

If you are using a linux, you can see the digital TV for free.

1. Set the driver

Someone saying that following configuration option shold be added in /etc/modprobe.d/options

options cx88xx card=31 tuner=64

options snd_hda_intel index=0
options cx88-alsa index=1
----------------
That someone also saying that /etc/modprobe.d/aliases should add these;
alias char-major-116 snd
alias char-major-14 soundcore

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/dsp snd-pcm-oss
alias snd-card-0 snd_hda_intel
alias sound-slot-0 snd_hda_intel

alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/dsp1 snd-pcm-oss
alias snd-card-1 cx88-alsa
alias sound-slot-1 cx88-alsa

BUT, another one saying that only followings are needed for it.
/etc/modprobe.d/options
options cx88xx card=31 tuner=64


/etc/modprobe.preload
cx8800
cx88xx
cx88_dvb


2. install kaffeine
sudo apt-get install kaffeine
or you can enjoy the HDTV by using mplayer or xine.

Choose as you want.

3. Setup the channel
You need the programs scandvb, tzap and szap to scan transponders and to tune the cards. These are packaged in Fedora as 'dvb-apps' in Fedora Extras and 'dvb-utils' in Ubuntu (and thus probably Debian)
In ubuntu 8.10 you can install dvd-utils by
#apt-get install dvb-utils

then you can use the scan command.
config files for dvb-utils are stored in /usr/share/doc/dvb-utils

Korea use a ATSC like US, so don't confuse with several DVB options.
(there are 4 options ; ATSC, dvb-s for satellite, dvb-c for cable, dvb-t for terrestrial)


so use scan command for atsc.
scan /usr/share/doc/dvb-utils/examples/scan/atsc/us-Cable-Standard-center-frequencies-QAM256 > channels.conf <= cable
scan /usr/share/doc/dvb-utils/examples/scan/atsc/us-ATSC-center-frequencies-8VSB > channels.conf <= air TV

* if you using another linux distribution, you may need to use dvbscan instead of scan.
here is the format of channels.conf

ChannelName:Frequency:Modulation:VID:AID:PID
MBC:755028615:8VSB:17:20:1
KBS1:761028615:8VSB:33:36:1
KBS2:767028615:8VSB:33:36:1
EBS:773028615:8VSB:33:36:1
SBS:797028615:8VSB:17:20:1

check the channel with azap
# azap -r MBC


Copy the channel file to TV application directory.
for kaffeine : ~/.kde/share/apps/kaffeine/channels.dvb
for Mplayer : ~/.mplayer/channels.conf
for Xine : ~/.xine/channels.conf

especially for using in kaffeine, you need to compile atsc-convert.
download source from http://websvn.kde.org/branches/work/~pfister

atsc-converter channels.conf > channels.dvb

No comments: