My laptop is an Asus L3100 with an AMD Athlon XP-M 2000. ACPI says it
has only C1 power state:
# cat /proc/acpi/processor/CPU0/power
active state: C1
default state: C1
bus master activity: 00000000
states:
*C1: promotion[--] demotion[--] latency[000] usage[00000000]
C2: <not supported>
C3: <not supported>
and
# cat /proc/acpi/processor/CPU0/info
processor id: 0
acpi id: 1
bus mastering control: no
power management: no
throttling control: no
performance management: no
limit interface: no
Since this is a laptop it seemed a bit strange to me 8), so I checked
dmesg with acpi debugging turned on (full dmesg is attached), and I
found these:
[.....]
ACPI: Fan [FAN0] (on)
acpi_processor-1626 [30] acpi_processor_get_inf: Invalid PBLK length [5]
ACPI: Processor [CPU0] (supports C1)
ACPI: Thermal Zone [THRM] (44 C)
Asus Laptop ACPI Extras version 0.24a
L3D model detected, supported
Notify Handler installed successfully
[.....]
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
acpi_processor_perf-0104 [28] acpi_processor_get_per: Unsupported address space [127] (control_register)
cpufreq: No CPUs supporting ACPI performance management found.
ACPI: (supports S0 S1 S3 S4 S5)
[.....]
Is there something I can do to add support for this laptop ? I'm not
feeling confortable with a battery that lasts ~40 minutes...
Everything else works fine, even swsusp and additional leds thanks to
acpi4asus. I'm using 2.6.0-test4, but I tested also 2.6.0-test3 and
2.5.72.
Other /proc/acpi files follows.
/proc/acpi/asus/info
Asus Laptop ACPI Extras Driver 0.24a
Model reference : L3D
ACPI signature : DSDT
Table length : 16940
ACPI minor version : 1
Checksum : 80
OEM identification : ASUS
OEM table id : L3000D
OEM rev number : 0x1000
ASL comp vendor ID : MSFT
ASL comp rev number: 0x100000e
/proc/acpi/thermal_zone/THRM/trip_points
critical (S5): 103 C
passive: 90 C: tc1=1 tc2=4 tsp=300 devices=0xddf37768
active[0]: 70 C: devices=0xddf2c7e8
/proc/acpi/thermal_zone/THRM/temperature
temperature: 58 C
/proc/acpi/thermal_zone/THRM/state
state: ok
/proc/acpi/processor/CPU0/limit
<not supported>
/proc/acpi/processor/CPU0/throttling
<not supported>
/proc/acpi/fan/FAN0/state
status: on
/proc/acpi/button/lid/LID/state
state: open
/proc/acpi/button/lid/LID/info
type: Lid Switch
present: yes
design capacity: 5000 mAh
last full capacity: 5000 mAh
battery technology: rechargeable
design voltage: 14000 mV
design capacity warning: 500 mAh
design capacity low: 50 mAh
capacity granularity 1: 100 mAh
capacity granularity 2: 100 mAh
model number: BA-03
serial number:
battery type: LIon
OEM info: ASUSTek
/proc/acpi/debug_level
0x0000000f
/proc/acpi/debug_layer
0xffff3fff
/proc/acpi/info
version: 20030813
Any help is much appreciated.
--
----------------------------------------
Daniele Venzano
Web: http://digilander.iol.it/webvenza/
On Sat, Aug 23, 2003 at 02:58:12PM +0200, Daniele Venzano wrote:
> Since this is a laptop it seemed a bit strange to me 8), so I checked
> dmesg with acpi debugging turned on (full dmesg is attached), and I
> found these:
>
> [.....]
> ACPI: Fan [FAN0] (on)
> acpi_processor-1626 [30] acpi_processor_get_inf: Invalid PBLK length [5]
This is a bug in your ACPI bios, you need a vendor update. We tried
fixing this but it broke a number of laptops, so we had to revert it.
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> acpi_processor_perf-0104 [28] acpi_processor_get_per: Unsupported address space [127] (control_register)
> cpufreq: No CPUs supporting ACPI performance management found.
That means that you need a non-acpi driver for perf throttling. Did you
try enabling some of the other cpufreq drivers?
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
On Sat, Aug 23, 2003 at 06:34:23PM +0100, Matthew Wilcox wrote:
> > [.....]
> > ACPI: Fan [FAN0] (on)
> > acpi_processor-1626 [30] acpi_processor_get_inf: Invalid PBLK length [5]
>
> This is a bug in your ACPI bios, you need a vendor update. We tried
> fixing this but it broke a number of laptops, so we had to revert it.
I already have the latest bios according to Asus site.
I sent a complain to Asus support, we'll see...
Those fixes can still be found somewhere ? I'd like to play with them.
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> > acpi_processor_perf-0104 [28] acpi_processor_get_per: Unsupported address space [127] (control_register)
> > cpufreq: No CPUs supporting ACPI performance management found.
>
> That means that you need a non-acpi driver for perf throttling. Did you
> try enabling some of the other cpufreq drivers?
I tried with the P-state driver compiled in with the Athlon driver, or
only with the Athlon driver without P-state. The result is the same,
when I try to set a governor through sysfs the system freezes and a
hard reset is required.
However without P-state driver the above message disappers.
So I'm getting neither scaling or throttling... it's not much a surprise
that the battery was discharging at that rate...
--
----------------------------------------
Daniele Venzano
Web: http://digilander.iol.it/webvenza/
In-Reply-To: <[email protected]>
References: <[email protected]>,
<[email protected]>
Newsgroups: linux.kernel
On Aug 23 2003, 7:42 pm, Matthew Wilcox <[email protected]> wrote:
> On Sat, Aug 23, 2003 at 02:58:12PM +0200, Daniele Venzano wrote:
> > I checked
> > dmesg with acpi debugging turned on (full dmesg is attached), and I
> > found these:
> >
> > [...]
> > ACPI: Fan [FAN0] (on)
> > acpi_processor-1626 [30] acpi_processor_get_inf: Invalid PBLK length [5]
>
> This is a bug in your ACPI bios, you need a vendor update. We tried
> fixing this but it broke a number of laptops, so we had to revert it.
And years later... I just got this "Invalid PBLK length [5]" error
message as well, first time ever, when first booting 2.6.18. I never
got it with 2.6.17 or any earlier kernel. My BIOS or any settings
didn't change.
Now this is a desktop so ACPI is not very important to me but is this
possibly a regression?
> --
> "It's not Hollywood. War is real, war is primarily not about defeat or
> victory, it is about death. I've seen thousands and thousands of dead bodies.
> Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-- Grifeg