diff options
Diffstat (limited to 'recipes-core/udev/udev-rules-imx')
-rw-r--r-- | recipes-core/udev/udev-rules-imx/10-imx.rules | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-core/udev/udev-rules-imx/10-imx.rules b/recipes-core/udev/udev-rules-imx/10-imx.rules new file mode 100644 index 0000000..6afc1e8 --- /dev/null +++ b/recipes-core/udev/udev-rules-imx/10-imx.rules | |||
@@ -0,0 +1,23 @@ | |||
1 | # Create symlinks for i.mx keypads and touchscreens | ||
2 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxckpd", SYMLINK+="input/keyboard0" | ||
3 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxc_ts", SYMLINK+="input/ts0" | ||
4 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="imx_adc_ts", SYMLINK+="input/ts0" | ||
5 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mpr084", SYMLINK+="input/keyboard0" | ||
6 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="tsc2007", SYMLINK+="input/ts0" | ||
7 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="STMP3XXX touchscreen", SYMLINK+="input/ts0" | ||
8 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="MXS touchscreen", SYMLINK+="input/ts0" | ||
9 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="HannStar P1003 Touchscreen", SYMLINK+="input/ts0" | ||
10 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="eGalax Touch Screen", SYMLINK+="input/ts0" | ||
11 | |||
12 | # The long class name gets cut off to be mc13783_connectiv in | ||
13 | # /sys/class/mc13783_connectivity/mc13783_connectivit | ||
14 | KERNEL=="mc13783_connectiv*", NAME="mc13783_connectivity" | ||
15 | # Anyone has readonly permission to IIM device file | ||
16 | KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem" | ||
17 | KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem" | ||
18 | KERNEL=="mxc_ipu", MODE="0666" | ||
19 | KERNEL=="mxc_vpu", MODE="0666" | ||
20 | SUBSYSTEM=="video", MODE="0660" | ||
21 | KERNEL=="fb[0-9]", MODE="0660", GROUP="video" | ||
22 | KERNEL=="gsl_kmod", MODE="0660", GROUP="video" | ||
23 | KERNEL=="galcore", MODE="0660", GROUP="video" | ||