On Fri Feb 6 03:51:08 PST 2015, st...@quintile.net wrote: > See /n/sources/patch/maybe/usb-short-desc > > That works a treat, > thanks Cinap, Richard, and Erik.
great. the 9atom version of usb improves on the original by adjusting a few constants to the standard. but the main fix is several places where a devices could return a lot of data, asking only for enough return data to get the true size, then asking for the exact amount of data the device claims. i've also reworked the pc scancode interface which was originally used with a copy of the scancode data for every arch into one that's shared by all using /dev/kbin, which now includes the actual pc keyboard. many lines of redundant code bit the dust. the reason things are still scan code based and not usb code based is that /dev/kbmap uses scan code translation directly. it would be nice to have the keyboard map say CapsLock -> LeftCtlr Shift+Function12 -> '☺ instead of dealing with scan codes, but it may be more trouble than it's worth. (the 9atom usb/kb should work fine with older kernels.) - erik