找不到/dev/input/event的原因

使用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/
原文地址:https://www.cnblogs.com/lizhi0755/p/3058935.html