[V2,0/3] Add input group and udev rule to fix rootless X

Submitted by Darren Hart on April 3, 2013, 7:49 p.m.


Message ID cover.1365018433.git.dvhart@linux.intel.com
State New
Headers show


git://git.yoctoproject.org/poky-contrib dvhart/xuser

Commit Message

Darren Hart April 3, 2013, 7:49 p.m.
Fix [YOCTO 4164] (usb mouse and keyboard don't work at liveboot on atom-pc) by
adding an input group and a udev rule to make all /dev/input/* devices added to
the input group with g+rw permissions. Drop the o+rw setting from

Tested on atom-pc from current poky master using core-image-sato.

V2: Package the udev rule in udev-extraconf so systemd can use it also.



The following changes since commit 92aeb31341b28b193d616ab5cf38af1b9673e37d:

  qemuimage-testlib: Fix quoting issue (2013-03-30 17:26:56 +0000)

are available in the git repository at:
  git://git.yoctoproject.org/poky-contrib dvhart/xuser

Darren Hart (3):
  base-passwd: Add input group
  udev-extraconf: Add rule adding input devices to input group
  xserver-nodm-init: Add xuser to input group

 .../base-passwd/base-passwd-3.5.26/input.patch     |   22 ++++++++++++++++++++
 .../recipes-core/base-passwd/base-passwd_3.5.26.bb |    5 ++-
 .../udev/udev-extraconf/localextra.rules           |    2 +
 meta/recipes-core/udev/udev-extraconf_1.0.bb       |    2 +-
 .../x11-common/xserver-nodm-init.bb                |    4 +-
 .../x11-common/xserver-nodm-init/xserver-nodm      |    1 -
 6 files changed, 30 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-core/base-passwd/base-passwd-3.5.26/input.patch