Acpi-devel digest, Vol 1 #766 - 4 msgs
Subsystems (2)
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:[email protected] mailto:[email protected]
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
Quoted 5 lines · James Shatto
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.
Quoted 8 lines
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.
Signature · 10 lines
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
PATCH 1/1 allow sonypi to use ec_get ec_set in a patched linux-2.4 with latest acpi.
In reply to a message not in the archiveHi James,
Quoted 23 lines · James Shatto
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:
(ControlPanel->System->DeviceManager)
ACPI AC Power Source
ACPI Battery
ACPI Embedded Controller
ACPI Lid
ACPI Sleep Button
ACPI System Button
Advanced Configuration and Power Interface BIOS
Quoted 7 lines
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,
Signature · 4 lines
Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care.
drivers/char/sonypi.h +9 -0
@@ -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__ */
Re: [PATCH] allow sonypi to use ec_get ec_set in a patched linux-2.4 with latest acpi.
In reply to a message not in the archiveQuoted 8 lines · Ducrot Bruno
Quoted 2 lines
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.
Signature · 8 lines
Stelian Pop <stelian-ibX4/[email protected]> ------------------------------------------------------- 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