public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpi-event for online/offline of ac-adapter
@ 2003-02-27 10:55 Karl Weigel
       [not found] ` <200302271155.57663.xml-22047-Mmb7MZpHnFY@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Weigel @ 2003-02-27 10:55 UTC (permalink / raw)
  To: ACPI mailing list

Hello list,

do you think it would make sense to generate an /proc/acpi/event, whenever the 
power-supply gets connected or disconnected?

Bye
Karl



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

* Re: acpi-event for online/offline of ac-adapter
       [not found] ` <200302271155.57663.xml-22047-Mmb7MZpHnFY@public.gmane.org>
@ 2003-02-27 12:10   ` Sander Smeenk
  2003-02-27 12:22   ` Adachi, Kenichi
  1 sibling, 0 replies; 5+ messages in thread
From: Sander Smeenk @ 2003-02-27 12:10 UTC (permalink / raw)
  To: Karl Weigel; +Cc: ACPI mailing list

Quoting Karl Weigel (xml-22047-Mmb7MZpHnFY@public.gmane.org):

> do you think it would make sense to generate an /proc/acpi/event,
> whenever the power-supply gets connected or disconnected?

Yes, this already happens.
| 
-- 
| Searching for lost relatives? Win the Lottery!
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

* RE: acpi-event for online/offline of ac-adapter
       [not found] ` <200302271155.57663.xml-22047-Mmb7MZpHnFY@public.gmane.org>
  2003-02-27 12:10   ` Sander Smeenk
@ 2003-02-27 12:22   ` Adachi, Kenichi
  1 sibling, 0 replies; 5+ messages in thread
From: Adachi, Kenichi @ 2003-02-27 12:22 UTC (permalink / raw)
  To: 'Karl Weigel', 'ACPI mailing list'

Hi,

I personally and strongly want the platform hardware to raise SCI upon
AC/DC toggling.

Thanks,
- Adachi, Kenichi

> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of 
> Karl Weigel
> Sent: Thursday, February 27, 2003 7:56 PM
> To: ACPI mailing list
> Subject: [ACPI] acpi-event for online/offline of ac-adapter
> 
> 
> Hello list,
> 
> do you think it would make sense to generate an 
> /proc/acpi/event, whenever the 
> power-supply gets connected or disconnected?
> 
> Bye
> Karl
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
> 




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

* Re: acpi-event for online/offline of ac-adapter
@ 2003-02-27 13:01 Jens Haug
  0 siblings, 0 replies; 5+ messages in thread
From: Jens Haug @ 2003-02-27 13:01 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	xml-22047-Mmb7MZpHnFY


> do you think it would make sense to generate an /proc/acpi/event, whenever the 
> power-supply gets connected or disconnected?

There is one. Well, two actually. One for connecting and one for
disconnecting. ;-)


Jens

-- 
Jens Haug
IKFF Universität Stuttgart              Tel. 0711/685-6422
Pfaffenwaldring 9                       Fax  0711/685-6356
70550 Stuttgart	                haug-X6ztD3ggwzuBAmxm6OvjtTjhTm2NLCe8@public.gmane.org



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

* Re: acpi-event for online/offline of ac-adapter
@ 2003-02-27 22:26 Karl Weigel
  0 siblings, 0 replies; 5+ messages in thread
From: Karl Weigel @ 2003-02-27 22:26 UTC (permalink / raw)
  To: Jens Haug

>> do you think it would make sense to generate an /proc/acpi/event, whenever
>> the power-supply gets connected or disconnected?

> There is one. Well, two actually. One for connecting and one for
> disconnecting. ;-)

> Jens

Sorry to have bothered you with my less-than-new ideas ;-)

Of course I tried to disconnect and reconnect the power supply, and I saw the 
state was getting set to online and offline, but doing the same with a cat 
listening on /proc/acpi/events did not see any events from un-/re-plugging. I 
am rebooting my laptop to verify this behaviour. And yes: In 
/proc/acpi/ac_adapter/AC/state I can see the state switching between on-line 
and off-line, while cat /proc/acpi/event does not see a power-related event. 
(After using modprobe button I can see, whether the power-button has been 
pressed)

I am using version 20030122

(And while I was looking for the place, where the on-line/off-line events 
should be generated I found, that my laptop does not react to echo 2 
>/proc/acpi/processor/CPU0/throttling. Doing the same on my tower does 
produce the expected result. But I wont try to disconnect the powersupply on 
that machine for obvious reasons)

To make the long story even longer: I have seen in the source, that it should 
work, and I have seen with cat /proc/acpi/event, that it does not.



Kind regards

Karl


P.S. Sorry for not staying in the thread, but GMX thougt it a good idea to 
mark your E-Mail as infected and did strange things to it because of that. I 
switched that feature off again.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2003-02-27 22:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 10:55 acpi-event for online/offline of ac-adapter Karl Weigel
     [not found] ` <200302271155.57663.xml-22047-Mmb7MZpHnFY@public.gmane.org>
2003-02-27 12:10   ` Sander Smeenk
2003-02-27 12:22   ` Adachi, Kenichi
  -- strict thread matches above, loose matches on Subject: below --
2003-02-27 13:01 Jens Haug
2003-02-27 22:26 Karl Weigel

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