0
1

More than 5 years have passed since last update.

LinuxでTBS6205を使う

Posted at

概要

LinuxでDVB-C対応チューナーTBS6205を使用してフレッツ・テレビのチャンネルスキャンを行ないます。

動作環境

項目 詳細
OS Getoo Linux
Kernel 4.4.39-gentoo
チューナ TBS6205
DVBドライバ TBS linux open source drivers

準備

必要なツールを準備します。

# emerge patchutils Proc-ProcessTable =v4l-utils-1.10.1
# git clone https://github.com/KouCo/dtv-jp-tools
# git clone https://github.com/KouCo/v4l-utils-jp
# cd v4l-utils-jp
# ./bootstrap.sh
# ./configure --disable-doxygen-doc --disable-doxygen-dot --disable-libv4l --disable-v4l2-compliance-libv4l --disable-v4l2-ctl-libv4l --disable-qv4l2 --enable-gconv --without-jpeg
# make
# cd contrib/gconv/
# make install
# echo "GCONV_PATH=/usr/local/lib/gconv" > /etc/env.d/99gconv
# env-update
# source /etc/profile
# cd ../../../

TBS6205ドライバのインストール

「TBS linux open source drivers」をダウンロードします。

# git clone https://github.com/tbsdtv/media_build.git
# git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media

「TBS linux open source drivers」ではBandwidthがあっておらずパケットのドロップやエラーが発生するため、パッチを当てます。

# cd media
# patch -p1 < ../dtv-jp-tools/patches/tbs6205-fletsTV-sky.patch
# cd ../

下記の設定で、ドライバのビルド及びインストールをします。
詳細はLinuxTVのDVBドライバをビルドを参照してください。

<M> Multimedia support  --->
    [*]   Digital TV support
    [*]   Dynamic DVB minor allocation
    [*]   Enable DVB demux section packet loss log
    [*]   Media PCI Adapters  --->
        <M>   TBS ECP3 FPGA based cards
    [*]   DVB platform devices  ----
    [ ]   Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)
    Customize TV tuners  --->
        <M> Silicon Labs Si2157 silicon tuner
    Customise DVB Frontends  --->
        <M> Silicon Labs Si2168

ファームウェアのインストール

# wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
# tar axvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/

チャンネルスキャン

# ./v4l-utils-jp/utils/dvb/dvbv5-scan -C JP -a 0 -N -T 5 -o ./fletTV-sky.conf ./dtv-jp-tools/dtv-scan-tables-jp/jp-fletsTV-sky
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1