From owner-freebsd-stable@FreeBSD.ORG Thu Jun 12 09:49:17 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B50911065676 for ; Thu, 12 Jun 2008 09:49:17 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id 48C048FC0C for ; Thu, 12 Jun 2008 09:49:17 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id m5C9nAff003523; Thu, 12 Jun 2008 10:49:11 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1K6jQc-0000FR-E9; Thu, 12 Jun 2008 10:49:10 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id m5C9nAme065198; Thu, 12 Jun 2008 10:49:10 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id m5C9n913065197; Thu, 12 Jun 2008 10:49:09 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: Greg Miller In-Reply-To: <4850DCA8.6000709@classic-games.com> References: <4850DCA8.6000709@classic-games.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 12 Jun 2008 10:49:08 +0100 Message-Id: <1213264148.65108.6.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: freebsd-stable@FreeBSD.org Subject: Re: Adesso AKB-430UG keyboard on 7.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 09:49:17 -0000 On Thu, 2008-06-12 at 03:22 -0500, Greg Miller wrote: > I'm using an AKB-430UG USB keyboard ("Win-Touch Pro") on FreeBSD > 7.0-release-p1, or trying to. The keyboard works fine in Windows, but > with FreeBSD I get the same sort of problems people have described > previous with the Genius SlimStar Pro: the keys behave as if CTRL is > always pressed. > > I'd hate to have to switch to a different keyboard, because it took me > years to find a good alternative to my old Cirque Input Center > keyboard/glidepoint combo. Can you try the following patch please? --- ukbd.c 2008-06-02 14:09:45.000000000 +0100 +++ ukbd.c 2008-06-12 10:44:16.000000000 +0100 @@ -1423,6 +1423,7 @@ init_keyboard(ukbd_state_t *state, int *type, int flags) { usb_endpoint_descriptor_t *ed; + usbd_status err; *type = KB_OTHER; @@ -1447,6 +1448,14 @@ printf("ukbd: unexpected endpoint\n"); return EINVAL; } + + err = usbd_set_protocol(state->ks_iface, 0); + if (err) { + printf("ukbd: set boot protocol failed\n"); + return EIO; + } else { + DPRINTFN(5, ("boot protocol set\n")); + } /* Ignore if SETIDLE fails since it is not crucial. */ usbd_set_idle(state->ks_iface, 0, 0); Thanks, Gavin