From: Stephan Berberig There must not be a new-line character in the uevent. Otherwise, udev gets confused. Thanks to Kay Sievers for pointing it out. Signed-off-by: Stephan Berberig Cc: Kristen Carlson Accardi Cc: Len Brown Signed-off-by: Andrew Morton --- drivers/acpi/bay.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/acpi/bay.c~acpi-bay-send-envp-with-uevent-fix drivers/acpi/bay.c --- a/drivers/acpi/bay.c~acpi-bay-send-envp-with-uevent-fix +++ a/drivers/acpi/bay.c @@ -337,7 +337,7 @@ static void bay_notify(acpi_handle handl char *envp[] = { event_string, NULL }; bay_dprintk(handle, "Bay event"); - sprintf(event_string, "BAY_EVENT=%d\n", event); + sprintf(event_string, "BAY_EVENT=%d", event); kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp); } _