Skip to content

Add input group and udev rule to fix rootless X

Darren Hart openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3base-passwd: Add input groupmeta/recipes-core/base-passwd/base-passwd-3.5.26/input.patch meta/recipes-core/base-passwd/base-passwd_3.5.26.bb+25 -20 replies
2/3udev-extraconf: Add rule adding input devices to input groupmeta/recipes-core/udev/udev-extraconf/localextra.rules meta/recipes-core/udev/udev-extraconf_1.0.bb+3 -10 replies
3/3xserver-nodm-init: Add xuser to input groupmeta/recipes-graphics/x11-common/xserver-nodm-init.bb meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm+2 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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 xserver-nodm-init.

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.

Thanks,

Darren

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
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=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
Signature · 1 line
1.7.5.4