You are not logged in.
Hello,
This is my third time setting Arch up fresh on my x230. Previously I have had no issue getting suspend to ram and other features working by following the wiki and forums. Currently I am unable to enable the following script and service from the x230 wiki:
https://wiki.archlinux.org/index.php/Le … nkPad_X230
When I type:
systemctl enable rc-local-shutdown.serviceI get the following error:
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).What is the proper [Install] tag that I must add to the end of the service file? Is there some other reason this service cannot be enabled with systemctl? Another command that would enable it?
Example from suspend@.service:
[Install]
WantedBy=sleep.targetThanks in advance!
Offline
So I managed to get the rc-local-shutdown.service working by following this thread:
https://bbs.archlinux.org/viewtopic.php?id=148170
Now I still cannot get sleep/suspend working on the x230. I've enabled rc-local-shutdown.service and the four suspend/resume services in the power management section of the wiki:
https://wiki.archlinux.org/index.php/Power_management
Any ideas? I've always had sleep/suspend work out of the box until this most recent refresh.
Offline
The wiki entry for the x230 is quite out of date, most things work ootb here. What happens if you run systemctl suspend?
Offline