From owner-freebsd-questions@freebsd.org Sat Aug 24 05:54:12 2019 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 5E5CFD750D for ; Sat, 24 Aug 2019 05:54:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (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 46FnX31jPhz4f47 for ; Sat, 24 Aug 2019 05:54:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.116.73]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1N6bPS-1iIHB90GRq-0180Q7; Sat, 24 Aug 2019 07:54:05 +0200 Date: Sat, 24 Aug 2019 07:53:57 +0200 From: Polytropon To: Antonio Olivares Cc: FreeBSD Questions Subject: Re: PS mouse/USB mouse no response Message-Id: <20190824075357.a091c2d6.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:bpsrZzUrHe/lrZAT0zgH4LHqcbWZeL1kw21MwwzwNtUU8sprENt Mt4zuQhK3uMyE4LjruKW6I4cTT5+tTbZy062STQF2Jwwi5lhj07AvpfmGf6KVR4PBUt8/PR mom+1yJzMiC1xCda22zoTPncVZ4YovN0VYpWxM3aYJKpJAt2ZJ0kABx1ZR6MlBsBPshB8aY B8A2CMW6qpI+0mlLNcYrQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+Jbdoov9kHY=:R9XEaG9cVBeQSelmcbl7bI jWZpT+4ku6KX2z5YRgk99Dv363d4fDoCtYqp52VNs+8xmHKz6dN4pmKhd9NCV4tDq0f0MP+v2 EiB8qK5WbKpT6eTsDvuyTxLvduYc1tgPDvf0os11Ej7db9cLmWwkLdV/92LMSzSge3UdLhHyP 9TNocswPhBeTE6bl23t+hsPHpLOBw00exDcs8ZLBRQlzqdR0aldqoYdK1hztQ7IMDceyPc6GO rVO4ThrZGOT/B+tOz0TMdYBkpbwIprB98ghcd0qXcpQDK64MWBSPQbTBEoX0alHOc4uDB3sS0 UgCHIqyxemP7vC+PR6J/rjxg1biiwRuW8O3bRMi3inmNysMK3AQNj1xz2j3RfnlJGhAGwxWmb 2SpVpd/vP+KilTynxXB7yHR+JZ/PPvpOwNUUU/zbW37nv6GWaGEIvM/utaL4ikVBpjQssGLeQ 3Cgl4Vaan0XoB+bWSnO7DPHueVNarNp0LZKkrmWMs/hndIbMqpcCsFZMNTAOb3jyOV6dOslv+ lOYjXwutUi3fZKtY0Nof3+jwI7R78eXjx4HOHWuDZL7MBT9IK6eOhIfp2SuWDnvrLPlnNCUHw drsrGNKqG3RaxYM2E+D6ghmyHGudGW628pd5EL+4YxyYMcwuA5PNzLwTdaebQxgzrWYu5sGjE gGovN5CadM8Ac+6aRxO4lEXmA0Sxj0S12SkfyMinwhahErCceVlcdeD892SKV7u1uYcYYD2BF JxZ5bWgJ3/sI9L9AE8qDIGlxu2dOHd7yoV8RanpmdI4oXZA0NZ4Y+lX9QCk= X-Rspamd-Queue-Id: 46FnX31jPhz4f47 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.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[73.116.12.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.54)[0.545,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.86)[0.859,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.92)[0.919,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[187.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[187.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.27)[ip: (0.53), ipnet: 212.227.0.0/16(-1.38), asn: 8560(2.20), country: DE(-0.01)] 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: Sat, 24 Aug 2019 05:54:12 -0000 On Fri, 23 Aug 2019 18:16:14 -0500, Antonio Olivares wrote: > I have and old HP machine which ran windows 7 home premium and I > sucessfully loaded FreeBSD 12.0-RELEASE-p10 updated successfully both > freebsd-update and through pkg. The machine boots and loads X but the mouse > does not respond. I have tried a PS2 mouse and corresponding > moused_enable="YES" in /etc/rc.conf [...] That's not sufficient. First, check for the psm (PS/2 mouse) device to exist: # dmesg | grep psm psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model MouseMan+, device ID 0 Then add the following to /etc/rc.conf: moused_enable="YES" moused_type="auto" moused_port="/dev/psm0" Even though the _enable flag should be enough, sometimes moused doesn't seem to recognize the PS/2 mouse, that's why the lines for _type and _port. The mouse should be recognized now. It can work in parallel with a USB mouse. You don't have to do anything more than the _enable line for the USB mouse to work. > [...] and a USB mouse connected to back USB > ports and neither of the two work. Again, check if they are present, as noted above, and: # dmesg | grep ums ums0 on uhub7 ums0: on usbus2 ums0: 5 buttons and [XYZ] coordinates ID=0 Here, ums is the USB mouse driver. Sidenote: On the machine I've taken those examples from, both PS/2 and USB mouse work "in parallel". In /etc/rc.conf, I don't have the _type and _port entries, but they might be worth checking for investigation; read "man moused" for debug flag (very handy for experiments, as you can manually start moused, see what's happening or not, and use ^C to quit it). > The usb's power the USB mouse but the > pointer does not move and the ps2 mouse also turns on but does not work. Do they work in "text mode" (before starting X)? > I > do not have Hal installed, but on another machine it is not installed but > mouse works. You don't need HAL or other crap for a simple mouse to work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...