<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4164</bug_id>
          
          <creation_ts>2013-04-01 12:51:39 +0000</creation_ts>
          <short_desc>usb mouse and keyboard don&apos;t work at liveboot on atom-pc</short_desc>
          <delta_ts>2013-11-18 15:05:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4 M6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31323</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-04-01 12:51:39 +0000</bug_when>
    <thetext>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&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31395</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-02 21:22:25 +0000</bug_when>
    <thetext>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 &quot;event&quot;
[3430478.394] (EE) evdev: Power Button: Unable to open evdev device
&quot;/dev/input/event2&quot;.
[3430478.398] (EE) evdev: Video Bus: Unable to open evdev device
&quot;/dev/input/event3&quot;.
[3430478.401] (EE) evdev: Power Button: Unable to open evdev device
&quot;/dev/input/event1&quot;.
[3430478.410] (EE) evdev: HP HP Wireless Mini Keyboard: Unable to open
evdev device &quot;/dev/input/event5&quot;.
[3430478.414] (EE) evdev: HP HP Wireless Mini Keyboard: Unable to open
evdev device &quot;/dev/input/event6&quot;.
[3430478.421] (EE) evdev: AT Translated Set 2 keyboard: Unable to open
evdev device &quot;/dev/input/event4&quot;.
[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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31396</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-02 21:23:55 +0000</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31398</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-02 22:14:42 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31400</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-02 22:40:49 +0000</bug_when>
    <thetext>Patch sent to oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31620</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-05 17:20:51 +0000</bug_when>
    <thetext>commit 12c9f9a83572423185455dbfee5d2083cbf826df
Author: Darren Hart &lt;dvhart@linux.intel.com&gt;
Date:   Wed Apr 3 12:49:41 2013 -0700

    xserver-nodm-init: Add xuser to input group</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31801</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-04-10 09:12:35 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; commit 12c9f9a83572423185455dbfee5d2083cbf826df
&gt; Author: Darren Hart &lt;dvhart@linux.intel.com&gt;
&gt; Date:   Wed Apr 3 12:49:41 2013 -0700
&gt; 
&gt;     xserver-nodm-init: Add xuser to input group

Will verify this on the next release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38867</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-11-18 15:05:07 +0000</bug_when>
    <thetext>Verified - obsolete</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>