<?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>6862</bug_id>
          
          <creation_ts>2014-10-21 18:41:08 +0000</creation_ts>
          <short_desc>input subsystem testing</short_desc>
          <delta_ts>2025-07-03 14:47:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>  </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          <dependson>10604</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>bluelightning</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</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>46480</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-10-21 18:41:08 +0000</bug_when>
    <thetext>In order to identify issues with input, specifically keyboard, mouse, and touchpad/screen, we should consider adding some QA testing surrounding the Linux input and Xorg input drivers. These should include usability testing on both QEMU and yocto-bsp reference BSPs.

Tests need to be identified and possible written.

Automation should be considered wherever possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46541</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-10-23 14:56:06 +0000</bug_when>
    <thetext>Keyboard is relatively simple: inject key events in the X11 that is running qemu, and run a tool in the guest that knows what keys to expect.

Mouse is trickier: again inject mouse motion and clicks and see what the tool in the guest receives.  The catch here being that we&apos;d need to map from &quot;I want to click at 100x100 in the guest&quot; to the correct location in the X display (taking into account qemu location, window decoration size, etc).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49688</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-03-24 11:58:12 +0000</bug_when>
    <thetext>Yeah I didn&apos;t get any time to actually do this.  Moving to 1.9M2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60015</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-03-16 14:04:01 +0000</bug_when>
    <thetext>Thinking about this a bit more, the problems we&apos;ve been having can&apos;t be automated trivially as they&apos;re dependent on the qemu input device.  Lets start by ensuring that the manual test cases would catch all the input problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63589</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-07-01 16:46:25 +0000</bug_when>
    <thetext>In the device automation that is work in progress there are Human Interface Device emulators that can automate keyboard/mouse(no touchpad though) inputs to a device under test. having automated control of the HIDs and also controlling the application that runs on the device completes the loop for making this fully automated. 

If I am understanding correctly this ticket, a test case for this matter would input keyboard keystrokes and/or mouse movement/clicks and you would expect to see the entire sequence validated at the DUT. Please confirm.

If my assumptions are correct, we have a dependency on the device automation items which are targeted for the 2.2 M3 and release validation. That would make it a stretch to finalize a test case like this for that same time. But 2.3 M1 seems very feasible.

One other thing is that if this has been an area where a considerable number of issues have arisen then it could be considered having manual testing for this upcoming release, while the automated testing happens. Please advise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63956</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-13 23:40:34 +0000</bug_when>
    <thetext>So the background to this was that there were some kernel updates that had a bit of testing on real hardware and passed the AB, and nobody noticed until the next milestone that input under qemu was *entirely* broken.  Thus, the desire for automated testing which can be done on the autobuilder.  I admit that this goal isn&apos;t simple, and may not be feasible in a way that is actually useful.

The first step should be to ensure that the manual testing covers all cases: check that all mouse buttons are working, keyboard works fine, etc in both real hardware and qemu.

Subsequently performing remote control of real hardware would be good.

Rescheduling to 2.3 makes perfect sense to me given the scope of this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63996</commentid>
    <comment_count>6</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-07-14 19:18:02 +0000</bug_when>
    <thetext>Ack.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68688</commentid>
    <comment_count>7</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-11-29 17:27:10 +0000</bug_when>
    <thetext>depending on bug 10604, which is targeted for 2.3, leaves no time for this bug to be completed in the same release. Moving it to future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78552</commentid>
    <comment_count>8</comment_count>
    <who name="Libertad">libertad.gonzalez.de.la.cruz</who>
    <bug_when>2017-12-06 18:05:27 +0000</bug_when>
    <thetext>QA needs to analyse this from the begining</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>