编译linux-0.11内核后键盘不对的问题解决方法,比如/变成了-
2014-01-08 12:31
591 查看
keyboard.S文件开始有这么一句
#include <linux/config.h>
config.h里面有键盘布局的定义,linus用的是芬兰的键盘,我们用的是美式键盘。
#ifndef _CONFIG_H
#define _CONFIG_H
/*
* The root-device is no longer hard-coded. You can change the default
* root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s
*/
/*
* define your keyboard here -
* KBD_FINNISH for Finnish keyboards
* KBD_US for US-type
* KBD_GR for German keyboards
* KBD_FR for Frech keyboard
*/
/*#define KBD_US */
/*#define KBD_GR */
/*#define KBD_FR */
#define KBD_FINNISH
所以你要把#define KBD_FINNISH改为#define KBD_US 才能正常使用
#define KBD_US
/*#define KBD_GR */
/*#define KBD_FR */
/*#define KBD_FINNISH*/
#include <linux/config.h>
config.h里面有键盘布局的定义,linus用的是芬兰的键盘,我们用的是美式键盘。
#ifndef _CONFIG_H
#define _CONFIG_H
/*
* The root-device is no longer hard-coded. You can change the default
* root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s
*/
/*
* define your keyboard here -
* KBD_FINNISH for Finnish keyboards
* KBD_US for US-type
* KBD_GR for German keyboards
* KBD_FR for Frech keyboard
*/
/*#define KBD_US */
/*#define KBD_GR */
/*#define KBD_FR */
#define KBD_FINNISH
所以你要把#define KBD_FINNISH改为#define KBD_US 才能正常使用
#define KBD_US
/*#define KBD_GR */
/*#define KBD_FR */
/*#define KBD_FINNISH*/
相关文章推荐
- 在编写最简单的linux 内核驱动, 编译后出现的问题以及解决方法。
- linux 编译内核几个常见问题解决方法
- Linux+RTAI实时内核编译所遇到的问题及解决方法
- linux内核编译问题解决方法
- linux 内核编译:内核配置原理与常见配置问题的解决方法&&内核版本控制解析
- linux 编译内核几个常见问题解决方法
- 交叉编译基于ARM架构的linux-3.6内核遇到的问题及解决方法
- linux 内核编译:内核配置原理与常见配置问题的解决方法&&内核版本控制解析
- 关于gcc-1.37.1下直接编译linux-0.11内核未定义符号的解决
- Linux2.6.0内核下make menuconfig时出现的问题及解决方法
- linux下编译opencv时遇到的问题及及解决方法
- Linux-0.11内核编译问题
- DM6446 内核编译常见问题解决方法
- linux下编译新内核,解决无法找到eth0设备问题,安装eth0网卡驱动
- 编译升级linux由2.4.20-8到2.6.10内核时,遇到的错误,以及解决方法
- linux 内核编译配置内核make menuconfig 出错解决方法
- 嵌入式Linux编译内核步骤 / 重点解决机器码问题 / 三星2451
- Linux 用Mail发送邮件文字变成AXXX.bin的问题解决方法
- 一个linux内核编译时遇到的perl语法导致的编译问题解决
- VMware安装Fedora18,升级3.8.2内核,导致hgfs无法编译安装,无法共享文件夹的问题解决方法