在前文Linux/Android——input子系统核心
中概括了总体的结构,以及介绍了input核心的职责,其中有说道注册input设备时会去匹配已有的事件处理器handler,
而这个handler也是存放在一个链表里面的,这里介绍下input子系统中的事件处理input_handler机制.
evdev:
/kernel/drivers/input下众多事件处理器h...
分类:
移动开发 时间:
2014-12-30 20:45:24
阅读次数:
375
本文将详细分析 Linux 是如何有效地管理物理内存的。...
分类:
系统相关 时间:
2014-12-30 11:53:56
阅读次数:
198
核心(kernel):/boot/vmlinuz-version version 带发行包版本,本地版本内核模块(kernel object): /lib/modules/version/内核设计: 单内核 模块化设计--内核小,功能做成模块 微内核装载模块: insmod modprobe内核下....
分类:
系统相关 时间:
2014-12-30 00:18:06
阅读次数:
213
前言
最新项目里一直在做 Android RIL 方面的研究,非常最终项目还是未能解决通信底层模块的问题,但是在使用adb抓log上还是有一些收获的,这里记录一下。
Log分类
Android日志主要分为kernel、radio、event、main这四种log。
Kernel Log
kernel log属于Linux内核的log ,可以通过读取/pro...
分类:
移动开发 时间:
2014-12-29 08:56:50
阅读次数:
294
android-x86的grub是采用相对UBuntu古老一些的方式,来grub kernel的
如何开启android-x86的串口调试模式呢,采用如下步骤:
(1)mount sda1:
mkdir /data/fs
mount -t ext2 /dev/block/sda1 /data/fs
(2)修改menu.lst文件
这个文件保存grub配置,修改如...
分类:
移动开发 时间:
2014-12-28 13:00:17
阅读次数:
780
http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=19120http://wireless.kernel.org/en/users/Documentation/hostapd (hostapd Linux documentation pag...
分类:
Web程序 时间:
2014-12-28 10:24:26
阅读次数:
145
/*
*File:test.c
*Author:DavidLin
*Date:2014-12-07pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-07createdthisfile!
*2)
*/
#include<linux/init.h>
#include<lin..
分类:
系统相关 时间:
2014-12-28 01:54:06
阅读次数:
254
/*
*Author:DavidLin
*Date:2014-12-10pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-10createdthisfile!
*2)
*//*author:linus*/
voidsleep_on(structtask_struct*..
分类:
系统相关 时间:
2014-12-28 01:53:38
阅读次数:
225
/**Author:DavidLin*Date:2014-11-11pm*Email:linpeng1577@163.comorlinpeng1577@gmail.com*world:thecityofSZ,inChina*Ver:000.000.001*history:editortimedo
1)LinPeng2014-11-11createdthisfile!
2)*/Linux-0.11内存管理模块是源代码中比较难以理解的部分,现在把笔者个人的..
分类:
系统相关 时间:
2014-12-28 01:53:20
阅读次数:
205
/*
*Kernel:Linux2.6.32.63
*File:\scripts\mod\modpost.h
\scripts\mod\modpost.c
*Author:DavidLin
*Date:2014-12-25pm
*Email:linpeng1577@163.comorlinpeng1577@gmail.com
*world:thecityofSZ,inChina
*Ver:000.000.001
*history:editortimedo
*1)LinPeng2014-12-25create..
分类:
系统相关 时间:
2014-12-28 01:53:17
阅读次数:
180