Systemd/hwdb
Stephen Hemminger 2063b5540e hwdb: add support for VMBUS guids (#8677)
This addresses missing feature on #8677

Devices in Hyper-V/Azure exist on vmbus and are identified by
UUID value. This patch adds a hardware table so that udevadm
can report properties. I chose names are based on the values
reported in Window Device Manager (for consistency).
The table includes several devices that are not used by Linux
but are present and ignored.

For example:

$ udevadm info -q property /sys/bus/vmbus/devices/58f75a6d-d949-4320-99e1-a2a2576d581c
DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/VMBUS:00/58f75a6d-d949-4320-99e1-a2a2576d581c
DRIVER=hid_hyperv
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Mouse
MODALIAS=vmbus:9eb6a8cf4a5bc04cb98b8ba1a1f3f95a
SUBSYSTEM=vmbus
USEC_INITIALIZED=11076966

Or with updated kernel the driverctl script.

$ driverctl -b vmbus -v list-devices
1eccfd72-4b41-45ef-b73a-4a6e44c12924 hv_balloon (Microsoft Hyper-V Dynamic Memory)
242ff919-07db-4180-9c2e-b86cb68c8c55 hv_util (Microsoft Hyper-V Data Exchange)
2450ee40-33bf-4fbd-892e-9fb06e9214cf hv_util (Microsoft Hyper-V Backup/Restore)
2dd1ce17-079e-403c-b352-a1921ee207ee hv_util (Microsoft Hyper-V Time Sync)
4487b255-b88c-403f-bb51-d1f69cf17f87 (none) (Microsoft Hyper-V Virtual Machine Activation)
53557f8e-057d-425b-9265-01c0fd7e273e hv_netvsc (Microsoft Hyper-V Network Adapter)
5620e0c7-8062-4dce-aeb7-520c7ef76171 hyperv_fb (Microsoft Hyper-V Video)
58f75a6d-d949-4320-99e1-a2a2576d581c hid_hyperv (Microsoft Hyper-V Mouse)
849a776e-8120-4e4a-9a36-7e3d95ac75b3 hv_netvsc (Microsoft Hyper-V Network Adapter)
99221fa0-24ad-11e2-be98-001aa01bbf6e (none) (Microsoft Hyper-V Remote Desktop Control)
b2f44faf-2a29-42ba-91b2-f13fd30a2d4b hv_storvsc (Microsoft Hyper-V SCSI Controller)
b6650ff7-33bc-4840-8048-e0676786f393 hv_util (Microsoft Hyper-V Guest Shutdown)
d34b2567-b9b6-42b9-8778-0a4ec0b955bf hyperv_keyboard (Microsoft Hyper-V Keyboard)
f5bee29c-1741-4aad-a4c2-8fdedb46dcc2 (none) (Microsoft Hyper-V Remote Desktop Virtualization)
fd149e91-82e0-4a7d-afa6-2a4166cbd7c0 hv_util (Microsoft Hyper-V Heartbeat)
2018-04-09 22:25:08 +02:00
..
.gitattributes hwdb: ignore whitespace in downloaded files 2018-03-02 12:09:52 +01:00
.gitignore hwdb: also add the source files to git 2017-10-02 13:19:22 +02:00
20-acpi-vendor.hwdb hwdb: update 2017-12-14 16:01:24 +01:00
20-acpi-vendor.hwdb.patch hwdb: update 2018-03-02 12:12:04 +01:00
20-bluetooth-vendor-product.hwdb hwdb: Update database of Bluetooth company identifiers 2016-10-20 10:24:18 +02:00
20-net-ifname.hwdb fix typo in iDRAC network interface name: irdac->idrac 2014-02-25 14:05:20 +01:00
20-OUI.hwdb hwdb: update 2018-03-02 12:12:04 +01:00
20-pci-classes.hwdb hwdb: update 2015-07-31 18:08:55 +02:00
20-pci-vendor-model.hwdb hwdb: update 2018-03-02 12:12:04 +01:00
20-sdio-classes.hwdb hwddb: Add database for SDIO vendor and class information 2013-12-22 10:21:20 -08:00
20-sdio-vendor-model.hwdb hwdb: sort sdio entries 2017-10-02 13:19:23 +02:00
20-usb-classes.hwdb hwdb: update 2014-07-03 16:28:57 +02:00
20-usb-vendor-model.hwdb hwdb: run "update-hwdb" in preparation for v237 2018-01-25 14:16:25 +01:00
20-vmbus-class.hwdb hwdb: add support for VMBUS guids (#8677) 2018-04-09 22:25:08 +02:00
60-evdev.hwdb hwdb: Correct touchpad resolution for Asus N550JV 2018-03-19 08:02:40 +01:00
60-input-id.hwdb hwdb: add UC-Logic 20160N pad to the ID_INPUT hwdb 2017-10-30 10:58:57 +10:00
60-keyboard.hwdb Fix for alphabetical ordering (#8581) 2018-03-26 17:50:35 +02:00
60-sensor.hwdb hwdb: Add accelerometer orientation quirk for the Pipo W4 tablet 2018-03-30 23:39:29 +02:00
70-joystick.hwdb hwdb: Add ID_INPUT_JOYSTICK_INTEGRATION property (#5413) 2017-06-26 12:17:36 +02:00
70-mouse.hwdb hwdb: Logitech M305 Wireless Optical Mouse dpi data (#8217) 2018-02-20 10:33:10 +09:00
70-pointingstick.hwdb Add T430 series to list of supported trackpoint (#7699) 2017-12-19 11:22:36 +01:00
70-touchpad.hwdb hwdb: invert the USB touchpad integration assumption (#7161) 2017-10-23 10:20:16 +02:00
acpi-update.py more portable python shebangs (#5816) 2017-04-30 20:26:56 -04:00
acpi_id_registry.html hwdb: update 2017-12-14 16:01:24 +01:00
ids_parser.py hwdb/ids_parser: use replacement chars for invalid characters 2017-12-14 15:47:39 +01:00
ma-large.txt hwdb: update 2018-03-02 12:12:04 +01:00
ma-medium.txt hwdb: update 2018-03-02 12:12:04 +01:00
ma-small.txt hwdb: update 2018-03-02 12:12:04 +01:00
meson.build hwdb: add support for VMBUS guids (#8677) 2018-04-09 22:25:08 +02:00
parse_hwdb.py Add SPDX indentifier to hwdb/parse_hwdb.py 2017-11-19 19:08:15 +01:00
pci.ids hwdb: update 2018-03-02 12:12:04 +01:00
pnp_id_registry.html hwdb: update 2017-12-14 16:01:24 +01:00
sdio.ids hwdb: add sdio identifiers for Broadcom WLAN cards 2015-02-27 01:22:38 +01:00
usb.ids hwdb: run "update-hwdb" in preparation for v237 2018-01-25 14:16:25 +01:00