Adesso AKB-430UG keyboard on 7.0
Gavin Atkinson
gavin at FreeBSD.org
Thu Jun 12 09:49:17 UTC 2008
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
More information about the freebsd-stable
mailing list