2010年7月30日 星期五

Linux Kernel 2.6.35-rc5 Config for X201 Thinkpad.

Ubuntu Linux works well on X201 Thinkpad, Wireless, BlueTooth, Sound works well.

For Ubuntu Users , if you use 9.04, 10.04 version, you should append i915.modeset=0 boot option to grub, and there is safe-mode graphics only.

To enable 3D acc graphics, you should use kernel after 2.6.35-rc6.

Config file is here:
http://gist.github.com/499990

Beside, below is the patch for Inter i915 driver:
--- drivers/gpu/drm/i915/intel_display.c.bak 2010-07-30 05:25:09.898404000 +0800
+++ drivers/gpu/drm/i915/intel_display.c 2010-07-30 05:24:47.730403994 +0800
@@ -865,6 +865,8 @@
/* approximately equals target * 0.00488 */
int err_most = (target >> 8) + (target >> 10);
+ err_most += 50;
+
found = false;
if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) {


或是直接使用 http://people.canonical.com/~hzhang/554569/ 的 deb package.

2010年7月22日 星期四

make-kpkg 時不 make clean

在 Debian-based Linux 上使用 make-kpkg compile 時,在每次執行 make-kpkg 指令,都會自動 make clean 將之前 compile 的部份清除掉重新編譯,要防止 make-kpkg 這樣作,可參考以下作法:

http://linux.derkeiler.com/Mailing-Lists/Debian/2005-05/3189.html


Add 'do_clean := NO' to /etc/kernel-pkg.conf.
As far as using ccache, you are able to specify your C compiler on the
command line. From the make-kpkg(1) man page:
You may control
which version of gcc used in kernel compilation by setting the Makefile
variables CC and HOSTCC in the top level kernel Makefile. You can do
this simply by

% MAKEFLAGS="CC=gcc-2.95" make-kpkg ...

(please see the top level kernel Makefile for variables that can be
set).

2010年7月1日 星期四

Links

找到 jserv 以前寫的一篇 KDE 相關文章-KDE 元件技術: http://jserv.sayya.org/kde/zh_TW_kpart-techno.html

中文 X Window Howto: http://www.linux.org.tw/CLDP/HOWTO/app/XWindow-User-HOWTO/XWindow-User-HOWTO-Chinese-3.html#ss3.5

MacOS OpenGL Programming Reference: http://developer.apple.com/mac/library/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_intro/opengl_intro.html

OpenGL Programming Guide: http://www.glprogramming.com/red