Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 04:12
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy hangs when laptop lid is closed
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [38 Posts]   Goto page: 1, 2, 3 Next
Author Message
Scar

Joined: 17 Oct 2009
Posts: 10

PostPosted: Sat 17 Oct 2009, 21:19    Post subject:  Puppy hangs when laptop lid is closed  

Hi guys
I have just been running Puppy for a few days but I'm already in love with it. I have one disturbing issue though. Everytime I close the lid on my laptop the screen goes black, not switched off, and Puppy hangs. When I open the lid (or let the button that indicates closed or open up) the screen is black and I can still see the pointer but cannot move it.

Since I then have to turn it off on the button It won't let me start Xorg again without changing .XLOADED from true to false. Pretty annoying. I tried to search the forum but didn't find anyone with this problem.
I would love any advice on how to correct this. Thank you.
Back to top
View user's profile Send private message 
Scar

Joined: 17 Oct 2009
Posts: 10

PostPosted: Sun 18 Oct 2009, 11:46    Post subject:  

Forgot to mention that I'm running v. 4.3.1. If anyone needs more info from me please say so. I thought that it might be a power manager that needs some configuring but I haven't found one yet. Is there one or do I have to install one?

Sorry if I posted this in the wrong section. Thanks again! Smile
Back to top
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Sun 18 Oct 2009, 19:37    Post subject:  

RAM amount? Swap partition size?
_________________
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Back to top
View user's profile Send private message 
Scar

Joined: 17 Oct 2009
Posts: 10

PostPosted: Sun 18 Oct 2009, 22:29    Post subject:  

RAM=512MB
Swap partition 5GB, 1,5GB free, Puppy is installed to the harddrive on that partition.

I actually saw that the lid switch is detected as an input device, connected to PNP0C0D/button/input0. Not sure what that means, I've looked for that folder or file but cannot find it. I did find a sys/devices/pnp0/power/wakeup file but it's empty.
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 19 Oct 2009, 00:11    Post subject:  

There might be some Fn key combos you could try in order to manually bring the screen back, until the problem is sorted. Look for keys that have pictures of monitors or say things like "LCD/CRT". I vaguely remember having a similar issue with my laptop in an older version of Puppy where I had to use one of those to get the screen back.

I'll try 4.3.1 on my laptop tomorrow evening to see if I can reproduce this (I have no problems at all with 4.0 through 4.2.1, but haven't tried 4.3.x on it yet).

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Mon 19 Oct 2009, 00:21    Post subject:  

5gb swap partition? Smile
_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

PostPosted: Mon 19 Oct 2009, 00:22    Post subject:  

the pointer is visible... weird
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Scar

Joined: 17 Oct 2009
Posts: 10

PostPosted: Mon 19 Oct 2009, 07:22    Post subject:  

Quote:
There might be some Fn key combos you could try in order to manually bring the screen back,

Thanks for the tip, I've tried them all but without luck. It doesn't respond at all to any key input. Not even CapsLock can light the CL lamp on the computer

Quote:
5gb swap partition? Smile

Smile Yeah, sorry, kinda missunderstood. The whole partition is 5GB but swap is 1.42GB

Quote:
the pointer is visible... weird

Agree, the screen is clearly on but completely black

The computer is a Dell Inspiron 510m by the way. Thanks all for your efforts
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 19 Oct 2009, 21:35    Post subject:  

Oh, I missed the part where you mentioned the cursor. It's definitely not what I thought it was then - there would be nothing at all, not even a cursor.

I just installed 4.3.1 on my laptop and nothing special happens when I close and open the lid.

Since you have an immobile cursor, what I'm guessing is that the laptop tried to enter some kind of sleep mode and either froze up, or entered the sleep mode but didn't come back out.

Maybe a boot option like acpi=force or acpi=off would help. If you boot Puppy from CD, you have a chance to enter that during the boot when it shows the Puppy logo and pauses for a bit. Prefix the option with "puppy ", like this:
Code:
puppy acpi=off

I don't know if 4.3.1 has the code I added in 4.2.x that also displays the loading screen on USB boots. If it does, you do this the same way for those. Otherwise, you would need to mount the USB drive and edit the syslinux.cfg file (or syslinux.conf, I forget which it uses - probably .cfg) and add the option (without the "puppy " part) to the "append" line (or probably the second line if there is no "append" line... You can attach the file if unsure and I can show you).

If you boot from HD with Grub, you would edit the menu.lst file (probably located somewhere like /mnt/home/boot/grub/menu.lst) and place the option (without the "puppy " part) on the "kernel" line.


Maybe it's kernel-related, in which case you could try one of the other editions of 4.3.1 (from the special-puppies directory). Otherwise, I don't really have any ideas

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
Scar

Joined: 17 Oct 2009
Posts: 10

PostPosted: Tue 20 Oct 2009, 07:13    Post subject:  

Thanks, I tried booting from CD and wrote puppy acpi=force but no difference, neither with puppy acpi=off. I then tried editing /mnt/home/boot/grub/menu.lst and put just acpi=force on kernel line after the other things that was on that line but then it got really mad at me during booting. It started just throwing something like (it was hard to read cause it was too fast)
Write poweroff to shutdown or reboot to reboot computer, over and over again in a crazy speed and it wouldn't stop so I had to do a hard reboot again.

So I edited the menu.lst file again and tried to reboot with the same result as above so I did a fresh install. I then ran the Xvesa instead and tried closing the lid. In Xvesa mode it actually powered off the screen but wouldn't power it on again when I open the lid. But it did respond to key input so it was possible to press ctrl + alt + delete to get to command line again. But no improvement in Xorg.

So I guess I just have to take that little button away from my computer so I don't have to think about not closing the lid. That at least, I know how to do! Smile Thanks again for all efforts and if anyone thinks of something else feel free to suggest, I'd still love to solve it.
Back to top
View user's profile Send private message 
jani


Joined: 05 Jan 2008
Posts: 30
Location: Hungary

PostPosted: Sun 01 Nov 2009, 11:28    Post subject:  

Hi guys,

I installed puppy 4.31 on a dell d620 laptop.
config: 1 Mb RAM; 1MB swap, 3x20gb partition
1st is XP, 2nd is puppy 4.31 full install, 3rd is a frugal browserlinux (puppy derivative) grub for booting.

Unfortunately i have a same problem. When i close the lid and open again there is no anything on the screen. Neither in command line mode and X mode. But puppy works (one time a tried in terminal mode, type "reboot" in advance without enter, closed and opened the lid, -> there is no screen and i pushed the enter key and puppy done the reboot process).
Browserlinux is same.
XP can manage this issue.

Do you have any idea how can i solve this problem?

Thank you
Jani
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 02 Nov 2009, 01:19    Post subject:  

Just out of curiosity, what happens if you exit to the commandline and type startx just before closing the lid, then press enter after opening it?

If that resets the screen, another thing to try is to close the lid while X is running, and after opening it, press CTRL-ALT-Backspace to kill X. Then run startx to start it back up.

If that works, you might also be able to get away with pressing CTRL-ALT-F2, followed by ALT-F3. (Make sure you use the left Alt button for this process.)

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
ITAmember

Joined: 13 Sep 2009
Posts: 168
Location: The middle of a cornfield

PostPosted: Mon 02 Nov 2009, 23:16    Post subject:  

My laptop does this too. When it happens I tap the power button sending puppy into hibernation, then when I press the power button again it comes back to life.
Back to top
View user's profile Send private message 
jani


Joined: 05 Jan 2008
Posts: 30
Location: Hungary

PostPosted: Wed 04 Nov 2009, 16:06    Post subject:  

Quote:
Just out of curiosity, what happens if you exit to the commandline and type startx just before closing the lid, then press enter after opening it?

Quote:
another thing to try is to close the lid while X is running, and after opening it, press CTRL-ALT-Backspace to kill X. Then run startx to start it back up.


Yes i tried both of them.
The screen couldn't come up. Unfortunately startx doesn't help. One thing which is works the power on/off button, and it turns off the laptop.
And after it I couldn't restart x with startx command and i had to type the xorgvizard and set some monitor attributes by hand.

another question: can puppy manage the hibernate or sleep state of laptop?
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Wed 04 Nov 2009, 18:21    Post subject:  

I don't know. I think that Linux in general probably can. If that is true than theoretically Puppy could too, though it may need drivers or different kernel options enabled.

I really have no idea. You'd have to do some research. I know the question has come up here before, but I've never read those threads so I don't know if it has been resolved.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 3 [38 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0881s ][ Queries: 11 (0.0051s) ][ GZIP on ]