やっと X.org が動いた
log みるとまだなんか error でてるけど、なんとか GUI で keyboard も mouse も動いた。
keyboard も mouse も反応しない
gentoo では /etc/make.conf で
INPUT_DEVICES="keyboard mouse"
とか指定しておくと、xorg-server とか emerge するときに適当に driver も emerge してくれたりするんだけど、なぜか入力できなくなってた。/var/log/Xorg.0.log をみたら keyboard も mouse も disable してくれやがってた。
使えるようにするには、a) "AllowEmptyInput" を切る か b) evdev をちゃんと動かす
a) "AllowEmptyInput" を切る
Section "ServerFlags" ... Option "AllowEmptyInput" "False" EndSection
b) evdev をちゃんと動かす
hald というのが動いてないといけないので
$ /etc/init.d/hald start
$ rc-update add hald default
画面に何も写らない
Xorg/Guide - Gentoo Wiki では Xorg -configure とかで xorg.conf を作って、X -config /root/xorg.conf すると
If all goes well, you should see a simple black and white pattern. Verify if your mouse works correctly and if the resolution is good. If you received errors about "/dev/mouse", try changing your mouse device to /dev/input/mice in the "InputDevice" section of xorg.conf. You might not be able to deduce the exact resolution, but you should be able to see if it's too low. You can exit any time by pressing Ctrl-Alt-Backspace.
Xorg/Guide - Gentoo Wiki
と確認できることになってるんだけど、これができないだけだったみたいで、startx とか xinit ならちゃんと映った。
あと C-M-BS で X を終了できるみたいな事書いてるけど、X.org 1.6 からできなくなったらしい。
X が上手く動かないときにやること
- C-M-F1 とかで console に戻れる
- log は /var/log/Xorg.0.log にある