[Bug 1458390] Re: script in /etc/pm/sleep.d/ is not executed on resume
svenmeier
1458390 at bugs.launchpad.net
Sun May 24 21:21:07 UTC 2015
** Description changed:
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 move the script to /usr/lib/pm-utils/sleep.d , it is executed as expected.
+ 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 at 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 at 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)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1458390
Title:
script in /etc/pm/sleep.d/ is not executed on resume
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1458390/+subscriptions
More information about the Ubuntu-server-bugs
mailing list