From: David Herrmann Date: Mon, 16 Mar 2015 11:00:46 +0000 (+0100) Subject: hwdb: convert to generic input-modalias matches X-Git-Tag: v219.0~286 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b26e4ced91d0ac0eabdce1c505228ccafc65a23f;hp=b26e4ced91d0ac0eabdce1c505228ccafc65a23f;p=elogind.git hwdb: convert to generic input-modalias matches There is no reason to match on usb-modaliases, if we can use the input-modalias to achieve the same. This commit changes the keyboard-lookups to not be restricted to USB, but pass all modaliases to the hwdb. Furthermore, we convert all usb:* matches to input:* matches, thus getting rid of any ambiguity if multiple usb devices are chained (or a bluetooth device / etc. is on top). Note that legacy keyboard:usb:* matches are still supported, but deprecated. If possible, please use keyboard:input:* matches instead. This is a required step to make other input devices work with 60-keyboard.hwdb. Other bus-types are often chained on usb and we want to avoid any ambiguity here if we incorrectly match on a USB hub. ---