男のロマン〜自宅サーバ編〜

テレビでもサーバーでも大きい方がいい。それが男のロマン。

全体表示

[ リスト ]

Linuxで作る地デジ録画サーバー(PT2)編 その2

CentOS 5.4のセットアップが終わったので
早速、PT2の設定に入る

以下、telnetでPowerEdge6800に入ってからの作業
--------------------------------------------------------------------------------------------
必要そうなパッケージをインストールする

# cd /usr/local/src/
# yum -y install gcc-c++
#
# yum install wget -y
#

※ /sbinにpathが通ってなかったので /etc/profile をviで編集しpathを通しておく
※ vi /etc/profile
※ 最後の行に PATH=$PATH:/sbin/ を追加
※ # source /etc/profile で反映

カードリーダーの設定
# yum -y install yum-priorities
Complete!

# wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# sed -ie 's/enabled = [01]/enabled = 0/' /etc/yum.repos.d/rpmforge.repo

# yum install --enablerepo=rpmforge -y perl-Gtk2
Complete!

# wget ftp://ftp.kddlabs.co.jp/033/Linux/packages/fedora.archive/releases/8/Everything/i386/os/Packages/pcsc-perl-1.4.6-2.fc8.i386.rpm
# wget ftp://ftp.kddlabs.co.jp/033/Linux/packages/fedora.archive/releases/8/Everything/i386/os/Packages/pcsc-tools-1.4.10-1.fc8.i386.rpm
# rpm -ivh pcsc-perl-1.4.6-2.fc8.i386.rpm
# rpm -ivh pcsc-tools-1.4.10-1.fc8.i386.rpm

カードリーダーをスキャン
# pcsc_scan
PC/SC device scanner
V 1.4.10 (c) 2001-2007, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.3.3
Scanning present readers
0: SCM SCR 3310 NTTCom (21120651344492) 00 00

Sat Dec 12 02:47:14 2009
Reader 0: SCM SCR 3310 NTTCom (21120651344492) 00 00
Card state: Card inserted,
ATR: 3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99

PT2ドライバー設定
# wget http://hg.honeyplanet.jp/pt1/archive/c44e16dbb0e2.zip
# unzip c44e16dbb0e2.zip
# cd /usr/local/src/pt1-c44e16dbb0e2/driver
# make -C /lib/modules/`uname -r`/build M=`pwd` K=1
# make -C /lib/modules/`uname -r`/build M=`pwd` V=1 modules_install
# depmod -a

スマートカードリストの差し替え
# mv /usr/share/pcsc/smartcard_list.txt /usr/share/pcsc/smartcard_list.txt.org
# cp /usr/local/src/pt1-c44e16dbb0e2/b25_docs/smartcard_list.txt /usr/share/pcsc/
# pcsc_scan
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99
B-CAS

recpt1の設定
# cd /usr/local/src/pt1-c44e16dbb0e2/arib25/src/
# make
# make install
# cd /usr/local/src/pt1-c44e16dbb0e2/recpt1
# make
# cp recpt1 /usr/local/bin
# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig

録画テスト
# recpt1 --b25 --strip 15 5 test.ts
using B25...
enable B25 strip
Cannot tune to the specified channel
--------------------------------------------------------------------------------------------

最後はアンテナ繋いでませんでした^-^;
とりあえず、大丈夫そうだ

明日は予約録画アプリ(epgrec)の設定に入ろうと思う

閉じる コメント(0)

コメント投稿
名前パスワードブログ
投稿

閉じる トラックバック(0)

トラックバックされた記事

トラックバックされている記事がありません。

トラックバック先の記事

  • トラックバック先の記事がありません。

芸能人・有名人の新着記事

Yahoo Image
清水 絵夢
Yahoo!ブログ2/23 WhiteW...
02月24日 02:13
Yahoo Image
辻川 いずみ
Yahoo!ブログmusic
02月24日 01:38
Yahoo Image
須藤 温子
その他nail (0) -...
02月24日 00:49

.

ido*mil*
人気度

ヘルプ

Yahoo Image

  今日 全体
訪問者 1 27714
ブログリンク 0 1
コメント 0 20
トラックバック 0 0

ケータイで見る

モバイル版Yahoo!ブログにアクセス!

モバイル版Yahoo!ブログにアクセス!

URLをケータイに送信
(Yahoo! JAPAN IDでのログインが必要です)

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29

標準グループ

登録されていません

開設日: 2009/1/13(火)


プライバシーポリシー -  利用規約 -  ガイドライン -  順守事項 -  ヘルプ・お問い合わせ

Copyright (C) 2012 Yahoo Japan Corporation. All Rights Reserved.