[SOLVED] Xfce4 Lock after suspend

Hello everyone,
I know that there was it already asked, but in my question is something different. Is there any option to lock screen with LightDM in Xfce4 when is system going to suspend ? I already edited /usr/bin/xflock4 and it locks screen when is executed from terminal or simply locked from xfce panel, but it doesn't lock screen when i suspend computer. In power manager and in session settings is option already ticked to lock the screen after suspend.
PS: I know that "dm-tool lock" doesn't really lock the screen only redirect you to tty2.
EDIT: Now it works so here is solution:
1. Install light-locker
pacman -S light-locker
2. Create systemd service
nano /etc/systemd/system/lock.service
[Unit]
Description=Lock X session
Before=suspend.target
[Service]
Type=oneshot
ExecStart=/usr/bin/xflock4
[Install]
WantedBy=suspend.target
3. Enable systemd service
systemctl enable lock
4. Add light-locker to xflock4 script
nano /usr/bin/xflock4
#!/bin/sh
light-locker-command -l
Last edited by mako2580 (2014-05-07 16:46:26)

You should place [SOLVED] in the Title.

Similar Messages

  • [SOLVED]No keyboard after suspend (xfce)

    I have a problem similar but not identical to this: https://bbs.archlinux.org/viewtopic.php?id=155722
    When I resume after suspending, the keyboard doesn't work. Unlike the cited thread, this only happens after suspend but happens either every time or nearly every time I resume after suspending. This is quite annoying because I prefer to suspend when the laptop is closed. The touchpad is also disabled after suspend, although I use a USB mouse anyway.
    My specs (everything is up to date as of yesterday [1/15/15]):
    Xfce on a Toshiba Satellite p55t-a5116 (specs here)
    it's dual-partitioned (with Windows 8.1) as well, if that matters, and this install exists on a logical partition rather than a primary one.
    the following packages are [explicitly] installed:
    alsa-utils 1.0.28-1
    asoundconf 1:1.0.1-3
    aurget 4.4.3-1
    autoconf 2.69-2
    automake 1.14.1-1
    bash 4.3.030-1
    binutils 2.25-1
    bison 3.0.2-1
    bluez 5.27-1
    bzip2 1.0.6-5
    cheese 3.14.2-1
    coreutils 8.23-1
    cryptsetup 1.6.6-1
    device-mapper 2.02.114-1
    dhcpcd 6.6.7-1
    dialog 1:1.2_20140911-1
    diffutils 3.3-2
    dosfstools 3.0.27-1
    dropbox 3.0.5-1
    e2fsprogs 1.42.12-1
    eclipse 4.4.1-1
    exo 0.10.2-2
    fakeroot 1.20.2-1
    file 5.21-3
    filesystem 2014.10-3
    findutils 4.4.2-6
    firefox 34.0.5-1
    flashplugin 11.2.202.425-1
    flex 2.5.39-1
    frame 2.5.0-1
    garcon 0.2.1-1
    gawk 4.1.1-1
    gcc 4.9.2-2
    gcc-libs 4.9.2-2
    geis 2.2.16-1
    gettext 0.19.3-1
    glibc 2.20-6
    grail 3.1.0-1
    grep 2.21-1
    groff 1.22.3-2
    gtk2-xfce-engine 3.0.1-2
    gtk3-xfce-engine 3.0.1-2
    gummiboot 45-1
    gzip 1.6-1
    haskell-regex-pcre-builtin 0.94.4.8.8.35-1
    haskell-split 0.2.2-1
    inetutils 1.9.2-2
    inkscape 0.48.5-4
    iproute2 3.17.0-1
    iputils 20121221-3
    iw 3.17-1
    jack2-dbus 1.9.10-1
    java-runtime-common 2-2
    jdk7-openjdk 7.u71_2.5.3-3
    jdk8-openjdk 8.u25-2
    jfsutils 1.1.15-4
    jre 8u25-1
    lastpass 3.1.50-17
    less 471-1
    lib32-mesa-libgl 10.4.1-1
    libreoffice-fresh 4.3.5-1
    libtool 2.4.4-2
    libva-intel-driver 1.5.0-1
    licenses 20140629-1
    lightdm 1:1.12.2-1
    lightdm-gtk3-greeter 1:1.8.6-1
    linux 3.17.6-1
    logrotate 3.8.8-2
    lvm2 2.02.114-1
    m4 1.4.17-1
    make 4.1-1
    man-db 2.7.1-1
    man-pages 3.76-1
    mdadm 3.3.2-1
    minecraft latest-23
    mousepad 0.3.0-3
    nano 2.2.6-3
    netctl 1.9-1
    network-manager-applet 0.9.10.0-2
    networkmanager 0.9.10.0-4
    ntfs-3g 2014.2.15-1
    openssh 6.7p1-1
    orage 4.10.0-1
    package-query 1.5-2
    pacman 4.2.0-5
    patch 2.7.1-3
    pavucontrol 2.0-2
    pciutils 3.3.0-1
    pcmciautils 018-7
    perl 5.20.1-1
    pkg-config 0.28-2
    procps-ng 3.3.10-1
    psmisc 22.21-2
    pulseaudio 5.0-1
    pulseaudio-alsa 2-3
    qbittorrent 3.1.11-2
    qjackctl 0.3.12-1
    reiserfsprogs 3.6.24-1
    ristretto 0.6.3-4
    s-nail 14.7.11-1
    sed 4.2.2-3
    shadow 4.2.1-1
    skype 4.3.0.37-3
    sudo 1.8.11.p2-1
    sysfsutils 2.1.0-9
    systemd-sysvcompat 218-1
    tar 1.28-1
    texinfo 5.2-3
    thunar 1.6.4-1
    thunar-archive-plugin 0.3.1-4
    thunar-dropbox 0.2.0-1
    thunar-media-tags-plugin 0.2.1-1
    thunar-volman 0.8.0-2
    touchegg 1.1.1-3
    ttf-liberation 2.00.1-5
    ttf-ms-fonts 2.0-10
    ttf-ubuntu-font-family 0.80-5
    tumbler 0.1.30-1
    usbutils 008-1
    util-linux 2.25.2-1
    vi 1:050325-4
    vlc 2.1.5-5
    which 2.20-7
    wpa_actiond 1.4-2
    wpa_supplicant 2.3-1
    xf86-input-egalax 2.5.4330-2
    xf86-input-joystick 1.6.2-5
    xf86-input-keyboard 1.8.0-3
    xf86-input-mouse 1.9.1-1
    xf86-input-synaptics 1.8.1-1
    xf86-input-vmmouse 13.0.0-5
    xf86-input-void 1.4.0-7
    xf86-video-ark 0.7.5-5
    xf86-video-ast 0.97.0-5
    xf86-video-ati 1:7.5.0-1
    xf86-video-cirrus 1.5.2-4
    xf86-video-dummy 0.3.7-3
    xf86-video-fbdev 0.4.4-3
    xf86-video-glint 1.2.8-5
    xf86-video-i128 1.3.6-5
    xf86-video-intel 2.99.917-1
    xf86-video-mach64 6.9.4-4
    xf86-video-mga 1.6.3-3
    xf86-video-modesetting 0.9.0-2
    xf86-video-neomagic 1.2.8-3
    xf86-video-nouveau 1.0.11-2
    xf86-video-nv 2.1.20-5
    xf86-video-openchrome 0.3.3-4
    xf86-video-r128 6.9.2-3
    xf86-video-savage 2.3.7-3
    xf86-video-siliconmotion 1.7.7-5
    xf86-video-sis 0.10.7-6
    xf86-video-tdfx 1.4.5-5
    xf86-video-trident 1.3.6-6
    xf86-video-v4l 0.2.0-14
    xf86-video-vesa 2.3.2-5
    xf86-video-vmware 13.0.2-2
    xf86-video-voodoo 1.2.5-5
    xfburn 0.5.2-1
    xfce4-appfinder 4.10.1-1
    xfce4-artwork 0.1.1a_git20110420-4
    xfce4-battery-plugin 1.0.5-3
    xfce4-clipman-plugin 1.2.6-1
    xfce4-cpufreq-plugin 1.1.1-1
    xfce4-cpugraph-plugin 1.0.5-2
    xfce4-datetime-plugin 0.6.2-3
    xfce4-dict 0.7.0-1
    xfce4-diskperf-plugin 2.5.4-2
    xfce4-eyes-plugin 4.4.3-1
    xfce4-fsguard-plugin 1.0.1-3
    xfce4-genmon-plugin 3.4.0-2
    xfce4-mailwatch-plugin 1.2.0-4
    xfce4-mixer 4.11.0-1
    xfce4-mount-plugin 0.6.7-2
    xfce4-mpc-plugin 0.4.4-3
    xfce4-netload-plugin 1.2.4-1
    xfce4-notes-plugin 1.7.7-6
    xfce4-notifyd 0.2.4-1
    xfce4-panel 4.10.1-1
    xfce4-power-manager 1.4.2-2
    xfce4-quicklauncher-plugin 1.9.4-9
    xfce4-screenshooter 1.8.1-2
    xfce4-sensors-plugin 1.2.5-2
    xfce4-session 4.10.1-5
    xfce4-settings 4.10.1-1
    xfce4-smartbookmark-plugin 0.4.5-2
    xfce4-systemload-plugin 1.1.2-1
    xfce4-taskmanager 1.1.0-1
    xfce4-terminal 0.6.3-1
    xfce4-time-out-plugin 1.0.1-4
    xfce4-timer-plugin 1.6.0-1
    xfce4-verve-plugin 1.0.0-5
    xfce4-wavelan-plugin 0.5.11-2
    xfce4-weather-plugin 0.8.5-1
    xfce4-xkb-plugin 0.5.6-1
    xfconf 4.10.0-4
    xfdesktop 4.10.3-2
    xfsprogs 3.2.2-1
    xfwm4 4.10.1-1
    xfwm4-themes 4.10.0-2
    xorg-fonts-100dpi 1.0.3-2
    xorg-server 1.16.3-2
    EDIT: after a brief test, it appears that this only happens sometimes, but tends to happen more often (read: almost always) on longer suspends (>30 seconds).
    Last edited by sudo999 (2015-01-16 17:57:32)

    I solved this on my own, so I'm posting the solution here in case anyone else has the same problem. Apparently xfce4-power-manager and systemd were both creating suspend events at the same time, causing problems loading modules like keyboard drivers upon resuming. The solution is in a small section of the wiki in the article on xfce, reproduced here:
    Multiple suspend events
    If using xfce4-power-manager to control ACPI events, and not systemd, edit /etc/systemd/logind.conf:
    HandlePowerKey=ignore
    HandleSuspendKey=ignore
    HandleHibernateKey=ignore
    HandleLidSwitch=ignore
    After I did this, the problem disappeared.

  • [SOLVED] Wireless fails after suspending (Realtek 8192se)

    This problem is already solved on the first post: I spent so long trying to solve it that I thought people should know the solution.
    I have a Lenovo X100e with a Realtek 8192SE wireless card.  I'm running kernel 3.0.  The machine has, since upgrading to the 3.0 kernel had the annoying problem of failing wireless connections after suspending: I'll have a running wireless connection, then suspend the machine, and then wake the machine up and the machine cannot connect to any wireless network (perhaps the same one I was connected to before, in the same place). 
    Things that did not work:
    Installing the Realtek drivers from their website
    Downgrading the kernel from 3.1 to 3.0
    Using wicd instead of networkmanager
    Walking around
    Other distributions
    The solution was to put an entry in /etc/pm/config.d/config:
    SUSPEND_MODULES="rtl8192se rtlwifi mac80211 cfg80211"
    Now the machine reconnects with no problems.
    This may be the solution to the other big problem I was having with the 3.1 kernel: I would suspend the machine by any means and the screen goes black and the machine becomes non-responsive without actually suspending.  I may try upgrading to the 3.1 kernel and adding radeon to the SUSPEND_MODULES list above.

    Found out more which might be significant for madwifi users:
    According to the wiki I loaded the following modules in rc.conf: ath-hal, ath9k, wlan
    Beside this one line in the modprobe.conf should be added: alias ath0 ath_pci. This way wicd as well as networkmanager used ath0 for connecting to wireless.
    After the update I noticed that there is another wifi device in ifconfig listed: wlan0. So I suspected that 2 devices pointing at the same hardware may cause the instability, but de-activating one by ifconfig didn't help. Now I noticed by loading the modules one by one that the new ath9k is already defining wlan0 and the wireless starts working without loading the module wlan. It looks stable so far, but if I should be right I'm impossibly the only one having this trouble.
    Confirmation would be nice, but I will mark this thread "solved" now.

  • [Solved]no sound after suspend/resume after kernel 3.9.2 upgrade

    I don't know  what to provide to help solve this problem. Leave me messages.Thank you!
    Last edited by chu887 (2013-06-06 08:54:16)

    johni wrote:
    I got mine working!
    First I commented out the module parameter from my /etc/modprobe.d//intel-hda-audio.conf:
    #options snd-hda-intel model=dell-eq
    Since it works without that now, I will probably remove the file.
    Next, I went into alsamixer, and noticed a couple items not there before, turned down low:
    "Speaker", and two "HeadPhone" mixers, both turned down almost off.  I turned up the volume on the speaker, and was able to get sound from the speakers.   The same worked for the headphone entries (I have two headphone jacks).
    After I did this, it works better than before because I used to only have one working headphone jack.
    Also, I confirmed sound is still working after suspend/resume for me.
    Hopefully this will help one of you.
    Thanks,the problem has been resolved by downgrade.
    Sound is absolutely normal before I suspend/resume my system,  volume is normal, not too large,not too little. But there's no sound at all after resume it .  I guess it's probably to have something to do with our audio card - HDA intel,  my computer is also a dell laptop( dell 1420 , 2007/2008, really old ).
    My advice is : don't upgrade to kernel 3.9.2 ,it's an odd version( odd version is not stable).

  • [SOLVED] X dies after suspend+resume, dropping me into LXDM

    If I do a sudo systemctl suspend and then resume, the computer comes back to life with LXDM, suggesting to me that it failed to bring up X properly and everything in that session died with it.
    I'm not quite sure where to start looking with this one, any ideas?
    Last edited by linduxed (2015-04-12 12:58:46)

    I waited a couple of days, tried suspending again and now things work as they should, or at least they appear to.
    I have no idea what has changed.

  • [Solved] "cannot open display" after suspend/resume, possibly broadcom

    Hey peoples,
    [EDIT: I think my initial assumptions are incorrect, this issue seems to be occurring independently of whatever wifi driver I have loaded]
    I'm finding that after suspend/resume my machine will not open any new windows. The windows that were already open continue to function. If I've left a terminal open, and attempt to open a new window I get the message:
    [framps@localhost ~]$ firefox
    Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyError: cannot open display: :0.0
    I've found that removing the broadcom-wl driver from my system seems to fix the issue. I can't see anything particularly obvious in my dmesg. I think I need the broadcom-wl driver as I have not been able to get b43 or bcma to work for my machine.
    [  948.814261] cfg80211: World regulatory domain updated:
    [  948.814266] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [  948.814269] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  948.814272] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [  948.814275] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [  948.814277] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  948.814280] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  949.404722] r8169 0000:0c:00.0 eth0: link down
    [  949.404741] r8169 0000:0c:00.0 eth0: link down
    [  949.404773] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  949.355635] PM: Syncing filesystems ... done.
    [  949.717960] PM: Preparing system for mem sleep
    [  949.851316] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [  949.862059] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
    [  949.875377] PM: Entering mem sleep
    [  949.875472] Suspending console(s) (use no_console_suspend to debug)
    [  950.064255] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 1 ep 0 with no TDs queued?
    [  950.064507] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [  950.075138] sd 0:0:0:0: [sda] Stopping disk
    [  950.165918] ERROR @wl_notify_scan_status : Scan complete while device not scanning
    [  950.477845] i915 0000:00:02.0: power state changed by ACPI to D3hot
    [  950.551140] PM: suspend of devices complete after 676.056 msecs
    [  950.551485] PM: late suspend of devices complete after 0.342 msecs
    [  950.567669] r8169 0000:0c:00.0: wake-up capability enabled by ACPI
    [  950.581418] ehci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
    [  950.594384] ehci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI
    [  950.620974] xhci_hcd 0000:00:14.0: wake-up capability enabled by ACPI
    [  950.634321] PM: noirq suspend of devices complete after 82.939 msecs
    [  950.634762] ACPI: Preparing to enter system sleep state S3
    [  950.730816] PM: Saving platform NVS memory
    [  950.736910] Disabling non-boot CPUs ...
    [  950.738461] smpboot: CPU 1 is now offline
    [  950.840631] smpboot: CPU 2 is now offline
    [  950.943831] smpboot: CPU 3 is now offline
    [  950.944231] Extended CMOS year: 2000
    [  950.945389] ACPI: Low-level resume complete
    [  950.945427] PM: Restoring platform NVS memory
    [  950.945811] Extended CMOS year: 2000
    [  950.945864] Enabling non-boot CPUs ...
    [  950.949268] smpboot: Booting Node 0 Processor 1 APIC 0x1
    [  950.963117] CPU1 is up
    [  950.966520] smpboot: Booting Node 0 Processor 2 APIC 0x2
    [  950.980330] CPU2 is up
    [  950.980386] smpboot: Booting Node 0 Processor 3 APIC 0x3
    [  950.994238] CPU3 is up
    [  950.997398] ACPI: Waking up from system sleep state S3
    [  951.471580] i915 0000:00:02.0: power state changed by ACPI to D0
    [  951.498111] xhci_hcd 0000:00:14.0: wake-up capability disabled by ACPI
    [  951.524753] ehci_hcd 0000:00:1a.0: wake-up capability disabled by ACPI
    [  951.551380] ehci_hcd 0000:00:1d.0: wake-up capability disabled by ACPI
    [  951.564744] nvidia 0000:01:00.0: power state changed by ACPI to D0
    [  951.591567] PM: noirq resume of devices complete after 120.295 msecs
    [  951.591837] PM: early resume of devices complete after 0.236 msecs
    [  951.591891] i915 0000:00:02.0: setting latency timer to 64
    [  951.591894] xhci_hcd 0000:00:14.0: setting latency timer to 64
    [  951.591968] mei 0000:00:16.0: irq 43 for MSI/MSI-X
    [  951.591983] ehci_hcd 0000:00:1a.0: setting latency timer to 64
    [  951.592037] ehci_hcd 0000:00:1d.0: setting latency timer to 64
    [  951.592108] ahci 0000:00:1f.2: setting latency timer to 64
    [  951.592119] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X
    [  951.594182] r8169 0000:0c:00.0: wake-up capability disabled by ACPI
    [  951.634511] [drm:__gen6_gt_force_wake_mt_get] *ERROR* Timed out waiting for forcewake old ack to clear.
    [  951.636110] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
    [  951.796066] r8169 0000:0c:00.0 eth0: link down
    [  951.824070] Extended CMOS year: 2000
    [  951.831119] usb 3-1.3: reset full-speed USB device number 3 using ehci_hcd
    [  951.910921] ata5: SATA link down (SStatus 0 SControl 300)
    [  951.916168] btusb 3-1.3:1.0: no reset_resume for driver btusb?
    [  951.916171] btusb 3-1.3:1.1: no reset_resume for driver btusb?
    [  951.924226] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [  951.926030] ata2.00: configured for UDMA/100
    [  951.981369] usb 4-1.6: reset high-speed USB device number 3 using ehci_hcd
    [  952.876326] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [  952.877743] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    [  952.877747] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    [  952.877750] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    [  952.880489] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    [  952.880493] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    [  952.880496] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    [  952.881600] ata1.00: configured for UDMA/100
    [  952.893105] sd 0:0:0:0: [sda] Starting disk
    [  952.911681] PM: resume of devices complete after 1321.544 msecs
    [  952.912745] PM: Finishing wakeup.
    [  952.912748] Restarting tasks ... done.
    [  953.018321] video LNXVIDEO:00: Restoring backlight state
    [  953.018862] video LNXVIDEO:01: Restoring backlight state
    [  953.376503] r8169 0000:0c:00.0 eth0: link up
    [  953.376515] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Any help would be greatly appreciated. Thanks.
    Last edited by frampy (2013-03-16 01:20:57)

    It seems that the only option for my  wifi card, BCM43228 is the proprietary broadcom-wl.
    Can anyone suggest how I might be able to get any debugging information for this module? Maybe this driver is conflicting with something else on my system, as I can't find anyone else that is seeing this same issue.
    Very frustrating, my machine is a Thinkpad Edge E530. Because I ordered from New Zealand there was no option to include the alternative Intel card and I was stuck with the broadcom. Apparently there's a whitelist on the BIOS aswell which will prevent me from installing another card.

  • [solved] No speaker sound after suspend

    Hey I'm wondering if someone can help me out with this.  My speakers work fine after cold boot / reboot, but after suspend there is no sound.  Headphones still work before / after suspend.  This started quite a while ago, and I've been following this other thread: https://bbs.archlinux.org/viewtopic.php?id=163248 but nothing has worked so far.
    It's on a Dell M1330 laptop.  Below are some hopefully helpful outputs - I didn't notice anything different between before and after suspend outputs.
    Any help is appreciated.  Thanks
    dg@dg-laptop> cat /proc/asound/card0/codec\#0 | grep Codec
    Codec: SigmaTel STAC9228
    lspci -vvnn (relevant bits)
    00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
    Subsystem: Dell Device [1028:0209]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 46
    Region 0: Memory at f6ffc000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
    dg@dg-laptop> amixer ~
    Simple mixer control 'Master',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
    Playback channels: Mono
    Limits: Playback 0 - 127
    Mono: Playback 107 [84%] [-15.00dB] [on]
    Simple mixer control 'Headphone',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 127
    Mono:
    Front Left: Playback 127 [100%] [0.00dB] [on]
    Front Right: Playback 127 [100%] [0.00dB] [on]
    Simple mixer control 'Headphone',1
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 127
    Mono:
    Front Left: Playback 127 [100%] [0.00dB] [on]
    Front Right: Playback 127 [100%] [0.00dB] [on]
    Simple mixer control 'Speaker',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 127
    Mono:
    Front Left: Playback 127 [100%] [0.00dB] [on]
    Front Right: Playback 127 [100%] [0.00dB] [on]
    Simple mixer control 'PCM',0
    Capabilities: pvolume
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 255
    Mono:
    Front Left: Playback 255 [100%] [0.00dB]
    Front Right: Playback 255 [100%] [0.00dB]
    Simple mixer control 'Mic Boost',0
    Capabilities: volume
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: 0 - 4
    Front Left: 0 [0%] [0.00dB]
    Front Right: 0 [0%] [0.00dB]
    Simple mixer control 'IEC958',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'IEC958 Default PCM',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'IEC958 Playback Source',0
    Capabilities: enum
    Items: 'Digital Playback' 'ADAT' 'Analog Mux 1' 'Analog Mux 2' 'Analog Mux 3'
    Item0: 'Digital Playback'
    Simple mixer control 'Beep',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
    Playback channels: Mono
    Limits: Playback 0 - 3
    Mono: Playback 0 [0%] [-18.00dB] [on]
    Simple mixer control 'Capture',0
    Capabilities: cvolume cswitch
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 14
    Front Left: Capture 0 [0%] [0.00dB] [on]
    Front Right: Capture 0 [0%] [0.00dB] [on]
    Simple mixer control 'Capture',1
    Capabilities: cvolume cswitch
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 14
    Front Left: Capture 0 [0%] [0.00dB] [off]
    Front Right: Capture 0 [0%] [0.00dB] [off]
    Simple mixer control 'Capture',2
    Capabilities: cvolume cswitch
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 14
    Front Left: Capture 0 [0%] [0.00dB] [off]
    Front Right: Capture 0 [0%] [0.00dB] [off]
    Simple mixer control 'Auto-Mute Mode',0
    Capabilities: enum
    Items: 'Disabled' 'Enabled'
    Item0: 'Enabled'
    Simple mixer control 'Digital',0
    Capabilities: cvolume
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 120
    Front Left: Capture 60 [50%] [0.00dB]
    Front Right: Capture 60 [50%] [0.00dB]
    Simple mixer control 'Input Source',0
    Capabilities: cenum
    Items: 'Mic' 'Internal Mic' 'Internal Mic 1'
    Item0: 'Internal Mic'
    Simple mixer control 'Input Source',1
    Capabilities: cenum
    Items: 'Mic' 'Internal Mic' 'Internal Mic 1'
    Item0: 'Internal Mic'
    Simple mixer control 'Input Source',2
    Capabilities: cenum
    Items: 'Mic' 'Internal Mic' 'Internal Mic 1'
    Item0: 'Internal Mic'
    Last edited by dandaman0061 (2013-07-16 14:06:07)

    buri wrote:
    Same problem, kenel 3.9.x and 3.10.x on my old Dell Vostro 1500. Try this:
    edit /etc/modprobe.d/alsa-base.conf
    options snd-hda-intel enable_msi=0 model=eapd
    I found solution on the internet and I do not know why it works.
    This didn't seem to work for me...
    skunktrader wrote:I had the same problem, but setting "Auto-Mute Mode" to disabled solved it for me
    This did work!  It'd be nice to have the auto-mute functionality, but I don't use headphones *that* often.
    Thanks to both!

  • [Solved] No sound after resuming from suspend

    After suspending and resuming I no longer have any sound output (through headphone jack or my laptop speaker). The laptop is a toshiba portege r835. I can't say how long this has been happening, since I've only tried to play any sounds after resuming recently.
    Searching the forums I found the following thread: https://bbs.archlinux.org/viewtopic.php?id=151001
    I haven't tried this because it isn't exactly the same problem, but mostly because I'm currently stuck on kernel 3.5.6 because of the sandy bridge power regression issues.
    Does anyone have any other ideas on how to possibly fix this problem?
    Thanks!!
    Last edited by twistedcubic (2012-12-31 22:20:20)

    Solved, sort of.
    I had some double suspend issue: I had set up suspend with systemd before using xfce and then after installing xfce I set my power settings so that the computer would suspend after shutting the lid, so I would have to open the lid, shut it, and then open it again for the computer to actually resume. After turning off the suspend setting in the xfce power manager, and just using the systemd suspend, the sound works fine on resume (both headphones and speakers)!

  • [SOLVED]: APM changes 'off' to '128' after suspend/hibernation

    Well, here I'am again experiencing weird behaviour of the HDDs APM setting:
    On first boot after fresh install everything was fine:
    #smartctl -x /dev/sdb | grep APM
    APM level is: disabled
    That is (or was?) the default setting until now.
    # in fact, it itn't. The APM default, if the settings persist or if they are restored to default after power on depends on the manufacturer.
    Because sometimes, without further reason on reboot or restart or sometimes just after a while working suddenly I start hearing this annoying 'klack'-'klack'-'klack', Load_Cycle_Count starts rising per second (yes, it's a WD3200BEVT)  and APM suddenly is set back to 128 (minimum power consumption without standby).
    No entrys according to a change to apm in any log files and I didn't cange anything about this!
    There is no power management installed, no laptop-mode-tools, nothing that could change apm settings! It's a clean and fresh install.
    Edit I: 'Solved' this by complete reinstallation. Now APM stays off.
    Seems like if you ever had hdparm on your system installed, APM default changes from 'off' to '128'. #nonsense
    Edit Ia: It's a WD thing! Neither my Hitachi nor my Samsung HDDs show such behaviour!
    Edit II: Cheered too soon! Problem persists!
    Also with tested and proper working udev rule which sets APM to 255 at boot APM value switches always back to 128 after suspend/hibernation.
    How can I stop this weird behaviour?  # look downwards
    What is responsible for changing APM level? # WD-Firmware
    How can I even prevent APM level change after standby? (of course, it switches always back to 128...)  # look downwards
    Drive Information:
    Model Family: Western Digital Scorpio Blue Serial ATA
    Device Model: WDC WD3200BEVT-24A
    Firmware Version: 01.01A02
    User Capacity: 320.072.933.376 bytes [320 GB]
    Sector Size: 512 bytes logical/physical
    Rotation Rate: 5400 rpm
    ATA Version is: ATA8-ACS (minor revision not indicated)
    SATA Version is: SATA 2.6, 3.0 Gb/s
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    AAM level is: 128 (quiet), recommended: 128
    APM feature is: Disabled # but will soon change...
    Rd look-ahead is: Enabled
    Write cache is: Enabled
    ATA Security is: Disabled, frozen [SEC2]
    Edit III:
    Also there is a bug report for changing any values by systemd without notice respectively not restoring them on wakeup.
    I disagree for it is definitive a WD firmware bug:
    While the APM level is reset to 128 after every power on/off the AAM (hdparm -M) level setting keeps unchanged.
    This is totally inconsistend behaviour.
    Edit VI:
    I found a solution by myself!
    A real 'kiss' one without necessary to install sth. or study udev rules:
    # man systemd-suspend.service says:
    Immediately before entering system suspend and/or hibernation systemd-suspend.service (and the other mentioned units, respectively)
    will run all executables in /usr/lib/systemd/system-sleep/ and pass two arguments to them...
    Immediately after leaving system suspend and/or hibernation the same executables are run...
    so I just created:
    # vi /usr/lib/systemd/system-sleep/hdparm_set
    #!/bin/sh
    hdparm -B255 /dev/sda
    than:
    # chmod +x /usr/lib/systemd/system-sleep/hdparm_set
    and APM after wakeup from suspend is off!
    Last edited by renegat (2013-03-10 02:06:38)

    Thank you, it works perfectly!

  • [SOLVED] Losing network connection after suspend

    Lately I'm having this peculiar problem.  When resuming after suspend (specifically, pm-suspend), I have no network connection.  I first noticed this on March 31st.  The only thing that changed was that I upgraded these packages:
    openssl-1.0.1-2-x86_64.pkg.tar.xz
    xf86-video-ati-6.14.4-2-x86_64.pkg.tar.xz
    lib32-libdrm-2.4.33-1-x86_64.pkg.tar.xz
    libnotify-0.7.5-1-x86_64.pkg.tar.xz
    xz-5.0.3-2-x86_64.pkg.tar.xz
    vim-taglist-45-5-any.pkg.tar.xz
    But I'm pretty sure I would have suspended and resumed successfully at least once after that upgrade.
    Can anyone suggest what I should look at to try to diagnose this?
    Thanks
    Last edited by ibrunton (2012-04-06 11:26:03)

    Same issue here. Looks like dhcpcd crashes during or after running /usr/lib/dhcpcd/dhcpcd-run-hooks on resume from suspend. I'll try downgrading until this is fixed.
    $ uname -s -v -r -m
    Linux 3.2.13-1-ARCH #1 SMP PREEMPT Sat Mar 24 09:10:39 CET 2012 x86_64
    $ pacman -Qi dhcpcd
    Name : dhcpcd
    Version : 5.5.5-1
    URL : http://roy.marples.name/dhcpcd/
    Licenses : BSD
    Groups : base
    Provides : None
    Depends On : glibc sh
    Optional Deps : None
    Required By : networkmanager
    Conflicts With : None
    Replaces : None
    Installed Size : 256.00 KiB
    Packager : Ronald van Haren <[email protected]>
    Architecture : x86_64
    Build Date : Fri Mar 23 17:25:47 2012
    Install Date : Thu Mar 29 23:36:13 2012
    Install Reason : Explicitly installed
    Install Script : No
    Description : RFC2131 compliant DHCP client daemon
    # dhcpcd -d -B eth0
    dhcpcd[1865]: version 5.5.5 starting
    dhcpcd[1865]: eth0: using hwaddr bc:ae:c5:75:36:8e
    dhcpcd[1865]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
    dhcpcd[1865]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
    dhcpcd[1865]: eth0: sending IPv6 Router Solicitation
    dhcpcd[1865]: eth0: reading lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
    dhcpcd[1865]: eth0: rebinding lease of 192.168.1.100
    dhcpcd[1865]: eth0: sending REQUEST (xid 0x36169f23), next in 3.93 seconds
    dhcpcd[1865]: eth0: acknowledged 192.168.1.100 from 192.168.1.1
    dhcpcd[1865]: eth0: checking for 192.168.1.100
    dhcpcd[1865]: eth0: sending ARP probe (1 of 3), next in 2.00 seconds
    dhcpcd[1865]: eth0: sending ARP probe (2 of 3), next in 1.81 seconds
    dhcpcd[1865]: eth0: sending IPv6 Router Solicitation
    dhcpcd[1865]: eth0: sending ARP probe (3 of 3), next in 2.00 seconds
    dhcpcd[1865]: eth0: leased 192.168.1.100 for 3600 seconds
    dhcpcd[1865]: eth0: adding IP address 192.168.1.100/24
    dhcpcd[1865]: eth0: adding route to 192.168.1.0/24
    dhcpcd[1865]: eth0: adding default route via 192.168.1.1
    dhcpcd[1865]: eth0: writing lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
    dhcpcd[1865]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason BOUND
    dhcpcd[1865]: eth0: sending ARP announce (1 of 2), next in 2.00 seconds
    dhcpcd[1865]: eth0: sending IPv6 Router Solicitation
    dhcpcd[1865]: eth0: sending ARP announce (2 of 2)
    dhcpcd[1865]: eth0: sending IPv6 Router Solicitation
    dhcpcd[1865]: eth0: no IPv6 Routers available
    dhcpcd[1865]: eth0: carrier lost
    dhcpcd[1865]: eth0: deleting default route via 192.168.1.1
    dhcpcd[1865]: eth0: deleting route to 192.168.1.0/24
    dhcpcd[1865]: eth0: deleting IP address 192.168.1.100/24
    dhcpcd[1865]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason NOCARRIER
    dhcpcd[1865]: eth0: carrier acquired
    dhcpcd[1865]: eth0: using hwaddr bc:ae:c5:75:36:8e
    dhcpcd[1865]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
    *** glibc detected *** dhcpcd: double free or corruption (fasttop): 0x0000000000ac2860 ***
    ======= Backtrace: =========
    /lib/libc.so.6(+0x78a56)[0x7f9b6a794a56]
    dhcpcd[0x40cdd0]
    dhcpcd[0x40e597]
    dhcpcd[0x4093f0]
    dhcpcd[0x411ba7]
    dhcpcd[0x411563]
    dhcpcd[0x40768f]
    dhcpcd[0x40aa6b]
    dhcpcd[0x4028a8]
    /lib/libc.so.6(__libc_start_main+0xf5)[0x7f9b6a73d455]
    dhcpcd[0x402d1d]
    ======= Memory map: ========
    00400000-00419000 r-xp 00000000 fe:02 4590719 /sbin/dhcpcd
    00619000-0061a000 r--p 00019000 fe:02 4590719 /sbin/dhcpcd
    0061a000-0061b000 rw-p 0001a000 fe:02 4590719 /sbin/dhcpcd
    0061b000-0061c000 rw-p 00000000 00:00 0
    00ac1000-00ae3000 rw-p 00000000 00:00 0 [heap]
    7f9b6a2eb000-7f9b6a300000 r-xp 00000000 fe:02 1063993 /usr/lib/libgcc_s.so.1
    7f9b6a300000-7f9b6a4ff000 ---p 00015000 fe:02 1063993 /usr/lib/libgcc_s.so.1
    7f9b6a4ff000-7f9b6a500000 rw-p 00014000 fe:02 1063993 /usr/lib/libgcc_s.so.1
    7f9b6a500000-7f9b6a517000 r-xp 00000000 fe:02 3014810 /lib/libpthread-2.15.so
    7f9b6a517000-7f9b6a716000 ---p 00017000 fe:02 3014810 /lib/libpthread-2.15.so
    7f9b6a716000-7f9b6a717000 r--p 00016000 fe:02 3014810 /lib/libpthread-2.15.so
    7f9b6a717000-7f9b6a718000 rw-p 00017000 fe:02 3014810 /lib/libpthread-2.15.so
    7f9b6a718000-7f9b6a71c000 rw-p 00000000 00:00 0
    7f9b6a71c000-7f9b6a8b3000 r-xp 00000000 fe:02 3018245 /lib/libc-2.15.so
    7f9b6a8b3000-7f9b6aab3000 ---p 00197000 fe:02 3018245 /lib/libc-2.15.so
    7f9b6aab3000-7f9b6aab7000 r--p 00197000 fe:02 3018245 /lib/libc-2.15.so
    7f9b6aab7000-7f9b6aab9000 rw-p 0019b000 fe:02 3018245 /lib/libc-2.15.so
    7f9b6aab9000-7f9b6aabd000 rw-p 00000000 00:00 0
    7f9b6aabd000-7f9b6aac4000 r-xp 00000000 fe:02 3014856 /lib/librt-2.15.so
    7f9b6aac4000-7f9b6acc3000 ---p 00007000 fe:02 3014856 /lib/librt-2.15.so
    7f9b6acc3000-7f9b6acc4000 r--p 00006000 fe:02 3014856 /lib/librt-2.15.so
    7f9b6acc4000-7f9b6acc5000 rw-p 00007000 fe:02 3014856 /lib/librt-2.15.so
    7f9b6acc5000-7f9b6ace6000 r-xp 00000000 fe:02 3018769 /lib/ld-2.15.so
    7f9b6aea5000-7f9b6aea9000 rw-p 00000000 00:00 0
    7f9b6aee4000-7f9b6aee6000 rw-p 00000000 00:00 0
    7f9b6aee6000-7f9b6aee7000 r--p 00021000 fe:02 3018769 /lib/ld-2.15.so
    7f9b6aee7000-7f9b6aee8000 rw-p 00022000 fe:02 3018769 /lib/ld-2.15.so
    7f9b6aee8000-7f9b6aee9000 rw-p 00000000 00:00 0
    7ffff8b93000-7ffff8bb4000 rw-p 00000000 00:00 0 [stack]
    7ffff8bc9000-7ffff8bca000 r-xp 00000000 00:00 0 [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

  • [SOLVED]Will WOL ever work again after suspend to RAM on my server?

    I used Ubuntu on this server for a long while and had WOL working after 'suspend to RAM' and after a 'shutdown -h'. Suddenly with 10.10 WOL after 'suspend to RAM' stopped working, WOL after 'shutdown -h' was still working fine, so I used that for the time being. Some days ago I thought, "well, you use Arch on your laptop for years now, so why not try it on your server, you don't like fixed release cycles anyway and Samba on Ubuntu never worked reliably on this machine, too'. So after a little fiddling to install Arch on this server and following the pm-utils entry on the Arch Wiki I am now at exactly the same position as before, WOL after 'suspend to RAM' doesn't work while WOL after a 'shutdown -h' works. The funny thing is that if I stop the network service before calling 'pm-suspend' on the server directly I can wake it with a WOL command from my laptop. I checked (via ethtool) and saw that disabling the network actually leaves the wol flag for the network card on g, but starting the network service again sets it to d. I have read many howtos and forum posts, but am at a loss right now.
    Does anyone have hints or an idea to where to look now?
    EDIT: Oh man, could this have really been so easy?
    It turns out that I simply need to stop the network service at suspend and start it again at resume, I don't even need to unload the driver module of my network card, doh. What put me off track were all my previous attempts under Ubuntu where I had tried the same thing following provided means (trough acpi) of the distro, seems I messed up there or the documentation was out of date. I now just created a hook completely myself following the Arch documentation for pm-utils and it works now!
    [root@archi ~]# cat /etc/pm/sleep.d/Start_and_stop_network_service
    #!/bin/bash
    case $1 in
    hibernate)
    echo "You didn't really call hibernate?"
    suspend)
    echo "Stop the network service"
    /etc/rc.d/network stop;
    thaw)
    echo "oh, suspend to disk is over, we are resuming..."
    resume)
    echo "Start the network service again"
    /etc/rc.d/network start;
    /usr/sbin/ethtool -s eth0 wol g;
    *) echo "somebody is calling me totally wrong."
    esac
    I also have to re-enable wol in the script, and at a cold boot I do the same through '/etc/rc.local'.
    Last edited by signor_rossi (2011-05-10 19:44:07)

    I agree iMessage is the worst thing Apple have done! Took me 3 days to work out why my text messages were not being sent, more oddly, text message were apearing on my Ipad whcih is is not the 3g model! just switch it off insettings. Other than the iOS 7 is pretty good!

  • [solved] xfce4-panel plugins keep crashing after update

    I've been having problems with xfce4-panel after some recent updates. Several plugins for it, like the Action Buttons, CPU graph and Notification Area keep crashing right after being added to the panel. The error message isn't very helpful, just saying the plugin in question "unexpectedly left the panel". Any ideas on how to debug this?
    Last edited by vox.cogitatio (2012-06-12 15:36:38)

    I found the problem. I was running the panel without the rest of xfce4. I thought this was doable, but apparently some applets assume you have the base packages of xfce4 installed, as the problems ceased when I installed them.

  • [SOLVED] USB stop work after suspend (only right ports!!!)

    Hi,
    It drives me crazy!
    I recently installed Arch on my new laptop SAMSUNG NP900X4C that have 3 USB ports, one in the left side and two in the right side . When I boot the system (or reboot) all USB ports works fine, but after system suspend like close lid, only the left port go back work.  dmesg shows nothing when I plug a pendrive in the any right USB ports, even less lsblk.
    This is my dmesg out when I connect the pendrive in all ports after boot:
    [ 181.776489] usb 1-1.2: new high-speed USB device number 5 using ehci_hcd
    [ 181.880249] Initializing USB Mass Storage driver...
    [ 181.880381] scsi6 : usb-storage 1-1.2:1.0
    [ 181.880498] usbcore: registered new interface driver usb-storage
    [ 181.880500] USB Mass Storage support registered.
    [ 182.883580] scsi 6:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 5
    [ 182.885191] sd 6:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
    [ 182.886674] sd 6:0:0:0: [sdb] Write Protect is off
    [ 182.886688] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
    [ 182.887530] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 182.898516] sdb: sdb1
    [ 182.901936] sd 6:0:0:0: [sdb] Attached SCSI removable disk
    [ 185.427222] usb 1-1.2: USB disconnect, device number 5
    [ 188.486360] usb 2-2: new high-speed USB device number 2 using xhci_hcd
    [ 188.503289] usb 2-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
    [ 188.505259] scsi7 : usb-storage 2-2:1.0
    [ 189.506730] scsi 7:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 5
    [ 189.508371] sd 7:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
    [ 189.510955] sd 7:0:0:0: [sdb] Write Protect is off
    [ 189.510968] sd 7:0:0:0: [sdb] Mode Sense: 43 00 00 00
    [ 189.512566] sd 7:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 189.523657] sdb: sdb1
    [ 189.527290] sd 7:0:0:0: [sdb] Attached SCSI removable disk
    [ 191.469673] usb 2-2: USB disconnect, device number 2
    [ 193.515534] usb 2-1: new high-speed USB device number 3 using xhci_hcd
    [ 193.532133] usb 2-1: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
    [ 193.533952] scsi8 : usb-storage 2-1:1.0
    [ 194.535796] scsi 8:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 5
    [ 194.537477] sd 8:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
    [ 194.540055] sd 8:0:0:0: [sdb] Write Protect is off
    [ 194.540069] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00
    [ 194.541588] sd 8:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 194.553582] sdb: sdb1
    [ 194.557933] sd 8:0:0:0: [sdb] Attached SCSI removable disk
    [ 196.298812] usb 2-1: USB disconnect, device number 3
    Same after suspend:
    [ 568.168987] PM: Syncing filesystems ... done.
    [ 568.187450] PM: Preparing system for mem sleep
    [ 568.259525] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [ 568.270762] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
    [ 568.284097] PM: Entering mem sleep
    [ 568.284201] Suspending console(s) (use no_console_suspend to debug)
    [ 568.298234] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [ 568.300100] sd 0:0:0:0: [sda] Stopping disk
    [ 568.949683] PM: suspend of devices complete after 665.917 msecs
    [ 568.950083] PM: late suspend of devices complete after 0.395 msecs
    [ 568.963325] r8169 0000:02:00.0: wake-up capability enabled by ACPI
    [ 569.016282] PM: noirq suspend of devices complete after 66.291 msecs
    [ 569.017160] ACPI: Preparing to enter system sleep state S3
    [ 569.036433] PM: Saving platform NVS memory
    [ 569.042305] Disabling non-boot CPUs ...
    [ 569.044189] smpboot: CPU 1 is now offline
    [ 569.047218] smpboot: CPU 2 is now offline
    [ 569.049866] smpboot: CPU 3 is now offline
    [ 569.050441] Extended CMOS year: 2000
    [ 569.052505] ACPI: Low-level resume complete
    [ 569.052550] PM: Restoring platform NVS memory
    [ 569.052918] Extended CMOS year: 2000
    [ 569.052981] Enabling non-boot CPUs ...
    [ 569.059788] smpboot: Booting Node 0 Processor 1 APIC 0x1
    [ 569.074350] CPU1 is up
    [ 569.074412] smpboot: Booting Node 0 Processor 2 APIC 0x2
    [ 569.088727] CPU2 is up
    [ 569.088868] smpboot: Booting Node 0 Processor 3 APIC 0x3
    [ 569.103096] CPU3 is up
    [ 569.108227] ACPI: Waking up from system sleep state S3
    [ 569.262105] PM: noirq resume of devices complete after 106.814 msecs
    [ 569.262496] PM: early resume of devices complete after 0.234 msecs
    [ 569.262565] i915 0000:00:02.0: setting latency timer to 64
    [ 569.262604] mei 0000:00:16.0: irq 46 for MSI/MSI-X
    [ 569.262694] ehci_hcd 0000:00:1d.0: setting latency timer to 64
    [ 569.262706] ahci 0000:00:1f.2: setting latency timer to 64
    [ 569.262744] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X
    [ 569.262805] r8169 0000:02:00.0: wake-up capability disabled by ACPI
    [ 569.310850] xhci_hcd 0000:03:00.0: WARN: xHC restore state timeout
    [ 569.310949] xhci_hcd 0000:03:00.0: PCI post-resume error -110!
    [ 569.310953] xhci_hcd 0000:03:00.0: HC died; cleaning up
    [ 569.310960] xhci_hcd 0000:03:00.0: HC died; cleaning up
    [ 569.310985] dpm_run_callback(): pci_pm_resume+0x0/0xd0 returns -110
    [ 569.311032] PM: Device 0000:03:00.0 failed to resume async: error -110
    [ 569.312717] mei 0000:00:16.0: wd: failed to find the client
    [ 569.324628] Extended CMOS year: 2000
    [ 569.331940] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
    [ 569.387202] r8169 0000:02:00.0: enp2s0: link down
    [ 569.534701] usb 1-1.5: reset full-speed USB device number 3 using ehci_hcd
    [ 569.621070] btusb 1-1.5:1.0: no reset_resume for driver btusb?
    [ 569.621077] btusb 1-1.5:1.1: no reset_resume for driver btusb?
    [ 569.674395] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
    [ 569.675511] ata1.00: configured for UDMA/133
    [ 569.675675] sd 0:0:0:0: [sda] Starting disk
    [ 569.684439] usb 1-1.6: reset high-speed USB device number 4 using ehci_hcd
    [ 569.969276] iwlwifi 0000:01:00.0: L1 Enabled; Disabling L0S
    [ 569.976072] iwlwifi 0000:01:00.0: Radio type=0x2-0x1-0x0
    [ 570.377316] PM: resume of devices complete after 1116.468 msecs
    [ 570.378930] PM: Finishing wakeup.
    [ 570.378933] Restarting tasks ... done.
    [ 570.409428] video LNXVIDEO:00: Restoring backlight state
    [ 606.007121] usb 1-1.2: new high-speed USB device number 6 using ehci_hcd
    [ 606.092964] scsi9 : usb-storage 1-1.2:1.0
    [ 607.094056] scsi 9:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 5
    [ 607.096239] sd 9:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
    [ 607.097828] sd 9:0:0:0: [sdb] Write Protect is off
    [ 607.097836] sd 9:0:0:0: [sdb] Mode Sense: 43 00 00 00
    [ 607.098834] sd 9:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 607.110498] sdb: sdb1
    [ 607.113670] sd 9:0:0:0: [sdb] Attached SCSI removable disk
    [ 613.233780] usb 1-1.2: USB disconnect, device number 6
    Nothing appears about the USB ports 2-2 and 2-1. Any ideia?!
    I even tried to install laptop-mode-tools and set CONTROL_USB_AUTOSUSPEND=0 but didn't work
    Last edited by otto_simpson (2013-01-23 01:28:49)

    Oh crap! I am kid with his new toy...
    After a lot of google it I read something about firmware control the wake up of USB 3.0 and when I entered in this laptop BIOS what I found?! This option disabled:
    USB S3 Wake-up [Disable]
    So, just enable it and all my USB ports go back to work after suspend. I don't understand the purpose of it disabled by default.
    Anyway I am sorry for this newbie mistake.
    Last edited by otto_simpson (2013-01-23 04:16:20)

  • XFCE panel not responding after suspend

    I've installed XFCE and slim, when I wake up suspended computer XFCE panel behave weird. I can't run any application from launcher in panel, but I can switch between running apps or open panel properties. I think it might be problem with suspending.
    Some stuff I've noticed:
    - I set in xfce power manager and xfce session that computer is locked before suspend but after wake up isn't locked

    You don't have to restart all of xfce, just the panel.
    killall -v xfce4-panel
    then restart it in a terminal to catch any errors
    xfce4-panel
    If you're lucky there'll be errors in the terminal when the panel becomes unresponsive and you can chase them down.
    HTH

  • [XFCE]Keyboard layout config sometimes gets reset after suspend/resume

    After I got suspend/resume working thanks to the help here, I have still another little problem with it: After suspend/resume the keyboard layout configuration in the corresponding xfce-panel plugin is sometimes reset to US. The keyboard layout should be Russian/German with switching the layouts with LCtrl+LShift. In the xorg.conf everything is fine, but it seems to be disregarded:
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "de,ru"
    Option "XkbVariant" ",winkeys"
    Option "XkbOptions" "grp:ctrl_shift_toggle"
    EndSection
    The settings that I make in the panel-applet via its configuration dialogue work though, but they sometimes get reset after a suspend/resume.
    The XFCE session is started via following command in ~/.xinitrc:
    exec ck-launch-session dbus-launch xfce4-session
    Thanks for any hint,
    PhotonX

    I see. Then you should maybe add debug output to check whether the script is run at all and if yes, where it fails. Like
    button/lid)
    echo "lid action caught" >> /home/lid.log
    case "$3" in
    close)
    logger 'LID closed'
    # Suspend and lock the screen
    /usr/sbin/pm-suspend &
    DISPLAY=:0.0 su -c - miki /usr/bin/slimlock
    echo "lid closed" >> /home/lid.log
    open)
    logger 'LID opened'
    # Set the keyboard layout again on IT
    setxkbmap it
    echo "lid opened" >> /home/lid.log
    logger "ACPI action undefined: $3"
    echo "something wrong happened" >> /home/lid.log
    esac
    and then check /home/lid.log after lid close&open.

Maybe you are looking for

  • Windows 8.1 takes a long time to start

    When I first start Windows 8.1 professional, it boots very quickly to the lock screen (I have it on an SSD, so it should). However, the network icon in the lower left corner has a yellow exclamation point (or something like that) on it which takes 30

  • Bizarre display/UI behavior scripting Entourage 2004

    Hello, Everyone! I’ve been working on this script a long time... it is designed to be used with Microsoft Entourage. In order to slim down the email database size, it saves attachments in a specified path (~/Documents/Archived Attachments/[current ye

  • ScrollPanes & TextAreas - Repositioning in 1.5 with .scrollRectToVisible()

    So I've an uneditable text area with the words wrapping around sitting inside a scroll pane. My user clicks a button and the program fetches some text from an XML document and displays it on the screen. The trouble is that the window automatically sc

  • Dropping business key from existing dimension

    A business key needs to be removed from an existing dimension in a data warehouse. I couldnt locate any documentation regarding this topic, so please let me know of any links to documentation if you know of any. Im needing to know if this can be done

  • Ipad numbers

    Column will not sum on ipad numbers. I have three numbers in a column and when I try to sum the column I get zero for the results. I can't see what I am doing wrong.