| Submitter | Zhai, Edwin |
|---|---|
| Date | Sept. 6, 2011, 2:36 a.m. |
| Message ID | <6fb4806c9fad49d323cbbd1d0a0a54a5a279b2f0.1315276240.git.edwin.zhai@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/11011/ |
| State | New, archived |
| Headers | show |
Comments
Patch
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm index 858af0b..c707a4b 100755 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm @@ -34,6 +34,10 @@ case "$1" in chmod o+w /var/log chmod g+r /dev/tty[0-3] chmod o+rw /dev/input/* + # hidraw device is probably needed + if [ -e /dev/hidraw0 ]; then + chmod o+rw /dev/hidraw* + fi fi # Using su rather than sudo as latest 1.8.1 cause failure [YOCTO #1211] su -l -c '/etc/X11/Xserver&' $username