View previous topic :: View next topic |
Author |
Message |
Neo_0815 l33t
Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
Posted: Fri Nov 26, 2004 5:32 pm Post subject: |
|
|
Hi, i also want to change my dsdt ... i patched my kernel, recompiled my dsdt and at next boot i only got:
Code: |
PCI: Using configuration type 1
tbget-0271: *** Info: Table [DSDT] replaced by host OS
|
But there are some lines missing ... somthing like:
Code: |
tbxface-0099 [03] Acpi_load_tables : ACPI Tables successfully loaded
Parsing Methods:..........................................................................................................................................................................................................................
Table [DSDT] - 672 Objects with 58 Devices 218 Methods 23 Regions
ACPI Namespace successfully loaded at root c02f3dfc
evxfevnt-0076 [04] Acpi_enable : Transition to ACPI mode successful
Executing all Device _STA and_INI methods:..........................................................
58 Devices found containing: 58 _STA, 5 _INI methods
Completing Region/Field/Buffer/Package initialization:.......................................................................
Initialized 15/23 Regions 0/0 Fields 28/28 Buffers 28/28 Packages (672 nodes)
|
Instead i only get ACPI enabled after that and all things going wrong - of cause, i think it isnt initialized all stuff - am i wrong or right?
And what to do now ? What have i done wrong ?
best regards _________________ [img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8] |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Fri Nov 26, 2004 5:42 pm Post subject: |
|
|
hi,
are u sure that the recompiled DSDT it's working?
(that the stuff you have fixed in your DSDT is correct?) _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
Neo_0815 l33t
Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
Posted: Fri Nov 26, 2004 7:23 pm Post subject: |
|
|
X-Drum wrote: | hi,
are u sure that the recompiled DSDT it's working?
(that the stuff you have fixed in your DSDT is correct?) |
Well lets give u some more infos.
I am still new to this field and still learning how to patch my dsdt in the right way, reading the acpi 2.0c spec takes a little bit, it a very big paper.
So well, i've go a Samsung P35 XVM 1600 rev3, and thats the original dsdt its shipped with:
http://www.imn.htwk-leipzig.de/~tkrah/dsdt.dsl
So throtteling doesnt work ( it show off in /proc when using my own dsdt - but thermal zone and other things are gone then ), and there are 3 errors in it:
Code: |
Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20040715 [Nov 17 2004]
Copyright (C) 2000 - 2004 Intel Corporation
Supports ACPI Specification Revision 2.0c
dsdt.dsl 207: If (LOr (PWRS, Not (CondRefOf (_PSS, Local0))))
Error 1022 - Object does not exist ^ (_PSS)
dsdt.dsl 2997: Method (_Q0D, 0, NotSerialized)
Warning 2019 - ^ Not all control paths return a value (_Q0D)
dsdt.dsl 4712: Notify (\_SB.PCI0.IDEC, 0x00)
Error 1078 - From ACPI CA Subsystem ^ (AE_BAD_PARAMETER Internalizing new NamePath)
ASL Input: dsdt.dsl - 5021 lines, 170118 bytes, 2347 keywords
Compilation complete. 2 Errors, 1 Warnings, 0 Remarks, 499 Optimizations
|
So i looked for these erros and fixed the lines as following:
before line 207 i added a:
Code: |
External (\_PSS)
If (LOr (PWRS, Not (CondRefOf (\_PSS, Local0))))
|
Next Change was that on Line 2997 the warning, in first if statement there a return so i turned one return statement also in the non if block:
Code: | Store (SWSM (0x8F, Add (TNXT, 0x80)), TNXT)
Notify (\_SB.ATKD, Add (DNXT, 0x60))
Return (0x00)
|
And the second error i think can be solved, when changing Naming index to the right one, on adress 0x00 there the following:
Code: |
Notify (\_SB.PCI0.IDEC.PRID, 0x00)
|
and not Notify (\_SB.PCI0.IDEC, 0x00) - if u look this section a few lines after, u see what i am meaning.
Patched Version:
http://www.imn.htwk-leipzig.de/~tkrah/dsdt.dsl.patched
When i compile it there no errors and all does fine, but on reboot following errors are showing:
I think u read it for yourself - my dmesg 'Output:
http://www.imn.htwk-leipzig.de/~tkrah/dmesg.error
I hope u can help me .
best regards _________________ [img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8] |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Sun Nov 28, 2004 9:33 am Post subject: |
|
|
Hi all...
Trying to compile the iasl as per intels instructions. I cd into compiler and type make and I get this error:
Code: |
tux compiler # make
bison -v -d -y -pAslCompiler aslcompiler.y
conflicts: 57 shift/reduce, 50 reduce/reduce
aslcompiler.y:913.7-81: warning: rule never reduced because of conflicts: TermArg: Type2IntegerOpcode
aslcompiler.y:914.7-81: warning: rule never reduced because of conflicts: TermArg: Type2StringOpcode
aslcompiler.y:915.7-81: warning: rule never reduced because of conflicts: TermArg: Type2BufferOpcode
aslcompiler.y:916.7-81: warning: rule never reduced because of conflicts: TermArg: Type2BufferOrStringOpcode
aslcompiler.y:958.7-82: warning: rule never reduced because of conflicts: OptionalParameterTypePackage: ','
aslcompiler.y:981.7-82: warning: rule never reduced because of conflicts: OptionalParameterTypesPackage: ','
aslcompiler.y:1572.7-38: warning: rule never reduced because of conflicts: CaseTermList: CaseTerm
aslcompiler.y:1581.7-38: warning: rule never reduced because of conflicts: DefaultTermList: CaseTerm
aslcompiler.y:3062.37-48: warning: rule never reduced because of conflicts: OptionalResourceType: /* empty */
cp y.tab.c aslcompilerparse.c
cp y.tab.h aslcompiler.y.h
gcc -Wall -O2 -Wstrict-prototypes -D_LINUX -D_ACPI_ASL_COMPILER -I../include -c -o aslcompilerparse.o aslcompilerparse.c
aslcompiler.y: In function `AslCompilerparse':
aslcompiler.y:953: error: parse error before '}' token
make: *** [aslcompilerparse.o] Error 1
|
Any ideas?
Thanks! |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Sun Nov 28, 2004 4:18 pm Post subject: |
|
|
Got the same error...
Go looking to aslcompiler.y and add on line 953:
original code:
Code: |
952 ParameterTypePackageList
953 '}' {$$ = $2}
954 ;
|
add a ;
Now it works...
greets,
Nathan |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Sun Nov 28, 2004 4:29 pm Post subject: |
|
|
I got also a problem:
Code: |
dsdt.dsl 536: If (LNot (LEqual (And (PDC1, 0x0A), 0x0A)))
Error 1022 - Object does not exist ^ (PDC1)
|
I first had 2 errors, but I fixed one allready, but I can't find a solution for this error.
I've looked for other instances of PDC1 and things that look like it, but found none....
This is on a Promedion M120W laptop. ACPI basicly works, except that the cpu throttle is set to 600MHz when using battery power and it isn't user controlable....
It contains a Intel Pentium M 725 cpu.
Greets,
Nathan |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Sun Nov 28, 2004 7:43 pm Post subject: |
|
|
liber! wrote: | Got the same error...
Go looking to aslcompiler.y and add on line 953:
original code:
Code: |
952 ParameterTypePackageList
953 '}' {$$ = $2}
954 ;
|
add a ;
Now it works...
greets,
Nathan |
Thanks! That did it! |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Sun Nov 28, 2004 9:24 pm Post subject: |
|
|
Ok..I am attempting to apply the patches and I decided to go with the initrd method.
One problem. I am supposed to have this in my 2.6.9-r6 kernel:
Code: | Power management options (ACPI, APM) --->
ACPI (Advanced Configuration and Power Interface) Support --->
[*] Read DSDT from initrd |
And I do not. Can anyone tell me why? I am using gentoo-dev-sources.
Thanks.. |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Sun Nov 28, 2004 9:45 pm Post subject: |
|
|
Got the same problem with nitro 2.6.9-r4 sources....
But when I look into Kconfig it's there...
maybe I should try a make clean???
Greets,
Nathan |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Sun Nov 28, 2004 9:49 pm Post subject: |
|
|
Nope, make clean doesn't help. |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Sun Nov 28, 2004 10:14 pm Post subject: |
|
|
Well it has me baffled. I saw on another website concerning ACPI, someone was talking about kernel config, he was using 2.6.9 and he had some options I also did not have.
I have no idea where to get them, and I hesitate to post in the Kernel section as I do not want to get nailed for cross-posting. So yeah. Anyone have ANY ideas?
Thanks! |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Sun Nov 28, 2004 10:16 pm Post subject: |
|
|
liber! wrote: | Got the same problem with nitro 2.6.9-r4 sources....
But when I look into Kconfig it's there... |
And if I may ask, what is Kconfig? |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Sun Nov 28, 2004 10:16 pm Post subject: |
|
|
Found it.
For initrd:
Enable CONFIG_BLK_DEV_INITRD
For in kernel (this patches're in the nitro patch set, you just have to set it in the kernel...):
Disable CONFIG_STANDALONE
Greets,
Nathan |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Sun Nov 28, 2004 10:18 pm Post subject: |
|
|
KageKeeper wrote: | liber! wrote: | Got the same problem with nitro 2.6.9-r4 sources....
But when I look into Kconfig it's there... |
And if I may ask, what is Kconfig? |
Kconfig is where make menuconfig gets the data from (the help, the options). But it doesn't matter, it's okay...
Greets,
Nathan |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Sun Nov 28, 2004 10:28 pm Post subject: |
|
|
liber! wrote: | Found it.
For initrd:
Enable CONFIG_BLK_DEV_INITRD
For in kernel (this patches're in the nitro patch set, you just have to set it in the kernel...):
Disable CONFIG_STANDALONE
Greets,
Nathan |
This give me a different option, but not this:
Code: | Power management options (ACPI, APM) --->
ACPI (Advanced Configuration and Power Interface) Support --->
[*] Read DSDT from initrd |
The options I get from your solution, I believe allows me to do the first option of including the dsdt in the kernel as opposed in the initrd. That presents a new problem as the link to the dsdt override patch is for a 2.4 series kernel. |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Sun Nov 28, 2004 10:31 pm Post subject: |
|
|
KageKeeper wrote: | liber! wrote: | Found it.
For initrd:
Enable CONFIG_BLK_DEV_INITRD
For in kernel (this patches're in the nitro patch set, you just have to set it in the kernel...):
Disable CONFIG_STANDALONE
Greets,
Nathan |
This give me a different option, but not this:
Code: | Power management options (ACPI, APM) --->
ACPI (Advanced Configuration and Power Interface) Support --->
[*] Read DSDT from initrd |
The options I get from your solution, I believe allows me to do the first option of including the dsdt in the kernel as opposed in the initrd. That presents a new problem as the link to the dsdt override patch is for a 2.4 series kernel. |
If you get that option, the patches're already applied for you (by gentoo in your source)...
B.T.W. For the initrd to work, you still need to patch, there're patches from http://gaugusch.at/kernel.shtml that work with 2.6.9...
Greets,
Nathan |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Sun Nov 28, 2004 10:45 pm Post subject: |
|
|
Oy. Sometimes I wonder if my brain is fully engaged..
I applied the patch from here, and THEN that option appeared. Doh!
Sorry for the needless posts....
Anyway, I am now compiling and we will see if my new and improved DSDT table fixes my ACPI probs..*keeps fingers crossed* |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Mon Nov 29, 2004 12:06 am Post subject: |
|
|
Well...
I had to compile the DSDT statically as for some reason putting it in the initrd as per the instructions caused a kernel panic at boot.
I am not sure if it is loading the fixed DSDT as none of my previous issues are fixed. Here is some info:
Code: | tux ~ # dmesg | grep ACPI
BIOS-e820: 000000001bef0000 - 000000001beff000 (ACPI data)
BIOS-e820: 000000001beff000 - 000000001bf00000 (ACPI NVS)
ACPI: RSDP (v000 ARIMA ) @ 0x000f7910
ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x1befb1c3
ACPI: FADT (v001 ARIMA W730-K7 0x06040000 PTL_ 0x000f4240) @ 0x1befedf7
ACPI: SSDT (v001 PTLTD POWERNOW 0x06040000 LTP 0x00000001) @ 0x1befee6b
ACPI: DSDT (v001 ARIMA W730-K7 0x06040000 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x8008
ACPI: Overriding _OS definition Microsoft Windows XP
ACPI: Looking for DSDT in initrd... not found.
ACPI-0291: *** Info: Table [DSDT] replaced by host OS
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 6 7 *10 11 12)
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 5 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 5 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK6] (IRQs 3 4 *5 6 7 10 11 12)
ACPI: PCI Interrupt Link [LNK7] (IRQs 3 4 5 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNK8] (IRQs 3 4 5 6 7 10 11 12) *0, disabled.
ACPI: Embedded Controller [EC] (gpe 24)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0a.1[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0d.1[B] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0d.2[C] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:10.0[A]: no GSI
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 10 (level, low) -> IRQ 10
apm: overridden by ACPI.
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: AC Adapter [AC] (off-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (FF) [SLPF]
ACPI: Lid Switch [LID]
ACPI: Processor [CPU0] (supports C1 C2)
ACPI: Thermal Zone [THRM] (59 C)
ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:10.0[A]: no GSI
powernow: Trying ACPI perflib
ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0a.1[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0d.1[B] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0d.2[C] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 10 (level, low) -> IRQ 10
|
Does this Code: | ACPI-0291: *** Info: Table [DSDT] replaced by host OS | mean that is is loading the 'fixed'DSDT?
If so, then it did not do any good as I still have the same issues as before.
Any thoughts?
[EDIT] Here is a link to the post describing my . [EDIT] |
|
Back to top |
|
|
Neo_0815 l33t
Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
Posted: Mon Nov 29, 2004 12:52 am Post subject: |
|
|
My dsdt is working now, my changes are correct - but actual Version of iasl is broken, u have to use ol 2003 Version and all things doing fine - throtteling and some other things are working now - no errors anymore.
Now i can tune my thermal zone parameters nice - lets c if it works ^^.
best regards _________________ [img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8] |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Mon Nov 29, 2004 6:20 am Post subject: |
|
|
No one has any thoughts on my issues eh? No one at all? Darn... |
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Mon Nov 29, 2004 4:39 pm Post subject: |
|
|
Hello,
Ok, I have solved my dsdt compile problems, incorporated it in the kernel, but it seems that acpi only can choose between two processor speeds: 600MHz and 1600Mhz, userspace governator stands standard on... But has anyone an idea how I can get other speeds to work?
Greets,
Nathan
Last edited by liber! on Mon Nov 29, 2004 4:52 pm; edited 1 time in total |
|
Back to top |
|
|
Neo_0815 l33t
Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
|
Back to top |
|
|
liber! Tux's lil' helper
Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Mon Nov 29, 2004 4:46 pm Post subject: |
|
|
The scaling_available_frequencies is read only, and when I change it to rw, and I echo something to this, my terminal freezes (the rest still works)...
When I later check what's in scaling_available_frequencies it's the same value as before (1600000 600000).
Greets,
Nathan |
|
Back to top |
|
|
KageKeeper n00b
Joined: 23 Nov 2004 Posts: 21
|
Posted: Mon Nov 29, 2004 8:20 pm Post subject: |
|
|
Neo_0815 wrote: | KageKeeper wrote: | No one has any thoughts on my issues eh? No one at all? Darn... |
youre right, this meant that table is replaced - i u still have problems, r u sure u fixed all right?
Try older compiler, not the 2k4 one.
best regards |
Any idea where to get an older compiler? All I can find is the latest version...
Thanks:) |
|
Back to top |
|
|
Neo_0815 l33t
Joined: 24 Feb 2003 Posts: 815 Location: Leipzig
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|