From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 101FC60620 for ; Thu, 16 Jun 2016 08:43:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u5G8hh92005989; Thu, 16 Jun 2016 09:43:43 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zeIqqw68Mj41; Thu, 16 Jun 2016 09:43:43 +0100 (BST) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u5G8heTb005986 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 16 Jun 2016 09:43:41 +0100 Message-ID: <1466066620.13979.256.camel@linuxfoundation.org> From: Richard Purdie To: "Maxin B. John" Date: Thu, 16 Jun 2016 09:43:40 +0100 In-Reply-To: <20160616080546.GA12991@mbabyjoh-desk.ger.corp.intel.com> References: <1465996380-32444-1-git-send-email-maxin.john@intel.com> <1465996380-32444-4-git-send-email-maxin.john@intel.com> <1466009898.13979.230.camel@linuxfoundation.org> <20160616080546.GA12991@mbabyjoh-desk.ger.corp.intel.com> X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 4/4] pointercal-xinput: add a dummy calibration file for qemu X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 08:43:47 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2016-06-16 at 11:05 +0300, Maxin B. John wrote: > Hi RP, > > On Wed, Jun 15, 2016 at 05:58:18PM +0100, Richard Purdie wrote: > > On Wed, 2016-06-15 at 16:13 +0300, Maxin B. John wrote: > > > In qemu, the emulated PS/2 mouse reports itself as an "absolute > > > coordinate" > > > 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. > > > > > > [YOCTO #8380] > > > > > > Signed-off-by: Maxin B. John > > > Signed-off-by: Jussi Kukkonen > > > > This doesn't sound right. In qemu, we add a usb touchpad which > > allows > > absolute coordinate entry, which means qemu doesn't have to grab > > the > > mouse. > > > > Are there two devices? A mouse shouldn't be seen as an absolute > > coordinate device. > > Yes, both qemu monitor and xinput_calibrator in target shows two > devices: > > (qemu) info mice > Mouse #2: QEMU PS/2 Mouse > * Mouse #3: QEMU HID Tablet (absolute) > > # xinput_calibrator --list > Device "QEMU QEMU USB Tablet" id=8 > Device "ImExPS/2 Generic Explorer Mouse" id=9 So with these patches, are we still calibrating the tablet input? pointercal ships default calibrations for that under the current setup but those likely aren't compatible with xinput and we'd need the same thing but for xinput here? Cheers, Richard