[gentoo-user] acpid: cannot open input layer -- why is that [ok]?

2009-05-24 Thread maxim wexler

Hello group,

If you google acpid: cannot open input layer with quotes, you'll get zero 
hits. cannot open input layer results in five hits all refering back to my 
own email.

I started seeing this in the boot console followed by the green [ok] sign after 
following the gentoo Power-Management-Guide. I've gotten down to Code Listing 
2.11: Runlevel adjustment at boot time by editing local.start

# Fake acpi event to switch runlevel if running on batteries
/etc/acpi/actions/pmg_switch_runlevel.sh battery/battery

I don't understand why the author seems to suggest I create the dir, 
/etc/acpi/actions without explicitly saying so. Why wasn't it created along 
with the /etc/acpi/events dir when the pkg was installed? 

Maxim



  __
Get a sneak peak at messages with a handy reading pane with All new Yahoo! 
Mail: http://ca.promos.yahoo.com/newmail/overview2/



[gentoo-user] acpid woes

2009-05-21 Thread maxim wexler

Hi group,

When my netbook boots I get:
...
apcid: cannot open input layer  [ok]
*cpufreqd requires kernel config CONFIG_CPU_FREQ
...

but a grep of the kernel config reveals: CONFIG_CPU_FREQ=y

Is there something else I'm missing?

Maxim


  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca



Re: [gentoo-user] acpid problems

2008-05-19 Thread Henry Gebhardt
On Sun, May 18, 2008 at 11:43 PM, Mick [EMAIL PROTECTED] wrote:
 On Sunday 18 May 2008, Henry Gebhardt wrote:
 On Sun, May 18, 2008 at 9:16 PM, Mick [EMAIL PROTECTED] wrote:
 
  acpid: can't open /proc/acpi/event

 Does the file exist? If not, try enabling some kernel options, e.g.

 CONFIG_ACPI_PROC_EVENT=y

 Thanks Henry,

 Yes the file exists.  I can't cat it because it is busy.  Some process (acpid,
 or someone else?) is trying to access it seems and I can't look at its
 contents.

With lsof (emerge sys-process/lsof) you can check if a process is
accessing a file.
Run it like so:

# lsof /proc/acpi/event
COMMAND  PID USER   FD   TYPE DEVICE SIZE   NODE NAME
acpid   2230 root3r   REG0,30 4026531935 /proc/acpi/event

 --
 Regards,
 Mick


~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] acpid problems

2008-05-18 Thread Mick
Hi All,

I keep having acpid problems with a box of mine.  I noticed that when hald 
starts at bootup it takes around 11 to 12 seconds!  acpid never starts.  If I 
try to start it manually it fails with the error:

acpid: can't open /proc/acpi/event

Trying to put the machine into hibernation causes a crash (freezes completely 
until I give it the 3 finger salute).

Any ideas how I could troubleshoot this?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] acpid problems

2008-05-18 Thread Henry Gebhardt
On Sun, May 18, 2008 at 9:16 PM, Mick [EMAIL PROTECTED] wrote:
 Hi All,

 I keep having acpid problems with a box of mine.  I noticed that when hald
 starts at bootup it takes around 11 to 12 seconds!  acpid never starts.  If I
 try to start it manually it fails with the error:

 acpid: can't open /proc/acpi/event

Does the file exist? If not, try enabling some kernel options, e.g.

CONFIG_ACPI_PROC_EVENT=y


 Trying to put the machine into hibernation causes a crash (freezes completely
 until I give it the 3 finger salute).

 Any ideas how I could troubleshoot this?
 --
 Regards,
 Mick


Good luck,
Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] acpid problems

2008-05-18 Thread Mick
On Sunday 18 May 2008, Henry Gebhardt wrote:
 On Sun, May 18, 2008 at 9:16 PM, Mick [EMAIL PROTECTED] wrote:
  Hi All,
 
  I keep having acpid problems with a box of mine.  I noticed that when
  hald starts at bootup it takes around 11 to 12 seconds!  acpid never
  starts.  If I try to start it manually it fails with the error:
 
  acpid: can't open /proc/acpi/event

 Does the file exist? If not, try enabling some kernel options, e.g.

 CONFIG_ACPI_PROC_EVENT=y

Thanks Henry,

Yes the file exists.  I can't cat it because it is busy.  Some process (acpid, 
or someone else?) is trying to access it seems and I can't look at its 
contents.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] acpid

2005-08-31 Thread Mauro Faccenda
John Dangler wrote:
 I got acpid emerged, started, and added to run level, but when I go into
 gnome and mouse over the battery (the default applet) it says:
 System is running on battery power
 0 minutes (0%) remain
 
 the laptop is plugged into the AC.

what acpi -V returns?

[]'s
Mauro
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] acpid

2005-08-30 Thread John Dangler
I got acpid emerged, started, and added to run level, but when I go into
gnome and mouse over the battery (the default applet) it says:
System is running on battery power
0 minutes (0%) remain

the laptop is plugged into the AC.

John D

emerged with +acpi -apm ...




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] acpid

2005-08-30 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Have you tried looking at http://www.linux-laptop.net/ ? It might give
you some hints with the same (or similar) laptops.

To see if you have working acpi support check
/proc/acpi/battery/BAT1/info
/proc/acpi/battery/BAT1/state

They should tell you more-or-less the state your battery is in (charging
or not, power etc). If these files exists then you have working acpi
support, and the problem might be the gnome applets. What kernel are you
using?

Ralph

John Dangler wrote:
 I got acpid emerged, started, and added to run level, but when I go into
 gnome and mouse over the battery (the default applet) it says:
 System is running on battery power
 0 minutes (0%) remain
 
 the laptop is plugged into the AC.
 
 John D
 
 emerged with +acpi -apm ...

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDFUCpCt0ZF9kLPvYRAgjnAKCQ9GtiMRXuNmWL+C4zLJ+b/5pIDACeNwFP
u3EQXYMdejdnAa6fJ3j2n4M=
=aBtE
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list