From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 6 Feb 2015 06:18:19 -0800 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Raspberry Pi 2 Model B Topicbox-Message-UUID: 42c1c6a8-ead9-11e9-9d60-3106f5b1d025 On Fri Feb 6 03:51:08 PST 2015, steve@quintile.net wrote: > See /n/sources/patch/maybe/usb-short-desc >=20 > 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 -> '=E2=98=BA 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