public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ACPI
@ 2005-08-30 10:28 John Dangler
  2005-08-30 10:45 ` Holly Bostick
  0 siblings, 1 reply; 7+ messages in thread
From: John Dangler @ 2005-08-30 10:28 UTC (permalink / raw
  To: gentoo-user

I have ACPI support compiled as modules.  When I start gnome, I get an error
that says
"Can't access ACPI events in /var/run/acpid.socket!  Make sure the ACPI
subsystem is working and the acpid daemon is running."

I tried modprobe acpi (which didn't complain). But when I restarted gnome, I
got an error that the evolution data server had quit unexpectedly, along
with the same message mentioned above.  Does the acpi in portage allow the
desklet to get to the ACPI events?  Or is the desklet itself?

John D
 



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ACPI
  2005-08-30 10:28 [gentoo-user] ACPI John Dangler
@ 2005-08-30 10:45 ` Holly Bostick
  2005-08-30 11:33   ` John Dangler
  0 siblings, 1 reply; 7+ messages in thread
From: Holly Bostick @ 2005-08-30 10:45 UTC (permalink / raw
  To: gentoo-user

John Dangler schreef:
> Make sure 
> the acpid daemon is running.
> 

 rc-update show

=====>         acpid |      default
           alsasound |      default
          alsasound~ |
                apmd |


Is this daemon running? Try (as root)

/etc/init.d/acpid start

(or, change the settings and reboot)

Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [gentoo-user] ACPI
  2005-08-30 10:45 ` Holly Bostick
@ 2005-08-30 11:33   ` John Dangler
  2005-08-30 11:36     ` Oliver Friedrich
  2005-08-30 11:46     ` Holly Bostick
  0 siblings, 2 replies; 7+ messages in thread
From: John Dangler @ 2005-08-30 11:33 UTC (permalink / raw
  To: gentoo-user

weird - rc-update show doesn't show acpi at all.
/etc/init.d/acpid doesn't exist.

/lib/modules/2.6.12-gentoo-r9/kernel/drivers/acpi exists (with battery.ko
and some others in it).

John D 

-----Original Message-----
From: Holly Bostick [mailto:motub@planet.nl] 
Sent: Tuesday, August 30, 2005 6:45 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ACPI

John Dangler schreef:
> Make sure 
> the acpid daemon is running.
> 

 rc-update show

=====>         acpid |      default
           alsasound |      default
          alsasound~ |
                apmd |


Is this daemon running? Try (as root)

/etc/init.d/acpid start

(or, change the settings and reboot)

Holly
-- 
gentoo-user@gentoo.org mailing list




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ACPI
  2005-08-30 11:33   ` John Dangler
@ 2005-08-30 11:36     ` Oliver Friedrich
  2005-08-30 11:46     ` Holly Bostick
  1 sibling, 0 replies; 7+ messages in thread
From: Oliver Friedrich @ 2005-08-30 11:36 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Dangler wrote:

> weird - rc-update show doesn't show acpi at all. /etc/init.d/acpid
> doesn't exist.
>
> /lib/modules/2.6.12-gentoo-r9/kernel/drivers/acpi exists (with
> battery.ko and some others in it).
>
> John D
>
> -----Original Message----- From: Holly Bostick
> [mailto:motub@planet.nl] Sent: Tuesday, August 30, 2005 6:45 AM To:
> gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ACPI
>
> John Dangler schreef:
>
>> Make sure the acpid daemon is running.
>>
>
> rc-update show
>
> =====> acpid | default alsasound | default
> alsasound~ | apmd |
>
>
> Is this daemon running? Try (as root)
>
> /etc/init.d/acpid start
>
> (or, change the settings and reboot)
>
> Holly

HI,

You'll have to emerge sys-power/acpid to get the daemon.

greets

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

iD8DBQFDFETXcZpid1GuHxcRAtxbAKCvEjCVL1rt5mXe3YG6EhNCu35GWQCfRU0X
ogd6npPVg4xfGDQXNKXofQQ=
=WUTZ
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ACPI
  2005-08-30 11:33   ` John Dangler
  2005-08-30 11:36     ` Oliver Friedrich
@ 2005-08-30 11:46     ` Holly Bostick
  2005-08-30 12:30       ` John Dangler
  1 sibling, 1 reply; 7+ messages in thread
From: Holly Bostick @ 2005-08-30 11:46 UTC (permalink / raw
  To: gentoo-user

John Dangler schreef:
> weird - rc-update show doesn't show acpi at all.
> /etc/init.d/acpid doesn't exist.

Well, you can't very well run the acpi daemon if you don't have it, can
you-- and if you don't have it, how is GNOME supposed to find it?


* sys-power/acpid
     Available versions:  1.0.2-r2 1.0.4-r1 1.0.4-r2
     Installed:           1.0.4-r2
     Homepage:            http://acpid.sourceforge.net
     Description:         Daemon for Advanced Configuration and Power
Interface

Perhaps acpi is not in your USE flags-- otherwise the daemon would have
probably been installed as a dependency of something that could use it,
like gnome-applets:

 emerge -pv gnome-applets

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] gnome-base/gnome-applets-2.10.1  +acpi -apm -debug -doc
+gstreamer -ipv6 6,103 kB

... since the battery monitor applet depends on the acpi (or apm) daemon
to be running to be able to grab the data and display it.

Or are you using apm instead? Sorry, no laptop, so I don't know how to
work with that... but I would assume it works the same way, just instead
of compiling the kernel with acpi support, building packages with +acpi
and using the acpi daemon, you would instead build the kernel with apm
support, build packages with +apm and run the apm daemon.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [gentoo-user] ACPI
  2005-08-30 11:46     ` Holly Bostick
@ 2005-08-30 12:30       ` John Dangler
  2005-08-30 12:49         ` Holly Bostick
  0 siblings, 1 reply; 7+ messages in thread
From: John Dangler @ 2005-08-30 12:30 UTC (permalink / raw
  To: gentoo-user

ok...
rc-update show _does_ have apmd (although it's not assigned a run level).
And, emerge -pv gnome-applets has
{ebuild R ] gnome-base/gnome-applets-2.10.1 -acpi +apm -debug -doc
+gstreamer +ipv6 0 kb

But -- 
/etc/init.d/apmd start shows "apm support is not compiled into the kernel".
(Which I could interpret as being compiled as a module)

And --
modprobe apm produces "FATAL: Error inserting apm
(lib/modules/2.6.12-gentoo-r9/kernel/arch/i386/kernel/apm.ko): no such
device
(this file does exist)

maybe I need to read up more on these two before blowing a lot of time on
the user list (?)  or is it a simple fix?

John D 

-----Original Message-----
From: Holly Bostick [mailto:motub@planet.nl] 
Sent: Tuesday, August 30, 2005 7:47 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ACPI

John Dangler schreef:
> weird - rc-update show doesn't show acpi at all.
> /etc/init.d/acpid doesn't exist.

Well, you can't very well run the acpi daemon if you don't have it, can
you-- and if you don't have it, how is GNOME supposed to find it?


* sys-power/acpid
     Available versions:  1.0.2-r2 1.0.4-r1 1.0.4-r2
     Installed:           1.0.4-r2
     Homepage:            http://acpid.sourceforge.net
     Description:         Daemon for Advanced Configuration and Power
Interface

Perhaps acpi is not in your USE flags-- otherwise the daemon would have
probably been installed as a dependency of something that could use it,
like gnome-applets:

 emerge -pv gnome-applets

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] gnome-base/gnome-applets-2.10.1  +acpi -apm -debug -doc
+gstreamer -ipv6 6,103 kB

... since the battery monitor applet depends on the acpi (or apm) daemon
to be running to be able to grab the data and display it.

Or are you using apm instead? Sorry, no laptop, so I don't know how to
work with that... but I would assume it works the same way, just instead
of compiling the kernel with acpi support, building packages with +acpi
and using the acpi daemon, you would instead build the kernel with apm
support, build packages with +apm and run the apm daemon.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ACPI
  2005-08-30 12:30       ` John Dangler
@ 2005-08-30 12:49         ` Holly Bostick
  0 siblings, 0 replies; 7+ messages in thread
From: Holly Bostick @ 2005-08-30 12:49 UTC (permalink / raw
  To: gentoo-user

John Dangler schreef:
> ok...
> rc-update show _does_ have apmd (although it's not assigned a run level).
> And, emerge -pv gnome-applets has
> {ebuild R ] gnome-base/gnome-applets-2.10.1 -acpi +apm -debug -doc
> +gstreamer +ipv6 0 kb
> 
> But -- 
> /etc/init.d/apmd start shows "apm support is not compiled into the kernel".
> (Which I could interpret as being compiled as a module)

Why "interpret" when you could look:

root@mutable -> grep APM /usr/src/linux/.config
# Power management options (ACPI, APM)
# APM (Advanced Power Management) BIOS Support
# CONFIG_APM is not set

The kernel default is, I believe, to set ACPI static, and to not set APM
at all. But obviously, if you want to reverse that, you can.

> 
> And --
> modprobe apm produces "FATAL: Error inserting apm
> (lib/modules/2.6.12-gentoo-r9/kernel/arch/i386/kernel/apm.ko): no such
> device
> (this file does exist)

The file exists, but the kernel is looking for a 'device', according to
the error message-- many modules won't compile or load if the device
that they are supposed to be controlling doesn't exist. Does your system
support APM, and is it enabled in the BIOS?

> 
> maybe I need to read up more on these two before blowing a lot of time on
> the user list (?)  or is it a simple fix?
> 

Well, the simple fix would be to just install the ACPI daemon, rc-update
to start it at the default runlevel (and start it for the current
session if you don't want to reboot, recompile gnome-applets +acpi and
-apm and *then* read up on whether that's how you want to leave it.

But presumably the problem is caused by the fact that gnome-applets is
looking for apm, but apm is broke on your system.

Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-08-30 12:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 10:28 [gentoo-user] ACPI John Dangler
2005-08-30 10:45 ` Holly Bostick
2005-08-30 11:33   ` John Dangler
2005-08-30 11:36     ` Oliver Friedrich
2005-08-30 11:46     ` Holly Bostick
2005-08-30 12:30       ` John Dangler
2005-08-30 12:49         ` Holly Bostick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox