From owner-svn-src-head@FreeBSD.ORG Sat Mar 15 09:34:42 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83BA8444; Sat, 15 Mar 2014 09:34:42 +0000 (UTC) Received: from mail106.syd.optusnet.com.au (mail106.syd.optusnet.com.au [211.29.132.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD83324; Sat, 15 Mar 2014 09:34:42 +0000 (UTC) Received: from c122-106-147-133.carlnfd1.nsw.optusnet.com.au (c122-106-147-133.carlnfd1.nsw.optusnet.com.au [122.106.147.133]) by mail106.syd.optusnet.com.au (Postfix) with ESMTPS id 950283C3669; Sat, 15 Mar 2014 20:34:29 +1100 (EST) Date: Sat, 15 Mar 2014 20:34:27 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Hans Petter Selasky Subject: Re: svn commit: r262972 - head/sys/dev/usb/input In-Reply-To: <5324159F.3030207@bitfrost.no> Message-ID: <20140315201925.A2808@besplex.bde.org> References: <201403100852.s2A8qUdC045704@svn.freebsd.org> <5322CCC5.7020608@bitfrost.no> <20140315075248.Y964@besplex.bde.org> <5324159F.3030207@bitfrost.no> 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=fbeUlSgF c=1 sm=1 tr=0 a=7NqvjVvQucbO2RlWB8PEog==:117 a=PO7r1zJSAAAA:8 a=XVJnJZe_LX4A:10 a=kj9zAlcOel0A:10 a=JzwRw_2MAAAA:8 a=xiiNejUuvOIGF5njXkcA:9 a=CjuIK1q_8ugA:10 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Rui Paulo , Bruce Evans X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 09:34:42 -0000 On Sat, 15 Mar 2014, Hans Petter Selasky wrote: > On 03/15/14 00:26, Bruce Evans wrote: >> LED toggling has to work in critical sections too. Then the LED code >> itself is not being reentered (unless parts of it are locked by >> critical sections), but there are other complications. Of course, >> the LED code must not use any interrupts or do any context switches >> in debugger mode. > > CAPS lock works, only the LED is not lighted up. Yes, that's the expected brokenness. If keyboard input works at all, it is not likely to be a fundamental problem. However, the working parts probably need races to work. I really miss the LEDs on a keyboard without them. Under WinXP, there is a utility to display the caps lock state using only 10MB of memory. Under FreeBSD, I don't have such bloat and have to fly blind. Bruce