--- hal-0.4.2/tools/linux/hal_hotplug.c.~1~ 2004-10-18 17:52:05.000000000 -0500 +++ hal-0.4.2/tools/linux/hal_hotplug.c 2005-08-22 23:04:13.000000000 -0500 @@ -316,7 +316,13 @@ main (int argc, char *argv[], char *envp devpath = getenv ("DEVPATH"); if (devpath == NULL) { - syslog (LOG_ERR, "DEVPATH is not set"); + /* Ugly hack, but in < 2.6.13 (at least) kernels, + * the input subsystem doesn't set DEVPATH, but we + * know that, so don't bother warning sysadmins + * all the time. + */ + if (strncmp(subsystem, "input", 5)) + syslog (LOG_ERR, "DEVPATH is not set"); goto out; }