Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Turning off acpid output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nick24
n00b
n00b


Joined: 10 Nov 2007
Posts: 24

PostPosted: Sun Sep 21, 2008 11:51 pm    Post subject: Turning off acpid output Reply with quote

I have my laptop set up to change it's cpu frequency using cpufrequtils and acpid. It works fine, but whenever I plug in the laptop (or unplug it), acpid spits out a bunch of stuff to all of the TTYs. I use the TTYs a lot, and it's very annoying to have that happen, especially while using emacs. I was wondering if there is a way to stop acpid from writing to stdout, either by an option in the initscripts or by redirecting it to a file somewhere.

Thanks!
Back to top
View user's profile Send private message
nemectic
Apprentice
Apprentice


Joined: 20 Aug 2004
Posts: 182

PostPosted: Mon Sep 22, 2008 12:45 am    Post subject: Reply with quote

I believe the problem lies within the /etc/acpi/ scripts.
I have a similar configuration, and can safely say my consoles are acipd-output free.
You'll probably have to do a bit of digging to find the problem, or if you post the suspect files up here, someone could take a look at them for you.
Back to top
View user's profile Send private message
DeathCarrot
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2006
Posts: 93
Location: Southampton, United Kingdom

PostPosted: Tue Sep 23, 2008 10:33 am    Post subject: Reply with quote

My TTYs also get flooded by acpid, and I've never touched /etc/acpi:
Code:
[jkasus:/etc/acpi] ll -R                                                                        [18:26]
.:
total 8.0K
-rwxr-xr-x 1 root root 1.2K 2008-09-23 18:22 default.sh
drwxr-xr-x 2 root root 4.0K 2008-09-23 18:22 events

./events:
total 4.0K
-rw-r--r-- 1 root root 663 2008-09-23 18:22 default

I'll post them if you want but they're what I got when I emerged acpid.

Additionally, my /var/log/messages doesn't get acpid messages.

EDIT: Running acpid-1.0.6-r1 and gentoo-sources-2.6.26-r1
EDIT: *facepalm* Syslog wasn't starting at boot for some reason, fixed now. So OP, make sure you have syslog-ng running, this will log all the messages into /var/log/messages instead of the TTYs.
Back to top
View user's profile Send private message
nick24
n00b
n00b


Joined: 10 Nov 2007
Posts: 24

PostPosted: Tue Sep 23, 2008 9:12 pm    Post subject: Reply with quote

Aha! That makes sense now. I wasn't running a system logger because my laptop has an SSD and I wanted to minimize writes (and it's pretty slow too). I guess I can just run it and dump messages into a file on a ramdisk. Thanks for your help.

EDIT: That totally fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum