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

login
register
mail settings
Submitter Darren Hart
Date April 2, 2013, 10:42 p.m.
Message ID <cover.1364942359.git.dvhart@linux.intel.com>
Download mbox
Permalink /patch/47303/
State New
Headers show

Pull-request

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

Comments

Darren Hart - April 2, 2013, 10:42 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
xserver-nodm-init.

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

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: 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 ++-
 meta/recipes-core/udev/udev/local.rules            |    2 +
 meta/recipes-core/udev/udev_182.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
Ross Burton - April 3, 2013, 8:09 a.m.
On Tuesday, 2 April 2013 at 23:42, Darren Hart wrote:
> udev: Add rule adding input devices to input group

Please put this in udev-extraconf so that systemd's udev can use it too.

Ross
Darren Hart - April 3, 2013, 3:54 p.m.
On 04/03/2013 01:09 AM, Ross Burton wrote:
> On Tuesday, 2 April 2013 at 23:42, Darren Hart wrote:
>> udev: Add rule adding input devices to input group
> 
> Please put this in udev-extraconf so that systemd's udev can use it too.

OK, will do.
Darren Hart - April 3, 2013, 6:37 p.m.
On 04/03/2013 01:09 AM, Ross Burton wrote:
> On Tuesday, 2 April 2013 at 23:42, Darren Hart wrote:
>> udev: Add rule adding input devices to input group
> 
> Please put this in udev-extraconf so that systemd's udev can use it too.

Do you mean instead of udev? I didn't see udev-extraconf in the package
built for core-image-sato for atom-pc...
Darren Hart - April 3, 2013, 6:39 p.m.
On 04/03/2013 11:37 AM, Darren Hart wrote:
> On 04/03/2013 01:09 AM, Ross Burton wrote:
>> On Tuesday, 2 April 2013 at 23:42, Darren Hart wrote:
>>> udev: Add rule adding input devices to input group
>>
>> Please put this in udev-extraconf so that systemd's udev can use it too.
> 
> Do you mean instead of udev? I didn't see udev-extraconf in the package
> built for core-image-sato for atom-pc...

Uh, never mind me, looking in the arch dir instead of the all dir.
Nothing to see here, move it along...
Ross Burton - April 3, 2013, 6:41 p.m.
On 3 April 2013 19:37, Darren Hart <dvhart@linux.intel.com> wrote:
>>> udev: Add rule adding input devices to input group
>>
>> Please put this in udev-extraconf so that systemd's udev can use it too.
>
> Do you mean instead of udev? I didn't see udev-extraconf in the package
> built for core-image-sato for atom-pc...

Yes, udev-extraconf is in recipes-core/udev/ and is where the
automount helpers go, so it's recommended by both traditional udev and
systemd's udev already.

Ross