Debian Hardware :: Persistent Hdparm Setting After Wake From Sleep

Jan 26, 2016

I have set up a hdparm configuration file ( /etc/udev/rules.d/50-hdparm.rules ) with :

Code: Select allACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda" .

This works correct when I power on my system, however after waking my computer from sleep mode , /dev/sda appears to operate with APM .

Is there a way I can make this setting to be persistent ,i.e. APM disabled when waking up from sleep mode?

I am running Debian Jessie x64.

View 3 Replies


ADVERTISEMENT

Debian :: KDE Freezes On Wake From Sleep (Jessie)

Jun 10, 2015

I have installed Debian 8.1 with KDE desktop on Lenovo t431s with intel HD4000 graphics.

When using it with dual monitor configuration, I experience the problem when I put system to sleep (by closing the lid), then remove the external monitor cable (from miniDP port) and then try to wake system from sleep. The login screen freezes and I am unable to move the mouse or type in credentials. In case I had music player running I can hear the music after system wake , but it shutters while playing.

This does not happen on some other distributions, but the problem is that I very much like my current setup and I would like to fix this problem and keep it.

I do not know if this problem is due to KDE or KDM or it's Debian base.

View 2 Replies View Related

Debian Hardware :: Can Hdparm's Readahead Setting Mess Up IDE Hard Drive?

Sep 10, 2011

On a Powerbook G4, I set hdparm to set the filesystem readahead (-a) to the maximum 2048 on boot. This produces a visible increase in performance... But today the hard drive started acting up - first generating I/O errors when trying to access various system binaries, and the second time bringing the desktop to a standstill and emitting loud clunking noises.In both cases the drive worked normally after a reboot... Even so, these are not what I'd consider good signs. However, the computer was working perfectly up until now, so I'm wondering if my tweaking was responsible. Can overly aggressive filesystem readahead settings damage an IDE hard drive?

View 2 Replies View Related

Ubuntu :: Hdparm Not Putting HDD's To Sleep?

Dec 12, 2010

Im wanting to put HDD's to sleep using hdparm after 20min of activity (a 4x disk raid5 array and two single disks). I have edited /etc/hdparm.conf, adding the following lines at the end of the file:

Code:

#6TB RAID5 POWER DOWN
/dev/disk/by-id/scsi-SATA_ST32000542AS_5XW0T1R6 {
spindown_time = 240

[code]....

Code:

sudo hdparm -y /dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJDWQ411622

The HDD's will sleep with out issue. Ive looked around my log files and cant seem to find anything to do with hdparm, or the HDD's sleeping. Have I make a mistake in the .conf file? Is there some place hdparm logs, or if I can activate some sort of verbose mode? Or does hdparm need to be activated on boot?

EDIT: I'm using ubuntu 10.04.1 x64 last updated today.

View 5 Replies View Related

Ubuntu Servers :: Hdparm Won't Put Drives To Sleep After Specific Time

Feb 17, 2011

I've just put together a 10.04 server using a GA-D525TUD atom board. I've installed gnome desktop too. I'm trying to get 4 sata drives to go into standby, but hdparm seems to be ignoring the settings. If i issue hdparm -y /dev/sdx the drive duly goes into standby and stays in standby until accessed. I've put entries in rc.local along with the hdparm.conf settings, but still no joy.

Hdparm.conf:
/dev/sdb {
spindown_time = 244
}

[code]....

View 9 Replies View Related

Ubuntu :: Can't Wake From The Sleep

Jul 5, 2010

Whenever I close my laptop lid or just press the suspend button, it will go to sleep just fine. Perfect. Waking up is the problem. The drive light flashes for a few seconds, and then it just goes to back to normal but my display is still busted.

View 9 Replies View Related

Ubuntu :: Wake From Sleep And/or Hibernation?

Mar 1, 2010

I'm running 9.10, how do I wake up from sleep or hibernation on my Dell XPS notebook? I have no problem putting the comp to sleep/hiber but can't seem to work out the keys to wake it up again.

I don't get any responses from the keys even when I try CAPS LOCK or NUM LOCK, so all I can do is reach for the on/off switch.

View 4 Replies View Related

Ubuntu :: Monitor Goes Into Sleep - Won't Wake Up

Apr 27, 2010

I am running Ubuntu 9.10 on my desktop and everynow and then I get this annoying problem. If I walk away for a bit, just upstairs to use the bathroom, sometimes when I come back the monitor is off and the power light is blinking. You know, like what monitors usually do when they are still powered on but the screensaver is done playing. However, this happens to me well before the 10 minutes that the screensaver is supposed to end.

It does not always happen, and I can't really isolate what may be causing it, as I never take a note of what I'm doing when I go pee. HOwever, I rarely do anything other that run VLC, Chrome, Firefox, or OpenOffice Writer.

The problem is that the screen won't wake up. Moving the mouse does nothing. Jamming some keys does nothing. Trying to go to text terminal does nothing. I have to either REISUB or hold down the power button on the tower.

View 5 Replies View Related

Ubuntu :: Monitor Goes To Sleep And Won't Wake Up?

Aug 30, 2010

I just recently got my old box back and now I'm running 10.4. I've had some minor issues that I have got through but now there is one which seems to really be frustrating me. At any random time my monitor may go black as if it is in sleep mode. The problem is when it does this, no mouse movement or keystroke will wake the thing up. So I am forced to press the power button. When I press the power button the Ubuntu logo pops up on the screen as if it magically woke up but it is too late because now the computer is shutting down... When I go to System>Preferences>Screensaver I get to the options for the screensaver and I have about 2 seconds before that triggers the screen going black.

I can't even start until I know that my screen won't shut off at any random moment!

View 9 Replies View Related

Fedora :: Can't Wake From Sleep With USB Keyboard Or Mouse

Feb 28, 2010

I've configured my F12 system to go to sleep when idle for a period of time and so far everything has been working out well except that it appears that the USB ports are completely dead with the system is put into sleep. I can't wake it using keyboard or mouse. only with the power button. Anyoen else experience this or know how to allow sleep from keyboard/mouse?

View 14 Replies View Related

OpenSUSE Hardware :: Wake-up On Lan From Suspend / Sleep?

May 26, 2010

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.

View 1 Replies View Related

OpenSUSE Hardware :: Laptop Won't Wake From Sleep?

Apr 24, 2011

My laptop won't wake from sleep. I hit the powerbutton and it'll blink a few more times, turn green and the keys will light up but the screen stays black.

Running sony vaio s with windows 7 and 11.4 duelboot. I really need it to be able to suspend and wake because I'll be taking it to college in the fall.

View 9 Replies View Related

Ubuntu :: Netbook Unable To Wake From Sleep

Dec 30, 2010

I'm having some trouble getting Ubuntu Netbook Edition to work properly on my Netbook. If I close my netbook for long enough for it to go asleep, which only takes 10-20 seconds, then when I open it back up and press the power switch, nothing appears on the screen.

View 3 Replies View Related

General :: Put In Sleep Mode At 1 Am And Wake Up At 6 Am Automatically?

Jan 4, 2010

Is it possible to let a Linux PC put itself into sleep mode at 1 am, and wake up, by itself at 6 am?

View 14 Replies View Related

Ubuntu :: Cannot Wake Up Computer From Sleep Via USB Infrared Remote?

Dec 8, 2010

I have an interesting issue. I have a computer running Ubuntu 10.10. I have a wireless USB Microsoft keyboard attached to this, and I have a cheap USB infrared remote also attached to it.The wireless USB Microsoft keyboard can wake up the system from suspend. The USB infrared remote cannot.To start off, I made sure my /proc/acpi/wakeup had wakeup enabled for all usb devices.

Code:
xbmc:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node

[code]...

View 1 Replies View Related

General :: Finding Out What Caused The Computer To Wake Up From Sleep (Ubuntu)

Dec 11, 2010

Is there any way to find out which device/event caused Ubuntu (10.10) to wake up from the most recent sleep/hibernation? I am trying to troubleshoot some sleep issues on a new box, and knowing what's causing it to wake up would help. I did check /var/log/pm-suspend.log but all it seems to say is Sat Dec 11 22:18:27 GMT 2010: Awake.

View 1 Replies View Related

OpenSUSE Hardware :: Devices Involved In Wake From Sleep - Suspend To Memory

Apr 17, 2011

I 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)?

View 9 Replies View Related

Ubuntu :: Couldn't Wake Monitor Up From "sleep"?

Aug 16, 2010

This morning I woke up and while my computer was turned on, I couldn't wake my monitor up from "sleep". So I turned off the computer and turned it back on. I noticed that the normal boot screen (which usually shows a monster truck from Abit) was pretty severely distorted.Basically all output to the screen is so distorted visually that I can't tell what's going on. I've attached two images that I took below:

The first image is at the very beginning of the boot (perhaps when the monster truck should normally show <- sometimes it shows and sometimes it is just too distorted to tell anything). The second image is after it's been on for about a minute, and you can see a little text box giving me some sort of warning (which I of course can't read). I can click "OK" or something along those lines by using they keyboard though and progress to a new warning box, but again, can't read what they say. How can I figure out what the problem is?s it definitely a videocard thing, or could this be caused by anything? I don't know if it's a software problem (running Ubuntu 10.04), or if something went wrong with my hardware overnight.

View 2 Replies View Related

Ubuntu :: Does Empathy IRC Have 'persistent' Setting?

Jun 13, 2010

I was able to check a box that would keep me logged in to an irc chatroom, even when the dialogue was closed. With lucid, I'm trying to find a similar setting for Empathy.Right now, whenever I close the window, it appears I quit that chatroom.

View 4 Replies View Related

Fedora Servers :: Setting Up Network In The Right Way + Wake On Unicast Messages?

Jul 11, 2010

I have a Fedora server at home. I don't want it to be running all the time to reduce the power usage and be more green It only works , whet it is really needed. So when it is not in use (no ssh or http connections have been active for some time), a custom python script suspends it. I have set it to wake up on unicast messages, so when somebody connects to it, the server wakes up.In Fedora 12 everything worked fine: when the server was sleeping and you connected to it using ssh or a web browser, the client waited for couple of seconds until the server was up and then connected (actually it worked even when server was turned off: the command "ssh [user]@[server]" just waited until server was booted up and then connected.)

Now I installed Fedora 13 on the server. When I try to connect to the server when it's sleeping, the client waits for some time (and server wakes up), then the connection just times out. When I try to connect again, it works. When server is up and running, I can connect to it. So when it is sleeping I have to connect twice: first to wake it up and then connect again to log in.Do you have any ideas what is causing this problem, as it is really annoying for me and I don't want to have it running all the day.Also, I have not set up the network in the best way, I think. To start the network at boot, i have put the command

Code:

ifup eth0
to /etc/rc.local.

To start the network when resurming from suspend, I have creted a script with the same command in /usr/lib64/pm-utils/sleep.d. It works, but it does not seam to be the *right* way to do this. Maybe this is also causing the first problem. So how have you managed to get a working network connection on your Fedora 13 headless server?

View 4 Replies View Related

Ubuntu Installation :: Can't Log On To Default User On Persistent 10.10 After Setting Password?

Dec 29, 2010

After setting up a persistent Lubuntu (10.10) on a 4GB SD with Universal-USB-Installer-1.8.1.8 , I started changing the passwd of the original user ubuntu , but after rebooting, I can't log in. So I resorted to hitting Ctrl+the function key that gives you a CLI, and changed the password for "ubuntu" user then tried to log on again. No success.Then I created a new user with a password, and managed to log in with this user, but it is not the same experience, the menus are lacking, and it is not possible to log on to wifi, similar problem to this user

View 3 Replies View Related

Ubuntu Multimedia :: Unable To Make Monitor Setting Persistent?

Mar 8, 2011

My system boots in 1024x768 screen resolution. I'd like to change it to 1280x1024 for all users. I can change the setting to 1280x1024 and it's persistent between sessions, but is reset back to 1024x768 on reboot. In the old days, I used to edit xorg.conf to set the the mode I want, but now there's no xorg.conf. I created one using

xorg -configure

but this created an xorg.conf which has no modeline settings at all. The file just looks like a template. Here's what I got:

Quote:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

[Code].....

View 1 Replies View Related

Ubuntu :: Lucid Goes To Sleep Irrespective Of The Setting

May 16, 2010

I am using ubuntu 10.04 . Even though i have set power options where it says "put power options to sleep" to "never"the computer goes to sleep after 5minutes. I again have to give the password to unlock .

View 1 Replies View Related

Debian :: Automatically Restarts When Using Wake-on-lan

Aug 28, 2015

I am hosting a home server to make developing stuff easier. And because I don't need my server all day and night I automatically start and shut it down. For starting I use Wake-On-Lan (etherwake) and to shut it down I am using my RaspberryPi. Finally I have a problem doing that: When I use WOL to start my home server it works perfect. But when I try to shut it down, I have to do that twice. After the first shutdown it restarts automatically even when no WOL-Package is sent.

I am using Debian 8.1 Mate as os.

My stop script is:

Code: Select allsshpass -p<password> ssh root@server.home.lan shutdown -h now

and I start it with

Code: Select allsudo etherwake <mac address>

both times using a cron job on my RPi.

View 6 Replies View Related

Debian :: Compaq Cq50 Display Won't Wake Up

Jun 25, 2015

I came back to debian after trying many others because it installed flawlessly and worked. I'm on the testing channel and upgrade nearly everyday and after a recent upgrade my xsession (Xfce4) display won't wake up any more after I close and re-open the lid. I know the box is awake because I can go to a ctr-alt-fn console login and use it normally. How can I track this down? And is there some way I can restart the gui display from the console without losing what was running before I shut the lid? Right now the only way I can recover is to restart the computer.

View 1 Replies View Related

Debian :: USB Ports Don't Wake Up - Have To Close And Open Lid Of LT

Oct 20, 2015

I have installed Debian Jessie (<-- brilliant OS ) on my uncles Laptop (it is a Thinkpad E540) with Cinnamon as desktop environment. The installation was no problem. Everything apart from one minor thing works nicely. The minor thing however is the following:

I don't know what it is, but when I don't use a particular usb port for a while and then try to plug in a usb stick or a wacom tablet, it doesn't get recognized, it doesn't show up when I use f.e. Code: Select alllsusb. When I close the lid of the laptop and open it again, then the particular usb device gets recognized and cinnamon asks me what to do, f.e. open a folder and show the content of the usb stick I have plugged in. Because of the success on two other laptops I use the following

Code: Select all# /etc/systemd/system/powertop.service
[Unit]
Description=Powertop tunings

[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/sbin/powertop --auto-tune
Environment="TERM=xterm"

[Install]
WantedBy=multi-user.target

to save power on the Thinkpad (this is in no way my service script, I tuned everything using powertop in the terminal after having had logged in, the script above stems from a brilliant user here on the forum). Could it therefore be autosuspend that is not working properly here?

View 3 Replies View Related

Debian Configuration :: Wake On Lan Settings Don't Stick?

Feb 11, 2010

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.

View 6 Replies View Related

Debian Configuration :: Wake On Lan When Suspended Or Hibernated

Jun 16, 2010

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.

View 1 Replies View Related

Debian Configuration :: Suspend - Wake Up Failed

Oct 4, 2010

Suspend 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 Replies View Related

Debian Multimedia :: Laptop Does Not Wake Up From Suspend

Oct 14, 2010

I 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]

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved