Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp821852ybl; Wed, 11 Dec 2019 08:02:43 -0800 (PST) X-Google-Smtp-Source: APXvYqwR40ycV5ahl5Qmw3a8LJV9kJARssyUjiEi2Eyug+jb8xdhPXxdhOxp4/e+rlqxTZQs1DWn X-Received: by 2002:a05:6830:1e5a:: with SMTP id e26mr2638067otj.351.1576080163574; Wed, 11 Dec 2019 08:02:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576080163; cv=none; d=google.com; s=arc-20160816; b=U1k7Gueg9IyjPT+XPiewt0zcc4ibBtgSapMYan+MY0Yx89bi3pNO/HfcwozZaPWgKy b0V4wxsqcL9VcXPf01wIi3KMqrN0kGHfNF4IMCA0BNlw34BZ+twYijfmgqb2O+oLtjyg D5riVJ+Kf9ZO75FjGGU82QWobOkGzpFagAcOgz2p2l7ocekfviXFlS9EigefgJRfL5gC tOpzHpPZFFy8gPW/+KJBMwD40e56/NOfnvQIpE7m+uGgpDCZ5AFFTp5C07os3JyMvrbz DYBv429BCmMT09KfY8JOyNYSDpOgpkB6wO7mU7OmSU2GxPPH68k0Hx9qanCy13jU2FUo 90Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jPBPEQBKn0KPGRxq9U9WftUvJ8oNN0FuzMLyDeAtv1I=; b=BdovljA94DilU0vKpQPfs9QcKyliabwJZNSpn7knIcaSW5zQvNZpHi8v3FYKZhjUxW R12qRA4D591mnZ4q3leAZ8tZliVDlkqsi/WY6PSU6w/eb7hgWimWdKYN+qIm7zRi0n5e giWdxSiP4hoUds1l7zm9a1LSYsEGEimapu3C3IHCOEOwADqlQwzLoKOBUo8OaSFK+w/d 3MRuIVQLgBHDVKbE20mb2ht20jyLBVBH6PNkoFr8X9vb5ZzLBpubi8Mz5njGqTHLM2xk LISKnbx4lIaPhJLXHBCKv9llYhSVKF6hFz1KxPV+TbIhlZd7AO8u2YA8RQZ1plF/OWDL b0FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UCoPruJg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si1343322otq.95.2019.12.11.08.02.24; Wed, 11 Dec 2019 08:02:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UCoPruJg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387497AbfLKQBL (ORCPT + 99 others); Wed, 11 Dec 2019 11:01:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:37374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731454AbfLKPNg (ORCPT ); Wed, 11 Dec 2019 10:13:36 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 744F824654; Wed, 11 Dec 2019 15:13:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576077215; bh=m2FDG6Fw3Fq/ydclieVj27dDUEt6I8X68OhLjNVJiCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UCoPruJgKoEp9nLMi+lKgQUFDe0dbpjX3jCmmTOyKpMty0QJiacVKGEt7MTFa3lDs FIlyl521A26LOA+2I1+I7+ADfq118+055ss4tAFwFqOyamr/OYW3MfL/oJ9pggBM9P GWqOn96lp8krYk1ERde9EK9KdM1AgO02Gsuusk4c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Young , Mauro Carvalho Chehab Subject: [PATCH 5.3 061/105] media: rc: mark input device as pointing stick Date: Wed, 11 Dec 2019 16:05:50 +0100 Message-Id: <20191211150245.940231429@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191211150221.153659747@linuxfoundation.org> References: <20191211150221.153659747@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Young commit ce819649b03d932dc19b0cb6be513779bf64fad3 upstream. libinput refuses pointer movement from rc-core, since it believes it's not a pointer-type device: libinput error: event17 - Media Center Ed. eHome Infrared Remote Transceiver (1784:0008): libinput bug: REL_X/Y from a non-pointer device Fixes: 158bc148a31e ("media: rc: mce_kbd: input events via rc-core's input device") Fixes: 0ac5a603a732 ("media: rc: imon: report mouse events using rc-core's input device") Cc: stable@vger.kernel.org # 4.20+ Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/rc/rc-main.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -1773,6 +1773,7 @@ static int rc_prepare_rx_device(struct r set_bit(MSC_SCAN, dev->input_dev->mscbit); /* Pointer/mouse events */ + set_bit(INPUT_PROP_POINTING_STICK, dev->input_dev->propbit); set_bit(EV_REL, dev->input_dev->evbit); set_bit(REL_X, dev->input_dev->relbit); set_bit(REL_Y, dev->input_dev->relbit);