2009年11月28日
PT2導入
ドスパラのゲリラ販売でようやく買えました。会社帰りに四つ橋なんばからダッシュしたぜ。早く使いたい気持ちもあったけど、設定する時間がなかったので週末まで寝かせておいた。
とりあえず刺しただけの状態でlspci。
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)02:01.0 のがPT2かな?。
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
02:01.0 Multimedia controller: Xilinx Corporation Device 222a (rev 01)
02:02.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
02:02.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
02:02.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
ドライバのビルド。
$ hg clone http://hg.honeyplanet.jp/pt1/ PT2なにか足りないっぽい。
$ cd PT2/driver/
$ make
$ sudo make install
$ cd ../recpt1/
$ make
make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止.
$ ./autogen.shふむ
You must have autoconf installed to compile recpt1.
Get ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.62.tar.gz
(or a newer version if it is available)
You must have automake installed to compile recpt1.
Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.10.1.tar.gz
(or a newer version if it is available)
$ sudo aptitude install autoconf automakeいけたかな?。
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
動作確認。
$ sudo insmod /lib/modules/2.6.26-2-686/kernel/drivers/video/pt1_drv.koあれ、b25オプションが有効になってない……。よく見たらarib25のディレクトリが無いな。削除したのだろうか。b25のlibどうやってつくるかねえ。
$ recpt1 --b25 18 10 test.ts
recpt1: unrecognized option `--b25'
mercurial は古いバージョンを指定して持ってくることが可能なので、arib25が残ってるバージョンを持ってきて、それでビルドしてみた。
$ recpt1 --b25 18 10 test.ts行けたようだ。あとはBSのテストとfortiaのカスタマイズか。時間かかるな。 ...閉じる
using B25...
Signal=33.270291dB
Recording...
