CentOS5 ivtv-0.10.6 driverインストール



<< トッ プページへ

概要

カ−ネル 2.6.18-8.1.6.el5で ivtv-0.10.6のドライバーをイ ンス トールしてみました。 CX23416GYC-STVLP で動作を確 認しました。

download,yum レポジトリ先等
パッ ケー ジ名
かっ てに Linux??
パッチ済みのものを使用
saa7115p.tar
tvaudio.c
Kbuild


The IVTV project
http://dl.ivtvdriver.org/ivtv/stable/
ivtv-0.10.6.tar.gz
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
enabled=0
gpgcheck=1

perl-Video-Frequencies
perl-Video-ivtv
perl-Tk


[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/
$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
perl-Config-IniFiles

※ コンパイルには動作しているカーネル と同じバージョンのkernel-develが必要なのでインストールされていない場合は yum 等でインストールしてください。

# yum install kernel-devel-`(uname -r)`

参考:現在インストールされているパッケージを調べるコマンドは
$ rpm -qa | grep XXXX


ivtv-0.10.6 をインストール

必要なパッ ケージをインストールしま す。
# yum install perl-Config-IniFiles ←レポジトリはFedora Extrasを有効にしておく
#
yum install perl-Video-Frequencies perl-Video-ivtv
perl-Tk ←レポジトリはATrpmsを有効にしておく

$ cd
$ mkdir IVTV
$ cd IVTV
$ wget http://dl.ivtvdriver.org/ivtv/archive/0.10.x/ivtv-0.10.6.tar.gz
$ unzip ivtv-0.10.6.tar.gz
$ cd ivtv-0.10.6
$ wget http://www.macmil.co.jp/macmil/dat/iv-io-c6.tar
$ wget http://www.macmil.co.jp/macmil/dat/iv-i2-c6.tar
$ wget http://www.macmil.co.jp/macmil/dat/iv-i2-h2.tar
$ wget http://www.macmil.co.jp/macmil/dat/saa7115p.tar
$ wget http://www.macmil.co.jp/macmil/dat/tvaudiop.tar
$ wget http://www.macmil.co.jp/macmil/dat/kb10-082.tar
$ cp iv-io-c6.tar ivtv-0.10.6/driver/ivtv-i
$ cp iv-i2-c6.tar ivtv-0.10.6/driver/ivtv-i2c.c
$ cp iv-i2-h2.tar ivtv-0.10.6/driver/ivtv-i2c.h
$ cp saa7115p.tar ivtv-0.10.6/i2c-drivers/saa7115.c
$ cp tvaudiop.tar ivtv-0.10.6/i2c-drivers/tvaudio.c
$ cp kb10-082.tar ivtv-0.10.6/i2c-drivers/Kbuild
$ make
# make install

# wget ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22254_inf.zip
# utils/ivtvfwextract.pl pvr_1.18.21.22254_inf.zip
# rm /lib/modules/ivtv-fw-enc.bin
# mv /lib/modules/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
# cp v4l-cx2341x-init.mpg  /lib/firmware/
#-----------------------------------------------------------------#
$ cd
$ mkdir FIRMARE
$ cd FIRMARE
$ wget --user=wtv --password=Support07! ftp://ftp.hauppauge.com/ \
Support/PVR150/Beta/070206%20amity2%202.0.48.25037.prerelease.zip

# cp HcwMakoC.ROM /lib/firmware/v4l-cx25840.fw
# cp HcwFalcn.rom /lib/firmware/v4l-cx2341x-enc.fw
#-----------------------------------------------------------------#


※ ここで再起動する。

手動で組込みを行いテスト

# dmesg | grep ivtv  ←確認してみ る
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.10.6 (tagged release) loading
ivtv:  Linux version: 2.6.18-8.1.6.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP card (cx23416 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
saa717x 1-0021: saa7173 found @ 0x42 (ivtv i2c driver #0)
upd64031a 1-0012: chip found @ 0x24 (ivtv i2c driver #0)
upd64083 1-005c: chip found @ 0xb8 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Initialized Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP card (cx23416 based)
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039
tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #1)
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
saa717x 2-0021: saa7173 found @ 0x42 (ivtv i2c driver #1)
upd64031a 2-0012: chip found @ 0x24 (ivtv i2c driver #1)
upd64083 2-005c: chip found @ 0xb8 (ivtv i2c driver #1)
ivtv1: Registered device video1 for encoder MPEG (4 MB)
ivtv1: Registered device video33 for encoder YUV (2 MB)
ivtv1: Registered device vbi1 for encoder VBI (1 MB)
ivtv1: Registered device video25 for encoder PCM audio (1 MB)
ivtv1: Initialized Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP, card #1
ivtv:  ====================  END INIT IVTV  ====================
ivtv1: All encoder MPEG stream buffers are full. Dropping data.
ivtv1: Cause: the application is not reading fast enough.
ivtv1: All encoder MPEG stream buffers are full. Dropping data.
ivtv1: Cause: the application is not reading fast enough.
ivtv1: All encoder MPEG stream buffers are full. Dropping data.
ivtv1: Cause: the application is not reading fast enough.


ドライバーが組み込まれているか確認

再起動後にロードされているか確認する。
$ /sbin/lsmod | grep video

video                  19269  0 
videodev 25025 1 ivtv
v4l1_compat 16069 2 ivtv,videodev
v4l2_common 24385 4 tuner,ivtv,cx2341x,videodev



Copyright©2005-2006  熊の巣  All Right Reserved.  管理人へメール