diff -Nru /tmp/sbT5wws02e/acpi-support-0.59/acpi_fakekey.c /tmp/JxksooAnFd/acpi-support-0.59trailingspaces1/acpi_fakekey.c --- /tmp/sbT5wws02e/acpi-support-0.59/acpi_fakekey.c 2006-02-13 18:40:28.000000000 +0000 +++ /tmp/JxksooAnFd/acpi-support-0.59trailingspaces1/acpi_fakekey.c 2006-02-20 15:41:14.000000000 +0000 @@ -49,15 +49,19 @@ return 2; } + fprintf(stderr, "here\n"); + + //ioctl(fd, UI_SET_KEYBIT, key); + event.type = EV_KEY; event.code = key; event.value = 1; - write(fd, &event, sizeof event); + fprintf(stderr, "write: %d\n", write(fd, &event, sizeof event)); event.type = EV_KEY; event.code = key; event.value = 0; - write(fd, &event, sizeof event); + fprintf(stderr, "write: %d\n", write(fd, &event, sizeof event)); return 0; } diff -Nru /tmp/sbT5wws02e/acpi-support-0.59/debian/changelog /tmp/JxksooAnFd/acpi-support-0.59trailingspaces1/debian/changelog --- /tmp/sbT5wws02e/acpi-support-0.59/debian/changelog 2006-02-18 14:25:27.000000000 +0000 +++ /tmp/JxksooAnFd/acpi-support-0.59trailingspaces1/debian/changelog 2006-03-14 01:29:14.000000000 +0000 @@ -1,3 +1,10 @@ +acpi-support (0.59trailingspaces1) dapper; urgency=low + + * Trim trailing spaces from the end of dmidecode strings before looking + for the appropriate '.config' file. + + -- Paul Sladen Tue, 14 Mar 2006 01:29:10 +0000 + acpi-support (0.59) dapper; urgency=low * Disable USB module unloading - the kernel seems to manage it better diff -Nru /tmp/sbT5wws02e/acpi-support-0.59/lib/device-funcs /tmp/JxksooAnFd/acpi-support-0.59trailingspaces1/lib/device-funcs --- /tmp/sbT5wws02e/acpi-support-0.59/lib/device-funcs 2005-11-29 17:15:08.000000000 +0000 +++ /tmp/JxksooAnFd/acpi-support-0.59trailingspaces1/lib/device-funcs 2006-03-14 01:31:45.000000000 +0000 @@ -1,8 +1,8 @@ DeviceConfig() { - manufacturer=`dmidecode --string system-manufacturer` - model=`dmidecode --string system-product-name` - version=`dmidecode --string system-version` + manufacturer=`dmidecode --string system-manufacturer|sed -e 's/ *$//'` + model=`dmidecode --string system-product-name|sed -e 's/ *$//'` + version=`dmidecode --string system-version|sed -e 's/ *$//'` if [ -f "/usr/share/acpi-support/$manufacturer.config" ]; then . "/usr/share/acpi-support/$manufacturer.config";