← Back to team overview

touch-packages team mailing list archive

[Bug 1458390] Re: script in /etc/pm/sleep.d/ is not executed on resume

 

** Changed in: pm-utils (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

Status in pm-utils package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1458390/+subscriptions


References