← Back to team overview

kernel-packages team mailing list archive

[Bug 1244411] [NEW] Unable to disable wake from suspend on USB device.

 

Public bug reported:

I am unable to disable wake from suspend on USB devices, even though
everything apperas setup correctly and the following information works
with another distribution, Openelec. The system is running minimal
ubuntu 13.10 x64 and I am using a udev rule to disable wakeup.

The device I am trying to disable is a wireless keyboard:

Bus 003 Device 002: ID 0c45:7000 Microdia

Wakeup is disabled:

xbmc@blaster:~$ grep 7000 /sys/bus/usb/devices/*/idProduct
/sys/bus/usb/devices/3-1/idProduct:7000
xbmc@blaster:~$ cat /sys/bus/usb/devices/3-1/power/wakeup
disabled

Udev rule:

xbmc@blaster:~$ cat /etc/udev/rules.d/disable-wakeup.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="2093", RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"


Pressing any key on the keyboard will wake my pc from s3 suspend.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-12-generic 3.11.0-12.19
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  xbmc       4060 F.... xbmc.bin
 /dev/snd/pcmC0D7p:   xbmc       4060 F...m xbmc.bin
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Date: Fri Oct 25 07:28:38 2013
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
MarkForUpload: True
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=5c99d0a0-eb2f-456c-b8f3-51a6037d2850 ro splash quiet nomodeset video=uvesafb:mode_option=1920x1080-24,mtrr=3,scroll=ywrap
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-12-generic N/A
 linux-backports-modules-3.11.0-12-generic  N/A
 linux-firmware                             1.116
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/21/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F18
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z77-D3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF18:bd08/21/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ77-D3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1244411

Title:
  Unable to disable wake from suspend on USB device.

Status in “linux” package in Ubuntu:
  New

Bug description:
  I am unable to disable wake from suspend on USB devices, even though
  everything apperas setup correctly and the following information works
  with another distribution, Openelec. The system is running minimal
  ubuntu 13.10 x64 and I am using a udev rule to disable wakeup.

  The device I am trying to disable is a wireless keyboard:

  Bus 003 Device 002: ID 0c45:7000 Microdia

  Wakeup is disabled:

  xbmc@blaster:~$ grep 7000 /sys/bus/usb/devices/*/idProduct
  /sys/bus/usb/devices/3-1/idProduct:7000
  xbmc@blaster:~$ cat /sys/bus/usb/devices/3-1/power/wakeup
  disabled

  Udev rule:

  xbmc@blaster:~$ cat /etc/udev/rules.d/disable-wakeup.rules
  SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="2093", RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

  
  Pressing any key on the keyboard will wake my pc from s3 suspend.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-3.11.0-12-generic 3.11.0-12.19
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  xbmc       4060 F.... xbmc.bin
   /dev/snd/pcmC0D7p:   xbmc       4060 F...m xbmc.bin
  CRDA: Error: [Errno 2] No such file or directory: 'iw'
  Date: Fri Oct 25 07:28:38 2013
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  MarkForUpload: True
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=5c99d0a0-eb2f-456c-b8f3-51a6037d2850 ro splash quiet nomodeset video=uvesafb:mode_option=1920x1080-24,mtrr=3,scroll=ywrap
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-12-generic N/A
   linux-backports-modules-3.11.0-12-generic  N/A
   linux-firmware                             1.116
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/21/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F18
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z77-D3H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF18:bd08/21/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ77-D3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1244411/+subscriptions


Follow ups

References