From: Micha F. <mi...@po...> - 2004-06-30 00:37:13
|
On Fri, Jun 25, 2004 at 03:14:22PM -0000, Stefan Seyfried wrote: > On Fri, Jun 25, 2004 at 07:29:51PM +0800, Michael Frank wrote: > > > >It is NOT in my case. It is one of the first things I did. Now, just > > >in case, I gave it another try, but it does not work. > > > > > >modprobe -r ac > > >suspend > > >unplug > > >resume > > >modprobe ac > > > > > >cat /proc/acpi/ac_adapter/C131/state > > >state: on-line > > > > > >If now, after resuming, I plug and unplug the adapter... > > > > > >cat /proc/acpi/ac_adapter/C131/state > > >state: off-line > > I have exactly the same on a hp compaq nx 5000. > > > Too bad, this implies that the AC module does not get reinitialized after > > resume and I suspect that acpi core is broken on 2.6 in this regard. > > Pavel and i and some HP BIOS engineers analyzed this problem and pavel > proposed an ugly hack in his swsusp code to work around this. I have > to check back in my archives / bugzilla reports for this. > The funny thing is, that the BIOS is 100% correct and this leads to this > problem (at least that was what Pavel concluded). HP would have changed > the BIOS to work around the linux bug, but this would be even more ugly. > I will dig my archives for more info and a (probably ugly, but maybe > somehow working) patch. I'm offline on the train now, so this will have > to wait until monday. > > > I'll compile 2.6 and try it on my HW. > > It is completely hardware dependent, i only saw it on the nx5000 up to > now. Also saw this on a sony vaio pcg-fxa53 (via + amd 1300+) > > > Perhaps the ACPI people could advise how to increase debug verbosity > > to see what happens or if that can't be done, put some printks into AC > > module to see what happens when the module is loaded on resume. > > I am not even sure that the AC module is to blame, i have to check > my archives, i don't remember all the gory details. For me compiling battery as a module and unloading/swsusp/resume bypasses the problem. > -- > Stefan Seyfried > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Acpi-devel mailing list > Acp...@li... > https://lists.sourceforge.net/lists/listinfo/acpi-devel > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. > |