$ mkdir PT2
$ hg clone http://hg.honeyplanet.jp/pt1 PT2
$ cd PT2
$ cd arib25
$ make
# make install
# cp /etc/ld.so.conf /etc/ld.so.conf.ori
# vi /etc/ld.so.conf
/usr/local/libを追加する。
# /sbin/ld config
$ cd recpt1
$ make
# cp ./recpt1 /usr/local/bin/
$ cd ../driver
$ make
# cp ./pt1_drv.ko /lib/modules/2.6.18-164.el5/kernel/drivers/video/
# depmod -a
# cp /etc/udev/rules.d/50-udev.rules /etc/udev/rules.d/50-udev.rules.ori
# vi /etc/udev/rules.d/50-udev.rules
245行目あたりに追加
# for pt1
SUBSYSTEM=="pt1video", MODE="0666",GROUP="video"
ここでリブートでOKでした。
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
memo
古いカーネルだと必要です。
$ diff pt1_pci.c pt1_pci.c.ori
637c637
< rc = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
---
> rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
Comments