First, install :
1. /usr/ports/x11-servers/xorg-server
2. /usr/ports/x11-fonts/xorg-fonts
3. /usr/ports/x11-drivers/xorg-drivers
Beware to choose OpenChrome you have to choose:
a. keyboard
b. mouse
c. OpenChrome
4. /usr/ports/x11/xinit
5. Xorg -configure
When you have a good xorg.conf with the good driver.
Do not reconfigure xorg.conf ...
6. mkdir openchrome
7. cd openchrome
8. svn co
9. cd trunk
10. ./autogen.sh && make install clean
11. On the /etc/X11/xorg.conf Section "Files", removed the Rgb line in xorg.conf
12. On the /etc/X11/xorg.conf Section "ServerLayout", added Option "AllowEmptyInput" "off"
13. On the /etc/X11/xorg.conf Section "InputDevice", changed Option "Device" "/dev/sysmouse" to Option "Device" "/dev/psm0"
14. On the file /etc/rc.conf, added moused_enable="NO" and moused_nodefault_enable="NO"
15. restarted the computer and it works now.
做 6-10 步是为了更新 openchrome 的驱动,否则启动X后,无法显示鼠标!!!
阅读(946) | 评论(0) | 转发(0) |