この時点でPT2とUSBカードリーダー(SCM)はセット済み
インストール(HDD初期化、rootパスワード設定)して再起動
rootログイン
横着してネットワーク設定ツールをインストール
# yum install system-config-network-tui
# system-config-network
IPアドレスを更新
# ifup eth0
# ifconfig
ここからはSSHクライアントから接続
起動時ネットワークも自動活性化させる
# vi /etc/sysconfig/network-script/ifcfg-eth0
ONBOOT=no ⇒ yes
USBカードリーダーのインストール
# yum install wget
# yum -y install ccid pcsc-lite pcsc-lite-devel pcsc-lite-libs
# yum install perl-Gtk2
# rpm -ivh ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/13/Everything/x86_64/os/Packages/pcsc-perl-1.4.8-2.fc13.x86_64.rpm
# rpm -ivh ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/13/Everything/x86_64/os/Packages/pcsc-tools-1.4.16-1.fc13.x86_64.rpm
# /etc/init.d/messagebus start
# /etc/init.d/haldaemon start
# /etc/init.d/pcscd start
# chkconfig messagebus on
# chkconfig haldaemon on
# chkconfig pcscd on
# pcsc_scan
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.5
Scanning present readers...
0: SCM SCR 331 (00000000000000) 00 00
Fri Nov 28 12:19:09 2014
Reader 0: SCM SCR 331 (00000000000000) 00 00
Card state: Card inserted,
ATR: 3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99
ATR: 3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99
+ TS = 3B --> Direct Convention
+ T0 = F0, Y(1): 1111, K: 0 (historical bytes)
TA(1) = 12 --> Fi=372, Di=2, 186 cycles/ETU
21505 bits/s at 4 MHz, fMax for Fi = 5 MHz => 26881 bits/s
TB(1) = 00 --> VPP is not electrically connected
TC(1) = FF --> Extra guard time: 255 (special value)
TD(1) = 91 --> Y(i+1) = 1001, Protocol T = 1
-----
TA(2) = 81 --> Protocol to be used in spec mode: T=1 - Unable to change - defined by interface bytes
TD(2) = B1 --> Y(i+1) = 1011, Protocol T = 1
-----
TA(3) = 7C --> IFSC: 124
TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5
TD(3) = 1F --> Y(i+1) = 0001, Protocol T = 15 - Global interface bytes following
-----
TA(4) = 03 --> Clock stop: not supported - Class accepted by the card: (3G) A 5V B 3V
+ Historical bytes:
+ TCK = 99 (correct checksum)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99
Japanese Chijou Digital B-CAS Card (pay TV)
^C
PT2の旧ドライバからarib25をインストール
# yum install ld-linux.so.2
# wget http://hg.honeyplanet.jp/pt1/archive/c44e16dbb0e2.zip
unzipをインストール
# yum install unzip
解凍
# unzip c44e16dbb0e2.zip
インストール
# cd pt1-c44e16dbb0e2/arib25/
# make
# make install
ドライバの無効化
# echo "blacklist earth_pt1" >> /etc/modprobe.d/blacklist.conf
# reboot
最新のドライバをダウンロードしてインストール
$ su -
# wget http://hg.honeyplanet.jp/pt1/archive/tip.tar.bz2
# tar -xvlf tip.tar.bz2
# cd pt1-c8688d7d6382/driver/
# ll /lib/modules/2.6.32-504.1.3.el6.x86_64/build
(シンボリックリンクが張られているが、参照先がない)
# mkdir -p /usr/src/kernels/2.6.32-504.1.3.el6.x86_64
# yum install gcc glibc-devel glibc-headers kernel-devel kernel-headers libgomp
# make
# make install
# modprobe pt1_drv
(99-pt1.rulesを確認)
# ls /etc/udev/rules.d/
(pt1video0〜3を確認)
# ls -l /dev/pt1*
最新のrecpt1のインストール
# cd ~/pt1-c8688d7d6382/recpt1/
# yum install automake
# ./autogen.sh
# ./configure -enable-b25
# make
# make install
# echo "/usr/local/lib" > /etc/ld.so.conf.d/recpt1.conf
# ldconfig
録画テスト
# recpt1 --strip --b25 43 10 test.ts