From owner-freebsd-x11@freebsd.org Sat Dec 5 16:10:26 2020 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 2151D47F4C7 for ; Sat, 5 Dec 2020 16:10:26 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CpF0d19yGz3trw for ; Sat, 5 Dec 2020 16:10:24 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm1-x336.google.com with SMTP id 3so9650207wmg.4 for ; Sat, 05 Dec 2020 08:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=b0mHh6FNnJ6lsWWkG265J+hx9mfha05s1AaFO3IFGNs=; b=mn+ZXu/OLMetaq3zoO9LQB/YlWswAUmMtCFiBLyD2juT2vM3aexDnTRjOPhGlOKlqv Gtfz923QpRF4it62R042bh4ktnUqdVM9QfRm5PtXqGQFPLcjbDZxXLmFM//z6stueELt uWU31iR7YfCnCHbk0sJPqLpNtnEgYZis1FRNMtmaK3+qtCLcE5KdwlT0TXWx29xC22cG BPFszQXvkteCjKVTDtRktLLfTHvcw03axl12eZDROdqPo2B/+ZfWV/FQKKJdLlcDfz3f 2zVjvMNkQzF4KDwD+1Tf9d9m1Bz7AvVB7KamE7ezX/BAxJ5VuWlanMWjG+Gp2RPhlXRS h1qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=b0mHh6FNnJ6lsWWkG265J+hx9mfha05s1AaFO3IFGNs=; b=GqxxrDcQj+7xKjXDALrNfM4Hf/OxDl0FkuZcTAtzLLfig83qoov88fBO7UYEq2u8YU FOy3JweUolqyW5t3TJ11IhZiV2KeueWanHPITu2FAfEMEiGAt++ghOKRbKZpl8Jzpn0J LbI7EmIQ4x4zK05VZwh+LwkdKHuhq9bYGWfWmZ8kK0cutJV04K15YscUP8pVtLZq4tZ0 gHq7QrPURnuqESDH4EfP8WmxM56hguCmNbpXFVttaCAGVBpcOYhR8ztHDpzVXHMLeva7 dwnooh93LA8S8BCxggBhWWbW3c1tK0BZSky0t2P7fKg2RJ8OdDZ+HOqrAyERHBXMlXt8 qPvg== X-Gm-Message-State: AOAM530Xq1tXSsHcsCKRFJy/8ZaL6F+H72tDbJmqOGnmZRt3yDO7R/FA 22OXtBT/r71urydA4NVRX6/bYd3JvwE= X-Google-Smtp-Source: ABdhPJwfsAMGk1Ze+NLVwZFcFCt0KFc6HtRQFOZU4oIlIcr53/pp4XLVzsuvAdqclq48c2l3X1Y6tQ== X-Received: by 2002:a1c:1d85:: with SMTP id d127mr9718009wmd.39.1607184622993; Sat, 05 Dec 2020 08:10:22 -0800 (PST) Received: from ernst.home (p5b02350e.dip0.t-ipconnect.de. [91.2.53.14]) by smtp.gmail.com with ESMTPSA id y7sm7561394wmb.37.2020.12.05.08.10.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 08:10:22 -0800 (PST) Date: Sat, 5 Dec 2020 17:10:20 +0100 From: Gary Jennejohn To: Vladimir Kondratyev Cc: freebsd-x11@freebsd.org Subject: Re: Xorg (latest from ports) and no mouse movement Message-ID: <20201205161020.141efcf5@ernst.home> In-Reply-To: <56a68baa-fec7-6610-5d24-6159b75927ab@kondratyev.su> References: <20201205114354.GA3814@c720-r342378> <20201205115850.GA4689@c720-r342378> <56a68baa-fec7-6610-5d24-6159b75927ab@kondratyev.su> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4CpF0d19yGz3trw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mn+ZXu/O; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::336 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-3.84 / 15.00]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.84)[-0.843]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::336:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[91.2.53.14:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; FREEMAIL_REPLYTO(0.00)[gmail.com]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::336:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::336:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2020 16:10:26 -0000 On Sat, 5 Dec 2020 16:45:00 +0300 Vladimir Kondratyev wrote: > On 05.12.2020 14:58, Matthias Apitz wrote: > > El d__a s__bado, diciembre 05, 2020 a las 12:43:54p. m. +0100, Matthias Apitz escribi__: > > > >> > >> Hello, > >> > >> I'm setting up a new system on amd64 CURRENT (r368166) with ports from > >> November 30, compiled all with poudriere. > >> > >> The Xorg is started with 'startx' and .xserverrc has: > >> > >> exec X -retro -logverbose 6 > >> > >> and .xinitrc says only (to simplify the problem): > >> > >> xterm -fn 10x20 > >> > >> X11 comes up, starts the xterm but no mouse movement is working. > >> > >> Without X11 the mouse moves fine by the moused as: > >> > >> /usr/sbin/moused -p /dev/cyapa0 -t ps/2 > >> > >> About the mouse the Xorg log has: > > > > Additional information: attaching an USB mouse works fine, i.e. the > > problem is only with the touchpad. > > > > matthias > > > >> root@c720-r368166:~ # grep mouse /var/log/Xorg.0.log > >> [ 6260.470] (II) config/udev: Adding input device System mouse (/dev/input/event0) > >> [ 6260.470] (**) System mouse: Applying InputClass "evdev pointer catchall" > >> [ 6260.470] (**) System mouse: Applying InputClass "libinput pointer catchall" > >> [ 6260.474] (II) Using input driver 'libinput' for 'System mouse' > >> [ 6260.474] Option "name" "System mouse" > >> [ 6260.475] (**) System mouse: always reports core events > >> [ 6260.479] (II) event0 - System mouse: is tagged by udev as: Mouse > >> [ 6260.479] (II) event0 - System mouse: device is a pointer > >> [ 6260.480] (II) event0 - System mouse: device removed > >> [ 6260.480] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6) > >> [ 6260.481] (**) System mouse: (accel) selected scheme none/0 > >> [ 6260.481] (**) System mouse: (accel) acceleration factor: 2.000 > >> [ 6260.481] (**) System mouse: (accel) acceleration threshold: 4 > >> [ 6260.482] (II) event0 - System mouse: is tagged by udev as: Mouse > >> [ 6260.482] (II) event0 - System mouse: device is a pointer > >> [ 6278.765] (II) event0 - System mouse: device removed > >> > >> What is missing? > >> > Try attached untested patch. Shouldn't this line in the patch /* Postpone start of the polling thread until sleep is available */ if (config_intrhook_establish(&sc->intr_hook) != 0) { + evdev_free(sc->evdev); mtx_destroy(&sc->mutex); return (ENOMEM); } also have #ifdef EVDEV_SUPPORT .. #endif around it? -- Gary Jennejohn