UEFI BIOS and resume/suspend

Colin Law clanlaw at googlemail.com
Sat Aug 25 08:33:13 UTC 2012

On 24 August 2012 22:09, Karl Auer <kauer at biplane.com.au> wrote:
> On Fri, 2012-08-24 at 17:26 +0100, Colin Law wrote:
>> If I write disabled to the file
>> /sys/devices/pci0000:00/0000:00:1a.0/power/wakeup and then suspend the
>> keyboard no longer triggers a resume.  I got the device code by
>> unplugging and reinserting the keyboard and running dmesg.
>> Unfortunately when I power cycle it gets set back to enabled, so there
>> must be something writing to it at boot.  No idea what at the moment
>> though.
> The right way to manipulate the /proc filesystem is to use the sysctl
> program. See "man sysctl".
> The /proc filesystem is virtual; it's not on disk, so all your changes
> will vanish on reboot.

Hi Karl, thanks for the suggestion, I can't work out (even with
google's help) how to use sysctl to access /sys/devices.  Some links
suggested that I should be able to use devices.pci000.... but when I
try I get

$ sysctl devices.pci0000:00.0000:00:1a.0.power.wakeup
sysctl: cannot stat
/proc/sys/devices/pci0000:00/0000:00:1a/0/power/wakeup: No such file
or directory

I can't find the devices hierarchy anywhere under /proc/sys.


> To make desired changes permanent, edit /etc/sysctl.conf, or create a
> new entry in /etc/sysctl.d (read the README there first).
> Regards, K.
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au)
> http://www.biplane.com.au/kauer
> http://www.biplane.com.au/blog
> GPG fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017
> Old fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

More information about the ubuntu-users mailing list