1 |
There's a million ways a system can hang. Acpi is a mechanism for |
2 |
shipping kernel events to user space. If user space isn't working, acpi |
3 |
won't work. I think. |
4 |
|
5 |
|
6 |
On 11/17/19 09:44, Dale wrote: |
7 |
> n952162 wrote: |
8 |
>> |
9 |
>> okay, I've got ... |
10 |
>> |
11 |
>> acpid is, by default, not in the default openrc run list [:blush:] |
12 |
>> |
13 |
>> Solution: |
14 |
>> |
15 |
>> sudo rc-update add acpid |
16 |
>> |
17 |
>> |
18 |
>> On 11/13/19 07:48, n952162 wrote: |
19 |
>>> |
20 |
>>> I've reinstalled gentoo from the gentoo repository and now my power |
21 |
>>> button doesn't do a shutdown anymore. What do I have to do to have |
22 |
>>> it issue a shutdown? This is an openrc system. |
23 |
>>> |
24 |
>>> I have this, but it doesn't work: |
25 |
>>> |
26 |
>>> $ cat /etc/acpi/events/powerbtn |
27 |
>>> event=button[ /]power.* |
28 |
>>> action=/sbin/poweroff |
29 |
>>> |
30 |
>>> On a different gentoo system I have, I have just the one line, the |
31 |
>>> action line, in that file and the power-button works fine (whether |
32 |
>>> there's causation there or not, I have no idea :-) ) |
33 |
>>> |
34 |
>>> I generally do /not/ press the power button while in my window |
35 |
>>> manager, but first when I've logged off. Since that wasn't working, |
36 |
>>> I tried inside my window manager ... I got a just a couple of lines |
37 |
>>> that looked like they came from shutdown(), but too few (couldn't |
38 |
>>> read them). |
39 |
>>> |
40 |
>>> Then, on startup, the filesystems needed fscking!!! |
41 |
>>> |
42 |
>> |
43 |
> |
44 |
> |
45 |
> I have a related question. If for some reason my system is locked up, |
46 |
> keyboard isn't working or something like that. If I have acpi in |
47 |
> working order, would hitting the power button be seen or would that be |
48 |
> the same as the keyboard and not be recognized? Anyone have |
49 |
> experience on this or read about someone who has ran into this? |
50 |
> |
51 |
> Just curious but if the answer is yes, I may work on setting this up |
52 |
> and working. |
53 |
> |
54 |
> Thanks. |
55 |
> |
56 |
> Dale |
57 |
> |
58 |
> :-) :-) |