Add workaround for broken hardware keyboard support

to cherry-pick https://gerrit.omnirom.org/#/c/3011