惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
Last Week in AI
Last Week in AI
IT之家
IT之家
A
About on SuperTechFans
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
V
Visual Studio Blog
Microsoft Security Blog
Microsoft Security Blog
博客园_首页
aimingoo的专栏
aimingoo的专栏
The Cloudflare Blog
Vercel News
Vercel News
博客园 - Franky
有赞技术团队
有赞技术团队
B
Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
量子位
云风的 BLOG
云风的 BLOG
T
Tailwind CSS Blog

博客园 - 三胖他爹

VC CUtilityLZW 效率还行的LZW压缩算法,随机数加密 VC CQHashNTBuffer 牛逼的Hash表 UINT32 VC CHashBuffer 牛逼的hash表算法,字符串查找块了100倍 关闭Fedora防火墙 gnome 屏幕截图 zynq -- arm-xilinx-eabi-路径 Fedora 14安装出现的错误 fedora19安装后,需要安装的一些必备的软件包 zynq -- cannot find -lxil Zynq -- 启动过程 OTG: On-The-Go Zynq --- SDK - Cannot compile ARM application on Windows 7 64-bit or Linux 64-bit OS MarshalHelper iec61850采样协议(9-1、9-2)解析(二) iec61850采样协议(9-1、9-2)解析(一) C语言项目常用的头文件声明及相关宏定义 TTY头文件注释 设置和取得串口参数 程序调用shell设置ip地址
找不到/dev/input/event的原因
三胖他爹 · 2013-05-04 · via 博客园 - 三胖他爹

使用busybox中的mdev时,默认不配置的情况下,即mdev.conf文件中没有定义时,所有的设备会被重新加载在/dev/目录下(即使在内核驱动中定义了也没有用),所以默认event被加载在/dev/eventXX,修改mdev.conf可修改其路径,该文件定义如下:

 1 # mdev.conf 
 2 #
 3 # Syntax:
 4 # <regexp> <UID>:<GID> <PERM> [{@,$,*} <CMD>]
 5 # @: run <CMD> after creating
 6 # $: run <CMD> before removal
 7 # *: like @ and $ at the same time
 8 # <CMD> is run inside /dev using system()
 9 
10 # mmc sd
11 mmcblk[0-9]         0:0     0660    @(mount -t vfat -w /dev/$MDEV /mnt)
12 mmcblk[0-9]         0:0     0660    *(umount /mnt)
13 mmcblk[0-9]*p[0-9]  0:0     0660    @(mount -t vfat -w /dev/$MDEV /mnt)
14 mmcblk[0-9]*p[0-9]  0:0     0660    *(umount /mnt)
15 
16 # input devices
17 mice                0:0     0660    =input/
18 mouse.*             0:0     0660    =input/
19 event.*             0:0     0660    =input/
20 ts.*                0:0     0660    =input/