O laptop My System 76 com 14.04 não é suspenso. A execução de sudo pm-suspend
falha com o seguinte em /var/log/pm-suspend.log
:
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq: 23: /usr/lib/pm-utils/sleep.d/94cpufreq: cannot create cpu0/cpufreq/scaling_governor: Read-only file system
...
/usr/lib/pm-utils/sleep.d/94cpufreq: 23: /usr/lib/pm-utils/sleep.d/94cpufreq: cannot create cpu7/cpufreq/scaling_governor: Read-only file system
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: Returned exit code 2.'
Se eu desabilitar todos os scripts sleep.d
que tentam gravar em /sys
, ele ainda falhará:
/usr/sbin/pm-suspend: 321: /usr/sbin/pm-suspend: cannot create /sys/power/state: Read-only file system
O sysfs parece perfeitamente normal para mim:
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
# ls -al /sys/power
total 0
drwxr-xr-x 2 root root 0 Aug 14 10:25 .
dr-xr-xr-x 13 root root 0 Aug 14 09:47 ..
-rw-r--r-- 1 root root 4096 Aug 14 10:45 disk
-rw-r--r-- 1 root root 4096 Aug 14 11:05 image_size
-rw-r--r-- 1 root root 4096 Aug 14 11:05 pm_async
-rw-r--r-- 1 root root 4096 Aug 14 11:05 pm_freeze_timeout
-rw-r--r-- 1 root root 4096 Aug 14 11:05 pm_print_times
-rw-r--r-- 1 root root 4096 Aug 14 11:05 pm_test
-rw-r--r-- 1 root root 4096 Aug 14 11:05 pm_trace
-rw-r--r-- 1 root root 4096 Aug 14 11:05 pm_trace_dev_match
-rw-r--r-- 1 root root 4096 Aug 14 11:05 reserved_size
-rw-r--r-- 1 root root 4096 Aug 14 11:05 resume
-rw-r--r-- 1 root root 4096 Aug 14 10:25 state
-rw-r--r-- 1 root root 4096 Aug 14 11:05 wakeup_count
Eu sempre uso sudo ou su para root ao tentar o comando. Mesmo tentando usar manualmente a interface de gerenciamento de energia do teste do kernel falha:
root@...:~# echo core > /sys/power/pm_test
-su: /sys/power/pm_test: Read-only file system
Kernel: 3.13.0-33-generic # 58-Ubuntu
Todos os pacotes estão atualizados.