Difference between revisions of "Talk:Acpid"

From ArchWiki
Jump to: navigation, search
(Where is /var/log/messages.log?)
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Lid closing on ThinkPad x120e =
+
== Kacpid ==
A fresh install of Arch on the laptop with 8GB of memory 20GB of swap.
+
Suspends fine, but SLiM would be blocked upon opening the lid (no mouse,
+
keyboard doesn't react). The following did fix it, but probably someone
+
more knowledgeable about this topic should look into it:
+
  
{ sleep 2; DISPLAY=:0.0 su -c - rasha /usr/bin/slimlock; } &
+
Q: Can someone add a section about this? Is it an alternative to ACPID?
/usr/sbin/pm-suspend
+
  
I'm not sure if all that is necessary, and probably won't be checking,
+
A: No it's actually a kernel thread that is running due to an acpi module that is loaded into the kernel, like "thermal" or "battery". You can use the kernel argument noacpi in grub to disable acpi in the kernel. --[[User:VitaminJ|VitaminJ]] 05:33, 18 February 2011 (EST)
but it did seem that there's a race condition between pm-suspend and the locking
+
event if done as shown in the article.
+
  
= Kacpid =
+
==(Green note) Note for KDE SC and GNOME users==
 +
I would like to somebody review my note; I'm confident it's okay but since I'm not proficient in english - and also because this is my very first wiki edit here, I would like to double check it, thanks! --[[User:Msx|msx]] ([[User talk:Msx|talk]]) 07:23, 2 September 2012 (UTC)
  
Q: Can someone add a section about this? Is it an alternative to ACPID?
+
== Slimlock configuration ==
  
A: No it's actually a kernel thread that is running due to an acpi module that is loaded into the kernel, like "thermal" or "battery". You can use the kernel argument noacpi in grub to disable acpi in the kernel. --[[User:VitaminJ|VitaminJ]] 05:33, 18 February 2011 (EST)
+
on a macbook air 4,2 i could not get the suggested configuration for slimlock on lid close to work:
 +
 
 +
DISPLAY=:0.0 su -c - username /usr/bin/slimlock
 +
 
 +
i had to use:
 +
 
 +
su -s $USERNAME /bin/sh -c "/usr/bin/slimlock"
  
==Screen Blanking==
+
(suggested complimentary configuration)
Q: How do you keep the screen blanked when an external mouse is plugged in? Screen will blank when lid is closed, but if you move the mouse it will light up again and you'll see the light coming through the cracks. --[[User:VitaminJ|VitaminJ]] 05:32, 18 February 2011 (EST)
+

Revision as of 21:48, 15 December 2012

Kacpid

Q: Can someone add a section about this? Is it an alternative to ACPID?

A: No it's actually a kernel thread that is running due to an acpi module that is loaded into the kernel, like "thermal" or "battery". You can use the kernel argument noacpi in grub to disable acpi in the kernel. --VitaminJ 05:33, 18 February 2011 (EST)

(Green note) Note for KDE SC and GNOME users

I would like to somebody review my note; I'm confident it's okay but since I'm not proficient in english - and also because this is my very first wiki edit here, I would like to double check it, thanks! --msx (talk) 07:23, 2 September 2012 (UTC)

Slimlock configuration

on a macbook air 4,2 i could not get the suggested configuration for slimlock on lid close to work:

DISPLAY=:0.0 su -c - username /usr/bin/slimlock

i had to use:

su -s $USERNAME /bin/sh -c "/usr/bin/slimlock"

(suggested complimentary configuration)