<?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>8380</bug_id>
          
          <creation_ts>2015-09-23 09:04:58 +0000</creation_ts>
          <short_desc>multiple pointer devices in qemu</short_desc>
          <delta_ts>2016-08-26 08:07:32 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>2.2</target_milestone>
          
          <blocked>9365</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Maxin B. John">maxin.john</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</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>54507</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-09-23 09:04:58 +0000</bug_when>
    <thetext>qemu used to disable the emulated mouse when tablet emulation was enabled (as we do with &quot;-usbdevice wacom-tablet&quot;). The documentation still claims this should happen but it seems to have stopped working.

In qemu monitor:
| (qemu) info mice
|   Mouse #2: QEMU PS/2 Mouse
| * Mouse #3: QEMU PenPartner tablet (absolute)

Likewise with xinput_calibrator on target:
| # xinput_calibrator --list
| Device &quot;Wacom Penpartner Pen&quot; id=8
| Device &quot;ImExPS/2 Generic Explorer Mouse&quot; id=9


This seems to lead to a few problems:
* xinput_calibrator shows up on every boot of core-image-sato: it&apos;s trying to calibrate the emulated mouse which doesn&apos;t make sense to begin with and won&apos;t work
* There&apos;s a weird delay after booting when the mouse clicks don&apos;t do anything for 10 secs or so (could also be unrelated)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54509</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-09-23 09:42:24 +0000</bug_when>
    <thetext>Can you look into this further?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54513</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-09-23 10:31:53 +0000</bug_when>
    <thetext>Sure, I&apos;ll try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54988</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-10-06 12:33:23 +0000</bug_when>
    <thetext>First: xinput_calibrator apparently isn&apos;t part of any images we test regularly (like I originally thought) so this isn&apos;t too critical.


The two pointer devices have probably really been there all the time: the problem is that the emulated PS/2 mouse reports itself as an &quot;absolute coordinate&quot; device in XListInputDevices() and that makes xinput_calibrator rightly think it could be calibrated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55450</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-19 16:05:48 +0000</bug_when>
    <thetext>Jussi&apos;s investigation shows this to be deeper than expected.  Moving to 2.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56576</commentid>
    <comment_count>5</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-11-18 12:47:51 +0000</bug_when>
    <thetext>I don&apos;t think this is medium+ (we already moved it from 2.0 to 2.1 so I think that proves it)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62498</commentid>
    <comment_count>6</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-05-27 10:57:42 +0000</bug_when>
    <thetext>Note to self and Maxin:
Koens commit on xinput-calibrator recipe means xinput_calibrator_once.sh may now be run from both Xsession.d and autostart -- need to make sure this isn&apos;t a problem or fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63001</commentid>
    <comment_count>7</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-06-15 13:41:38 +0000</bug_when>
    <thetext>Updated the work-around patch and sent it to oe-core ml:

http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122856.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65550</commentid>
    <comment_count>8</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-08-26 08:06:28 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4f31b121310f3a38e1183b58b7a06d7a5550b38d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65551</commentid>
    <comment_count>9</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-08-26 08:07:32 +0000</bug_when>
    <thetext>In qemu, the emulated PS/2 mouse reports itself as an &quot;absolute coordinate&quot;
device and that makes xinput_calibrator think it could be calibrated.

Add a dummy calibration file as a work around to prevent xinput_calibrator from popping up on every boot in qemu.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>