[kbd] [PATCH 0/5] Add Apple USB keyboard models A1048 and A1243, Swedish localization

Alexey Gladkov gladkov.alexey at gmail.com
Wed Oct 24 18:14:48 MSK 2018

On Mon, Oct 22, 2018 at 05:37:38PM +0200, Fredrik Noring wrote:
> Hi Alexey,
> > You put the product ID in the filename. Do you think the keycodes will be
> > unique for each product?
> For Apple keyboards (at least), I hope that the USB triplet idVendor,
> idProduct, and bCountryCode can distinctly indicate the proper keymap.
> Most variations are due to bCountryCode (localization), with minor
> differences for idProduct (such as the difference between keycodes 41
> and 86 for Apple models A1048 and A1243, for example). I would be
> surprised if they reused idProduct for incompatible products.
> It would be very helpful if the kernel could automatically select the
> corresponding keymap when recognising a known USB-keyboard product.

OK. Applied. Thanks!

Rgrds, legion

More information about the kbd mailing list