LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 02:05 PM   #1
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Rep: Reputation: 21
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, 02:17 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 03:05 PM   #3
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
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, 05: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,628

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

Original Poster
Rep: Reputation: 21
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 02:56 AM.
 
Old 04-24-2013, 08: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,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Sounds pretty normal to me.
 
Old 04-24-2013, 05:35 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 06:17 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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



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 02:40 AM
What package(s) am I missing? Slacktastic Slackware - Installation 4 02-23-2006 03:01 PM
missing package Xtife Mandriva 17 11-18-2005 06:59 PM
missing basesystem package???? neonazure Linux - Software 3 03-07-2002 11:18 PM
missing basesystem package?!?!? neonazure Linux - Newbie 2 03-07-2002 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration