On 2011-02-09 18:09 +0100, Marco d'Itri wrote:
> reassign 612628 acpi-fakekey
> thanks
>
> On Feb 09, Sven Joachim <[email protected]> wrote:
>
>> The removal of the input/uinput symlink breaks the acpi-fakekey package
>> whose initscript now refuses to start:
> It should have been fixed long ago.
Opening /dev/uinput instead of /dev/input/uinput works for me:
--8<---------------cut here---------------start------------->8---
diff --git a/debian/patches/acpi_fakekey.diff b/debian/patches/acpi_fakekey.diff
index 6a2a2cb..ea1ed4b 100644
--- a/debian/patches/acpi_fakekey.diff
+++ b/debian/patches/acpi_fakekey.diff
@@ -155,7 +155,7 @@ diff -Nru /tmp/clWVJzRiJd/acpi-support-0.115/Makefile
/tmp/Umsn0ebzYy/acpi-suppo
+ struct uinput_user_dev dev;
+ fd_set sfd;
+
-+ if ((fd = open("/dev/input/uinput", O_WRONLY | O_NDELAY)) == -1)
++ if ((fd = open("/dev/uinput", O_WRONLY | O_NDELAY)) == -1)
+ fail("open device");
+
+ memset(&dev, 0, sizeof(dev));
--8<---------------cut here---------------end--------------->8---
Don't know if there are older kernels that don't have /dev/uinput,
though.
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]