From owner-freebsd-current@FreeBSD.ORG Sat Feb 14 18:04:33 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02DA3106564A for ; Sat, 14 Feb 2009 18:04:33 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id C42B88FC13 for ; Sat, 14 Feb 2009 18:04:32 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from localhost (pool-141-151-83-243.phlapa.east.verizon.net [141.151.83.243]) by mail.asahi-net.or.jp (Postfix) with ESMTP id E47735C05F; Sun, 15 Feb 2009 03:04:30 +0900 (JST) Date: Sat, 14 Feb 2009 13:04:26 -0500 From: Yoshihiro Ota To: Hans Petter Selasky , freebsd-current@freebsd.org Message-Id: <20090214130426.5265143b.ota@j.email.ne.jp> In-Reply-To: <200902141853.14366.hselasky@c2i.net> References: <20090213204112.7b982402.ota@j.email.ne.jp> <200902141759.27816.hselasky@c2i.net> <20090214124727.82638653.ota@j.email.ne.jp> <200902141853.14366.hselasky@c2i.net> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: USB2 - keyboard error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 14 Feb 2009 18:04:33 -0000 On Sat, 14 Feb 2009 18:53:13 +0100 Hans Petter Selasky wrote: > On Saturday 14 February 2009, Yoshihiro Ota wrote: > > On Sat, 14 Feb 2009 17:59:26 +0100 > > > > Hans Petter Selasky wrote: > > > Hi, > > > > > > I've looked at the USB code and I cannot find anything wrong. To get more > > > debugging: > > > > > > sysctl hw.usb2.ukbd.debug=15 > > > > > > If you press num-lock, does the num-lock led turn on/off ? > > > > > > Is the behaviour the same for other USB keyboards ? > > > > > > --HPS > > > > Hi, > > What I can offer is to add a USB quirk that disables the setting of the leds. > Then you can add this by usbconfig for example. > > Try adding a return before the switch() in "ukbd_set_leds_callback()" and see > if the keyboard works like expected. > > BTW: Do leds work with USB1 ? > > --HPS I will try to add a return before the switch. Keyboard works fine with USB1; I never had problems. By the way, what is "leds"? Thanks, Hiro