From owner-freebsd-x11@freebsd.org Sun Oct 6 10:32:13 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5024313928D for ; Sun, 6 Oct 2019 10:32:13 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46mKfz3tG1z40W5 for ; Sun, 6 Oct 2019 10:32:10 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sun, 06 Oct 2019 10:32:08 +0000 Received: from [192.168.1.155] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id F7A3B42D-3957-4477-A1FC-874C46982783.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sun, 06 Oct 2019 10:32:03 +0000 Date: Sun, 06 Oct 2019 13:31:59 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <300f65b7469c608ad4cd32a9ad6c41d6@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Xorg with evdev input devices To: Vasily Postnicov CC: freebsd-x11@freebsd.org From: Greg V Message-ID: DKIM-Signature: v=1; a=rsa-sha256; bh=J7R8TokiX9kwu6ccEeJ2ZPp0AjUffjwSJVioNqNWqo0=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=PAjG2h7VrCq6VJQZ+Ex66ZOGLuO39vDZEE/HESqfaS49QQH3TqYAc4cmfkyCgEWSruM2haV+OkVIUgpP8NjzssSCmPax8HFzdEOO5mMWdJenYsAjThKUbenPy7BroFC9GZcYMD9EBgj8MUQDt2oHdbkkStkzLJIOVxQWWyJoKt8= X-Rspamd-Queue-Id: 46mKfz3tG1z40W5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=PAjG2h7V; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-5.55 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.55)[ip: (-9.84), ipnet: 91.121.0.0/16(-4.39), asn: 16276(1.50), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Oct 2019 10:32:13 -0000 On October 6, 2019 8:03:57 AM GMT+03:00, Vasily Postnicov wrote: >Today it's again libinput failure;) It seems there is some >communication >between sway and consolekit2: https://pastebin=2Ecom/5ARuVNQT > >To make sure libinput backend is not loaded I set WLR_BACKENDS to >"drm"=2E I'm not sure if that actually disables libinput, and you don't need to do = this anyway=2E >Here is the output of sway -dV: https://pastebin=2Ecom/Z14QJwV4=2E >You can see the following line at the beginning of this log: >> 2019-10-06 07:51:22 - [backend/session/consolekit2=2Ec:833] >Successfully >loaded consolekit2 session >But mouse and keyboard do not work when sway is started=2E Ah I see, it does TakeDevice then ReleaseDevice instantly=2E Are you seeing messages in sway output that say something about e=2Eg=2E a= mouse not being tagged as a mouse etc=2E? I don't remember if I said this in the original post, but you need to have= the kern=2Eevdev=2Einput sysctls (they're not there yet in 12=2E0, but sho= uld be in 12=2E1) and an up to date libudev-devd (from github=2Ecom/FreeBSD= Desktop) that uses them=2E