On Fri, Sep 11, 2020 at 01:09:11PM -0500, Matt DeVillier wrote:
From 38f63fcd9b646d6a4eac30f0476bbaee611211ce Mon Sep 17 00:00:00 2001 From: Matt DeVillier matt.devillier@puri.sm Date: Fri, 11 Sep 2020 12:54:21 -0500 Subject: [PATCH] usb.c: Fix devices using non-primary interface descriptor
A fair number of USB devices (keyboards in particular) use an interface descriptor other than the first available, making them non-functional currently. To correct this, iterate through all available interface descriptors until one with the correct class/subclass is found, then proceed to set the configuration and setup the driver.
Tested on an ultimate hacking keyboard (UHK 60)
Thanks, I committed this change.
-Kevin