LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-22-2013, 03:05 PM   #1
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 357

Rep: Reputation: 18
A missing package? If yes, which one?


Pressing the power button momentarily results in KDE not responding. I can get a terminal by pressing Ctrl + Alt + F1 to stop and restart kdm.

I want to be able to turn off my computer by pressing the power button. This never works.
 
Old 04-22-2013, 03:17 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,623
Blog Entries: 2

Rep: Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077
I would recommend to start the computer, then turn off KDM, so that you will be dropped to the CLI. Now start KDE manually with
Code:
startx
, press the power-button and switch to the terminal where you started KDE, so that you can see if you get error messages.
 
Old 04-22-2013, 04:05 PM   #3
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 357

Original Poster
Rep: Reputation: 18
I switched to a terminal, stopped kdm, and started kde using startx. Pressing the power button didn't yeald any information.

I changed a setting in kde power management to test whether the fault was caused by a faulty setting. Initially, kde was intructed to issue a system dialog whenever the power button is pressed.
 
Old 04-23-2013, 06:43 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,299

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
If you wait for the Grub menu to come up and then hit the power button does it turn off?
 
Old 04-24-2013, 03:47 AM   #5
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 357

Original Poster
Rep: Reputation: 18
I found that pressing the power button for longer (~1.0 - 1.5 seconds), is a workaround to the issue, although the shutdown sequence takes more than half a minute only to be initiated!

Definitely, something must be wrong. It can be the 128 pin power management IC, but I have no idea. I am planning to replace this damned IC, but I must first get hold of the right soldering/desoldering equipment.

Regarding the previous post asking about the functionality of the power button in grub, it should be noted that grub uses a different kernel stripped down to suit a bootloader. However, there is nothing wrong in testing during my next reboot.

Added Later:
When grub boots and shows its menu, pressing the power button does not do anything! However, if I hold the power button for more than 3 seconds, the laptop turns itself off.

Last edited by edbarx; 04-24-2013 at 03:56 AM.
 
Old 04-24-2013, 09:02 AM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,299

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Sounds pretty normal to me.
 
Old 04-24-2013, 06:35 PM   #7
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,528

Rep: Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218
Hi,

sounds like you want to configure acpi. You can do this independently of kde. Have a look at /etc/acpi/powerbtn-acpi-support.sh (and other files in this directory). Also checking /var/log/syslog may help you see what is happening when you press the power button.

Evo2.
 
Old 04-25-2013, 07:17 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,623
Blog Entries: 2

Rep: Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077Reputation: 4077
The power button should work in Grub, so this seems to be a hardware problem or a misconfiguration in the BIOS. Holding the power-button down for 4 seconds is some kind of emergency shutdown, so that this works means at least that the power button is working correctly.
Before changing ICs I would try to reset the BIOS and look if anything changes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Missing package in Slackware64? kikinovak Slackware 2 02-02-2013 03:40 AM
What package(s) am I missing? Slacktastic Slackware - Installation 4 02-23-2006 04:01 PM
missing package Xtife Mandriva 17 11-18-2005 07:59 PM
missing basesystem package???? neonazure Linux - Software 3 03-08-2002 12:18 AM
missing basesystem package?!?!? neonazure Linux - Newbie 2 03-07-2002 03:36 AM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration