Ubuntu :: Running Scripts At Computer Wakeup From /etc/pm/sleep.d .. Limitations?
Apr 11, 2011
Are there limitations on what can be started from /etc/pm/sleep.d after system wakeup?I wrote a perl script to randomly change my gnome desktop background showthread.php?p=10654538
I want to run that script when my laptop wakes up.I followed this guide : and wrote this code
Code:
#!/bin/bash
. /usr/lib/pm-utils/functions
[code]...
View 1 Replies
ADVERTISEMENT
Aug 31, 2010
because of a bug that changes the device of an USB-HDD from /dev/sdb to /dev/sdc after wakeup I need to re-mount my external usb-hdd on wakeup. As far I found out this could be done with an script in /usr/lib/pm-utils/sleep.d I placed a script there and made it executalbe, the contents are:
Code:
#!/bin/sh
sudo mount -a
echo "working" /home/max/Desktop/test.txt
exit 0
If I execute the script from shell the HDD gets mounted, when waking from sleep/standby the script writes "working" in the specified file but the hdd won't get mounted. As I plan using the HDD as a NAS it's important it gets mounted again because otherwise the samashares are invalid
View 9 Replies
View Related
Aug 9, 2009
I am trying to figure out what is causing my system to go to sleep as soon as I wake it up.
- Every time I put my notebook to sleep by pressing (Fn+F1)...
- When I wake it up by hitting the power button or opening the lid,
- The system starts wakening, but then it just sleeps again.
- By this time I just hit the power button or open the lid again, and is ok then.
I been trying to read about ACPI & HAL, but I haven't notice anything suspicious.
I have a Dell M1330 with Nvidia (manufacturer drivers) running FC11.
View 2 Replies
View Related
Oct 17, 2010
Like the tittle says, i have ubuntu 10.10 on an acer aspire 5738z. But the laptop cant isnt waking up properly from either sleep or hibernate. The screen is black and the machine is running. when i tap onsuspend in ubuntu 10.10 the buttons i get sounds from the speakers. pianoish like.
View 2 Replies
View Related
Jan 6, 2011
When ever my computer goes to sleep it becomes unresponsive. No mouse or keyboard click wakes it up. The only thing I can do is press the power button which makes it completely reboot. This is killing my productivity. Anyone have any tips on how to make this function correctly?
View 9 Replies
View Related
Aug 4, 2010
The question is instead of shotgunning the problem should I start with replacing the hard drive or the motherboard or the processor. Is there a way to tell what is blown? The house took a direct hit and most electronics were fried. The main problem is that I set the computer to never go to sleep and it does every few minutes and I have to log back on quite often. Several games no longer play or just quit in the middle of the game and sends me back to the desktop. I haven't tried to do everything yet so I don't know of other problems. I don't have a lot of extra money so I only want to replace what I have to. The computer is a Dell Inspiron with 2.5 Gb processor and an Nvidia card ordered from Dell with Ubuntu 10.4 installed.
View 9 Replies
View Related
Aug 15, 2010
anyway, been using lubuntu for a week after instaiing it instead of ubuntu as that was running to slow and its been really good, intsllad a few programs (wine, filezilla, kompozer, devede)but when I turn on the computer today, it boots into GRUB and i select lubuntu, and afer a few moments the monitor goes to sleep as there is "no signal"it does the same on recovery mode, after displaying a few lines of command firstI can still boot into windows
View 5 Replies
View Related
Oct 20, 2010
I applied Power Management settings to put my computer to sleep in the hope that it would only sleep when it wasn't downloading something in Deluge. Unfortunately it would seem that it puts the computer to sleep despite Deluge being active. No biggie I thought, I'll just disable the sleep settings my setting them both back to NEVER. However, it ignores my new settings and still puts the display / computer to sleep, at the exact times I set originally!
View 7 Replies
View Related
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
Jan 18, 2011
I'M using F14 x86_64 and my problem is suspending. When I closed my laptop lid its going black screen and my hdd led is lighting I think my hdd is working hard and I think my cpu is working hard too so fan is working fast and my notebok is going hot.Any key is working on black screen. I must shut down hard .y computer has i5 and ati 5650. WHen I was using Mint 10, it has going sleep well
View 3 Replies
View Related
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
Dec 8, 2010
I've been watching movies alot at night and the thing that is urksome is that when I wake up the computer is still running even though the movie quit playing like 5 hours ago while I was asleepI have dbus plugin for totem installed, and totem isn't set to be ontop always. Also in powermanagement I have it set up so that the screensaver kicks on at 3 minutes after movie, screen shutsdown after 5 minutesand the computer should be put to sleep after 30 minutes. Which the last part is the only part that doesnt seem to work
View 5 Replies
View Related
May 15, 2010
When I press the sleep button my laptop (aspire 7736Z), my laptop doesnot sleep but it only is getting locked.
I am searching for a bash command to be able to see why my laptop is not sleeping but I didnt found anything appropriate.
View 1 Replies
View Related
Feb 13, 2010
I'd like to have my Linux box (a QNAP TS-210 NAS) send the order to go to sleep (or hibernation) to my main Windows 7 computer.As the NAS is running Linux, I can't use psshutdown from SysInternals' PsTools. Is there any Linux equivalent? Or some "magic packet" that can order the Win7 computer to sleep.I know I could install a SSH daemon and trigger a shutdown command from the Linux box using ssh, but ideally I do not want to install anything on the Win7 computer. I can install Linux software on the NAS, no problem about this. PHP, python and perl are also available on it.
View 3 Replies
View Related
Dec 16, 2010
after totem is done playing a movie from my external harddrive ( usb 2.0 750 gb Western Digital HDD) the computer screen will go blank but the computer will not suspend or hibernate. I have gnome-power-manager to go to suspend after 30 min of inactivity. I will usually fall asleep during the movie and the laptop will remain on. I will wake up to find the laptop on for the whole night and that it didn't go to sleep or suspend power after the movie stopped. Note ** I have already tried reinstalling gnome-power-manager & totem ... Also have turned on and off Dbus plugin, and totem is not set to always on top.
View 2 Replies
View Related
May 26, 2011
Gnome would sleep after specified 10 min and put this machine into <1 Wt saving mode.KDE just invokes screensaver and turns off display. It won't even spin down HDDs.There are no profiles in KDE power settings and I can't create any - create button works, but 'new profile' dialogue does not actually create any profiles.This is a brand new default install of F14 on AMD 890 chipset.
View 1 Replies
View Related
Dec 30, 2010
We have two Sangoma U100 products connected to our Acer Aspire Revo 360 (runs on Atom board). The Sangoma USB units provide connectivity to PSTN. Occassionaly and probably in a pattern they have failed every monday for the past month or so.
This is the OS version of CentOS I am running: Linux pbx.local 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:07:06 EDT 2010 i686 i686 i386 GNU/Linux I am wondering if this is a driver issue, ACPI sending computer or ports to sleep, or if it's something else? Any pointers would be appreciated. Following is some portions of dmesg output:
sdlausb: Attaching sdlausb on 2 (BusId 2-1)
sdla-2-1: USB device is connected!
sdla-2-1: USB device is disconnected!
sdla-2-1: USB device is connected!
[code].....
View 4 Replies
View Related
Oct 12, 2010
"Sleep" is not supposed to permanently kill off the network service. restarting the NetworkManager / network services DOES NOT WORK. Why this blatent and crippling bug is allowed tp persist? I dont want to "rasberry reboot" like windows, this has been the only forced reboot
View 4 Replies
View Related
Jan 13, 2011
I need to share some space on my hard disk with my wife, over our home network. I'm dualbooting Ubuntu and Windows.
My Ubuntu partition is limited to 30GB, and the Windows partition gets all the remaining disk space. Does /host suffer size limitations while being accessed through Ubuntu, or it's size is the same as the Windows partition?
EDIT: For the record, she's using Windows XP on her machine, only... no dual boot. Couldn't get her off Windows yet, but i'm still trying
View 4 Replies
View Related
May 17, 2010
When I suspend the computer it is more or less idle. When waking up, the harddrive is maxed out with i/o activity. The drive led is more or less fully on. I am not able to log in to gnome. I can however switch to VT1 and log in there, although it takes ages.
top shows no process activity, but IO Wait is at about 87%. df -h reports several GB free. free -m shows there is over 2GB free RAM.
I installed iotop, which took about two hours. I have attached it's output as it's rather special. In short just about every app is reading as much as it can from disk, including iotop itself!
As seen in the log throughput is not very high, but the disk i/o still puts the system to a crawl.
I killed process after process until it suddenly stopped. Unfortunately I didn't pay attention to when, but the i/o hammering stopped when killing one of the following (incomplete process names):
PC specs:
Ubuntu 10.04 x86_64
Acer aspire 5740, 4GB RAM, Intel Core i530 dualcore. AMD mobility radeon 5650 1GB.
I use fglrx and compiz is enabled with 'normal' profile.
View 1 Replies
View Related
Feb 14, 2010
I recently converted and .avi file to dvd .iso and when I try to play it in my dvd player. I get this message "playback prohibited by area limitations". I was wondering what does that mean and how do I get this movie to play.
View 7 Replies
View Related
Oct 15, 2010
Coming to the point, as per object, I'm playing ( read also as "messing up" ) with mldonkey since last weeks and I have managed to get it working correctly on my home network ( behind router and firewall ). Next step in my development plan was to enable remote access to mldonkey web interface from any external network, like for example a friend pc. I'm aware of the "IP Access Restriction" in the mldonkey configuration file (downloads.ini) but there I can only specify an ip ( or ip-range) to allow access.
So the question is: how can I manage to disable* ip restrictions upon access, so that with a DNS-aliasing service I can access mldonkey web page virtually from anywhere?
(*) = maybe this is not the correct word but it explains the concept.
View 1 Replies
View Related
Dec 5, 2010
i'm having this problem:when i put Fedora to sleep the system disconnect all my usb (or so i think)basically i can't wake up my computer becouse there is no where to do itit gets back to normal after i power it off/on...how can i fix this?please since i'm new both to fedora and linux try to be detailed with the explanations, or there is a good chance i won't understand a thing ^^---------- Post added at 02:27 PM ---------- Previous post was at 02:26 PM ----------
View 3 Replies
View Related
Oct 29, 2010
I use debian sidunstable. When I suspend my PC, it does sleep fine, but when I try to wake it up, I get a black screen.
View 3 Replies
View Related
Jan 4, 2011
I'm considering setting up a virtual machine running Windows, with Ubuntu 10.10 as the host OS, for those cases where I have a Windows-only program.I understand that using a VM will lose some performance, but are there other limitations to what the OS in a virtual machine can do compared to "running on bare metal"?
For example:
Can a VM play games, like Dragon Age Origins or Civilization V? (Possibly with poorer framerates and/or lower resolution, but does it play at all?) Can a VM rip DVD/Blue-ray using AnyDVD or similar Windows program? Can a VM handle new hardware that requires dedicated drivers, but the drivers are only available for the OS running inside the VM? (Ex. graphics card, digital camera, card reader for smart card authentication.) Is it possible to say anything about "general limitations" of VMs, or is this wholly dependent on the specific VM?
View 3 Replies
View Related
Apr 26, 2011
I noticed that firefox sometimes uses a lot of memory. Can something like setrlimit be used to control it? I tried to use it on the command line, but it didn't work.
View 1 Replies
View Related
Jun 8, 2011
confirm, 32bit Linux os can utilize only upto 4gb phisical memory?
View 14 Replies
View Related
Apr 25, 2010
I have a network camera, with a linux OS. We need it to be really precise in its timing for the specific application we want it for. But it's not!
After killing some of the garbage processes on it (and having some achievements, but not enough), it seems that there's some kind of bandwidth limiting applied on the outgoing traffic.
My question: What are all the things that should be done on a machine, running linux, to remove all the bandwidth limitations?
Notes:
1- With my very basic knowledge about traffic shaping in linux, I have made these observations:
# tc qdisc ls dev eth0
qdisc pfifo_fast 0: root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
# tc qdisc del dev eth0 root
RTNETLINK answers: No such file or directory
2- I am trying to download the images from an HTTP link, and I already have about 14Mbps. I want it to reach at least 50Mbps. I can download with speeds higher than this when downloading from another PC on a windows network. So I assume this is not a problem with the cables. Also the eth0 on the camera is said to be a 100Mbps device.
View 2 Replies
View Related
Sep 29, 2010
What are all the limitations in Redhat enterprise linux 5.3?
How much would it cost right now?
View 3 Replies
View Related
Jul 16, 2010
Does anyone know if there is a size limitation for shared-memory segments in RHEL AS 4?
View 1 Replies
View Related