cd /usr/src/sys patch < ~/dev-5r.patch patch < ~/apm.c-5r.patch patch < ~/ohch_pci.c-5r.patch
これで、下記のような設定をして、kernel の再構築をすれば、 設定完了です。:-)
hints "FIVA.hints"
options PSM_HOOKRESUME
options PSM_RESETAFTERSUSPEND
options UFS_EXTATTR
hint.fdc.0.disabled="1"
hint.sio.1.disabled="1"
hint.ppc.0.disabled="1"
hint.cbb.0.irq="11"
hint.cbb.1.irq="11"
hint.sio.0.irq="4" -> hint.sio.0.irq="0"
[/boot/loader.conf の内容]
hw.acpi.pci.link.0.10.0.irq="11"
hw.acpi.pci.link.0.10.1.irq="11"
hw.ata.wc=1
snd_t4dwave_load="YES"
firewire_load="YES"
[/etc/sysctl.conf の内容]
hw.acpi.cpu.economy_speed=8
hw.acpi.lid_switch_state=NONE
hw.acpi.standby_state=S4
hw.acpi.suspend_state=S4
hw.acpi.power_button_state=S4
hw.acpi.sleep_button_state=S4
hw.acpi.thermal.min_runtime=300
hw.acpi.battery.info_expire=30
[Section "Files" に追加した行]
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/URW/"
[Section "Module" に追加した行]
Load "xtt"
[Section "InputDevice" で Driver "mouse" の所の変更点]
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "SampleRate" "600"
[Section "Monitor" に追加した行]
HorizSync 20-80
VertRefresh 55-90
[Section "Device"に追加した行]
Option "SWCursor"
Option "UseBIOS" "off"
Option "pci_burst"
[Section "Screen"で追加した行]
DefaultColorDepth 16
[Section "SubSection"で追加した行]
Modes "800x600"
後は、ACL について調べようと思っています。5.0-RELEASE の リリースノートを見たところ、
/sys/ufs/ufs/README.acls /sys/ufs/ufs/README.extattr
あたりを見るとできると書いてあったので、 これらを参考に時間があるときにいじってみたいと思っています。
5.0 が RELEASE されましたし、ここで、一つの区切りとして、 このページの更新は、一旦、終了ということにしたいと思っています。