[PATCH] ukbd(4) - request for comments

Maksim Yevmenkin maksim.yevmenkin at savvis.net
Mon Feb 27 09:53:39 PST 2006


dear Hackers,

any objections/comments/etc. to the following ukbd(4) patch?

Index: sys/dev/usb/ukbd.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/ukbd.c,v
retrieving revision 1.52
diff -u -r1.52 ukbd.c
--- sys/dev/usb/ukbd.c  30 Mar 2005 08:32:41 -0000      1.52
+++ sys/dev/usb/ukbd.c  27 Feb 2006 17:50:42 -0000
@@ -1145,9 +1145,7 @@
         state = (ukbd_state_t *)kbd->kb_data;
         if (!(state->ks_flags & COMPOSE) && (state->ks_composed_char > 0))
                 return TRUE;
-       if (state->ks_inputs > 0)
-               return TRUE;
-       return FALSE;
+       return ukbd_check(kbd);
  }

  /* some useful control functions */

===

this patch makes ukbd(4) to not delay break scancodes in "raw" mode. i'd 
like to get this in for upcoming kbdmux(4) integration.

thanks,
max


More information about the freebsd-current mailing list