From owner-freebsd-questions@freebsd.org Mon Apr 13 10:50:52 2020 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 980A72BA43E for ; Mon, 13 Apr 2020 10:50:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49154q4Lgnz4RSr for ; Mon, 13 Apr 2020 10:50:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.161.78]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MsZ7T-1j9S7v3Zgh-00u0si; Mon, 13 Apr 2020 12:50:48 +0200 Date: Mon, 13 Apr 2020 12:50:47 +0200 From: Polytropon To: mbj@mbjnet.dk Cc: Morten Bo Johansen via freebsd-questions , Morten Bo Johansen Subject: Re: Touchpad stopped working after pgk upgrade Message-Id: <20200413125047.31bd4872.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:rmXuZ/gmVjenq3WIytd/9NvDDPdnS7aevtoTtiInvh7SDhwDdsr CsGsveUWIRQfuxTqt4mRlGABiuiIvnmTv4dJlOWhoxhnqwYx9vW65I9n9o25Yp4aV7jQwfE kaoxnDxmfpKpOlBudkAVENyoA0Xi5ytlvz1rgJDU/PkNl1XYbFKcQy6OSu1O8FMPQ3kp6iA vwd9uj4e5oIUZdZe23n6Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:enToZRlpTWY=:mQ3YBagkDXZ9VKVv3mywg6 jVrNHEUi7anXTu49oj/nwNEkevznKRcPmLqaZLrVTuHiaNN6yk/PqSnwoq1QR8/7fF3hy1Fug NOWPct4mbwvYk63mAvwy46swoYuAqowrNUf4fCvFS38bYf/hYyXupjoMUZJVa9qG1Ej8E+w8e pQnlYXREXNajGoVGZVTv3qv82/p6KUCD15jWenVMFinhe9jjQeR7nI/nDJWyGTxYbAoe8zm+a QDKDMi7TbDPEWld1HLB/0TC47FVTEO+kHglsnQUoG15RHNdDse7VUXiym6wxg7YMjMVQgihF0 z3im588XpQIMDprYveEXJEHB/VkK6i2NTMhmh/nd9Budy/eyGpnhiaD3mhvD3clmxCAnH3Co9 rThJj4HAGByNJV3RFiQPCVPxo31+O0vokW5m41Wrmz8bn+wbjT9pbjjzSHeRkLAZcn34A8wLj BaTrsMClEd/lgB1SecHBfNWYzwJN/04si+Ww6YIRvDyrt0dAz335tYHTfA/vVj9Rm72nNorET ty+lOAZVFCiNNZ+ms8AVQFr1cOzxydXlE88WHbQc3FdnufM1oNQk4hqxE2Mua6nyyImIkrSCd Yai830VMEYkTRej7efQPJ/OpMlkkr14ymaFHnee5CHtlTD1J9S/+q75/i5FE/o1BzYehO7ipO iswFJTyHUBMW1J9XTHO1rDJue1LOhzIpq/BqqE+J9RFBEvXqpIQLxImK2BjVhM++18/Ya4lyQ Reun5SiN94hYSq4stnpLvF8jwzyeWpkiF2iPzXhOXDS08jEYY0ks6obxtzSaJNPP5zQM/P1iL eYKmUoiY5+FeRLNfK1xFlbo4Sa/Vk7oAj+tuH6a/wetq6afSCBi6k0zRtl5hGokXWVWcA9V X-Rspamd-Queue-Id: 49154q4Lgnz4RSr X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.135) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.39 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[78.161.223.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.75)[0.745,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.995,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[135.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[135.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.25)[ip: (0.31), ipnet: 212.227.0.0/16(-1.16), asn: 8560(2.11), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 10:50:52 -0000 On Mon, 13 Apr 2020 11:05:06 +0200, Morten Bo Johansen via freebsd-questions wrote: > Hi, > > I'm rather new to Freebsd and yesterday I did a "pkg upgrade" > after which the touchpad on my Lenovo R61 is no longer > responsive. Sidenote: I also have (and use) a Lenovo Thinpad R61i, but I intendedly deactivated the touchpad in the BIOS and use the TrackPoint ("nub") instead. But before I did so, I know that both "nub" and touchpad seem to work "in parallel", i. e., they are "the same device". > There is also some oddities with my keyboard such > as the arrow up key not working anymore. > > - Running xev shows no reaction when touching the touchpad. > - Xorg.0.log shows no errors or warnings. > - moused is running as I can plug in a USB mouse and have it > working. > > I unplugged the usb mouse and ran the command: > > $ sudo /usr/sbin/moused -p /dev/sysmouse -t auto > > as I surmise that /dev/sysmouse refers to the touchpad(?) > but moused responds with > > moused: unable to get status of mouse fd: inappropiate ioctl > for device That is the expected result; /dev/sysmouse is a "X thing", while moused needs a device to be specified with the -p switch, such as /dev/psm0 (PS/2 mouse), /dev/ums0 (USB mouse), or /dev/cuaa0 (serial mouse). In case of the R61, /dev/psm0 should be correct. The corresponding settings for /etc/rc.conf are: moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" However, if you plug in a USB mouse, devd will run moused with the appropriate device name (see above) automatically, so there's nothing you need to do. Furthermore, I don't think you need to deal with moused at all when you intend to use X (and not bother using the dysfunctional vt-based console mode). > The output from Xorg -version: > > X.Org X Server 1.20.8 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 12.1-RELEASE-p3 amd64 > Current Operating System: FreeBSD mathilde.mbjnet.dk 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64 > Build Date: 02 April 2020 10:19:53AM > > Current version of pixman: 0.38.4 > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. Check /var/log/Xorg.0.log for "mouse"-related lines. There should be a successful LoadModule entry along with some settings for the mouse; here you'll also find "sysmouse" mentioned. > The output from uname -mrs: > > FreeBSD 12.1-RELEASE-p3 amd64 > > My desktop system is xfce4, version 4.14. > > About 200 packages were upgraded and I'd love to supply a list > but I don't know where the log for this is kept(?) With "pkg info", you can get a list of all packages that are currently installed. > Anyone to help me getting my touchpad back? Good question. ;-) As you said you're using Xfce, there's probably HAL and DBus involved, and maybe some configuration file buried within the /usr/local subtree, filled with XML garbage, that has been altered by an update... As you said, you updated a working installation. Maybe this is due to X having had some changes in the required packages, so your X installation is now missing something that's needed to address the mouse? Is xf86-input-mouse present? I cannot imagine the touchpad requiring anything further (as I have no longer-time record of using it), but maybe deleting and then re-installing X would help? However, even with an update, any "now missing" packages should have been installed, so... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...