* Re: Acpi-devel digest, Vol 1 #766 - 4 msgs
[not found] <E18aorV-0004ws-00@sc8-sf-list2.sourceforge.net>
@ 2003-01-21 9:34 ` James Shatto
[not found] ` <000601c2c130$4a7d1ea0$64f1dc0c-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: James Shatto @ 2003-01-21 9:34 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Pardon my newness to ACPI. That being said, I have an ACPI problem.
However inconsistent it may be. The problem being sometimes it works, and
when it does it keeps the computer cooler than APM, maybe even cooler than
WinME. But when it doesn't my laptop gets really hot and shuts itself down.
Is there anyway to fix this?
Should I always use APM instead of ACPI?
Should I use APM and ACPI?
(The problem here is that SonyPI conflicts with APM)
Laptop ='s Sony Vaio - PCG-FX215 - PIII 800MHz Duron
VIA Tech VT82C686 Power Management Controller
Power management details under windows:
(Control Panel->System->Device Manager)
ACPI AC Power Source
ACPI Battery
ACPI Embedded Controller
ACPI Lid
ACPI Sleep Button
ACPI System Button
Advanced Configuration and Power Interface BIOS
When this doesn't work, it only takes about 5 to 30 minutes for the computer
to get hot enough for it to shut itself down. I am running Debian
Linux(Sarge). With Kernel 2.4.20pre3. I've had the same results with
earlier 2.4 kernels, even with the ac patches. The only real extras are
SonyPI and the Alsa drivers for sound. Is there a patch to fix this? If
so, where would I go to find it?
Like I said it sometimes works, but it's a 50/50 chance that it doesn't
work. Generally it works on the day I build the kernel, then any days there
after it doesn't work. Probably useless information, but I thought I should
mention it.
The heat sources appear to be on the lower half of the machine as the upper
portion remains cooler than APM. With majority of the heat near the PCMCIA
and Battery areas. PCMCIA is completely omitted on my system since it tends
to hang linux(TI 1420) and I generally don't use it. As a side note, when I
switch between APM and ACPI, I've got to recompile the alsa
modules(via82xx).
The problem is compounded by me actually using my laptop on my lap. Which
drapes the power chord across the fan vent. And can also partially block
this vent with clothing. Although I do tend to use a bamboo back scratcher
to prop it up a little. It also provide a bit of thermal insulation between
the laptop and my legs.
James Shatto
YAUCP - yet another unemployed computer programmer.
mailto:shadow.seven-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org
mailto:Shadow_7-BBLMrNziy+9BDgjK7y7TUQ@public.gmane.org
http://home.insightbb.com/~shadow.seven/
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: Acpi-devel digest, Vol 1 #766 - 4 msgs
[not found] ` <000601c2c130$4a7d1ea0$64f1dc0c-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org>
@ 2003-01-21 10:03 ` Ducrot Bruno
2003-01-22 15:47 ` [PATCH] allow sonypi to use ec_get ec_set in a patched linux-2.4 with latest acpi Ducrot Bruno
1 sibling, 0 replies; 4+ messages in thread
From: Ducrot Bruno @ 2003-01-21 10:03 UTC (permalink / raw)
To: James Shatto; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, Jan 21, 2003 at 04:34:26AM -0500, James Shatto wrote:
> Pardon my newness to ACPI. That being said, I have an ACPI problem.
> However inconsistent it may be. The problem being sometimes it works, and
> when it does it keeps the computer cooler than APM, maybe even cooler than
> WinME. But when it doesn't my laptop gets really hot and shuts itself down.
>
> Is there anyway to fix this?
> Should I always use APM instead of ACPI?
> Should I use APM and ACPI?
> (The problem here is that SonyPI conflicts with APM)
>
> Laptop ='s Sony Vaio - PCG-FX215 - PIII 800MHz Duron
> VIA Tech VT82C686 Power Management Controller
>
There is a known problem with ACPI and sonypi. Be sure
to have the latest patch from ACPI and also check if
sonypi call the provided ec_get() ec_set() functions from acpi
instead of their own. I know that this is already the case
for 2.5 series, but I have not checked that for 2.4 series.
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] allow sonypi to use ec_get ec_set in a patched linux-2.4 with latest acpi.
[not found] ` <000601c2c130$4a7d1ea0$64f1dc0c-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org>
2003-01-21 10:03 ` Ducrot Bruno
@ 2003-01-22 15:47 ` Ducrot Bruno
[not found] ` <20030122154726.GE18109-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
1 sibling, 1 reply; 4+ messages in thread
From: Ducrot Bruno @ 2003-01-22 15:47 UTC (permalink / raw)
To: James Shatto
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
stelian-ibX4/ixPftWsTnJN9+BGXg
[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]
Hi James,
On Tue, Jan 21, 2003 at 04:34:26AM -0500, James Shatto wrote:
> Pardon my newness to ACPI. That being said, I have an ACPI problem.
> However inconsistent it may be. The problem being sometimes it works, and
> when it does it keeps the computer cooler than APM, maybe even cooler than
> WinME. But when it doesn't my laptop gets really hot and shuts itself down.
>
> Is there anyway to fix this?
> Should I always use APM instead of ACPI?
> Should I use APM and ACPI?
> (The problem here is that SonyPI conflicts with APM)
>
> Laptop ='s Sony Vaio - PCG-FX215 - PIII 800MHz Duron
> VIA Tech VT82C686 Power Management Controller
>
> Power management details under windows:
> (Control Panel->System->Device Manager)
> ACPI AC Power Source
> ACPI Battery
> ACPI Embedded Controller
> ACPI Lid
> ACPI Sleep Button
> ACPI System Button
> Advanced Configuration and Power Interface BIOS
>
> When this doesn't work, it only takes about 5 to 30 minutes for the computer
> to get hot enough for it to shut itself down. I am running Debian
> Linux(Sarge). With Kernel 2.4.20pre3. I've had the same results with
> earlier 2.4 kernels, even with the ac patches. The only real extras are
> SonyPI and the Alsa drivers for sound. Is there a patch to fix this? If
> so, where would I go to find it?
>
Could you please try this patch? You have to get acpi-20021212 or
newer apci patch for it to work.
Stelian, could we have this patch in marcello tree, please ?
Cheers,
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
[-- Attachment #2: 00_2.4.21pre3acpi20021212_sonypi_h_allow_acpi.diff --]
[-- Type: text/plain, Size: 575 bytes --]
--- linux-2.4/drivers/char/sonypi.h 2003/01/21 10:19:05 1.1
+++ linux-2.4/drivers/char/sonypi.h 2003/01/22 13:18:44
@@ -358,6 +358,14 @@
extern int verbose;
+#ifdef CONFIG_ACPI
+#include <linux/acpi.h>
+#if (ACPI_CA_VERSION > 0x20021121)
+#define USE_ACPI
+#endif
+#endif
+
+#ifndef USE_ACPI
static inline int ec_write(u8 addr, u8 value) {
wait_on_command(1, inb_p(SONYPI_CST_IOPORT) & 3, ITERATIONS_LONG);
outb_p(0x81, SONYPI_CST_IOPORT);
@@ -378,6 +386,7 @@
*value = inb_p(SONYPI_DATA_IOPORT);
return 0;
}
+#endif /* USE_ACPI */
#endif /* __KERNEL__ */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] allow sonypi to use ec_get ec_set in a patched linux-2.4 with latest acpi.
[not found] ` <20030122154726.GE18109-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
@ 2003-01-22 17:57 ` Stelian Pop
0 siblings, 0 replies; 4+ messages in thread
From: Stelian Pop @ 2003-01-22 17:57 UTC (permalink / raw)
To: Ducrot Bruno; +Cc: James Shatto, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Wed, Jan 22, 2003 at 04:47:26PM +0100, Ducrot Bruno wrote:
> > SonyPI and the Alsa drivers for sound. Is there a patch to fix this? If
> > so, where would I go to find it?
>
>
> Could you please try this patch? You have to get acpi-20021212 or
> newer apci patch for it to work.
>
> Stelian, could we have this patch in marcello tree, please ?
Yes, the patch is indeed correct and I will send it to Marcelo tomorrow.
Thanks.
Stelian.
--
Stelian Pop <stelian-ibX4/ixPftWsTnJN9+BGXg@public.gmane.org>
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-22 17:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E18aorV-0004ws-00@sc8-sf-list2.sourceforge.net>
2003-01-21 9:34 ` Acpi-devel digest, Vol 1 #766 - 4 msgs James Shatto
[not found] ` <000601c2c130$4a7d1ea0$64f1dc0c-xOqKmqBdiMhF6kxbq+BtvQ@public.gmane.org>
2003-01-21 10:03 ` Ducrot Bruno
2003-01-22 15:47 ` [PATCH] allow sonypi to use ec_get ec_set in a patched linux-2.4 with latest acpi Ducrot Bruno
[not found] ` <20030122154726.GE18109-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-01-22 17:57 ` Stelian Pop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox