meta-intel: 2e8760d272aa2c62b41cbf768445c99569604c5e poky: bdca49274173153b1b0a72887de6321b4756b684 image: http://autobuilder.yoctoproject.org/pub/nightly/20130327-1/machines/atom-pc/core-image-sato-sdk-atom-pc.hddimg machine: Lenovo S10-3 On liveboot, keyboard and mouse doesn't work.
Sent the following to oe-core: Current master atom-pc build + pending 3.8 kernel update us using rootless X, but X fails to open the event devices. Do we need some kind of default group permissions for the /dev/input/* devices? root@atom-pc:/etc/X11# cat /var/log/Xorg.0.log | grep EE | grep "event" [3430478.394] (EE) evdev: Power Button: Unable to open evdev device "/dev/input/event2". [3430478.398] (EE) evdev: Video Bus: Unable to open evdev device "/dev/input/event3". [3430478.401] (EE) evdev: Power Button: Unable to open evdev device "/dev/input/event1". [3430478.410] (EE) evdev: HP HP Wireless Mini Keyboard: Unable to open evdev device "/dev/input/event5". [3430478.414] (EE) evdev: HP HP Wireless Mini Keyboard: Unable to open evdev device "/dev/input/event6". [3430478.421] (EE) evdev: AT Translated Set 2 keyboard: Unable to open evdev device "/dev/input/event4". [3430478.434] (EE) synaptics: SynPS/2 Synaptics TouchPad: no synaptics event device found ... root@atom-pc:/etc/X11# cat /etc/group | grep xuser tty:x:5:xuser audio:x:29:xuser video:x:44:xuser xuser:x:1000: root@atom-pc:/etc/X11# ls -la /dev/input/event event0 event1 event2 event3 event4 event5 event6 event7 root@atom-pc:/etc/X11# ls -la /dev/input/event* crw-r----- 1 root root 13, 64 Apr 2 20:38 /dev/input/event0 crw-r----- 1 root root 13, 65 Apr 2 20:38 /dev/input/event1 crw-r----- 1 root root 13, 66 Apr 2 20:38 /dev/input/event2 crw-r----- 1 root root 13, 67 Apr 2 20:38 /dev/input/event3 crw-r----- 1 root root 13, 68 Apr 2 20:38 /dev/input/event4 crw-r----- 1 root root 13, 69 Apr 2 20:52 /dev/input/event5 crw-r----- 1 root root 13, 70 Apr 2 20:52 /dev/input/event6 crw-r----- 1 root root 13, 71 Apr 2 20:38 /dev/input/event7
This is a rootless X permissions issue and not a BSP or kernel issue. Note that changing the permissions of /dev/input/* to a+rw causes X to start working again. This could be a udev rule. We could also make them part of the xuser group. We could also not run X as non-root. This seems to come up over and over. Who is enabling rootless X? Who is testing it before it goes in?
Discussed with RP. Approach: Add input group Add udev rule for /dev/input/* to be in input group and g+rw Add xuser to input group Patch written and currently under build/test.
Patch sent to oe-core.
commit 12c9f9a83572423185455dbfee5d2083cbf826df Author: Darren Hart <dvhart@linux.intel.com> Date: Wed Apr 3 12:49:41 2013 -0700 xserver-nodm-init: Add xuser to input group
(In reply to comment #5) > commit 12c9f9a83572423185455dbfee5d2083cbf826df > Author: Darren Hart <dvhart@linux.intel.com> > Date: Wed Apr 3 12:49:41 2013 -0700 > > xserver-nodm-init: Add xuser to input group Will verify this on the next release.
Verified - obsolete