Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 10:49:08 +0100
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        Greg Miller <gmiller@classic-games.com>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: Adesso AKB-430UG keyboard on 7.0
Message-ID:  <1213264148.65108.6.camel@buffy.york.ac.uk>
In-Reply-To: <4850DCA8.6000709@classic-games.com>
References:  <4850DCA8.6000709@classic-games.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1213264148.65108.6.camel>