<?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>5279</bug_id>
          
          <creation_ts>2013-09-26 14:03:04 +0000</creation_ts>
          <short_desc>usb mouse and keyboard don&apos;t work at liveboot on emenlow</short_desc>
          <delta_ts>2013-10-08 08:09:12 +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>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ada Solcan">ada-mihaela.solcan</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandrux.palalau</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>37241</commentid>
    <comment_count>0</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2013-09-26 14:03:04 +0000</bug_when>
    <thetext>meta-intel: 67b58a79279ad1beaf8dc0c68fb411f1d440abe4
poky: 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0
image: http://autobuilder03.jf.intel.com/pub/nightly-meta-intel/CURRENT/machines/emenlow/emenlow/core-image-sato-sdk-emenlow.hddimg

On liveboot from USB, keyboard and mouse doesn&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37252</commentid>
    <comment_count>1</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2013-09-26 14:20:35 +0000</bug_when>
    <thetext>Also when installing the system from USB the keyboard and mouse don&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37256</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-09-26 15:09:19 +0000</bug_when>
    <thetext>Nitin, can you determine if this is the result of Ross&apos;s recent xorg refactor?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37275</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-09-26 18:03:01 +0000</bug_when>
    <thetext>This happened on fri2 also. And reverting the Rosses&apos; xorg change fixes the issue.


Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37276</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-26 18:30:55 +0000</bug_when>
    <thetext>*Messed up*.  Can you replicating fixing it with a xorg.conf that just contains the input hotplug fragment?  If so, logs from both working and not working would be good.

I&apos;m about to disappear for a bit so don&apos;t have time to check the BSPs, but check that you&apos;ve the xf86-input-evdev driver installed too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37302</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-09-27 19:16:26 +0000</bug_when>
    <thetext>The issue is specific to X server, all of our EMGD &amp; noemgd bsps are broken due to this change. And all of these have older version of X. Rest of the BSPs like, sugerbay, nuc &amp; jasperforest are not broken.

I will send fixes for the broken BSPs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37303</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-27 20:40:07 +0000</bug_when>
    <thetext>Hm, check the xorg logs when it loads the drivers - it may be warning that module versions don&apos;t match.  This shouldn&apos;t happen since the driver ABI dependencies landed in 1.4, but you never know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37333</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-09-30 10:57:40 +0000</bug_when>
    <thetext>crownbay-noemgd has this problem too</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37382</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-10-01 07:24:59 +0000</bug_when>
    <thetext>Also, on FRI2 after install.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37443</commentid>
    <comment_count>9</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-10-01 19:00:25 +0000</bug_when>
    <thetext>diff of xorg logs:

--- Xorg.0.log.working.0        2013-09-27 12:32:41.886833352 -0700
+++ Xorg.0.log.broken.0 2013-09-27 12:32:28.204773752 -0700
@@ -13,15 +13,14 @@
  Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
- (==) Log file: &quot;/var/log/Xorg.0.log&quot;, Time: Fri Sep 27 18:33:13 2013
+ (==) Log file: &quot;/var/log/Xorg.0.log&quot;, Time: Fri Sep 27 18:35:08 2013
  (==) Using config file: &quot;/etc/X11/xorg.conf&quot;
  (==) Using system config directory &quot;/usr/share/X11/xorg.conf.d&quot;
  (==) ServerLayout &quot;Default Layout&quot;
  (**) |--&gt;Screen &quot;Default Screen&quot; (0)
  (**) |   |--&gt;Monitor &quot;Generic Monitor&quot;
  (**) |   |--&gt;Device &quot;gma500&quot;
- (**) Option &quot;AutoAddDevices&quot; &quot;False&quot;
- (**) Not automatically adding devices
+ (==) Automatically adding devices
  (==) Automatically enabling devices
  (==) Automatically adding GPU devices
  (WW) The directory &quot;/usr/share/fonts/X11/misc/&quot; does not exist.
@@ -39,12 +38,8 @@
  (==) FontPath set to:

  (==) ModulePath set to &quot;/usr/lib/xorg/modules&quot;
- (==) |--&gt;Input Device &quot;&lt;default pointer&gt;&quot;
- (==) |--&gt;Input Device &quot;&lt;default keyboard&gt;&quot;
- (==) The core pointer device wasn&apos;t specified explicitly in the layout.
-       Using the default mouse configuration.
- (==) The core keyboard device wasn&apos;t specified explicitly in the layout.
-       Using the default keyboard configuration.
+ (II) The server relies on udev to provide the list of input devices.
+       If no devices become available, reconfigure udev or disable AutoAddDevices.
  (II) Loader magic: 0x823db00
  (II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
@@ -91,18 +86,6 @@
        compiled for 1.14.0, module version = 0.8.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 14.1
- (II) LoadModule: &quot;mouse&quot;
- (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
- (II) Module mouse: vendor=&quot;X.Org Foundation&quot;
-       compiled for 1.14.0, module version = 1.9.0
-       Module class: X.Org XInput Driver
-       ABI class: X.Org XInput driver, version 19.1
- (II) LoadModule: &quot;kbd&quot;
- (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
- (II) Module kbd: vendor=&quot;X.Org Foundation&quot;
-       compiled for 1.14.0, module version = 1.7.0
-       Module class: X.Org XInput Driver
-       ABI class: X.Org XInput driver, version 19.1
  (II) modesetting: Driver for Modesetting Kernel Drivers: kms
  (--) using VT number 2

@@ -242,34 +225,7 @@
  (II) GLX: no usable GL providers found for screen 0
  (II) modesetting(0): Damage tracking initialized
  (II) modesetting(0): Setting screen physical size to 270 x 203
- (II) Using input driver &apos;mouse&apos; for &apos;&lt;default pointer&gt;&apos;
- (**) Option &quot;CorePointer&quot; &quot;on&quot;
- (**) &lt;default pointer&gt;: always reports core events
- (WW) &lt;default pointer&gt;: No Device specified, looking for one...
- (II) &lt;default pointer&gt;: Setting Device option to &quot;/dev/input/mice&quot;
- (--) &lt;default pointer&gt;: Device: &quot;/dev/input/mice&quot;
- (==) &lt;default pointer&gt;: Protocol: &quot;Auto&quot;
- (**) &lt;default pointer&gt;: always reports core events
- (**) Option &quot;Device&quot; &quot;/dev/input/mice&quot;
- (==) &lt;default pointer&gt;: Emulate3Buttons, Emulate3Timeout: 50
- (**) &lt;default pointer&gt;: ZAxisMapping: buttons 4 and 5
- (**) &lt;default pointer&gt;: Buttons: 9
- (II) XINPUT: Adding extended input device &quot;&lt;default pointer&gt;&quot; (type: MOUSE, id 6)
- (**) &lt;default pointer&gt;: (accel) keeping acceleration scheme 1
- (**) &lt;default pointer&gt;: (accel) acceleration profile 0
- (**) &lt;default pointer&gt;: (accel) acceleration factor: 2.000
- (**) &lt;default pointer&gt;: (accel) acceleration threshold: 4
- (II) &lt;default pointer&gt;: Setting mouse protocol to &quot;ExplorerPS/2&quot;
- (II) &lt;default pointer&gt;: ps2EnableDataReporting: succeeded
- (II) Using input driver &apos;kbd&apos; for &apos;&lt;default keyboard&gt;&apos;
- (**) Option &quot;CoreKeyboard&quot; &quot;on&quot;
- (**) &lt;default keyboard&gt;: always reports core events
- (**) &lt;default keyboard&gt;: always reports core events
- (**) Option &quot;Protocol&quot; &quot;standard&quot;
- (**) Option &quot;XkbRules&quot; &quot;base&quot;
- (**) Option &quot;XkbModel&quot; &quot;pc105&quot;
- (**) Option &quot;XkbLayout&quot; &quot;us&quot;
- (II) XINPUT: Adding extended input device &quot;&lt;default keyboard&gt;&quot; (type: KEYBOARD, id 7)
  (II) config/udev: Adding drm device (/dev/dri/card0)
  (II) config/udev: Adding input device USB Keyboard (/dev/input/mouse0)
- (II) AutoAddDevices is off - not adding device.
+ (II) No input driver specified, ignoring this device.
+ (II) This device may have been added with another device file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37444</commentid>
    <comment_count>10</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-10-01 19:17:05 +0000</bug_when>
    <thetext>  (II) config/udev: Adding input device USB Keyboard (/dev/input/mouse0)
  (II) No input driver specified, ignoring this device.

Huh. Now I&apos;ve seen that before which is totally annoying.  Broken udev, iirc.  Pinging a friend.

Can you verify that the evdev, mouse and keyboard xf86-input drivers are installed in the image?  A full broken xorg log would be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37445</commentid>
    <comment_count>11</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-10-01 21:58:31 +0000</bug_when>
    <thetext>I noticed that the target image does not have the evdev kernel driver, which provides the /dev/input/event* device files, which xserver is looking for.

Adding this to kernel config gets the event files, and fixes the issue.

CONFIG_INPUT_EVDEV=y</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37590</commentid>
    <comment_count>12</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-10-03 19:42:18 +0000</bug_when>
    <thetext>These commits in meta-intel repo fixes the issue.

0484d58 emenlow: linux-yocto v3.8 &amp; v3.10 update srcrevs
4517528 crownbay: linux-yocto v3.8 &amp; v3.10 update srcrevs
6d0fc50 fri2: linux-yocto v3.8 &amp; v3.10 update srcrevs
3bf806b sys940x: linux-yocto v3.8 &amp; v3.10 update srcrevs
4721ab3 sugarbay: linux-yocto v3.8 &amp; v3.10 update srcrevs
88e5a61 jasperforest: linux-yocto v3.8 &amp; v3.10 update srcrevs
6f003a9 chiefriver: linux-yocto v3.8 &amp; v3.10 update srcrevs
a1138af nuc: linux-yocto v3.8 &amp; v3.10 update srcrevs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37731</commentid>
    <comment_count>13</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2013-10-08 08:09:12 +0000</bug_when>
    <thetext>Verified on emenlow</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>