From owner-freebsd-questions@freebsd.org Thu Mar 25 16:55:52 2021 Return-Path: Delivered-To: freebsd-questions@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 824DE5C414E for ; Thu, 25 Mar 2021 16:55:52 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5rpH4vmtz3sYw for ; Thu, 25 Mar 2021 16:55:51 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 12PGtk5p067690 for ; Thu, 25 Mar 2021 12:55:46 -0400 (EDT) (envelope-from doug@safeport.com) Date: Thu, 25 Mar 2021 12:55:46 -0400 (EDT) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: Xorg/Lenovo/drm revisited Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Thu, 25 Mar 2021 12:55:47 -0400 (EDT) X-Rspamd-Queue-Id: 4F5rpH4vmtz3sYw X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-2.62 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.74.231.101:from]; NEURAL_HAM_MEDIUM(-0.87)[-0.867]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[198.74.231.101:from:127.0.2.255]; DMARC_NA(0.00)[safeport.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.66)[-0.657]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 16:55:52 -0000 I recently tried to update my Ideapad to 12.2 turning it into a paperweight. 13.0 solved that. So I upgraded two Dell towers and an old HP laptop to 12.2 all working [almost] without a hitch. None of these systems recognize double-click as paste in xterm or on the xfce desktop. The latter is almost irrelevant as that is supposed to list all windows on all desktops (I have 8). Having to drop the mouse and do shift-insert is annoying but almost a "who cares". My question involves trying to fix that. After many attempts I did a `Xorg -configure`, lifted the mouse device section and added `Option "Emulate3Buttons" "true"` putting that in /usr/local/etc/X11/xorg.conf.d. This resulted in the hardware not recognizing the mouse or keyboard. Neither deleting the xorg.conf.d entry or changing rc.conf to specify ums0 worked. startx started X with no mouse or keyboard. The only error I could find in message was /dev/psm0 could not be opened. Reinstalling was the only thing (I could find) that worked. The system uses ums0. xinput: System mouse id=7 [slave pointer (2)] ps : /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0. Xorg.0.log: [474.691] (**) Option "config_info" "udev:/dev/input/event1" [474.691] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 7) [474.691] (**) Option "AccelerationScheme" "none" Can't open psm0 is written to the console during boot but not logged. All of this for two questions: 1) what change from the xorg.conf.d entry could stop the system from working after it was removed? 2) does double-click work for most, or is my result the current norm? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277