From owner-freebsd-current@freebsd.org Tue Aug 30 13:08:05 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 16752BC7BA4 for ; Tue, 30 Aug 2016 13:08:05 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D4E9CBF0 for ; Tue, 30 Aug 2016 13:08:04 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-it0-x231.google.com with SMTP id x131so161543561ite.0 for ; Tue, 30 Aug 2016 06:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IJSxdVPHeKB9Y1yDgLgGrsFio/gMJ7HFVc7Uxd4+aaA=; b=VG0Ne9caLN4ro+1w9CVIgZJxsn8aHtNIeSjw7qKaS0yDv3nxzrjTOcEQD1SChrcnwV NO9Lhi5KdaawXLcqZhMDMmu/CW1+xsxLOPssjX7Oo98x+LC+5/Zi+2z++J4b0HqcD7fF yXzh8fARdZMuvk0tdim/Km0yOoP9pK99rbzEiD72dqyyUIw8Nz1Z+8hd5RQZVhtLSIKY vF0Hf/18SBG/kUw+VFoK1alqtIcONHwG1jZg47h531isAx0LiOV7+NLnRQbUV5rnIrLS tt7UbKpaqyd4lqxi/QpYow71Xm4y7wEzVobg9VBNOZiToZD9TnluYOW3kkKey1NWzghr Bx1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IJSxdVPHeKB9Y1yDgLgGrsFio/gMJ7HFVc7Uxd4+aaA=; b=SucvCzJYkt2CmfgD21TV/g3TIvZjUKZoYF0/STW1rKiARhb4ZijJdc/OPu+mIAL7YQ EgtdXspbSUOa5Wwd+ek46RtGep62Qyn+mK1MzKB+lbR29NYA63ALMdTwR1djJ1qWxpDy Y3x5dA6u0M+dGTZACbPYjiQD5ILWZqGKBHPyVQeMxAcekp443v8/vDED3xeRVuVIwKBA CbitIB8QmjN1/TXmIQWOK7bVgG6OqjYuLr5TW+JuBHPFpHPnGOmYuzS59Ay1/nkcoiMU BO0zV955JcaZsVWnb7qna3xDn9w5UUQ3Qex4+fy0tH7u8iT0plZ9YJUV3zyojid5NVmC AkYA== X-Gm-Message-State: AE9vXwOrcp5rtj4tthPbU0cw7CKEj8cIWK93r7N1U/JR2z6Mk58usOR0lBjZwLZOwrqe/Qv2azPx04n/xqUBsQ== X-Received: by 10.36.29.79 with SMTP id 76mr6719179itj.64.1472562483648; Tue, 30 Aug 2016 06:08:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.138.194 with HTTP; Tue, 30 Aug 2016 06:08:02 -0700 (PDT) In-Reply-To: <20160830145911.E1087@besplex.bde.org> References: <4fd32943-d41a-a78c-c4f2-8eaba3f8fcba@selasky.org> <20160830145911.E1087@besplex.bde.org> From: Antonio Olivares Date: Tue, 30 Aug 2016 08:08:02 -0500 Message-ID: Subject: Re: problems with mouse To: Bruce Evans Cc: Hans Petter Selasky , freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 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 13:08:05 -0000 Dear folks, I am not sure if hald_enable="YES" is still needed, but I will add it to see if the mouse problem goes away, because mouse works, but when I switch apps, ie. firefox to xterm, then I cannot switch back to firefox till I finish with xterm :(. If it works well and fixes the problem, I will let you all know and hopefully it does fix the issue. Best Regards, Antonio On Tue, Aug 30, 2016 at 12:15 AM, Bruce Evans wrote: > 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