Ubuntu :: Sleeps Again After Returning From Sleep

Feb 2, 2010

I configured Dell Latitude D620 to go to sleep mode (suspend to ram) when i close the lid. It suspends ok and then I open the lid. It wakes up ok, but few seconds after goes to sleep again! So I need to press the power button to force it to wake up.

Sleep button works just fine. /etc/acpi/sleep.sh from console too.

/etc/acpi/events/lidbtn

Code:
event=button[ /]lid
action=/etc/acpi/sleep.sh
update:

I noticed that it always goes to sleep again when I wake up laptop by opening the lid. For example if I run /etc/acpi/sleep.sh, pm-suspend or press the sleep button laptop goes to sleep, then i close the lid and when i open it back - the problem occurs.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Screen Sleeps Despite Settings - 9.10

Feb 7, 2010

So I've recently switched over to Ubuntu as my media center OS, and I'm running Hulu Desktop (which works very nicely).

The problem is, the screen keeps sleeping on me after inactivity and it won't come back unless I use the keyboard or mouse (the remote won't wake it). The computer is still running, audio and all - and just a black screen.

I have the screensaver set to never, the power saving settings set as high as they go - and it still does it.

I've searched the forums for a solution but I can't seem to come up with anything; any ideas?

Looks like I found a solution; Caffeine (launchpad.net/caffeine) is a little applet that will disable sleep/screensaver while in certain apps (or for a certain amount of time). I don't know why changing the system preferences wouldn't accomplish this, but Caffeine did the trick anyway (and actually works out better anyway)

View 1 Replies View Related

Ubuntu :: Router Goes Out - Network Card Sleeps

Dec 17, 2010

Running 9.10 on the computer I am having a terrible time with.

Intro

I have a small office of 5 comps. I had a guy come in to change the router to a bigger one, to go from 4 to 8 outlets. I was changing the service, so first we went to the new company's smaller router and then to the bigger one.

Well, my old Dell and another older box never could get reconnected after the guy pulled out the smaller one and put in the bigger one. First migration was fine though.

I believe I have seen this problem before. I have had several instances of weird internet outages involving single (or worse, a pair of) machines that eventually can go back online. There are some serious bugs in NetworkManager I think which are putting these devices to sleep.

Symptoms

Symptoms I have already seen a lot around here. Yes, I have lights where the line goes in. The system will try to get a dhcp lease and then give up, telling me I am disconnected. That's it. I tried to install wicd on the machine that I reinstalled (again to 9.10), but it was the same, no way to get an IP address.

I have nothing in the networkmanager.state file at all. My nm.config.settings has a no-auto-default:00:16:82:XX:XX line.

And of course in frustration I deleted the eth0, so now I had to make a new one, and its not default.

Obligatory Begging

There is no way two machines have the same hardware problem at the same time. Plus, this is the third time in 6 months I have had two machines with connection problems, where we were checking lines against windows machines and wondering about hardware.

I am already resigned to re-installing on the Dell and hoping it goes ok (its really old). And on the other box (a server) I even re-installed multiple times and it still won't work at all, same symptoms. So I am worried at this point that both might be fuXXored by this bug.

View 6 Replies View Related

Debian :: PC Sleeps But Does Not Wakeup?

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

General :: USB Hard Drive Sleeps And Disappears In Ubuntu

Jul 22, 2011

I have very small ARM computer with Ubuntu 9.04 (Jaunty) running as a backup and media server for my house. I have attached a new "WD My Passport" 750GB USB drive to it. The drive is recognized and I can mount it and read/write files fine. After several minutes, the drive goes to sleep, even if I was in the middle of writing a backup to it. I can force it to start again with sdparm, but it needs to not shut itself down while it's being written to in the first place. I have tried this command to disable the standby state but it doesn't work:

root@Plug:~# sdparm --clear STANDBY -6 /dev/sdb
/dev/sdb: WD My Passport 0730 1008
change_mode_page: failed setting page: Power condition

I have also been told to change /sys/block/sdb/device/allow_restart from 0 to 1, but no such file exists and one cannot be written there. The hardware itself is fine, if I plug it into a Windows computer, it will not sleep while in use.

View 1 Replies View Related

Ubuntu Multimedia :: Display Sleeps Which Watching Movie?

Apr 3, 2010

i have set the display to go to sleep after 5 min. but it still goes to sleep when i am watching movie.

how can i stop this, it should only go to sleep when it is ideal, not when i am watching movie

View 2 Replies View Related

Ubuntu :: Power Management / Display Sleeps Too Quickly?

Jul 21, 2010

I am having a problem watching videos and such in 10.04 LTS, In power management I have display set to sleep in 1 hr but it is going to sleep every 10 minuets and prompting for my password everytime I make a mouse or keyboard movement. Makes it kind of difficult to watch a video.

View 3 Replies View Related

Programming :: Why Malloc() Blocks/sleeps

Jun 2, 2010

I have encountered this scenario wherein malloc does not return.

Code:
char * tmp;
rs = 100 to 40000 bytes

[code]...

View 8 Replies View Related

Ubuntu :: Gdb Not Returning To Prompt

Jun 6, 2010

i'm trying to make a backtrace of nautilus (as described here: URL...to fill a bug report but it doesn't work.after i "attach PID" to the nautilus-process and do "continue" it's not possible with ctrl-c to return to the (gdb)-prompt. the wiki-page above says:"If the program hangs but doesn't crash you can press ctrl+c in gdb while the program is frozen and then continue with the next step".

View 1 Replies View Related

Ubuntu :: Wikipedia Won't Load - It Keeps Returning Code 200

Jan 26, 2010

Wikipedia won't load! It keeps returning code 200 (ok) along with 0 bytes of source...

View 2 Replies View Related

Ubuntu :: Locate Not Returning Any Results / Force It To Do?

Feb 6, 2010

Bit of a strange one - locate is not finding any files ??
I'm running xubuntu karmic and 'locate' is actually 'mlocate' so doesn't allow the -u switch.

Is there some way of forcing it to reindex?

View 2 Replies View Related

Ubuntu :: Screensaver Returning Error Message With GLX

Feb 14, 2010

I don't know what I'm missing or what I did to break it, but most screensavers that I have end up returning this error message:
"X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 135 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 16
Current serial number in output stream: 16"
This is also the output of glxinfo. Did I somehow break something in my graphics driver?

View 4 Replies View Related

Ubuntu :: Returning To A Menu In Bash Script?

Feb 7, 2011

Im constructing a menu for a program using case. I have all my normal input options mapped out but i want to have a * ) option so that if something else is inputed, it displays "Incorrect input" and then resumes the normal menu function. How do I do this? Ideally, I'd like it to display "Incorrect Input" and then accept more input for the menu.

View 2 Replies View Related

Ubuntu :: Lucid Always Asks For Password When Returning From Idle?

May 1, 2010

I do like a lot of the changes they've made in Lucid (especially the aesthetic ones), but there is one change they made that I don't like, and I can't figure out how to get around it. I have Ubuntu set so that, after 10 minutes or so of inactivity, my screen is blanked, in order to save power. In Lucid, though, whenever I come back to my computer after the screen has been blanked, it requires me to entire my password in order to resume use of my computer. Is there any way I can turn this off?

This next question is unrelated, but I do still feel the need to ask. Why, exactly, did they move the minimize/maximize/close buttons from the top-right corner of the window to the top-left? I know that it probably feels natural to Mac users, but every previous version of Ubuntu has had these buttons in the top-right corner.....why on earth did they feel the need to change it? I've been using Ubuntu for a while now, and it's kind of annoying. Surely most people who've been using Ubuntu for a while were thrown off by this, as well? I doubt that there is any way to change it, but does anyone know if there is?

View 9 Replies View Related

Ubuntu :: Editing Nautilus Settings Returning Defaults

Jun 7, 2010

I finally have a working nautilus after weeks experiencing a seg fault caused by a dependency problem which I have only now managed to resolve.

It came right after doing this:

Code:
gconftool-2 --recursive-unset /apps/nautilus

I then removed nautilus-elementary ppa and downgraded the nautilus-data.

Problem is the nautilus I get is extremely minimal -- really just a window -- which insists on opening new windows whenever I click on a folder.

[URL]

I've tried removing .nautilus on several occasions.

What are the default settings?

Is there a more convenient way of editing nautilus?

Striks me this has something to do with settings gconf. I'm going to play around and see if any of them fix this creature.

View 2 Replies View Related

Ubuntu :: Matching And Returning A Part Of File Name On Bash?

Apr 25, 2011

If I have files named like this:

abc_one.c
egx_two.c
tsf_two.c

[code]...

View 9 Replies View Related

Programming :: Gcc Returning Undefined Reference?

Jun 23, 2010

I am facing the problem of calling cfitsio library from C program in linux. when i am givingthe option "gcc -o CreateLevel1DataFitsFile CreateLevel1DataFitsFile.c -lm -lcfitsio
"i am getting following error

/usr/lib/../lib/gcc/i386-redhat-linux/3.4.4/../../../libcfitsio.a(getcolj.o)(.text+0x7065):/backup/Astrosat/learning/cfits/cfitsio/getcolj.c:3098: more undefined references to `__xtoll' follow

[code]...

View 2 Replies View Related

Ubuntu :: Logon Screen Appears Twice After Returning Computer From Idle?

Jun 1, 2010

I've recently done a fresh install of 10.04 on an Acer Aspire 5720 and it went pretty well. However I've a problem with the logon appearing twice. If I leave my computer idle for too long the screen locks. when I return I'm asked for my password which unlocks the computer but within a few seconds the screen locks again and I need to enter my password for a second time. This time the computer unlocks and stay unlocks.. but it's annoying I have to unlock it twice !

How can I extend the length of time before it unlocks or disable it all together.. until the problem gets fixed?

View 9 Replies View Related

Ubuntu :: How To Remove Stored Passwords From Firefox Before Returning Computer?

Apr 11, 2011

I am returning a computer to the dealer and I want to remove all stored passwords from firefox. How do I do that? This is version 3.6.I also would like to remove bookmarks and history.

View 9 Replies View Related

Debian Programming :: Returning Different Values For Same Code?

Sep 11, 2014

I am developing a script to automate some database setup, but I have an issue I cannot figure out. I prompt for some input with whiptail and select a default if nothing is entered. However, if you do not enter anything, it normally returns 0, but this time it is returning an empty value.

Code: Select all  # This one does work!

  # Set the source path
  TMPPATH=$(whiptail --backtitle "Linux Build Configuration"
    --title "Source-Code Path"
    --inputbox "Default: $SRCPATH" 0 60
    3>&2 2>&1 1>&3)

[Code] ....

So what is wrong with the second code?

View 1 Replies View Related

Networking :: Box With 3 Dedicated IP's All Returning The Same Single IP Address?

Jan 20, 2010

I have a linux box, which was given to me by a company with 3 dedicated IP addresses. My goal was to setup ssh tunnels on all three dedicated IP Addresses.

Via Putty, i am successfully able to create a tunnel to the box's on IP1 IP2 and IP3 - that is i can make incoming connections on all three IP's.

However, my problem lies when i attempt to USE the tunnel. AIn all instances, regardless of the IP i actually tunneled into the box with, it returns IP1 as an outgoing connection, i.e if i setup IE to use the tunnel, it will return my IP as IP1, even though i have created the tunenl via IP2/IP3.

What id liek to accomplish is that when i create a tunnel via IP1, then outgoing connections go via IP1, and when i create a tunnel via IP2, then outgoping connectiosn go via Ip2 etc.

After discussing this with a colleague of mine, he infomed me he had the same problem at one point, and that some configuration on the box was required - however he was unable to recall.

View 2 Replies View Related

Networking :: Why Is Udhcpc Is Returning Etho0 Instead Of Eth0

May 3, 2011

I'm building a very small netbootable client, using a stripped down custom kernel and busybox v.1.18.4 (stable) with the embedded ifconfig and udhcpc applets

after startup, the initrd is loaded, and the proc, sys, dev and pts folders are properly created and mounted.

/proc/net/dev properly contain eth0 as an ethernet device.

in the init script I execute a background call to udhcpc passing the dhcp.script properly to udhcpc, and dhcp.script is then executed when the bound event occurs.

what I cant get past is udhcpc is passing back the interface evironment variable as etho0 (thats, 'eth' lowercase 'o' and a zero '0', when it should be passing 'eth0', thats 'eth' and zero '0')

I know I could hardcode the eth0, but i was hoping for a somewhat smarter system.

View 2 Replies View Related

General :: Pam_mysql_check_passwd() Returning 6 - Pam_mysql Authentication?

Aug 2, 2011

I'm having trouble with my pam_mysql authentication.'ve double checked my md5 password but its correct.What should I be looking at? My /etc/pam.d/system-auth is completely identical to my other server (that works), but this one is somehow reporting that my password is wrong.I've bolded out the questionable output.Here's my error log while trying to connect:

Code:
Aug 2 16:16:21 la2 sshd[8006]: pam_mysql - option verbose is set to "1"
Aug 2 16:16:21 la2 sshd[8006]: pam_mysql - option db is set to "hidden"

[code]....

View 3 Replies View Related

Server :: BIND Not Returning Windows DNS Hostnames

Jan 5, 2010

I have a situation where I have two DNS servers - a BIND one for our Unix hosts and a Windows Server DNS one for the Exchange and other Windows hosts. I set up the BIND server to slave from the Windows one, which it seems to do just fine.

Windows DNS has entries like "_gc._tcp.domain.local" in it, which are needed for domain logins, etc.

However, when I try to use nslookup on those entries, it fails when querying the BIND server. When I do a domain transfer with dig, I get all the answers I expect.

This failure means that the Windows boxes can't query the BIND server for the answers they need. By default, from DHCP, it is the BIND server they get, so that's a big problem. If I manually switch their DNS to the Windows server, it works perfectly.

View 1 Replies View Related

Programming :: Wcslen / _tcslen Not Returning Correct Value?

Feb 12, 2010

I have having some trouble working with wide characters, which is,

Sample code:
TCHAR fname[512];
_tcslcpy(fname, L"/root/Desktop/all/TheGrandTunnels.fgc", 512);

[code]...

View 4 Replies View Related

CentOS 5 Server :: SOA On Secondary Slave Not Returning Anything?

Apr 12, 2010

I have a secondary slave dns server setup, it has transferred all the records from the primary master.But when I run a few checks from outside using tools on the net it says:Tried to fetch SOA record for domain, but DNS server ns2.domain.com returned error code Refused.I disabled iptables, and tried again, same result. So I think it is something in the named.conf file? I appreciate any extra set of eyes on it. Just feel like I'm so close!

key "rndckey" {
algorithm hmac-md5;
secret "mysecretkey";

[code]....

View 1 Replies View Related

Debian Hardware :: Nvidia Fan Running At 100% When Returning From Suspend?

Sep 11, 2011

I installed the stable version of Debian last night (Debian GNU/Linux 6.0 l) and whenever I come out of suspend, the video card's fan stays at full speed. When I do a regular reboot, this doesn't happen.

Normal behavior is for the fans (cpu and gpu) to go to full speed for a few seconds and then settle on a slower (quieter) speed.

The hardware involved is:
Dell Vostro 400
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2)

The install is vanilla (as in "I haven't messed with drivers or configuration files - yet"). Also, keep in mind that I'm a newby - I've just switched to Debian after about two months of Ubuntu and am not too familiar with where everything is or what commands I need to do what, so instead of telling me to change the sync parameters in the nvidia configuration, I need to know exactly what parameter in exactly what file.

View 1 Replies View Related

OpenSUSE Multimedia :: No Sound After Leaving And Returning Runlevel 5?

Jan 19, 2010

Every time I leave runlevel 5 (shutdown, reboot, init 3 or whatever) and then return to runlevel 5, I lose sound and have to delete and then re-edit sound card config in Yast Sound module to restore it.When returning to GUI environment, the sound card appears OK in Yast but I get no sound from any of my multimedia apps - Amarok, VLC, Firefox all go quiet. Strangely, it still plays the KDE intro jingle when KDE starts up.To restore sound I click delete in Yast and I'm prompted with the following KDE dialogue:

Removed Sound Devices
KDE detected one or more internal sound devices were removed.
Do you want KDE to permanently forget about these devices?

[code]...

View 9 Replies View Related

Hardware :: RF Devices Disabled After Returning From Suspend To Disk?

Feb 19, 2010

After returning from suspend to disk, RF devices (wlan and bluetooth) are disabled. Running lspci indicates that no wireless network device is available, and no drivers are loaded. Furthermore, the LED on the front of the laptop remains off - this is always on when RF devices are available. There is an Fn-F1 function key to toggle wireless, but this does not function to either enable or disable.

Rebooting the system does not re-enable the RF devices, and there is no option in the BIOS. The only workaround I have at present is to boot into windows vista and use the Fn-F1 function key. This pops up a small hotkey utility with the option to disable/enable the wi-fi and bluetooth (independently). Upon confirming the dialog, the RF device light immediately illuminates. Rebooting into fedora and wireless devices are working once again.

I am running kernel 2.6.31.12-174.2.3.fc12.x86_64, with the latest compat-wireless drivers. I can provide much more debug information (dmidecode, acpidump, boot logs, lspci etc...), I am just unable to determine what is relevant

# rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

[code]....

View 2 Replies View Related

General :: Bash Catching The Function Returning Value Into A Variable?

Mar 17, 2010

i am dealing with this problemI have a function

function Une {
...
return $some_variable

[code]...

View 6 Replies View Related







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