From 0438d54ed901154d9ee9ef875ef82e442a7c4947 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 10 Jul 2011 05:32:15 +0200 Subject: [PATCH] path_id: recognize ACPI parent devices We need to tag the power input button for multi-seat. --- extras/path_id/path_id.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c index 98f0e4008..928aa6737 100644 --- a/extras/path_id/path_id.c +++ b/extras/path_id/path_id.c @@ -496,6 +496,9 @@ int main(int argc, char **argv) } else if (strcmp(subsys, "platform") == 0) { path_prepend(&path, "platform-%s", udev_device_get_sysname(parent)); parent = skip_subsystem(parent, "platform"); + } else if (strcmp(subsys, "acpi") == 0) { + path_prepend(&path, "acpi-%s", udev_device_get_sysname(parent)); + parent = skip_subsystem(parent, "acpi"); } else if (strcmp(subsys, "xen") == 0) { path_prepend(&path, "xen-%s", udev_device_get_sysname(parent)); parent = skip_subsystem(parent, "xen"); -- 2.30.2