I have one problem with suspending my desktop. I have nvidia GeForce 8200 installed and to get system suspend without immediately waking up I have to disable USB0 and US15 in /proc/acpi/wakeup file. I can do this by simply echo those to the file, so I created temporary file in /etc/tmpfiles.d/ as advised on Arch Wiki. The file contains the following:
w /proc/acpi/wakeup - - - - USB0 w /proc/acpi/wakeup - - - - US15
The problem is that only the first line gets done and the second is ignored as systemd-tmpfiles is telling me.
Two or more conflicting lines for /proc/acpi/wakeup configured, ignoring.
What do I have to do to get both lines done?
The argument parameter will be written without a trailing newline. C-style backslash escapes are interpreted.
Try a single line with argument "USB0\nUS15" (probably without quotes).
Last edited by Raynman (2013-03-24 18:41:34)
Thanks for your reply. Unfortunately, it doesn't work. Both ways (with/out) quotes is complaining about short write:
Failed to write file /proc/acpi/wakeup: Short write
Which could mean that the second argument is standing alone on new line.
Maybe it might be better to simply create a service that runs a script in this situation.