svn commit: r195960 - in head/sys/dev/usb: . controller input (regression patch)

Robert Watson rwatson at FreeBSD.org
Mon Aug 3 08:14:39 UTC 2009


On Mon, 3 Aug 2009, Hans Petter Selasky wrote:

> Here is a patch to address the problem. Please test and report back. Works 
> fine over here.
>
> http://perforce.freebsd.org/chv.cgi?CH=166957
>
> MD5 (ukbd.c.diff) = 1e3c143942593b0ed4617d306a9d2ee2
>
> cd /usr/src/sys/dev/usb/input/
> cat ukbd.c.diff | patch

I'm a bit surprised the timed key repeat in this patch would work properly in 
DDB, as microtime(9) relies on interrupts firing for updated timestamps.  The 
availability of interrupts for polled input consumers varies, but in general 
this is not true (for example) at the DDB command prompt.  Does this code work 
correctly when time stands still?

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the svn-src-head mailing list