Posts

System fails to suspend, “ACPI: EC: interrupt blocked”

Image
0 Whenever I attach my USB phone, I can no longer suspend my machine. Even detaching my phone does not work. ACPI: EC: interrupt blocked ACPI: Preparing to enter system sleep state S3 ACPI: EC: event blocked ACPI: EC: EC stopped PM: Saving platform NVS memory Disabling non-boot CPUs ... smpboot: CPU 1 is now offline IRQ 29: no longer affine to CPU2 smpboot: CPU 2 is now offline IRQ 18: no longer affine to CPU3 IRQ 23: no longer affine to CPU3 IRQ 26: no longer affine to CPU3 IRQ 31: no longer affine to CPU3 smpboot: CPU 3 is now offline ACPI: Low-level resume complete ACPI: EC: EC started PM: Restoring platform NVS memory Enabling non-boot CPUs ... x86: Booting SMP configuration: smpboot: Booting Node 0 Processor 1 APIC 0x1 cache: parent cpu1 should not be sleeping CPU1 is up smpboot: Booti...

line 220 : return: can can only 'return' from a function or sourced script

Image
-1 # C A L L C U S T O M E R D E F I N E D P A R A M E T E R S #---------------------------------------------------------------------------------- cd /ERQ/100/DM/SCRIPTS . ./DMPR2ERQ_log_interface.env #---------------------------------------------------------------------------------- # I N T E R N A L S E C T I O N ! ! ! #---------------------------------------------------------------------------------- ORG_PWD=$PWD # save directory where i am COUNT=0 # actual value for retry logic DATE=`date +'%y%m%d%H%M%S'` # creating time stamp HUMAN_DATE=`date +'%d.%m.%Y - %H:%M:%S'` # creating human readable time stamp TMP_LOGFILE=$LOG_FILE_OUT.$$ ...