script in /etc/pm/sleep.d/ is not executed on resume

Bug #1458390 reported by svenmeier on 2015-05-24
This bug affects 8 people
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)

Bug Description

I'm trying to reload a module (hid_multitouch) on resume.

For this I've put an executable script in /etc/pm/sleep.d/ , but it is not executed on resume.

If I execute the script explicitly via command-line, the module is releaded as expected:

sven@svenBlack:/usr/lib/pm-utils/sleep.d$ more ./99_touchscreen

case $1 in
                modprobe -r hid_multitouch
                modprobe hid_multitouch

sven@svenBlack:/usr/lib/pm-utils/sleep.d$ sudo ./99_touchscreen resume

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: pm-utils 1.4.1-15
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun May 24 22:19:15 2015
InstallationDate: Installed on 2015-04-27 (27 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
SourcePackage: pm-utils
UpgradeStatus: No upgrade log present (probably fresh install)

svenmeier (sven-meiers) wrote :
svenmeier (sven-meiers) on 2015-05-24
description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pm-utils (Ubuntu):
status: New → Confirmed
Changed in pm-utils (Ubuntu):
importance: Undecided → Medium
Martin Thornton (thornton-ma) wrote :

Almost certain is same bug as Caused by switch to systemd from upstart.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers