LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   A missing package? If yes, which one? (https://www.linuxquestions.org/questions/debian-26/a-missing-package-if-yes-which-one-4175459169/)

edbarx 04-22-2013 02:05 PM

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.

TobiSGD 04-22-2013 02:17 PM

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.

edbarx 04-22-2013 03:05 PM

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.

widget 04-23-2013 05:43 PM

If you wait for the Grub menu to come up and then hit the power button does it turn off?

edbarx 04-24-2013 02:47 AM

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.

widget 04-24-2013 08:02 AM

Sounds pretty normal to me.

evo2 04-24-2013 05:35 PM

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.

TobiSGD 04-25-2013 06:17 AM

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.


All times are GMT -5. The time now is 05:12 PM.