From owner-freebsd-x11@freebsd.org Mon May 27 01:31:17 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 7490F15B6354 for ; Mon, 27 May 2019 01:31:17 +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 C5A2E76786 for ; Mon, 27 May 2019 01:31:15 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Mon, 27 May 2019 01:31:13 +0000 Received: from [192.168.2.155] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 4B148532-A00C-4834-95EF-086698D7BEF1.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 27 May 2019 01:31:12 +0000 Date: Mon, 27 May 2019 04:31:08 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <1558889689.59447.0@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: sway and libinput initialization failed To: Grzegorz Junka CC: freebsd-x11@freebsd.org From: Greg V Message-ID: <2E74BE3C-43D2-42C4-82F7-204B30F08D9E@unrelenting.technology> DKIM-Signature: v=1; a=rsa-sha256; bh=18Otv36bv9+4OAAYF7+tAtIOBSQ3DDXL2+bCYU6yNZE=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=RwSktsuAKlzUaBwKF6bYnJlPxbtQz4IG8X/76dufrg81IPdUZW+aM/YFgP8kybqYvZL05xd6Lgto7Y0JGTmpY+5o39/FFYPu6ngJcxuuXlbLkBiPlGAVE5d8OYvCeYWGEIWHXlH35gsADToAq8JuD8Uv9obUap2IcfE6IH+NYTw= X-Rspamd-Queue-Id: C5A2E76786 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=RwSktsuA; 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.61 / 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)[]; MX_GOOD(-0.01)[cached: aspmx1.migadu.com]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.61)[ip: (-9.89), ipnet: 91.121.0.0/16(-4.33), asn: 16276(1.16), 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: Mon, 27 May 2019 01:31:17 -0000 On May 27, 2019 3:48:33 AM GMT+03:00, Grzegorz Junka w= rote: > >On 26/05/2019 17:54, Greg V wrote: >> >> >> 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=2Ee=2E both screens show the SWAY background, date= s=20 >>> are displayed, etc=2E But of course neither mouse no keyboard work=2E = My > >>> motherboard is Asrock X470 TaiChi Ultimate and mouse and keyboard >are=20 >>> connected through USB3=2E >> >> hi, >> >> 12=2E0-RELEASE does not have EVDEV_SUPPORT enabled out of the box :( so > >> all the drivers not developed for evdev specifically (e=2Eg=2E wmt is, >but=20 >> ums/ukbd/psm/atkbd/etc aren't) do not have evdev support=2E >> >> IIRC, it's on by default in -STABLE, and it will be in 12=2E1-RELEASE= =2E >> >> You have to either switch to a -STABLE snapshot kernel or rebuild a=20 >> -RELEASE kernel with options EVDEV_SUPPORT=2E (or switch to -CURRENT of > >> course :D) >> >> Also it's a good idea to set sysctl kern=2Eevdev=2Ercpt_mask=3D12 to ma= ke=20 >> sure you get events from individual devices instead of the=20 >> virtual/multiplexed things=2E >> >> >Many thanks Greg=2E Would it be the same reason why I don't see=20 >mouse/keyboard enabled during normal X11 session? See my other post=2E I= =20 >installed KDE and do startx=2E Keyboard and mouse work fine in the >console=20 >mode but as soon as KDE launches the mouse is no longer working=2E I >guess=20 >the X11 server uses the amdgpu driver which may somehow disable input=20 >devices because of EVDEV? Is that assumption correct? And if yes, would > >using a generic CPU-powered graphics solve the keyboard/mouse issue? No, input is independent of graphics=2E Xorg supports the legacy FreeBSD interfaces, you can check the xorg log an= d xinput list to see if there's any mouse related error, but that's very st= range, USB mouse under Xorg has been a very typical situation for ages=2E I= actually don't remember how device autodetection worked on Xorg with mouse= d and whatnot, I've been using Wayland exclusively for over a year now=2E