Shuttle SG31G2 + Core 2 Duo E6550をFreeBSD Boxにする #4
サウンドカードの設定
# kldload snd_driver # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: <Intel 82801G High Definition Audio Controller> at memory 0xfdff8000 irq 16 kld snd_hda [20071129_0050] [MPSAFE] (1p:1v/1r:1v channels duplex default) #
起動時にサウンドカードを認識するように/boot/loader.confに書いておく。
# cat /boot/loader.conf snd_hda_load="YES" snd_pcm_load="YES" #
Xの設定
# X -configure # X -config /root/xorg.conf.new
動くのを確認したら、Ctrl+Alt+BSで終了して、/root/xorg.conf.newを編集。
Section "InputDevice"に追加。
Option "XkbModel" "jp106" Option "XkbLayout" "jp" Option "XkbOptions" "ctrl:nocaps"
Section "Screen"に DefaultDepth 24 を追加して、SubSection "Display"にModes "1280x1024" を追加。
SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" EndSubSection
# xinit
でテストして、動くようならば、/etc/ttysを
ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure
として、KDMが立ち上がるようにする。