hid; Backport hid from 3.0.8 CAF