From owner-freebsd-x11@freebsd.org Sun May 26 16:56:07 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF62715AB240 for ; Sun, 26 May 2019 16:56:07 +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 350758D74E for ; Sun, 26 May 2019 16:56:05 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sun, 26 May 2019 16:54:52 +0000 Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 0432B388-3BCB-473D-9D9B-E489099BB5E3.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sun, 26 May 2019 16:54:52 +0000 Date: Sun, 26 May 2019 19:54:49 +0300 From: Greg V Subject: Re: sway and libinput initialization failed To: Grzegorz Junka Cc: freebsd-x11@freebsd.org Message-Id: <1558889689.59447.0@unrelenting.technology> In-Reply-To: References: X-Mailer: geary/0.13.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed DKIM-Signature: v=1; a=rsa-sha256; bh=WIhDRp/1RpaQZRuuwX9w0+AOgEExeYs4sILxG66TSd8=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=MnOrZtsEMfvWcFZmkrjTe66x92bdL+PSSFov67ysihjKEL33dQL1Wwd+WCCHiuzEii3SsdxVq1AIVYEJSZ7vI+WEBlEn8e+cBJN9nh3L3skhg0dtpy6exAfL2hqlIS+ZMGcWghHNTmzBgmo8owVsnDwERHF4q9jx/AXW0oZvuYg= X-Rspamd-Queue-Id: 350758D74E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=MnOrZtsE; 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 [-6.57 / 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]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; 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]; MX_GOOD(-0.01)[aspmx1.migadu.com,aspmx2.migadu.com]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.61)[ip: (-9.89), ipnet: 91.121.0.0/16(-4.32), asn: 16276(1.17), country: FR(-0.01)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] 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, 26 May 2019 16:56:08 -0000 On Sun, May 26, 2019 at 5:09 PM, Grzegorz Junka wrote: > When I set WLR_LIBINPUT_NO_DEVICES to 1, as suggested, sway seems to > be starting fine, i.e. both screens show the SWAY background, dates > are displayed, etc. But of course neither mouse no keyboard work. My > motherboard is Asrock X470 TaiChi Ultimate and mouse and keyboard are > connected through USB3. hi, 12.0-RELEASE does not have EVDEV_SUPPORT enabled out of the box :( so all the drivers not developed for evdev specifically (e.g. wmt is, but ums/ukbd/psm/atkbd/etc aren't) do not have evdev support. IIRC, it's on by default in -STABLE, and it will be in 12.1-RELEASE. You have to either switch to a -STABLE snapshot kernel or rebuild a -RELEASE kernel with options EVDEV_SUPPORT. (or switch to -CURRENT of course :D) Also it's a good idea to set sysctl kern.evdev.rcpt_mask=12 to make sure you get events from individual devices instead of the virtual/multiplexed things.