![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
churwa
这个作者很懒,什么都没留下…
展开
-
Ubuntu 环境变量 PATH 修改
1. 修改 /etc/environment2. 执行 source /etc/environment 使其在当前终端立即生效原创 2012-12-02 10:06:45 · 294 阅读 · 0 评论 -
Linux 驱动模块如何包含多个源文件
参考KBuild的文档---------------------------------------- If a kernel module is built from several source files, you specify that you want to build a module in the same way as above. Kbui转载 2013-01-08 10:33:07 · 804 阅读 · 0 评论 -
linux如何通过命令设置文件共享
Usage:net usershare add Add/modify user defined sharenet usershare delete Delete user defined sharenet usershare info Display information about a user defined share原创 2013-01-24 15:34:22 · 1620 阅读 · 0 评论 -
input_report_abs导致的OOPS问题
Unable to handle kernel NULL pointer dereference at virtual address 00000090pgd = ce050000[00000090] *pgd=5e00b031, *pte=00000000, *ppte=00000000Internal error: Oops: 17 [#1] PREEMPTlast sysfs fil原创 2013-02-18 13:26:46 · 1203 阅读 · 0 评论 -
linux kernel 调试技巧
1. 开启CONFIG_KALLSYMS该选项可以载入内核镜像所对应的内存地址的符号名称(即函数名),所以内核可以打印解码之后的跟踪线索。相应,解码OOPS也不再需要System.map和ksymoops工具了make menuconfigGeneral setup ---> [*] Configure standard kernel features (for sma原创 2013-02-18 10:32:51 · 429 阅读 · 0 评论 -
OK6410开发板触摸屏校准没反应
内核中加入几个新的设备驱动后发现触摸屏无法校准了提示:selected device is not a touchscreen I understand估计是input设备是写死的, 找到OK6410的校准程序 vendor\forlinx\OK6410\calibrate内容如下#!/bin/sh#export TSLIB_ROOT=/usr/local/tsli原创 2013-02-18 14:25:47 · 2214 阅读 · 0 评论 -
Shell中如何在函数内调用 getopts
调用函数时加上"$@"---------------------------------------------------示例-----------------------------------------------------main(){ echo "check param" while getopts "fh" opt原创 2013-05-10 14:49:36 · 1168 阅读 · 0 评论