Como evito o despertar imediato da suspensão (versão II)?

5

Esta questão cobre uma razão pela qual um computador pode ser ativado imediatamente após a suspensão: Como evitar o despertar imediato da suspensão e / ou hibernação?

Eu pareço ter um diferente. Após uma atualização recente do patch de segurança no Ubuntu 11.04 - o Natty Narwhal, a máquina acorda imediatamente após a suspensão. As linhas de log relevantes parecem ser:

Oct  5 09:01:02 hardhat kernel: [585671.422973] PM: Syncing filesystems ... done.
Oct  5 09:01:02 hardhat kernel: [585671.475283] PM: Preparing system for mem sleep
Oct  5 09:01:02 hardhat kernel: [585671.475399] Freezing user space processes ... (elapsed 0.01 seconds) done.
Oct  5 09:01:02 hardhat kernel: [585671.490593] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Oct  5 09:01:02 hardhat kernel: [585671.510542] PM: Entering mem sleep
Oct  5 09:01:02 hardhat kernel: [585671.510558] Suspending console(s) (use no_console_suspend to debug)
Oct  5 09:01:02 hardhat kernel: [585671.511061] sd 1:0:1:0: [sdc] Synchronizing SCSI cache
Oct  5 09:01:02 hardhat kernel: [585671.511124] sd 0:0:1:0: [sdb] Synchronizing SCSI cache
Oct  5 09:01:02 hardhat kernel: [585671.511193] sd 0:0:1:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Oct  5 09:01:02 hardhat kernel: [585671.511200] pm_op(): scsi_bus_suspend+0x0/0x20 returns -5
Oct  5 09:01:02 hardhat kernel: [585671.511203] PM: Device 0:0:1:0 failed to suspend async: error -5
Oct  5 09:01:02 hardhat kernel: [585671.511296] sd 1:0:1:0: [sdc] Stopping disk
Oct  5 09:01:02 hardhat kernel: [585672.039397] PM: suspend of drv:sd dev:1:0:1:0 complete after 529.213 msecs
Oct  5 09:01:02 hardhat kernel: [585672.039486] PM: Some devices failed to suspend
Oct  5 09:01:02 hardhat kernel: [585672.039507] sd 0:0:0:0: [sda] Starting disk
Oct  5 09:01:02 hardhat kernel: [585672.039696] sd 0:0:1:0: [sdb] Starting disk
Oct  5 09:01:02 hardhat kernel: [585672.039776] sd 1:0:1:0: [sdc] Starting disk
Oct  5 09:01:02 hardhat kernel: [585672.039839] sd 0:0:1:0: [sdb] START_STOP FAILED
Oct  5 09:01:02 hardhat kernel: [585672.039843] sd 0:0:1:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Oct  5 09:01:02 hardhat kernel: [585672.039853] pm_op(): scsi_bus_resume_common+0x0/0x60 returns 262144
Oct  5 09:01:02 hardhat kernel: [585672.039861] PM: Device 0:0:1:0 failed to resume async: error 262144
Oct  5 09:01:02 hardhat kernel: [585673.533456] PM: resume of drv:sd dev:1:0:1:0 complete after 1496.158 msecs
Oct  5 09:01:02 hardhat kernel: [585673.533550] PM: resume of drv:scsi_device dev:1:0:1:0 complete after 1496.242 msecs
Oct  5 09:01:02 hardhat kernel: [585673.533557] PM: resume of drv:scsi_disk dev:1:0:1:0 complete after 1496.157 msecs
Oct  5 09:01:02 hardhat kernel: [585673.533645] PM: resume of devices complete after 1496.634 msecs
Oct  5 09:01:02 hardhat kernel: [585673.533782] PM: resume devices took 1.500 seconds
Oct  5 09:01:02 hardhat kernel: [585673.533801] PM: Finishing wakeup.
    
por Bryce 05.10.2012 / 21:19

1 resposta

1

Bem, sd 0: 0: 1: 0 é provavelmente uma unidade USB que não funciona bem com a suspensão. Basta removê-lo quando você não estiver usando.

    
por deeb 28.11.2013 / 13:03