Debian Configuration :: Suspend - Wake Up Failed
Oct 4, 2010Suspend worked before I completely reinstalled Testing from scratch. Now it seems to suspend OK, but when it tries to wake up it fails. Details here: [URL]
View 6 RepliesSuspend worked before I completely reinstalled Testing from scratch. Now it seems to suspend OK, but when it tries to wake up it fails. Details here: [URL]
View 6 RepliesI have an Acer 1551 4755, with Debian Squeeze. Normally my Debian Squeeze installations and suspending work fine on my other 2 laptops. For some reason this one is troubled. I can put into sleep with "pm-suspend" or "pm-hibernate" but the thing is that my laptop never wakes up. I endup restarting.
here is the hardware and module list
[URL]
I use my laptop connected to an external monitor, so I would like it to wake up from suspend with a wireless keyboard. I could manage to do it when the lid is open, however, when the laptop lid is closed, it doesn't. So I need to open laptop lid each time and it is annoying.
This is how I make it wake up with wireless keyboard:
# echo enabled > /sys/bus/usb/devices/1-2/power/wakeup
I'm using debian jessie. How to make it work when lid is closed?
I recently switched back to Debian after getting fed up with Ubuntu. The one feature that I haven't been able to get back since the switch is Wake on LAN.If I turn on the computer and watch tcpdump, I can see the packets hitting my machine. I don't think it's a router configuration issue.If I shut down from windows, WOL works.Another sign that it's not a networking or BIOS thing.Here's some stuff I've tried:When I boot up in linux, if I run ethtool eth0, it tells me that wake is set to g (which every guide I've read says is correct).Just in case, I added "post-up /usr/sbin/ethtool -s $IFACE wol g" to /etc/network/interfaces (as shown here: ewtopic.php?f=5&t=42049&p=244736&hilit=wakeonlan#p244736). Also added same thing for post-down.
In /etc/init.d/halt, I changed NETDOWN to no (also from previous guide) to keep my eth card from being shut down.Also changed /etc/init.d/networking to exclude eth0 (as documented in Added "pre-down false" to /etc/network/interfaces.. trepid+wol), to keep eth0 from being shut off.Anyway, I'm guessing that either there's another script somewhere shutting off eth0 or I'm completely wrong in assuming that's the problem. I've been googling this problem for a couple weeks now and I'm totally out of ideas.
I'm am able to WOL my computer when it has been halted (or shutdown, which is basically the same thing for the problem I'm facing). The problem comes when I try to WOL the computer when it is suspended or hibernated. Then, it does not work.
I've been investigating for a while and have found that when halting, the following is done in the /etc/init.d/halt script:
[code]...
But I don't know which script must be modified in case I want the network not to be brought down when the computer is suspended or hibernated.
i have recompiled kernel on my netbook (lenovo s10-3t).suspend works correctly but then i cannot wake up. i think i just missed some kernel options.what options must be set for suspend/wake up?
View 7 Replies View Relatednew to Ubuntu and enjoying using it, trying out Ubuntu as an alternative to vista, the only thing i have been able to do is suspend and then wake my pc, it fails to wake, is there a workaround for this
have changed settings so pc sleeps after 1 hour, it was on never, i,m running ubuntu9.10 my pc will wake but i have a black screen with mouse icon showing but i,m unable to get any response, all well again after a reset
put pc in suspend and went out, on returning home started pc via on/off switch instead of pressing space bar (any key) hey presto Ubuntu woke up no problem
I'm running Linux Mint 9 (aka Ubuntu 10.04 + a couple of tweaks), and my machine won't wake up from suspend.It hasn't done so successfully since Ubuntu 8.04. I'm running the default graphics driver (not the proprietary NVidia one) on a quad-core Gateway FX. How can I go about figuring out the problem?
View 5 Replies View RelatedAll I want to do is to be able to shut the lid on my laptop, have it go into suspend like it already does, but upon opening it again, successfully start up again. It'll sleep just fine, but if you close the lid and try to open it again later, the lights will indicate it is starting up, but the screen won't initialize, and I am left with a blank, black screen.I've tried a line of code to enter into my menu.lst file, and it seemed like it should work, but it borked my computer and I had to manually reinstate the line of code it had before.
View 9 Replies View RelatedI can Suspend or Hibernate my Gateway notebook but I have no idea how to wake it up.The power button is set to suspend or hibernate....I not sure which it does, but I can't wake the computer up.
View 9 Replies View RelatedFor some reason when I wake my computer up, there is no sound. No matter what I try through the terminal, or by playing with the volume controls, no audio. I can only get audio working again by a restart.
Does anybody know why, and/or how to fix?
My computer runs really well when I first switch on, and usually I'll leave it on all day, and just suspend it when I'm not using it.But since a couple of days ago, it's been playing up after waking from suspend. Everything slows to a crawl, and the system monitor shows the CPU working at 96-100% permanently, even when I'm not doing anything.It's not like I even have many apps open. Generally I'll have a few tabs going on Opera, have Thunderbird open, and Gwibber. I'll open and close gedit and gimp as I need them, and that's about it. Having said that, this new version of Thunderbird seems very slow to me compared with the previous one.
View 2 Replies View RelatedHere is the latest in my saga of me vs. Suspend in Utuntu.
Dell Studio XPS 8000 desktop
i7-860 CPU
8 GB RAM
swap area set to 9 GB (because I was experimenting with hibernate)
nVIdia GeForce GT220 1 GB
Ubuntu 10.04 64 bit, all patches, nVidia-current 195.36.24
So I was poking around in BIOS and looking at CPU Features. I have also a problem with my VMWare machines sucking up a core or 2 at 100% after suspending and waking the host. Just for the halibut I Disabled CPU Visualization. My VMWare XP guest now starts up a lot faster! (?) and I have discovered. If I do a suspend of the host BEFORE starting and LOGGING IN to a VM it seems to work great. I can wake the host and am presented with the locked screen dialog asking for my password. I have done about 20 suspend/wakes with no problems. So far, so good.
Upon further testing I find that I can start a VMWare or Virtualbox XP guest machine and still suspend/wake - at least so far with a limited number of tries. Most importantly, if I log into the guest (VMWare or Virtualbox) I find that suspend/wake fails 100% of the time. By fail I mean that the host suspends but when I attempt to wake it I find that I am logged out of the host and all programs which were running at suspend time are no longer running. Firefox restores the previous session indicating that it was shut down incorrectly or unexpectedly.
Firstly, wol works fine from shutdown and hibernate; it's just suspend which doesn't work.
I've got 2 types of workstations, all running 11.1. They both have this kernel:
2.6.27.45-0.1-default #1 SMP 2010-02-22 16:49:47 +0100 x86_64 x86_64 x86_64 GNU/Linux
Type 1 is a dell optiplex 745, bios version 2.4.1. Here's the relevant bit from lspci:
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)
Kernel driver in use: tg3
Kernel modules: tg3
[Code]....
The fact that it's happening across two different machines makes me wonder if it is some OS setting I've missed, but then maybe neither card/driver supports it from suspend.
I'd really like to get them waking from suspend because training users to use suspend rather than hibernate would be a pain. Also, being able to configure such that it only wakes from suspend and not hibernate/shutdown, as implied in the bios, would allow me to wake machines up for backups etc only when the users are here, rather than on holiday/seconded to another department etc.
I have an USB keyboard attached to a laptop, and I can suspend the laptop via the sleep button on the keyboard. However, I can't wake the computer again by using either the connected USB mouse or the keyboard. How do I fix this? I am running Ubuntu Netbook Version 10.04.
View 5 Replies View RelatedIt was working in version 9, after I install the new one Ubuntu 10.0.4 LTS, it can not wake up after hibernate and suspend. I am using Dell studio Desktop
View 2 Replies View RelatedI've had this problem two times before and solved it once by following a guide, the other time by formatting. It always happens when it fails to wake up from suspend. Usually I am unable to even mount the drive or access the files. This one is different in that now I can actually access my files for the most part but this comes up on boot. I backed up most of my files (except it still says I don't have permission to access some of them) but I would like to get it back up and running without formatting. If I boot in recovery mode it stops at this. I took a picture but I rewrote some of it here.
Firewire_core: created device fw0: GUID 00016c000061b4b4. S4???
in/sh: cannot open ro
Kernel panic - not syncing: attempted to kill init!
Call Trace:
[<c05c8283>] ? printk+0x2d/0x32
etc
Image posted here: [URL]
I am running 11.04. After an update about a week and a half ago, the time to wake from suspend increased from about 3 seconds to well over 40 seconds. It now, sometimes, takes me longer to wake from suspend than a normal boot takes. Has anyone else encountered this problem/found a fix or workaround?
View 1 Replies View RelatedI am trying to make my computer to wake from suspend by either pressing a key or clicking the mouse. (It doesn't by default.) I have a Logitech EX100 Cordless Desktop. I tried enabling USB1 (the port the receiver is plugged into) in /proc/acpi/wakeup, but now the computer wakes up instantly when I try to put it to sleep. Anyone know how to make it stay asleep, and then wake up when I either click the mouse or press a key?
View 4 Replies View RelatedI have openSUSE 11.4 KDE (upgraded to Tumbleweed but that's not relevant here). The computer is a Dell Optiplex. My sleep (suspend to ram) and wake (restore from ram) work very well. The box can multiboot to windows 7 as well as to Linux.
In Linux, the restore process is triggered by pressing the power button on the front of the case. No other action will bring it awake.
In windows, the restore process is triggered by the power button but also by moving the mouse or touching the Escape key, spacebar etc.
Here's the question: how do I get the computer to wake in Linux by activating a key (or mouse, whatever) instead of just the power button (which is under the desk and hard to get to)?
Installed Debian 8.2 a while back, and I've been having issues with getting the machine to suspend correctly. If I try to put it to sleep when logged in to my regular user account the screen just goes black and then the computer hangs. However if I put it to sleep as root everything works fine. I do this by running this command (as root):
Code: Select allsystemctl suspend
What can I do about this? Worked fine on Debian wheezy..
Btw, just found this in the dmesg log. Connected perhaps..?
Code: Select all[ 6.863018] ACPI Warning: SystemIO range 0x00000000000018e0-0x00000000000018ff conflicts with OpRegion 0x00000000000018e0-0x00000000000018ef (\_SB_.PCI0.SBUS.SMBI) (20140424/utaddress-258)
[ 6.863028] ACPI:
If an ACPI driver is available for this device, you should use it instead of the native driver
I have installed squeeze on a HP notebook. I have one small problem though.It does not resume from suspend. If I shutdown -> suspend, or close the the lid, or shut downs (suspends) as expected, but whenower it backup up, the screen just stays black.Hibernate is working fine.
output of lspci (if needed)
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
[code]...
I've been running 6.0.2 amd64 stable since release day and recently have noticed my suspend and hibernate do not work. Normally I have transmission running and have set it to not enter sleep mode while torrents are active. However today I have not had transmission and was wanting to see if the sleep mode options would kick in. So I have set my display to "sleep when inactive for" 5 mins (this works perfect)
I have set "put computer to sleep when inactive for" 10 mins (this does not work at all)
When I try to manually test suspend my display flashes black for a few seconds but remains backlit, then asks me to log back in
When I manually go into hibernate mode my display turns off, pops back on for a second and in a terminal says something about a usb device (something failed but it happens so fast I cannot read it)
So I have this laptop with a busted battery, I'm trying to get it into some kind of headless server, media topbox hybrid.
First thing I want to do is being able to leave it shut (powered on) in the corner without having to interact with it directly.
I've setup ssh and vnc so to login remotely and do task, transfer files and etc.
However there is a little issue with the laptop lid down upon turning it on, it immediately goes into suspend when getting to the display manager, which is 'lightdm'.
I suppose this is the default setting for Xorg and as such my custom configs for KDE only kick in after I login.
Question is: I never seen configuration for default power management stuff being done in Xorg, is there some way to disable automatic suspension on lid down?
Another question is: After the KDE kicks in does it always replace power options? I have setup a xorg.conf file specifying dpms options but these don't seem to remain.
System is a Dell E7440, with Jessie, I recently upgraded to kernel 4.2.5 due to issues with wireless that are supposed to be fixed. (The same issue exists with jessie stock kernel 3.16 and BPO tough)
When I close the lid it often does not work and I get this in dmesg
Code: Select all[ 567.104335] pci_bus 0000:01: Allocating resources
[ 567.104349] pci_bus 0000:02: Allocating resources
[ 567.104415] pci_bus 0000:03: Allocating resources
[ 567.104428] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 567.105515] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 567.105540] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 567.105585] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[Code] ....
I suppose the i915 stuff is something I can ignore, However
Code: Select all[ 570.768020] acpi device:40: Cannot transition to power state D3hot for parent in (unknown)
seems to be the issue.. I don't even know what device:40 is.
in ls -l it shows as
Code: Select all lrwxrwxrwx 1 root root 0 Nov 2 12:28 device:40 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/INT33C6:00/device:40
and
Code: Select all# cat /sys/bus/acpi/devices/device:40/path
\_SB_.PCI0.SDHC.WI01
The awkward thing is tough, software suspend by running "systemctl suspend" works perfectly and always.
Code: Select all [ 872.054627] PM: Syncing filesystems ... done.
[ 872.091506] PM: Preparing system for sleep (mem)
[ 872.092045] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 872.093377] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 872.094563] PM: Suspending system (mem)
[ 872.094595] Suspending console(s) (use no_console_suspend to debug)
[Code] ....
So despite the mysterious issue with acpi device 40, how is real lid close different from "systemctl suspend"? And can I simply workaround the issue by making such a suspend when the lid closes?
Just curious if this is possible. What I want to do is setup a rsync job to backup my laptop to my personal file server(same LAN), but I want it do do this at 3AM while I'm sleeping. However I always close my laptop lid when I'm done using it which puts the laptop into suspend mode since that's how I configured my power options in gnome. Since I don't want to leave my laptop powered up all the time, I was wondering if it is possible to have a cron job scheduled that will wake the laptop up(out of suspend mode) and run my script/backup job, all without opening the lid of the laptop, and then put it back into suspend mode when it's done. Is this possible, and is it as easy as scheduling a cron job or is there some other scripting/configuration/trickery that I need to do to accomplish this?
Also, my laptop's BIOS has the option to power on at a scheduled time if needed, but I'm not sure if that would work with it being suspended(hibernation is not an option since my entire HD is encrypted with LUKS and I would have to be present to enter the password to boot the system.).
I have just joined the Debian community, for the past 2 years I have been using Linux Mint (ubuntu), I am now using Linux Mint Debian 64. I have a Lenovo A700 ideacentre with a Broadcom 4313 WiFi card. I manage to get the card working, now I have a new problem. If I suspend the machine the WiFi will not connect on resume. Is there a simple command I can use to getting the connection restarted, or better yet a work around so it will restart on its own?
View 14 Replies View RelatedI've tried editing .xinitrc to contain ck-launch-session and dbus-launch to no avail. Console kit is installed. I'm using Sid without a login manager, and xfce's suspend and hibernate work fine on my Wheezy computer. Xfce4-session and consolekit are installed. Is this a problem with permissions?
View 3 Replies View RelatedNow Debian6 suspend and rstart is all ok!
Auto start a program with login is ok.
How to auto start a program with debian suspended and restart ?
Maybe with gdm3 or NIC....?
How can I catch a event to auto start my program?
I have installed the latest virtualbox 4.1 on my desktop and laptop. It hosed suspend and hibernate.
The laptop is A Dell D630 with Intel Core2 Duo CPU, the desktop is an AMD based ASUS M3N78-VM mobo with Athlon II x2 250 CPU. Debian Testing 32-bit (same results with the 2.6.39 and the 3.0 kernels). Both have nvidia cards though - the desktop an integrated 8200, the laptop a NVS 135M. But suspend/hibernate was working before with the 4.0 series virtualbox.
The workaround is to clear the vboxpci vboxnetadp vboxnetflt vboxdrv modules from the memory before suspend/hibernate. I added the
service vboxdrv stop
rmmod vboxpci vboxnetadp vboxnetflt vboxdrv
lines to my sleep script (i dont use power managers, just the acpi powerbutton/lid scripts modified). Everything is ok now.