PM: Syncing filesystems ... done.
Apr 29 16:30:36 NSW kernel: [ 716.156144] PM: Syncing filesystems ... done.Apr 29 16:30:36 NSW kernel: [ 716.224262] Freezing user space processes ... (elapsed 0.00 seconds) done.Apr 29 16:30:36 NSW kernel: [ 716.224785] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.Apr 29 16:30:36 NSW kernel: [ 716.224836] Suspending console(s) (use no_console_suspend to debug)Apr 29 16:30:37 NSW kernel: [ 716.225102] sd 0:0:0:0: [sda] Synchronizing SCSI cacheApr 29 16:30:37 NSW kernel: [ 716.317777] sd 0:0:0:0: [sda] Stopping diskApr 29 16:30:37 NSW kernel: [ 717.752344] parport_pc 00:09: disabledApr 29 16:30:37 NSW kernel: [ 717.752520] serial 00:08: disabledApr 29 16:30:37 NSW kernel: [ 717.752692] serial 00:07: disabledApr 29 16:30:37 NSW kernel: [ 717.752823] ata_piix 0000:00:1f.2: PCI INT B disabledApr 29 16:30:37 NSW kernel: [ 717.768033] ehci_hcd 0000:00:1d.7: PCI INT A disabledApr 29 16:30:37 NSW kernel: [ 717.768042] uhci_hcd 0000:00:1d.3: PCI INT D disabledApr 29 16:30:37 NSW kernel: [ 717.768051] uhci_hcd 0000:00:1d.2: PCI INT C disabledApr 29 16:30:37 NSW kernel: [ 717.768060] uhci_hcd 0000:00:1d.1: PCI INT B disabledApr 29 16:30:37 NSW kernel: [ 717.768069] uhci_hcd 0000:00:1d.0: PCI INT A disabledApr 29 16:30:37 NSW kernel: [ 717.872083] HDA Intel 0000:00:1b.0: PCI INT A disabledApr 29 16:30:37 NSW kernel: [ 717.920193] PM: suspend devices took 1.696 secondsApr 29 16:30:37 NSW kernel: [ 717.920291] r8169 0000:02:00.0: PME# enabledApr 29 16:30:37 NSW kernel: [ 717.952698] ACPI: Preparing to enter system sleep state S3Apr 29 16:30:37 NSW kernel: [ 717.968010] Disabling non-boot CPUs ...Apr 29 16:30:37 NSW kernel: [ 718.034264] kvm: disabling virtualization on CPU1Apr 29 16:30:37 NSW kernel: [ 718.136027] CPU 1 is now offlineApr 29 16:30:37 NSW kernel: [ 718.136030] SMP alternatives: switching to UP codeApr 29 16:30:37 NSW kernel: [ 718.143714] CPU0: Thermal monitoring enabled (TM2)Apr 29 16:30:37 NSW kernel: [ 718.143714] Enabling non-boot CPUs ...Apr 29 16:30:37 NSW kernel: [ 718.143714] SMP alternatives: switching to SMP codeApr 29 16:30:37 NSW kernel: [ 718.148241] Booting processor 1 APIC 0x1 ip 0x6000Apr 29 16:30:37 NSW kernel: [ 718.143465] Initializing CPU#1Apr 29 16:30:37 NSW kernel: [ 718.143465] CPU: L1 I cache: 32K, L1 D cache: 32KApr 29 16:30:37 NSW kernel: [ 718.143465] CPU: L2 cache: 3072KApr 29 16:30:37 NSW kernel: [ 718.143465] CPU: Physical Processor ID: 0Apr 29 16:30:37 NSW kernel: [ 718.143465] CPU: Processor Core ID: 1Apr 29 16:30:37 NSW kernel: [ 718.143465] CPU1: Thermal monitoring enabled (TM2)Apr 29 16:30:37 NSW kernel: [ 718.236077] CPU1: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz stepping 0aApr 29 16:30:37 NSW kernel: [ 718.236091] kvm: enabling virtualization on CPU1Apr 29 16:30:37 NSW kernel: [ 718.264378] CPU1 is upApr 29 16:30:37 NSW kernel: [ 718.264868] ACPI: Waking up from system sleep state S3Apr 29 16:30:37 NSW kernel: [ 718.356517] [drm] DAC-6: set mode 1440x900 1cApr 29 16:30:37 NSW kernel: [ 718.376560] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16Apr 29 16:30:37 NSW kernel: [ 718.481347] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23Apr 29 16:30:37 NSW kernel: [ 718.481372] usb usb2: root hub lost power or was resetApr 29 16:30:37 NSW kernel: [ 718.481389] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19Apr 29 16:30:37 NSW kernel: [ 718.481412] usb usb3: root hub lost power or was resetApr 29 16:30:37 NSW kernel: [ 718.481429] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18Apr 29 16:30:37 NSW kernel: [ 718.481452] usb usb4: root hub lost power or was resetApr 29 16:30:37 NSW kernel: [ 718.481469] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16Apr 29 16:30:37 NSW kernel: [ 718.481492] usb usb5: root hub lost power or was resetApr 29 16:30:37 NSW kernel: [ 718.481510] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23Apr 29 16:30:37 NSW kernel: [ 718.481536] ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19Apr 29 16:30:37 NSW kernel: [ 718.482642] r8169 0000:02:00.0: PME# disabledApr 29 16:30:37 NSW kernel: [ 718.483240] serial 00:07: activatedApr 29 16:30:37 NSW kernel: [ 718.483763] serial 00:08: activatedApr 29 16:30:37 NSW kernel: [ 718.484282] parport_pc 00:09: activatedApr 29 16:30:37 NSW kernel: [ 718.496045] r8169: eth0: link upApr 29 16:30:37 NSW kernel: [ 718.512136] sd 0:0:0:0: [sda] Starting diskApr 29 16:30:37 NSW kernel: [ 718.660204] ata2.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered outApr 29 16:30:37 NSW kernel: [ 718.660209] ata2.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered outApr 29 16:30:37 NSW kernel: [ 718.660213] ata2.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered outApr 29 16:30:37 NSW kernel: [ 718.676228] ata2.00: configured for UDMA/100Apr 29 16:30:37 NSW kernel: [ 723.520014] ata1: link is slow to respond, please be patient (ready=0)Apr 29 16:30:37 NSW kernel: [ 724.300200] ata1.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered outApr 29 16:30:37 NSW kernel: [ 724.300204] ata1.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered outApr 29 16:30:37 NSW kernel: [ 724.300208] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered outApr 29 16:30:37 NSW kernel: [ 724.316403] ata1.00: configured for UDMA/133Apr 29 16:30:37 NSW kernel: [ 724.341511] PM: resume devices took 6.060 secondsApr 29 16:30:37 NSW kernel: [ 724.341591] Restarting tasks ... done.
void MApplication::suspendSystem() { qDebug() << "MApplication::suspendSystem. Invoke."; qDebug() << "MApplication::suspendSystem. Suspending system."; QFile powerStateFile("/sys/power/state"); if( !powerStateFile.open(QIODevice::ReadWrite | QIODevice::Text | QIODevice::Truncate)) { qWarning()<<"File not opened"; } else { QTextStream out(&powerStateFile); out << "mem"; powerStateFile.close(); } qDebug() << "MApplication::suspendSystem. Restoring system."; QApplication::instance()->processEvents(QEventLoop::AllEvents | QEventLoop::WaitForMoreEvents); qDebug() << "MApplication::suspendSystem. Finish."; // start timer again QTimer::singleShot(timeOut*60*1000, this, SLOT(suspendSystem()));}
Bash#!/bin/sh /media/sd/installqt.sh if [ -f /etc/default/nulldm ]; then . /etc/default/nulldmfi PIDFILE=/var/run/nulldm.pidecho $$ > $PIDFILE while :; do /media/sd/myshell -qws -nomouse -btn white -fn "unifont" 2>> /media/sd/shell.debugdone