[SOLVED]laptop suspend when LID close, even set HandleLidSwitch=ignore

i've modify
HandleLidSwitch=ignore
systemctl restart systemd-logind.service
But when close LID, it suspend.
Then i click some key on keybord , it come back.
/var/log/everything:
Mar 21 11:20:59 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:21:06 localhost dbus-daemon[317]: dbus[317]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.229" (uid=1000 pid=22838 comm="systemctl stop laptop-mode.service ") interface="org.freedesktop.systemd1.Manager" member="StopUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ")
Mar 21 11:21:13 localhost systemd[1]: Stopped Laptop Mode Tools.
Mar 21 11:21:15 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:21:37 localhost systemd[1]: Reloading.
Mar 21 11:21:37 localhost systemd[1]: /usr/lib/systemd/system-generators/systemd-fstab-generator exited with exit status 1.
Mar 21 11:21:37 localhost [358276.901952] systemd-fstab-generator[22955]: Failed to create mount unit file /run/systemd/generator/tmp.mount, as it already exists. Duplicate entry in /etc/fstab?
Mar 21 11:21:47 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:02 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:23 localhost logger: LID opened
Mar 21 11:22:31 localhost systemd[1]: Starting Sleep.
Mar 21 11:22:31 localhost systemd[1]: Reached target Sleep.
Mar 21 11:22:31 localhost systemd[1]: Starting Suspend...
Mar 21 11:22:31 localhost logger: LID closed
Mar 21 11:22:31 localhost systemd-sleep[23159]: Suspending system...
Mar 21 11:22:32 localhost kernel: [358330.844138] PM: Syncing filesystems ... done.
Mar 21 11:22:32 localhost kernel: [358331.305611] PM: Preparing system for mem sleep
Mar 21 11:22:47 localhost kernel: [358331.412348] Freezing user space processes ... (elapsed 0.02 seconds) done.
Mar 21 11:22:47 localhost kernel: [358331.439427] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Mar 21 11:22:47 localhost kernel: [358331.452995] PM: Entering mem sleep
Mar 21 11:22:47 localhost kernel: [358331.453150] Suspending console(s) (use no_console_suspend to debug)
Mar 21 11:22:47 localhost kernel: [358331.466400] e1000e 0000:00:19.0: irq 48 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358331.749415] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Mar 21 11:22:47 localhost kernel: [358331.749546] sd 0:0:0:0: [sda] Stopping disk
Mar 21 11:22:47 localhost kernel: [358332.106062] i915 0000:00:02.0: power state changed by ACPI to D3hot
Mar 21 11:22:47 localhost kernel: [358332.242667] PM: suspend of devices complete after 497.619 msecs
Mar 21 11:22:47 localhost kernel: [358332.243146] PM: late suspend of devices complete after 0.473 msecs
Mar 21 11:22:47 localhost kernel: [358332.243658] xhci_hcd 0000:03:00.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.269361] ehci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.282850] ehci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.309313] PM: noirq suspend of devices complete after 66.169 msecs
Mar 21 11:22:47 localhost kernel: [358332.309974] ACPI: Preparing to enter system sleep state S3
Mar 21 11:22:47 localhost kernel: [358332.310597] PM: Saving platform NVS memory
Mar 21 11:22:47 localhost kernel: [358332.317339] Disabling non-boot CPUs ...
Mar 21 11:22:47 localhost kernel: [358332.320383] smpboot: CPU 1 is now offline
Mar 21 11:22:47 localhost kernel: [358332.323050] smpboot: CPU 2 is now offline
Mar 21 11:22:47 localhost kernel: [358332.325460] smpboot: CPU 3 is now offline
Mar 21 11:22:47 localhost kernel: [358332.327433] ACPI: Low-level resume complete
Mar 21 11:22:47 localhost kernel: [358332.327483] PM: Restoring platform NVS memory
Mar 21 11:22:47 localhost kernel: [358332.328066] Enabling non-boot CPUs ...
Mar 21 11:22:47 localhost kernel: [358332.331542] smpboot: Booting Node 0 Processor 1 APIC 0x1
Mar 21 11:22:47 localhost kernel: [358332.355520] CPU1 is up
Mar 21 11:22:47 localhost kernel: [358332.358971] smpboot: Booting Node 0 Processor 2 APIC 0x2
Mar 21 11:22:47 localhost kernel: [358332.587540] CPU2 is up
Mar 21 11:22:47 localhost kernel: [358332.590984] smpboot: Booting Node 0 Processor 3 APIC 0x3
Mar 21 11:22:47 localhost kernel: [358332.605172] CPU3 is up
Mar 21 11:22:47 localhost kernel: [358332.610534] ACPI: Waking up from system sleep state S3
Mar 21 11:22:47 localhost systemd[1]: Time has been changed
Mar 21 11:22:47 localhost systemd[1]: systemd-tmpfiles-clean.timer: time change, recalculating next elapse.
Mar 21 11:22:47 localhost acpid: client 328[0:0] has disconnected
Mar 21 11:22:47 localhost systemd-sleep[23159]: System resumed.
Mar 21 11:22:47 localhost kernel: [358332.611098] i915 0000:00:02.0: power state changed by ACPI to D0
Mar 21 11:22:47 localhost kernel: [358332.661492] ehci_hcd 0000:00:1a.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.688143] ehci_hcd 0000:00:1d.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.715055] sdhci-pci 0000:01:00.0: MMC controller base frequency changed to 50Mhz.
Mar 21 11:22:47 localhost kernel: [358332.741549] xhci_hcd 0000:03:00.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.741712] PM: noirq resume of devices complete after 130.745 msecs
Mar 21 11:22:47 localhost kernel: [358332.743008] PM: early resume of devices complete after 0.206 msecs
Mar 21 11:22:47 localhost kernel: [358332.743043] i915 0000:00:02.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743146] mei 0000:00:16.0: irq 46 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743195] ehci_hcd 0000:00:1a.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743215] e1000e 0000:00:19.0: irq 48 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743301] snd_hda_intel 0000:00:1b.0: irq 49 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743481] ehci_hcd 0000:00:1d.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743508] ahci 0000:00:1f.2: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743611] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
Mar 21 11:22:47 localhost kernel: [358332.744213] mei 0000:00:16.0: wd: failed to find the client
Mar 21 11:22:47 localhost kernel: [358332.811881] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
Mar 21 11:22:47 localhost kernel: [358332.981624] usb 4-1.2: reset high-speed USB device number 3 using ehci_hcd
Mar 21 11:22:47 localhost kernel: [358333.061455] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Mar 21 11:22:47 localhost kernel: [358333.061936] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.061944] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._SDD] (Node ffff880149a55cf8), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062035] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062041] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._GTF] (Node ffff880149a55d20), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062591] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062599] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._SDD] (Node ffff880149a55cf8), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062690] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062696] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._GTF] (Node ffff880149a55d20), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062739] ata1.00: configured for UDMA/100
Mar 21 11:22:47 localhost kernel: [358333.074899] sd 0:0:0:0: [sda] Starting disk
Mar 21 11:22:47 localhost kernel: [358333.246448] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
Mar 21 11:22:47 localhost kernel: [358333.253820] iwlwifi 0000:02:00.0: Radio type=0x0-0x0-0x3
Mar 21 11:22:47 localhost kernel: [358333.391539] restoring control 00000000-0000-0000-0000-000000000101/0/2
Mar 21 11:22:47 localhost kernel: [358333.391541] restoring control 00000000-0000-0000-0000-000000000101/1/3
Mar 21 11:22:47 localhost kernel: [358333.391543] restoring control 00000000-0000-0000-0000-000000000101/2/6
Mar 21 11:22:47 localhost kernel: [358333.391544] restoring control 00000000-0000-0000-0000-000000000101/3/7
Mar 21 11:22:47 localhost kernel: [358333.391545] restoring control 00000000-0000-0000-0000-000000000101/5/9
Mar 21 11:22:47 localhost kernel: [358333.693001] PM: resume of devices complete after 950.103 msecs
Mar 21 11:22:47 localhost kernel: [358333.694210] PM: Finishing wakeup.
Mar 21 11:22:47 localhost kernel: [358333.694214] Restarting tasks ... done.
Mar 21 11:22:47 localhost kernel: [358333.706265] video LNXVIDEO:01: Restoring backlight state
Mar 21 11:22:47 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:47 localhost acpid: client connected from 328[0:0]
Mar 21 11:22:47 localhost acpid: 1 client rule loaded
Mar 21 11:22:47 localhost systemd[1]: Started Suspend.
Mar 21 11:22:47 localhost systemd[1]: Service sleep.target is not needed anymore. Stopping.
Mar 21 11:22:47 localhost systemd[1]: Stopping Sleep.
Mar 21 11:22:47 localhost systemd[1]: Stopped target Sleep.
Mar 21 11:22:47 localhost systemd[1]: Starting Suspend.
Mar 21 11:22:47 localhost systemd[1]: Reached target Suspend.
Mar 21 11:22:50 localhost logger: ACPI action undefined: PNP0C0A:00
Last edited by whille (2013-03-21 05:26:24)

You are still using acpid.  That is triggering the suspend, not logind.
Edit: Also use [ code ] [ /code ] tags (without the spaces) for things like your logs.  Hit the "quote" button if you are more of a visual learner.
This is how you use code tags.
Last edited by WonderWoofy (2013-03-21 03:38:53)

Similar Messages

  • [SOLVED] Run xscreensaver when I close the laptop lid

    I have xscreensaver running in my archlinux, and with a systemd service, I can start it after waking up my laptop.
    The problem is that I like to keep my laptop running when I close the lid (for example, to go to bed while I'm downloading a file, I like to simply close my lid), but I want to lock my computer.
    In the /etc/systemd/logind.conf, there is a nice option called HandleLidSwitch, which specifies which action is invoked when the lid is closed, and there is a lock option, but It doesn't work for me.
    The option suspend works fine.
    Here is my /etc/systemd/logind.conf:
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See logind.conf(5) for details
    [Login]
    #NAutoVTs=6
    #ReserveVT=6
    #KillUserProcesses=no
    #KillOnlyUsers=
    #KillExcludeUsers=root
    #Controllers=
    #ResetControllers=cpu
    #InhibitDelayMaxSec=5
    HandlePowerKey=suspend
    #HandleSuspendKey=suspend
    #HandleHibernateKey=hibernate
    HandleLidSwitch=ignore
    #PowerKeyIgnoreInhibited=no
    #SuspendKeyIgnoreInhibited=no
    #HibernateKeyIgnoreInhibited=no
    #LidSwitchIgnoreInhibited=yes
    #IdleAction=ignore
    #IdleActionSec=30min
    Any help?
    Last edited by alomsimoy (2013-09-10 18:08:33)

    I would say that you should just have logind ignore the LidSwitch altogether.  So if it is set to ignore the lid switch, then it obviously isn't going to be entering the suspend.target (or is it the sleep.target, I can't remember).  Therefore, you are going to have to have some other way of triggering actions in response to these events.
    The lid switch sends an event to udev, so you have the option of having a udev rule that responds to this, or using acpid to start this for you.  I would recommend using acpid, as it is much more flexible in what it can allow you to do.
    Edit: acpid is not necessarily more flexible than a udev rule, as it relies on the udev events.  But it is a much easier method of setup since it simply relies of basic scripting in order to make it work.  It can allow for one central script (or collection of scripts) to handle all the different events that udev sends.  To see what kinds of things trigger a udev event, you can use udevadm monitor or if you install acpid, there is the acpi_listen option.
    Edit2:  BTW, what is it you mean by not working?  Does it still suspend on lid close, or is your xscreensaver not started?  You need to be more explicit there.  If it is still suspending, have you rebooted or restarted logind after making those changes to logind.conf?  You can't just edit the file and have the changes implemented right away, as the configuration is parsed and the settign implemented on the service start.
    Last edited by WonderWoofy (2013-09-10 17:28:05)

  • Urgent: Shut down when lid closes problem

    My Mabook pro / mid 2010 / Yosemite 10.10 shuts down when lid closes. This is new in the last few days, not after any system updates. It wont restart after lid opens again, unless repeatedly holding down power button for long periods. Strangely, the sleep light is on before I open the lid, but once lid is open, it's completely off.
    Does anyone know the cause and/or fix for this? I'm really worried it's the beginning of the end, and I rely on this machine for work and need to travel in a few days! Thanks in advance for any trouble shooting tips.

    Just to clarify; when I say "this is new" I mean the problem, not the laptop.

  • Getting Arch to pm-suspend on lid close [SOLVED]

    Hello,
    I want Arch to suspend to RAM when I close my laptop lid. Here is what I did:
    I installed pm-utils. I also followed the wiki and set it up so that I can just say
    sudo pm-suspend
    and the computer suspends with the need to type in your password.
    Then, I installed acpid to have a way to capture acpi events.
    Now, from what I read on the wiki and in these forums, I had to edit /etc/acpi/handler.sh
    Here is the pertinent code that I edited:
    button/lid)
    #echo "LID switched!">/dev/tty5
    logger "ACPI lid switched $1 $2"
    if [ -n "`grep close /proc/acpi/button/lid/LID/state`" ]; then
    /usr/sbin/pm-suspend
    logger -s "ACPI lid closed";
    elif [ -n "`grep open /proc/acpi/button/lid/LID/state`" ]; then
    logger -s "ACPI lid opened"
    else
    logger -s "Couldn't detect Lid state"
    fi
    but the problem is that when I close the lid, it writes "ACPI lid closed" to the logfile, but instead of suspending the laptop, it just blanks the screen. Here is what it says in the log file
    Apr 18 11:02:45 Treadstone logger: ACPI lid closed
    Apr 18 11:02:45 Treadstone acpid: client connected from 4790[0:1000]
    Apr 18 11:02:45 Treadstone acpid: 1 client rule loaded
    Apr 18 11:02:47 Treadstone acpid: client 4790[0:1000] has disconnected
    Apr 18 11:02:47 Treadstone logger: ACPI lid switched button/lid LID
    Apr 18 11:02:47 Treadstone logger: ACPI lid opened
    Any help will be greatly appreciated.
    Last edited by mgangav (2009-04-18 19:46:01)

    B wrote:You need check the pm-suspend log for pointers .
    Ok, I checked the pm-suspend.log Here are it's contents:
    Initial commandline parameters:
    Sat Apr 18 11:45:03 EDT 2009: Running hooks for suspend.
    /usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post --quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3
    success.
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux Treadstone 2.6.28-ARCH #1 SMP PREEMPT Sun Mar 8 10:18:28 UTC 2009 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux
    Module Size Used by
    ipv6 260340 10
    i915 58372 2
    drm 83880 3 i915
    fuse 53020 2
    joydev 11712 0
    snd_seq_oss 31872 0
    snd_seq_midi_event 8192 1 snd_seq_oss
    snd_seq 49968 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 8204 2 snd_seq_oss,snd_seq
    snd_pcm_oss 40192 0
    uvcvideo 57736 0
    compat_ioctl32 3072 1 uvcvideo
    videodev 34176 1 uvcvideo
    v4l1_compat 15364 2 uvcvideo,videodev
    snd_mixer_oss 16512 1 snd_pcm_oss
    arc4 3712 2
    ecb 4608 2
    b44 28560 0
    ssb 40964 1 b44
    pcmcia 35532 1 ssb
    sdhci_pci 9088 0
    sdhci 17028 1 sdhci_pci
    container 5248 0
    mii 6528 1 b44
    iwl3945 91128 0
    mmc_core 46876 1 sdhci
    uhci_hcd 24592 0
    yenta_socket 25996 1
    rsrc_nonstatic 13056 1 yenta_socket
    pcmcia_core 34452 4 ssb,pcmcia,yenta_socket,rsrc_nonstatic
    snd_pcsp 11048 0
    sg 26804 0
    mac80211 161184 1 iwl3945
    snd_hda_intel 412980 0
    snd_hwdep 9092 1 snd_hda_intel
    psmouse 55828 0
    ehci_hcd 36876 0
    video 18704 0
    output 4608 1 video
    snd_pcm 70020 3 snd_pcm_oss,snd_pcsp,snd_hda_intel
    snd_timer 21384 2 snd_seq,snd_pcm
    snd_page_alloc 10120 2 snd_hda_intel,snd_pcm
    snd 50852 10 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcsp,snd_hda_intel,snd_hwdep,snd_pcm,snd_timer
    soundcore 8160 1 snd
    cfg80211 31760 2 iwl3945,mac80211
    serio_raw 7172 0
    usbcore 136848 4 uvcvideo,uhci_hcd,ehci_hcd
    i2c_i801 10896 0
    i2c_core 22804 1 i2c_i801
    intel_agp 27836 1
    agpgart 31572 3 drm,intel_agp
    iTCO_wdt 12836 0
    iTCO_vendor_support 4996 1 iTCO_wdt
    acer_wmi 16320 0
    rfkill 11596 4 iwl3945,acer_wmi
    led_class 5508 2 iwl3945,acer_wmi
    wmi 7848 1 acer_wmi
    evdev 11296 7
    thermal 17180 0
    processor 41388 3 thermal
    fan 6276 0
    button 7824 0
    battery 12036 0
    ac 6020 0
    rtc_cmos 12332 0
    rtc_core 17564 1 rtc_cmos
    rtc_lib 4480 1 rtc_core
    ext3 127112 2
    jbd 46996 1 ext3
    mbcache 8708 1 ext3
    sr_mod 16708 0
    cdrom 35360 1 sr_mod
    sd_mod 26904 5
    pata_acpi 6016 0
    ata_piix 23300 4
    ata_generic 6788 0
    libata 157856 3 pata_acpi,ata_piix,ata_generic
    scsi_mod 102164 4 sg,sr_mod,sd_mod,libata
    total used free shared buffers cached
    Mem: 2065460 482372 1583088 0 60728 194692
    -/+ buffers/cache: 226952 1838508
    Swap: 2931852 0 2931852
    success.
    /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: /bin/stty: standard input: Inappropriate ioctl for device
    success.
    /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/90chvt suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: success.
    /etc/pm/sleep.d/99lock suspend suspend: xscreensaver-command: warning: $DISPLAY is not set: defaulting to ":0.0".
    No protocol specified
    xscreensaver-command: can't open display :0.0
    Returned exit code 1.
    Sat Apr 18 11:45:05 EDT 2009: Inhibit found, will not perform suspend
    Sat Apr 18 11:45:05 EDT 2009: Running hooks for resume
    /usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
    /usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
    /usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/90chvt resume suspend: success.
    /usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
    /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
    /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/11netcfg resume suspend: /bin/stty: standard input: Inappropriate ioctl for device
    success.
    /usr/lib/pm-utils/sleep.d/01grub resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
    /usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
    /usr/lib/pm-utils/sleep.d/00auto-quirk resume suspend: success.
    From what I can tell, it seems that xscreensaver doesn't want to start for some reason. By the way here are the contents of my /etc/pm/sleep.d/
    #!/bin/bash
    case $1 in
    suspend)
    xscreensaver-command -l
    resume)
    echo "Coming out of sleep mode"
    echo "Doing something else"
    esac
    I wonder if xscreensave has anything to do with this?

  • Laptop shuts down when lid closes

    My 15" powerbook has been acting up the last few days ever since I downloaded the last group of updates. When I close the lid to put it to sleep the entire computer shuts down. When I open it and start it up it gives me the message that the computer was unexpected shut down. Any ideas?

    Sorry, then I have to give up
    Hopefully an other user can provide more assistance to you.
    I would give Apple a phone call and ask for support, since it seems to be affiliated with the replacement battery (at least I would state so to get support).

  • [SOLVED] Laptop suspends constantly for no reason

    Hello,
    I just did an Arch Linux install by following the beginners guide. I got to the point,
    where I have to boot for the first time into my newly installed system. Everything
    seems to work fine, so I went ahead and started installing some more packages.
    But then after about 3 minutes the laptop suddenly suspends. If I wake it up again
    it keeps suspending again and again after 10-20 seconds. How can I find out why
    the system is suspending all the time and fix this issue?
    Here is the dmesg output
    [ 17.350255] b44 ssb0:0 eth0: Link is up at 100 Mbps, full duplex
    [ 17.350267] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
    [ 17.350384] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 180.676865] b44 ssb0:0 eth0: powering down PHY
    [ 180.724695] PM: Syncing filesystems ... done.
    [ 181.046737] PM: Preparing system for mem sleep
    [ 181.046830] Freezing user space processes ... (elapsed 0.061 seconds) done.
    [ 181.108086] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [ 181.109181] PM: Entering mem sleep
    [ 181.109221] Suspending console(s) (use no_console_suspend to debug)
    [ 181.109618] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [ 181.152109] wlp2s7: Going into suspend...
    [ 181.185428] sd 0:0:0:0: [sda] Stopping disk
    [ 181.664153] PM: suspend of devices complete after 554.786 msecs
    [ 181.676775] PM: late suspend of devices complete after 12.617 msecs
    [ 181.690057] PM: noirq suspend of devices complete after 13.278 msecs
    [ 181.690445] ACPI: Preparing to enter system sleep state S3
    [ 181.690938] PM: Saving platform NVS memory
    [ 181.691408] Disabling non-boot CPUs ...
    [ 181.691408] ACPI: Low-level resume complete
    [ 181.691408] PM: Restoring platform NVS memory
    [ 181.691408] ACPI: Waking up from system sleep state S3
    [ 181.706965] PM: noirq resume of devices complete after 14.159 msecs
    [ 181.707304] PM: early resume of devices complete after 0.306 msecs
    [ 181.710168] usb usb2: root hub lost power or was reset
    [ 181.710339] usb usb3: root hub lost power or was reset
    [ 181.710505] usb usb4: root hub lost power or was reset
    [ 181.710672] usb usb5: root hub lost power or was reset
    [ 181.711509] wlp2s7: Coming out of suspend...
    [ 181.720488] sdhci-pci 0000:02:09.2: Will use DMA mode even though HW doesn't fully claim to support it.
    [ 181.747663] ata2: port disabled--ignoring
    [ 181.747708] sd 0:0:0:0: [sda] Starting disk
    [ 182.373372] firewire_core 0000:02:09.1: rediscovered device fw0
    [ 182.725729] PM: resume of devices complete after 1018.421 msecs
    [ 182.725887] PM: Finishing wakeup.
    [ 182.725890] Restarting tasks ... done.
    [ 182.852568] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 184.627148] ata1.01: ACPI cmd ef/03:0c:00:00:00:b0 (SET FEATURES) filtered out
    [ 184.627160] ata1.01: ACPI cmd ef/03:42:00:00:00:b0 (SET FEATURES) filtered out
    [ 184.633754] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
    [ 184.633765] ata1.00: ACPI cmd ef/03:41:00:00:00:a0 (SET FEATURES) filtered out
    [ 184.640411] ata1.00: configured for UDMA/100
    [ 184.653680] ata1.01: configured for UDMA/33
    [ 186.350227] b44 ssb0:0 eth0: Link is up at 100 Mbps, full duplex
    [ 186.350238] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
    [ 186.351349] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    and journalctl output
    [root@geist-notebook ~]# journalctl -xn
    -- Logs begin at Sun 2014-08-31 20:12:55 CEST, end at Sun 2014-08-31 20:17:34 CEST. --
    Aug 31 20:17:33 geist-notebook dhcpcd[232]: eth0: leased 192.168.1.28 for 86400 seconds
    Aug 31 20:17:33 geist-notebook dhcpcd[232]: eth0: adding route to 192.168.1.0/24
    Aug 31 20:17:33 geist-notebook dhcpcd[232]: eth0: adding default route via 192.168.1.1
    Aug 31 20:17:33 geist-notebook systemd-timesyncd[197]: Network configuration changed, trying to establish connection.
    and the system information of the laptop I'm using
    [root@geist-notebook ~]# inxi -F
    System: Host: geist-notebook Kernel: 3.16.1-1-ARCH i686 (32 bit) Console: tty 0 Distro: Arch Linux
    Machine: Mobo: Samsung model: SX20S v: PR serial: 123490EN400015 Bios: Phoenix v: 10ZE date: 11/06/2005
    CPU: Single core Intel Pentium M (-UP-) cache: 2048 KB clocked at 1733 MHz
    Graphics: Card: Intel Mobile 915GM/GMS/910GML Express Graphics Controller
    Display Server: N/A driver: N/A tty size: 134x69 Advanced Data: N/A for root out of X
    Audio: Card Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller driver: snd_intel8x0
    Sound: Advanced Linux Sound Architecture v: k3.16.1-1-ARCH
    Network: Card-1: Broadcom BCM4401-B0 100Base-TX driver: b44
    IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:13:77:04:18:b1
    Card-2: Intel PRO/Wireless 2200BG [Calexico2] Network Connection driver: ipw2200
    IF: wlp2s7 state: down mac: 00:13:ce:f4:8c:53
    Drives: HDD Total Size: 79.6GB (3.2% used) ID-1: /dev/sda model: SAMSUNG_MP0804H size: 79.6GB
    Partition: ID-1: / size: 9.8G used: 936M (10%) fs: ext4 dev: /dev/sda2
    ID-2: /home size: 62G used: 52M (1%) fs: ext4 dev: /dev/sda3
    ID-3: swap-1 size: 1.61GB used: 0.00GB (0%) fs: swap dev: /dev/sda4
    Sensors: None detected - is lm-sensors installed and configured?
    Info: Processes: 108 Uptime: 13 min Memory: 35.1/996.3MB Init: systemd Client: Shell (bash) inxi: 2.2.1
    Regards
    geist
    Last edited by geist (2014-09-01 11:19:49)

    Maybe a suspend key or lid switch is triggered wrongly, maybe you can set the default actions to ignore in /etc/systemd/logind.conf like:
    HandleSuspendKey=ignore
    HandleLidSwitch=ignore
    Hard to do within 10sec ...
    Can you boot with the install CD and chroot in ?
    There were some other recent threads about suddenly suspending...
    Edit: wording
    Last edited by rebootl (2014-08-31 22:29:27)

  • Disconnects when lid closes

    I was curious if there is a setting that when you close the lid to your laptop that it doesn't disconnect you from being on-line?? When i re-open the top my AIM and internet is logged off..
    Mac Book   Mac OS X (10.4.8)  

    When you close your screen, your computer is essentially sleeping. So the harddisks stop. Meaning no data transfer at all..
    If you want, get lucky and buy a new macbook that doesnt sleep when you close the lid. haha. mine did that. but i got it fixed.

  • After running KDE for some time, it will stop suspending on lid close

    I can use KDE for a day or two and it will behave just fine, but inevitably, after some time, it will stop going to sleep when I close the lid or after my 15 minute timeout that I have set up in the power manager thing.
    A reboot will fix it for a while. This does not happen in Xfce or Gnome. Hitting the suspend button works.
    There are about 10,000 things that could affect suspending, so I'm just wondering if anyone else has had a similar problem?

    I can use KDE for a day or two and it will behave just fine, but inevitably, after some time, it will stop going to sleep when I close the lid or after my 15 minute timeout that I have set up in the power manager thing.
    A reboot will fix it for a while. This does not happen in Xfce or Gnome. Hitting the suspend button works.
    There are about 10,000 things that could affect suspending, so I'm just wondering if anyone else has had a similar problem?

  • Shutting off when lid closes

    I just bought a 13 inch MBP yesterday. I know macbooks are supposed to sleep when the lid is closed by default. But a few times when I opened the lid, the computer had appeared to turn completely off. The indicator light on the front was steady when the lid was closed, not blinking like I believe it is supposed to be when sleeping.
    Any ideas?

    1. Within 14 days of purchase of an Apple product, you can either return it or exchange it for a new one.
    2. You have 90 days of free tech support from Apple from the date of purchase.
         AppleCare: 1-800-275-2273.
    3. For
        A portable Mac doesn't appear to respond properly when you close or open the lid.
        Reset SMC. http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".

  • [Solved]Laptop does not start (not even bios)

    Hi all,
    I was about to install archlinux on my laptop. When I generate partitions (I used GPT), I saw something like this:
    "If you have a BIOS motherboard (or plan on booting in BIOS compatibility mode) and you want to setup GRUB on a GPT-partitioned drive, you will need to create an extra BIOS Boot Partition of size 1 or 2 MiB and EF02 type code. Syslinux does not need one."
    So, I was planning to make this. When I run cgdisk, I was that lthere was a 1007kb unusued(?) space. So I thought I can use this space for boot sector. Then I changed its type to EF02. When I did this, my laptop shutted down quickly and does not start again. When I press the power up button; I hear the usual starting noise, and then it shuts down again.
    What did I do to my laptop?
    What I tried:
    Remove battery, wait for 5 minutes, try again
    Remove hdd, try again
    Unplug&plug bios battery, try again
    Edit: Solved with a shame. Wall-charger was unplugged. This topic can be removed.
    Last edited by firatakandere (2013-12-24 17:09:56)

    firatakandere wrote:Wall-charger was unplugged. This topic can be removed.
    Why?  Others may learn for your experience
    Welcome to Arch Linux.

  • Restarts when lid closes

    Sometimes when I close the lid in battery mode I here the TA DA! and I open the monitor and here the OS X is booting up like on a restart. It does not happen all the time. Any ideals what could be causing this? I leave my power settings in the Normal mode.

    I have the same problem... But, more often than not, if I close the lid while it's still "thinking" about shutting down, I get frozen in some weird zombie limbo, in which the computer is half-shut-down, but, like, frozen in sleep mode... and i have a **** of a time getting it to respond and restart. when i finally DO restart, i get a message saying it wasn't shut down properly. (tho: it WAS shut down properly. it's just this bizarre restart it does when i shut the lid.) would LOVE advice!

  • [SOLVED] Disconnecting session when client close browser's window or tab

    Hello,
    I'm looking for disconnect my database session and invalidate the session with the "onunload" af:document function. I think that is the same as the "onunload" in "body" html tag.
    I see some documentation about that, for example:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/document.html
    and I see that is enable to put an EL Expression, so I try with this:
    <f:view>
    <af:document binding="#{backing_user.document_user}" id="document_user" onunload="#{backing_user.logout}">
    <af:form binding="#{backing_user.form_user}" id="form_user"/>
    </af:document>
    </f:view>
    and not works, then I try:
    <f:view>
    <af:document binding="#{backing_user.document_user}" id="document_user" onunload="return logout_function()">
    <af:form binding="#{backing_user.form_user}" id="form_user"/>
    </af:document>
    </f:view>
    and as this, I try a lot of combinations, with no result. I take my time searching in various browsers but, surprisingly, I fount not much information about this (rare, I think is a very interesting matter).
    What is the way to be able this funcionallity?
    Thanks,
    Westh
    Edit: obviusly, logout_function() is a correct javascript function :P

    Hello,
    I resolve my problem. Now I go to describe the steps in a little tutorial.
    Remmember that this is a very basic tutorial that only allow you to do this matter, but not in deep. See bottom links for more information.
    Step's list:
    1) Download Shale framework from http://shale.apache.org/index.html#download
    2) Import all .jar libraries in your application.
    3) Open your web.xml file and add this:
    <context-param>
    <param-name>org.apache.shale.remoting.DYNAMIC_RESOURCES</param-name>
    <param-value>/dynamic/*:org.apache.shale.remoting.impl.MethodBindingProcessor</param-value>
    </context-param>
    4) Consider this:
    4.1) Managed bean --> userBean.java that have this method:
    public void logout () {
    /* Your logout code */
    and this name in faces-config.xml:
    <managed-bean>
    <managed-bean-name>userBeanId</managed-bean-name>
    <managed-bean-class>userBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    4.2) JSP Page --> home.jsp that have this code:
    A clinet listener:
    <af:clientListener method="unloadEvent" type="load"/>
    and this javascript functions:
    <f:verbatim>
    <script type="text/javascript">
    function unloadEvent () {
    window.onunload = function () {
    processUnload();
    function processUnload () {
    var httpRequest;
    if (window.XMLHttpRequest) {
    httpRequest = new XMLHttpRequest();
    } else if (window.ActiveXObject) {
    httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
    httpRequest.overrideMimeType('text/xml');
    httpRequest.onreadystatechange = function() { alertContents(httpRequest); };
    httpRequest.open('GET', 'dynamic/userBeanId/logout.faces', false);
    httpRequest.send('');
    function alertContents(httpRequest) {
    if (httpRequest.readyState == 4) {
    if (!httpRequest.status == 200) {
    alert('There was a problem with the request. Http code: ' + httpRequest.status);
    </script>
    </f:verbatim>
    Assuming the suffix '.faces' is mapped to the JSF servlet.
    With this, you are able to acces to logout method of userBean (using ajax) when client closes window or tab. No servlets, no 'logout.jsp' pages, etc; and the most important thing: the code never be repeat! it's funny :)
    Westh
    Resources:
    http://thepeninsulasedge.com/blog/2007/06/22/adf-faces-rc-more-on-javascript/
    http://thepeninsulasedge.com/frank_nimphius/adf-faces-rich-client-javascript-programming/
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/adf-richclient-api/tagdoc/af_clientListener.html
    http://shale.apache.org/shale-remoting/apidocs/org/apache/shale/remoting/package-summary.html
    http://shale.apache.org/shale-remoting/index.html

  • [Solved] Laptop Suspend puts Hard Drive into Read-Only

    My problem is that s2ram brings back X (and the virtual console, if I'm on one), but never the hard drive.
    s2ram -f -a 1 suspends just like s2ram -f. -a 2 and 3 just make a high pitched sound.
    I tried both http://wiki.archlinux.org/index.php/Suspend_to_RAM and http://wiki.archlinux.org/index.php/Pm-utils methods.
    I updated my BIOS drivers but that didn't help
    s2disk works perfectly.
    This is a COMPAQ Presario CQ60-215DX
    Here is my log of the trouble during resume:
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    sd 3:0:0:0: [sda] Starting disk
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: limiting SATA link speed to 1.5 Gbps
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata4: limiting SATA link speed to 1.5 Gbps
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
    ata4: SATA link up <unknown> (SStatus 103 SControl 310)
    And my full log:
    Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009
    Command line: root=/dev/disk/by-uuid/9ae7dfa5-74b2-41e2-89bc-b344bbf47109 ro
    KERNEL supported cpus:
    Intel GenuineIntel
    AMD AuthenticAMD
    Centaur CentaurHauls
    libata version 3.00 loaded.
    pata_amd 0000:00:06.0: version 0.4.1
    pata_amd 0000:00:06.0: setting latency timer to 64
    scsi0 : pata_amd
    scsi1 : pata_amd
    ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0x30c0 irq 14
    ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x30c8 irq 15
    ahci 0000:00:09.0: version 3.0
    ACPI: PCI Interrupt Link [LSI0] enabled at IRQ 22
    ahci 0000:00:09.0: PCI INT A -> Link[LSI0] -> GSI 22 (level, low) -> IRQ 22
    ahci 0000:00:09.0: irq 25 for MSI/MSI-X
    ahci 0000:00:09.0: AHCI 0001.0200 32 slots 2 ports 3 Gbps 0x3 impl IDE mode
    ahci 0000:00:09.0: flags: 64bit ncq sntf led clo pmp pio slum part
    ahci 0000:00:09.0: setting latency timer to 64
    scsi2 : ahci
    scsi3 : ahci
    ata3: SATA max UDMA/133 abar m8192@0xc0004000 port 0xc0004100 irq 25
    ata4: SATA max UDMA/133 abar m8192@0xc0004000 port 0xc0004180 irq 25
    ata2: port disabled. ignoring.
    Clocksource tsc unstable (delta = 4397486409693 ns)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata4.00: ATA-8: TOSHIBA MK2555GSX, FG002C, max UDMA/100
    ata4.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
    ata4.00: configured for UDMA/100
    ata3.00: ATAPI: Optiarc DVD RW AD-7580S, FH03, max UDMA/100
    ata3.00: configured for UDMA/100
    scsi 2:0:0:0: CD-ROM Optiarc DVD RW AD-7580S FH03 PQ: 0 ANSI: 5
    scsi 3:0:0:0: Direct-Access ATA TOSHIBA MK2555GS FG00 PQ: 0 ANSI: 5
    Driver 'sr' needs updating - please use bus_type methods
    sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.20
    sr 2:0:0:0: Attached scsi CD-ROM sr0
    Driver 'sd' needs updating - please use bus_type methods
    sd 3:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
    sd 3:0:0:0: [sda] Write Protect is off
    sd 3:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sda: sda1 sda2 sda3 < sda5 > sda4
    sd 3:0:0:0: [sda] Attached SCSI disk
    EXT4-fs: INFO: recovery required on readonly filesystem.
    EXT4-fs: write access will be enabled during recovery.
    EXT4-fs: barriers enabled
    kjournald2 starting: pid 569, dev sda2:8, commit interval 5 seconds
    EXT4-fs: delayed allocation enabled
    EXT4-fs: file extents enabled
    EXT4-fs: mballoc enabled
    EXT4-fs: sda2: orphan cleanup on readonly fs
    ext4_orphan_cleanup: deleting unreferenced inode 148384
    ext4_orphan_cleanup: deleting unreferenced inode 147907
    ext4_orphan_cleanup: deleting unreferenced inode 147903
    EXT4-fs: sda2: 3 orphan inodes deleted
    EXT4-fs: recovery complete.
    EXT4-fs: mounted filesystem sda2 with ordered data mode
    rtc_cmos 00:06: RTC can wake from S4
    rtc_cmos 00:06: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one year, y3k, 114 bytes nvram, hpet irqs
    udev: starting version 141
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    ACPI: AC Adapter [ADP1] (on-line)
    forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
    ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 21
    forcedeth 0000:00:0a.0: PCI INT A -> Link[LMAC] -> GSI 21 (level, low) -> IRQ 21
    forcedeth 0000:00:0a.0: setting latency timer to 64
    sr 2:0:0:0: Attached scsi generic sg0 type 5
    sd 3:0:0:0: Attached scsi generic sg1 type 0
    usbcore: registered new device driver usb
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    cfg80211: Calling CRDA to update world regulatory domain
    input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
    ACPI: Power Button [PWRF]
    input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
    ACPI: Lid Switch [LID0]
    input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input4
    ACPI: Sleep Button [SLPB]
    input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5
    ACPI: Power Button [PWRB]
    processor ACPI_CPU:00: registered as cooling_device0
    processor ACPI_CPU:01: registered as cooling_device1
    forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:1f:16:74:cb:72
    forcedeth 0000:00:0a.0: highdma csum pwrctl mgmt lnktim msi desc-v3
    ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 17
    ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUS2] -> GSI 17 (level, low) -> IRQ 17
    ehci_hcd 0000:00:02.1: setting latency timer to 64
    ehci_hcd 0000:00:02.1: EHCI Host Controller
    ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:02.1: debug port 1
    ehci_hcd 0000:00:02.1: cache line size of 64 is not supported
    ehci_hcd 0000:00:02.1: irq 17, io mem 0xc0007000
    ACPI: WMI: Mapper loaded
    ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    i2c-adapter i2c-0: nForce2 SMBus adapter at 0x3040
    i2c-adapter i2c-1: nForce2 SMBus adapter at 0x3000
    ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 17
    ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUS0] -> GSI 17 (level, low) -> IRQ 17
    ohci_hcd 0000:00:02.0: setting latency timer to 64
    ohci_hcd 0000:00:02.0: OHCI Host Controller
    ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
    ohci_hcd 0000:00:02.0: irq 17, io mem 0xc0006000
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 3 ports detected
    ACPI: PCI Interrupt Link [Z011] enabled at IRQ 16
    ehci_hcd 0000:00:04.1: PCI INT B -> Link[Z011] -> GSI 16 (level, low) -> IRQ 16
    ehci_hcd 0000:00:04.1: setting latency timer to 64
    ehci_hcd 0000:00:04.1: EHCI Host Controller
    ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 3
    ehci_hcd 0000:00:04.1: debug port 1
    ehci_hcd 0000:00:04.1: cache line size of 64 is not supported
    ehci_hcd 0000:00:04.1: irq 16, io mem 0xc0007400
    ehci_hcd 0000:00:04.1: USB 2.0 started, EHCI 1.00
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 4 ports detected
    ACPI: PCI Interrupt Link [Z010] enabled at IRQ 16
    ohci_hcd 0000:00:04.0: PCI INT A -> Link[Z010] -> GSI 16 (level, low) -> IRQ 16
    ohci_hcd 0000:00:04.0: setting latency timer to 64
    ohci_hcd 0000:00:04.0: OHCI Host Controller
    ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 4
    ohci_hcd 0000:00:04.0: irq 16, io mem 0xc0008000
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 4 ports detected
    thermal LNXTHERM:01: registered as thermal_zone0
    ACPI: Thermal Zone [TZS0] (68 C)
    ACPI: Battery Slot [BAT0] (battery present)
    thermal LNXTHERM:02: registered as thermal_zone1
    ACPI: Thermal Zone [TZS1] (68 C)
    usb 1-1: new high speed USB device using ehci_hcd and address 2
    nvidia: module license 'NVIDIA' taints kernel.
    Disabling lock debugging due to kernel taint
    usb 1-1: configuration #1 chosen from 1 choice
    Synaptics Touchpad, model: 1, fw: 7.0, id: 0x1a0b1, caps: 0xd04711/0xa00000
    acpi device:13: registered as cooling_device2
    input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:10/device:11/input/input6
    ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    usb 3-4: new high speed USB device using ehci_hcd and address 2
    input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input7
    ath5k 0000:07:00.0: PCI INT A -> Link[Z012] -> GSI 23 (level, low) -> IRQ 23
    ath5k 0000:07:00.0: setting latency timer to 64
    ath5k 0000:07:00.0: registered as 'phy0'
    usb 3-4: configuration #1 chosen from 1 choice
    ACPI: PCI Interrupt Link [LGPU] enabled at IRQ 20
    nvidia 0000:02:00.0: PCI INT A -> Link[LGPU] -> GSI 20 (level, low) -> IRQ 20
    nvidia 0000:02:00.0: setting latency timer to 64
    NVRM: loading NVIDIA UNIX x86_64 Kernel Module 185.18.31 Tue Jul 28 17:52:27 PDT 2009
    EXT4 FS on sda2, internal journal on sda2:8
    Adding 3148700k swap on /dev/sda5. Priority:-1 extents:1 across:3148700k
    scsi 4:0:0:0: Direct-Access Generic- Multi-Card 1.00 PQ: 0 ANSI: 0 CCS
    sd 4:0:0:0: Attached scsi generic sg2 type 0
    usb-storage: device scan complete
    sd 4:0:0:0: [sdb] Attached SCSI removable disk
    scsi 5:0:0:0: Direct-Access USB Driver 0.00 PQ: 0 ANSI: 0 CCS
    sd 5:0:0:0: Attached scsi generic sg3 type 0
    usb-storage: device scan complete
    sd 5:0:0:0: [sdc] 7827456 512-byte hardware sectors: (4.00 GB/3.73 GiB)
    sd 5:0:0:0: [sdc] Write Protect is off
    sd 5:0:0:0: [sdc] Mode Sense: 23 00 00 00
    sd 5:0:0:0: [sdc] Assuming drive cache: write through
    sd 5:0:0:0: [sdc] Assuming drive cache: write through
    sdc:
    sd 5:0:0:0: [sdc] Attached SCSI removable disk
    forcedeth 0000:00:0a.0: irq 26 for MSI/MSI-X
    eth0: no link during initialization.
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    PM: Syncing filesystems ... done.
    Freezing user space processes ... (elapsed 0.00 seconds) done.
    Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
    Suspending console(s) (use no_console_suspend to debug)
    sd 3:0:0:0: [sda] Synchronizing SCSI cache
    sd 3:0:0:0: [sda] Stopping disk
    ath5k 0000:07:00.0: PCI INT A disabled
    forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
    forcedeth 0000:00:0a.0: PME# disabled
    forcedeth 0000:00:0a.0: PCI INT A disabled
    HDA Intel 0000:00:07.0: PCI INT A disabled
    ata2: port disabled. ignoring.
    ehci_hcd 0000:00:04.1: PCI INT B disabled
    ehci_hcd 0000:00:04.1: PME# disabled
    ohci_hcd 0000:00:04.0: PCI INT A disabled
    ohci_hcd 0000:00:04.0: PME# disabled
    ehci_hcd 0000:00:02.1: PCI INT B disabled
    ehci_hcd 0000:00:02.1: PME# disabled
    ohci_hcd 0000:00:02.0: PCI INT A disabled
    ohci_hcd 0000:00:02.0: PME# disabled
    ACPI: Preparing to enter system sleep state S3
    Disabling non-boot CPUs ...
    CPU 1 is now offline
    SMP alternatives: switching to UP code
    CPU0 attaching NULL sched-domain.
    CPU1 attaching NULL sched-domain.
    CPU0 attaching NULL sched-domain.
    CPU1 is down
    Extended CMOS year: 2000
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Back to C!
    Extended CMOS year: 2000
    Enabling non-boot CPUs ...
    SMP alternatives: switching to SMP code
    Booting processor 1 APIC 0x1 ip 0x6000
    Initializing CPU#1
    Calibrating delay using timer specific routine.. 4001.76 BogoMIPS (lpj=6666816)
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 512K (64 bytes/line)
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 1
    x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
    CPU1: AMD Athlon Dual-Core QL-62 stepping 01
    CPU0 attaching NULL sched-domain.
    Switched to high resolution mode on CPU 1
    CPU0 attaching sched-domain:
    domain 0: span 0-1 level MC
    groups: 0 1
    CPU1 attaching sched-domain:
    domain 0: span 0-1 level MC
    groups: 1 0
    CPU1 is up
    ACPI: Waking up from system sleep state S3
    ohci_hcd 0000:00:02.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
    ehci_hcd 0000:00:02.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
    ohci_hcd 0000:00:04.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
    ehci_hcd 0000:00:04.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
    pata_amd 0000:00:06.0: restoring config space at offset 0x1 (was 0xb00005, writing 0xb80005)
    HDA Intel 0000:00:07.0: restoring config space at offset 0xf (was 0x5020100, writing 0x502010a)
    HDA Intel 0000:00:07.0: restoring config space at offset 0x4 (was 0x0, writing 0xc0000000)
    HDA Intel 0000:00:07.0: restoring config space at offset 0x1 (was 0xb00000, writing 0xb00002)
    ahci 0000:00:09.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00407)
    pcieport-driver 0000:00:14.0: restoring config space at offset 0x7 (was 0x1f1, writing 0x200001f1)
    pcieport-driver 0000:00:14.0: restoring config space at offset 0x1 (was 0x100107, writing 0x1005
    nvidia 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10a)
    nvidia 0000:02:00.0: restoring config space at offset 0x9 (was 0x1, writing 0x4001)
    nvidia 0000:02:00.0: restoring config space at offset 0x7 (was 0xc, writing 0xc400000c)
    nvidia 0000:02:00.0: restoring config space at offset 0x5 (was 0xc, writing 0xd000000c)
    ath5k 0000:07:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
    nForce2_smbus 0000:00:01.1: PME# disabled
    ohci_hcd 0000:00:02.0: PME# disabled
    ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUS0] -> GSI 17 (level, low) -> IRQ 17
    ohci_hcd 0000:00:02.0: setting latency timer to 64
    ohci_hcd 0000:00:02.0: PME# disabled
    ehci_hcd 0000:00:02.1: PME# disabled
    ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUS2] -> GSI 17 (level, low) -> IRQ 17
    ehci_hcd 0000:00:02.1: setting latency timer to 64
    ehci_hcd 0000:00:02.1: PME# disabled
    usb usb1: root hub lost power or was reset
    ehci_hcd 0000:00:02.1: debug port 1
    ehci_hcd 0000:00:02.1: cache line size of 64 is not supported
    ohci_hcd 0000:00:04.0: PME# disabled
    ohci_hcd 0000:00:04.0: PCI INT A -> Link[Z010] -> GSI 16 (level, low) -> IRQ 16
    ohci_hcd 0000:00:04.0: setting latency timer to 64
    ohci_hcd 0000:00:04.0: PME# disabled
    ehci_hcd 0000:00:04.1: PME# disabled
    ehci_hcd 0000:00:04.1: PCI INT B -> Link[Z011] -> GSI 16 (level, low) -> IRQ 16
    ehci_hcd 0000:00:04.1: setting latency timer to 64
    ehci_hcd 0000:00:04.1: PME# disabled
    usb usb3: root hub lost power or was reset
    ehci_hcd 0000:00:04.1: debug port 1
    ehci_hcd 0000:00:04.1: cache line size of 64 is not supported
    pata_amd 0000:00:06.0: restoring config space at offset 0x1 (was 0xb00005, writing 0xb80005)
    pata_amd 0000:00:06.0: setting latency timer to 64
    ata2: port disabled. ignoring.
    HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 19 (level, low) -> IRQ 19
    HDA Intel 0000:00:07.0: setting latency timer to 64
    pci 0000:00:08.0: setting latency timer to 64
    ahci 0000:00:09.0: setting latency timer to 64
    forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
    forcedeth 0000:00:0a.0: PME# disabled
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    forcedeth 0000:00:0a.0: irq 26 for MSI/MSI-X
    eth0: no link during initialization.
    pci 0000:00:0b.0: setting latency timer to 64
    ath5k 0000:07:00.0: PCI INT A -> Link[Z012] -> GSI 23 (level, low) -> IRQ 23
    sd 3:0:0:0: [sda] Starting disk
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3: limiting SATA link speed to 1.5 Gbps
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata4: limiting SATA link speed to 1.5 Gbps
    ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
    ata4: SATA link up <unknown> (SStatus 103 SControl 310)
    ata4.00: qc timeout (cmd 0xec)
    ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata4.00: revalidation failed (errno=-5)
    ata4.00: disabled
    ata3.00: qc timeout (cmd 0xa1)
    ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
    ata3.00: revalidation failed (errno=-5)
    ata3.00: disabled
    sd 3:0:0:0: [sda] START_STOP FAILED
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 134590273
    Buffer I/O error on device sda2, logical block 1094141
    lost page write due to I/O error on sda2
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 135807281
    Buffer I/O error on device sda2, logical block 1246267
    lost page write due to I/O error on sda2
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 135815833
    Buffer I/O error on device sda2, logical block 1247336
    lost page write due to I/O error on sda2
    JBD2: Detected IO errors while flushing file data on sda2:8
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 155463993
    Aborting journal on device sda2:8.
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 155459417
    Buffer I/O error on device sda2, logical block 3702784
    lost page write due to I/O error on sda2
    JBD2: I/O error detected when updating journal superblock for sda2:8.
    PM: Device 3:0:0:0 failed to resume: error 262144
    usb 1-1: reset high speed USB device using ehci_hcd and address 2
    usb 3-4: reset high speed USB device using ehci_hcd and address 2
    Restarting tasks ... <2>ext4_abort called.
    EXT4-fs error (device sda2): ext4_journal_start_sb: Detected aborted journal
    Remounting filesystem read-only
    ext4_da_writepages: jbd2_start: 1024 pages, ino 131086; err -30
    Pid: 20, comm: pdflush Tainted: P 2.6.30-ARCH #1
    Call Trace:
    [<ffffffffa00d738d>] ? ext4_da_writepages+0x47d/0x4b0 [ext4]
    [<ffffffff8026c6a4>] ? bit_waitqueue+0x24/0xe0
    [<ffffffff802c8332>] ? do_writepages+0x32/0x60
    [<ffffffff80321b7a>] ? __writeback_single_inode+0xba/0x490
    [<ffffffff802406e6>] ? dequeue_task_fair+0x56/0x1d0
    [<ffffffff8020a95c>] ? __switch_to+0xdc/0x3b0
    [<ffffffff803223b3>] ? generic_sync_sb_inodes+0x193/0x530
    [<ffffffff803229c5>] ? writeback_inodes+0x65/0x120
    [<ffffffff802c85a6>] ? wb_kupdate+0xc6/0x160
    [<ffffffff802c995b>] ? pdflush+0x16b/0x2a0
    [<ffffffff802c84e0>] ? wb_kupdate+0x0/0x160
    [<ffffffff802c97f0>] ? pdflush+0x0/0x2a0
    [<ffffffff802c97f0>] ? pdflush+0x0/0x2a0
    [<ffffffff8026c204>] ? kthread+0x64/0xc0
    [<ffffffff8024af20>] ? schedule_tail+0x30/0x80
    [<ffffffff8020d4fa>] ? child_rip+0xa/0x20
    [<ffffffff8026c1a0>] ? kthread+0x0/0xc0
    [<ffffffff8020d4f0>] ? child_rip+0x0/0x20
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    done.
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 130097993
    EXT4-fs error (device sda2): ext4_find_entry: reading directory #139292 offset 0
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126637417
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126004889
    EXT4-fs error (device sda2): ext4_find_entry: reading directory #98457 offset 0
    sd 3:0:0:0: [sda] Unhandled error code
    sd 3:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
    end_request: I/O error, dev sda, sector 126004889
    EXT4-fs error (device sda2): ext4_find_entry: reading directory #98457 offset 0
    ANY help would be much appreciated.
    Last edited by Cappy (2009-08-10 08:19:09)

    Nevermind .. *sigh* ... pci=msi on the kernel fixed it .. going to go cut myself now ...

  • Laptop suspends when waking from hibernation

    I have edited /etc/systemd/logid.conf to hibernate when pressing power button  but when waking the laptop it's immediately put to sleep and I have to touch the keys to wake second time.
    My config looks like this:
    [Login]
    #NAutoVTs=6
    #ReserveVT=6
    #KillUserProcesses=no
    #KillOnlyUsers=
    #KillExcludeUsers=root
    #Controllers=
    #ResetControllers=cpu
    #InhibitDelayMaxSec=5
    HandlePowerKey=hibernate
    #HandleSuspendKey=suspend
    #HandleHibernateKey=hibernate
    HandleLidSwitch=suspend
    PowerKeyIgnoreInhibited=no
    SuspendKeyIgnoreInhibited=no
    HibernateKeyIgnoreInhibited=no
    LidSwitchIgnoreInhibited=yes
    #IdleAction=ignore
    #IdleActionSec=30min
    why is  that?
    I use no acpi, pm-utils,just systemd.
    i use no DE, just fluxbox by starting it at login.
    I do not perfectly understand those options and I have read the systemd wiki many times.
    Please help
    Last edited by innn (2013-06-13 17:41:51)

    have you seen https://bbs.archlinux.org/viewtopic.php?id=149711
    perhaps not directly related as some posts talk about KDE gnome but there's a link to another similar issue as well. I tend to run KDE or console only and haven't had to mess with anything like this.

  • Airport drops when lid closes

    Hey all,
    I'd really appreciate your help on this, I can't figure out if it's a normal defect of the MBA or just my model....I just got my ACD and I couldn't figure out why the network was constantly dropping when my 4 year old powerbook found it just fine. Then I realized when the lid is closed, or almost closed, the network completely drops even though the computer runs just fine (with my display, external keyboard and mouse). I can't figure this out. Something in the hinge is turning off the airport card?
    Thanks in advance.

    Sorry about the sidetracking, was trying to correct the information that the other poster added (in two posts) that you can't use the MBA with it closed so others would not think that was true.
    The closed lid may be interfering with the WiFi antenna or placing the antenna in a position where something is in the way that can block the signal. Other possibility is closing the lid is causing a problem with a short/loose connection due to a defect. To eliminate the first, move the arrangement of your monitor, etc. For the second you'd need to have it serviced.

Maybe you are looking for

  • Feature request: Include tool to mount disk images as virtual drives

    Such a tool has been put out by Microsoft before, but as new versions of Windows come they break compatibility as the driver needs to change with the version. If you become dependent on such a feature (I don't want to use up writable disks if I don't

  • Error 2709: Offline join completion information was not found.

    This error is occurring when attempting to install a VB 6.0 application.  It has occurred on several versions of Windows.  It doesn't happen on many machines and we cannot determine what difference makes it occur.  Removing KB2918614, KB3000988 and/o

  • API Call For Basic Authentication

    Hi, Does anyone know whats the API call that WebLogic makes internally to perform basic authentication. Is ServletAuthentication the only way to programmatically log in a user. Thanks Sameer

  • [SOLVED] xmonad + panel logging applets

    Until recently I used xmonad-log-applet, but after the last update, xmonad is unable to connect to dbus. I get the following error: xmonad-x86_64-linux: D-Bus Error (org.freedesktop.DBus.Error.NoReply): Did not receive a reply. Possible causes includ

  • Automation of WAD Report

    Hi All I created one WAD Report. this WAD report is about customer information. there are 10,000 customer are there. for every month this WAD report has to be generates for each and every customer. user wants this whole process automatic. means every