From owner-freebsd-current@freebsd.org Tue Aug 30 05:15:34 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B8F7BC8B25 for ; Tue, 30 Aug 2016 05:15:34 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail107.syd.optusnet.com.au (mail107.syd.optusnet.com.au [211.29.132.53]) by mx1.freebsd.org (Postfix) with ESMTP id CA1D2E8 for ; Tue, 30 Aug 2016 05:15:33 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c122-106-149-109.carlnfd1.nsw.optusnet.com.au (c122-106-149-109.carlnfd1.nsw.optusnet.com.au [122.106.149.109]) by mail107.syd.optusnet.com.au (Postfix) with ESMTPS id 92B91D430BA; Tue, 30 Aug 2016 15:15:30 +1000 (AEST) Date: Tue, 30 Aug 2016 15:15:29 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Hans Petter Selasky cc: Antonio Olivares , freebsd-current@freebsd.org Subject: Re: problems with mouse In-Reply-To: <4fd32943-d41a-a78c-c4f2-8eaba3f8fcba@selasky.org> Message-ID: <20160830145911.E1087@besplex.bde.org> References: <4fd32943-d41a-a78c-c4f2-8eaba3f8fcba@selasky.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=CoZCCSMD c=1 sm=1 tr=0 a=R/f3m204ZbWUO/0rwPSMPw==:117 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=bxL6SsR1MH1AIbJTbesA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 X-Mailman-Approved-At: Tue, 30 Aug 2016 11:25:20 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 05:15:34 -0000 On Mon, 29 Aug 2016, Hans Petter Selasky wrote: > On 08/29/16 22:12, Antonio Olivares wrote: >> >> I apologize in advance if this is not in the right list, if I need to >> pose this question in questions, I will do so as soon as I find out. >> I am having trouble with switching apps in Lumina desktop with the >> mouse, I removed moused from /etc/rc.conf because I have a usb mouse >> and still lose when I switch from firefox to terminal or vice versa. >> >> $ uname -a >> FreeBSD hp 11.0-RC2 FreeBSD 11.0-RC2 #0 r304729: Wed Aug 24 06:59:03 >> UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> Is there a way to troubleshoot this? Is there something that can fix this? > > Bruce Evans has fixed some issues with SC/VT mouse/keyboard stuff in > 12-current. Maybe he has some ideas. I only know about sc/atkbd and am trying not to break ukbd. The cause of Bug 211884 (ukbd?) is still unknown. Bugzilla is too hard to access for me, but the PR seems to be missing critical info about the environment (is the console vt or sc?). kbdmux is still missing the fix that is blamed for causing Bug 211884. I need to fix kbdmux before changing sc to depend on it being fixed. vt already depends on it being fixed. Howver, vt also depends on going through kbdmux. ukbd doesn't attach properly directly for vt. ukbd passed tests of working in panic mode yesterday. It actually works perfectly in panic + ddb (polled) mode. Much better than in just ddb mode. Panic mode turns off its locking and thus gives races instead of deadlocks and assertion failures, and the races aren't very harmful in panic mode. So the basic polling method in ukbd is working except when it tries to do correct locking. Bruce