http://bugzilla.kernel.org/show_bug.cgi?id=13091





--- Comment #19 from Zhang Rui <[email protected]>  2009-05-08 02:44:18 ---
(In reply to comment #18)
> I wonder if multiple BATT events (0x81 0x01 - 0x80 0x01) could be the
> disturbance.

well, there ARE always multiple battery events when unplugging AC.
please make sure the problem still happens without the customized DSDT.

> What do you think about? Are these BAT events a normal thing?

yes.
Because the battery sysfs I/F is reporting the correct state, I think this is a
user space problem, maybe the DeviceKit you mentioned above.

(In reply to comment #17)
> (In reply to comment #14)
> > Does this function work on Windows?
> 
> Apparently, by observing AC status icon on SysTray,
> all work as expected on AC unplug.
> 
this doesn't mean anything, because we can also make Linux always reporting the
correct state, via the suggestion in comment #16.

> However is there a better way to analyze that?
> An event viewer, a ACPI logger, or something else, obviously for Windows.
> Is there?
> 
I'm afraid no.
we are not able to do that in Windows.

> (In reply to comment #16)
> > >battery BAT0 00000080 00000001
> > I thought this could be workaround in HAL. When battery info is received,
> > userspace can check battery status. If battery is discharging, then AC 
> > adaptor
> > is offlined.
> 
> It's the exact same thing I've done in bash.
> 
> Through ACPId I gather the event, then it checks on /sys/... real AC state
> and finally apply right policies for backlight, cpu governor, wi-fi power, 
> etc.
> 
> But, as you said, it's a workaround.

sounds that this is all we can do for now. :)

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to