文档详情

How to rebuild kernel.pdf

发布:2017-04-08约5.71千字共8页下载文档
文本预览下载声明
Copyright (c) 2007 Version 1.1 0 How to rebuild kernel to support PS/2 controller By default, the eGalax Touch PS/2 controller connected with PS/2 auxiliary port always be directed to be as a standard PS/2 mouse device under Linux kernel 2.6.x or later. It can not be used as a char device for other devices such as touchscreen like kernel 2.4.x does. To make it possible to work with PS/2 touchscreen, it needs to rebuild the kernel for kernel later than 2.6. Note: Some kernel version later than 2.6.15 ( such as Ubuntu 6.06 or Fedora Core 6 ) already include the compiled kernel module “serio_raw”. The user can enter “lsmod | grep serio_raw” to check in a terminal window if this kernel module exist and be loaded or not. If this kernel module was loaded already, it does not need to rebuild kernel. Otherwise, rebuild kernel is required. User must append the following description into the file “rc.local” ( It is renamed boot.local under SuSE Linux series ) in order to support PS2 auxiliary port as a char device like kernel 2.4.x does. This file can be found in the /etc/rc.d. ## SERIO_RAW section begin ## echo -n serio_raw /sys/bus/serio/devices/serioX/drvctl ## SERIO_RAW section end ## It needs user to check with serio port was for PS2 auxiliary port to assign correct above serioX value. If it is on serio0, the above setting should be echo -n “serio_raw” /sys/bus/serio/devices/serio0/drvctl The user can use “cat /sys/bus/serio/devices/serio0/description” to check in a terminal window. By default, the PS2 auxiliary port is assigned to serio0 under Ubuntu 6.06 and Fedora Core 6 Linux. After reboot, the PS2 auxiliary port can be used as a char device like kernel 2.4.x does. For touchscreen application, the user still needs to install the eGalax Touch driver to make sure touchscreen work. Copyright (c) 2007 Version 1.1 1 Please follow below steps to rebuild new kernel image to make it work with PS/2 eGalax Touch touchscre
显示全部
相似文档