Lines Matching defs:udi
36 char *udi;
42 if ((udi = getenv("UDI")) == NULL)
54 HAL_DEBUG(("Doing probe-acpi for %s (udi=%s)",
55 device_file, udi));
61 if (strstr(udi, "_ac")) {
62 ac_adapter_update(ctx, udi, fd);
63 } else if (strstr(udi, "_battery")) {
64 battery_update(ctx, udi, fd);
65 } else if (strstr(udi, "_lid")) {
66 lid_update(ctx, udi, fd);
67 } else if (strstr(udi, "_hotkey")) {
68 laptop_panel_update(ctx, udi, fd);