From owner-freebsd-usb@FreeBSD.ORG Sat Jul 25 09:20:36 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2756106566B; Sat, 25 Jul 2009 09:20:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id ED5958FC12; Sat, 25 Jul 2009 09:20:35 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=kuK7i7cE-7KyHCsz6OkA:9 a=l4FB7idsSIMP2QVI4QCAplT-0wcA:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 230295760; Sat, 25 Jul 2009 11:20:34 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org, Alfred Perlstein Date: Sat, 25 Jul 2009 11:20:24 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <1280352d0907101020q69f494cdndb01ff14ecf7ea8c@mail.gmail.com> <4A69AB91.2010208@icyb.net.ua> <200907241552.10763.hselasky@c2i.net> In-Reply-To: <200907241552.10763.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907251120.25957.hselasky@c2i.net> Cc: usb@freebsd.org, Andriy Gapon , Andrew Thompson , Maksim Yevmenkin Subject: Re: USB polling (100% done) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 09:20:37 -0000 Hi, Forget this thread. I found a temporary solution around the Giant problem in UKBD at the DDB prompt. The patch below will end up in -current soon. Tested on macbook pro with USB keyboard only! Even key repetition works :-) The only limitiation is that the USB keyboard must be probed by the USB stack before the panic happens. This might suggest that using loadable modules is the best way to debug problems on machines without AT keyboard or UART. http://perforce.freebsd.org/chv.cgi?CH=166535 --HPS