friio@centos(成功)

CentOSでfriioのまとめ。(メモ程度に)

ハードウェア:
・NEC Express5800 S70/SD
(Celeron+WD160G)
・friio 白
・B-CASカード

・NTT-me SCR3310

[tmkm-amazon]B00117VJ7O[/tmkm-amazon]

OS:CentOS 5.2 i386

設定は
ファイアウォール:無効
SELinux:無効

(suがめんどくさいのでスーパーユーザで)


1.初期設定
[root@centos ~]# /etc/init.d/yum-updatesd stop
[root@centos ~]# yum -y remove yum-updatesd
[root@centos ~]# yum -y install yum-fastestmirror
[root@centos ~]# yum -y update

2.boost関連、pcsc関連などのライブラリを追加
[root@centos ~]# yum -y install gtk+
(gdk-pixbuf glib gtk+)
[root@centos ~]# yum -y install gcc-c++
(gcc-c++ gcc glibc-devel glibheaders kernel-headers libgomp libstdc++-devel)
[root@centos ~]# yum -y install libusb-devel
(libusb-devel)
[root@centos ~]# yum -y install hal-devel
(hal-devel dbus-devel)
[root@centos ~]# yum -y install glib2-devel
(glib2-devel)
[root@centos ~]# yum -y install boost-devel
(boost-devel boost libicu)
[root@centos ~]# yum -y install pcsc-lite
[root@centos ~]# yum -y install ccid
[root@centos ~]# yum -y install pcsc-lite-devel
(pcsc-lite-devel)
[root@centos ~]# yum -y install ccid-devel

3.DTV関連ツールのfriioうpろだからrecfriior4をwget
[root@centos ~]# wget http://2sen.dip.jp/cgi-bin/friioup/source/up0777.zip

4.b25のmake
[root@centos ~]# unzip up0777.zip
[root@centos ~]# cd recfriior4/arib25v021/arib25/
[root@centos arib25]# make
[root@centos arib25]# cp src/b25 /usr/local/bin/b25

5.recfriioのmake
[root@centos arib25]# cd ../../recfriior4/
[root@centos recfriior4]# vi Makefile
LIBS = -lpthread -lboost_thread-mt -lboost_filesystem `pkg-config –libs glib-2.0`

LIBS = -lpthread -lboost_thread -lboost_filesystem `pkg-config –libs glib-2.0`
[root@centos recfriior4]# vi usbops.hpp
#include<linux/usb/ch9.h>

#include<linux/usb_ch9.h>
[root@centos recfriior4]# make
[root@centos recfriior4]# cp recfriio /usr/local/bin/recfriio

6.Info.plistの書き換え
[root@centos recfriior4]# cd /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/
[root@centos Contents]# cp Info.plist Info.plist.org
[root@centos Contents]# cp /root/recfriior4/arib25v021/libccid_Info.plist Info.plist
[root@centos Contents]# vi Info.plist
<key>CFBundleExecutable</key>
<string>libccid.so.1.3.1</string>

<key>ifdManufacturerString</key>
<string>Ludovic Rousseau (ludovic.rousseau@free.fr)</string>

<key>ifdProductString</key>
<string>Generic CCID driver v1.3.1</string>

<key>CFBundleExecutable</key>
<string>libccid.so.1.0.1</string>

<key>ifdManufacturerString</key>
<string>Ludovic Rousseau (ludovic.rousseau@free.fr)</string>

<key>ifdProductString</key>
<string>Generic CCID driver v1.0.1</string>
*赤部分を自分のVerに変更。
[root@centos Contents]# /etc/init.d/pcscd restart

7.録画テスト
[root@centos Contents]# cd
[root@centos ~]# recfriio –b25 25 10 out.ts
B25Decoder initialized
Search friios from dir: /dev/bus/usb
1 friios found:
/dev/bus/usb/001/007: use this friio.
device: /dev/bus/usb/001/007
Signal level: 0
Signal level: 26.6596
Output ts file.
done.

Rec time 8.846898 sec.
Signal level: 27.6031

vlcsnap-81177

 

できたあああああ

[tmkm-amazon]486190322X[/tmkm-amazon]

[tmkm-amazon]486190370X[/tmkm-amazon]

[tmkm-amazon]4861904234[/tmkm-amazon]

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です