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

Bug #1458390 reported by svenmeier
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Confirmed
Medium
Unassigned

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
#!/bin/sh

case $1 in
        resume)
                modprobe -r hid_multitouch
                modprobe hid_multitouch
        ;;
esac

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)

Revision history for this message
svenmeier (sven-meiers) wrote :
svenmeier (sven-meiers)
description: updated
Revision history for this message
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
Revision history for this message
Martin Thornton (thornton-ma) wrote :

Almost certain is same bug as https://launchpad.net/ubuntu/+source/pm-utils/+bug/1455097. Caused by switch to systemd from upstart.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.