Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Fix Common ACPI Problems (DSDT, ECDT, etc.)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
KageKeeper
n00b
n00b


Joined: 23 Nov 2004
Posts: 21

PostPosted: Wed Dec 01, 2004 2:54 am    Post subject: Reply with quote

Well, I tried that compiler, loaded the new DSDT table, and still no help. I have the same issues...:(

Maybe if someone looked at this they might see something I don't?:
Code:
tux ~ # dmesg | grep ACPI
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-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] (on-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


Any help would be most appreciated..

Thanks so much!
Back to top
View user's profile Send private message
jsivak
n00b
n00b


Joined: 16 Feb 2004
Posts: 9

PostPosted: Wed Dec 01, 2004 2:12 pm    Post subject: Reply with quote

I see in kernel 2.6.9 changelogs there are 2 new config options:
CONFIG_ACPI_CUSTOM_DSDT
CONFIG_ACPI_CUSTOM_DSDT_FILE

which allow for a custom DSDT to be specified when compiling the kernel. This removes the need for the kernel patch listed in the Howto.

But these options don't show up in "make menuconfig", and when I manually add them to my .config they are removed by "make && make modules_install".

Anyone know why?
Back to top
View user's profile Send private message
KageKeeper
n00b
n00b


Joined: 23 Nov 2004
Posts: 21

PostPosted: Wed Dec 01, 2004 4:30 pm    Post subject: Reply with quote

jsivak wrote:
I see in kernel 2.6.9 changelogs there are 2 new config options:
CONFIG_ACPI_CUSTOM_DSDT
CONFIG_ACPI_CUSTOM_DSDT_FILE

which allow for a custom DSDT to be specified when compiling the kernel. This removes the need for the kernel patch listed in the Howto.

But these options don't show up in "make menuconfig", and when I manually add them to my .config they are removed by "make && make modules_install".

Anyone know why?


Yup..:)

To get these options to show in your menuconfig you need to ensure that:
Code:

Device Drivers  --->
Generic Driver Options  --->
[ ] Select only drivers that don't need compile-time external firmware 

is NOT enabled.

Then those DSDT options will show in the ACPI section!

Good luck!

Rob
Back to top
View user's profile Send private message
jsivak
n00b
n00b


Joined: 16 Feb 2004
Posts: 9

PostPosted: Thu Dec 02, 2004 1:48 am    Post subject: Reply with quote

KageKeeper wrote:
Code:

Device Drivers  --->
Generic Driver Options  --->
[ ] Select only drivers that don't need compile-time external firmware 

is NOT enabled.

Then those DSDT options will show in the ACPI section!

Good luck!

Rob


DOH! I was looking at
Code:
Code maturity level options -->
[*] Prompt for development and/or incomplete code/drivers
[ ]   Select only drivers expected to compile cleanly..

thinking this was where I needed to "clear" the checkbox.

Thanx!
Back to top
View user's profile Send private message
dementer
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jan 2004
Posts: 139
Location: New Zealand

PostPosted: Fri Dec 03, 2004 5:31 am    Post subject: Reply with quote

Been having trouble with getting the isal compiler to compile. Doesnt seem to be the upercase/lowercase problem listed in the forum already any help please?

As an alternative is there a place I can get a precompiled version for x86?

[edit] one possibility is that I have a too recent bison version? someone on a debian list recomended 1.3ish might be the way to go... but its not in portage.
[/edit]

Code:

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: syntax error before '}' token
make: *** [aslcompilerparse.o] Error 1
Back to top
View user's profile Send private message
KageKeeper
n00b
n00b


Joined: 23 Nov 2004
Posts: 21

PostPosted: Fri Dec 03, 2004 7:34 am    Post subject: Reply with quote

dementer wrote:
Been having trouble with getting the isal compiler to compile. Doesnt seem to be the upercase/lowercase problem listed in the forum already any help please?

As an alternative is there a place I can get a precompiled version for x86?

[edit] one possibility is that I have a too recent bison version? someone on a debian list recomended 1.3ish might be the way to go... but its not in portage.
[/edit]

Code:

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: syntax error before '}' token
make: *** [aslcompilerparse.o] Error 1


This has already been addressed on page 7.

But here is the answer:

Go looking to aslcompiler.y and add on line 953:
original code:
Code:


952        ParameterTypePackageList
953      '}'                           {$$ = $2}
954 ;


add a ;
Code:


953      '}'                           {$$ = $2;}


Good luck! :)
Back to top
View user's profile Send private message
dementer
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jan 2004
Posts: 139
Location: New Zealand

PostPosted: Fri Dec 03, 2004 7:47 am    Post subject: Reply with quote

Nice one... :oops: I even looked at that line too.
Thanks for your help, and i'll remember to read more thouroughly too
Back to top
View user's profile Send private message
bongfish
n00b
n00b


Joined: 06 Dec 2004
Posts: 5

PostPosted: Mon Dec 06, 2004 1:48 am    Post subject: asus m6bne works! Reply with quote

hey everyone just in case you like to know, i got the dsdt working for the asus m6bne (my brand spanking new notebook).

I used the asus m6800n(custom) dsdt from acpi.sourceforge.net and the very
helpful docs from the start of this thread.

2 things i had to comment out a little bit of code in aslcompiler.y for the iasl compiler to compile (man thats a tounge twister).

and i edited osl.c to add support for a custom dsdt (since i didn't see an option in menuconfig)... these are the quick changes i made to osl.c:

--comment out ifdef and endif

/*#ifdef CONFIG_ACPI_CUSTOM_DSDT*/
#include <acpi/asus.h>
/*#endif*/


--comment out ifdef and endif here too

/*#ifdef CONFIG_ACPI_CUSTOM_DSDT*/
if (strncmp(existing_table->signature, "DSDT", 4) == 0)
*new_table = (struct acpi_table_header*)AmlCode;
else
*new_table = NULL;
/*#else
*new_table = NULL;
#endif*/
return AE_OK;


this if for kernel 2.6.9-r6 btw.

Thanks for all the help with the wonderful forums,
bongfish :D
Back to top
View user's profile Send private message
bongfish
n00b
n00b


Joined: 06 Dec 2004
Posts: 5

PostPosted: Mon Dec 06, 2004 2:27 am    Post subject: Reply with quote

oops, i guess i should have read this page before posting. i didn't know about that kernel option to enable those sub config options, though i did already have the semi-colon in aslcompiler.y and it didn't compile until i commented that little bit out. also i don't think all the acpi stuff is working, but the battery level is working and thats all i really wanted to get going.

sorry i was just excited.
Back to top
View user's profile Send private message
sibov
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2004
Posts: 147
Location: Germany

PostPosted: Fri Dec 10, 2004 2:50 pm    Post subject: Reply with quote

Hi Guys,

since kernel-2.6.9-... my system stopped powering off after shutdown
and I would like to know if that will be a good indication to start with
building my own dsdt for my mother fu :twisted: :evil: :twisted: :evil: :twisted: MSI bios Mainboard.


Thanks in advance for any kind of replay.
_________________
Gentoo 2.6.17-gentoo-r5 with dmraid Raid0 Dualboot
AMD64 X2 3800+, 4x512MB DDR PC3200Pro Corsair Geforce EN6600GT silencer @ 256MB
4x250GB SATAII Samsung SP120, Asus A8N Premium, Plextor PX712SA DVDRW
Logitech Dinovo, SB Audigy4
Back to top
View user's profile Send private message
Lokheed
Veteran
Veteran


Joined: 12 Jul 2004
Posts: 1295
Location: /usr/src/linux

PostPosted: Sun Dec 19, 2004 6:41 am    Post subject: Reply with quote

Added to wiki: http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
Back to top
View user's profile Send private message
richk449
Guru
Guru


Joined: 24 Oct 2003
Posts: 345

PostPosted: Sun Jan 02, 2005 6:17 pm    Post subject: Reply with quote

I modified the wiki to describe how to use the built in custom dsdt option for kernel 2.6.9 or later. If you know what you are doing, please look it over and make sure I didn't make any mistakes.
Back to top
View user's profile Send private message
mglukhovsky
n00b
n00b


Joined: 18 Jul 2004
Posts: 12

PostPosted: Thu Jan 20, 2005 3:46 am    Post subject: Reply with quote

The M6000N series of Asus laptops have a faulty DSDT table on the BIOS, requiring the user to manually edit the DSDT table to allow ACPI to function.

A petition to fix the DSDT table, among other serious issues, has been started by Herman (of the famed Linux on M6N forums).

If you're interested in helping out by signing it, go to http://www.petitiononline.com/M6NBIOS/petition.html and let Asus know you want a fix now!

Regards,
Mike Glukhovsky
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Thu Jan 20, 2005 10:21 am    Post subject: Reply with quote

mglukhovsky wrote:
The M6000N series of Asus laptops have a faulty DSDT table on the BIOS, requiring the user to manually edit the DSDT table to allow ACPI to function.

A petition to fix the DSDT table, among other serious issues, has been started by Herman (of the famed Linux on M6N forums).

If you're interested in helping out by signing it, go to http://www.petitiononline.com/M6NBIOS/petition.html and let Asus know you want a fix now!

Regards,
Mike Glukhovsky


yeah, sign that petition!

come on guys, all the people owning an asus (m6n-series) laptop, go to that site and sign the petition! [@ seen my sig]

go go GO :!:
Back to top
View user's profile Send private message
Treo
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2003
Posts: 88
Location: Newark, DE

PostPosted: Sun Feb 20, 2005 6:31 am    Post subject: Reply with quote

Hi,

I've got a Fujitsu T4010 and just fixed a couple (7) 1022 errors in the DSDT. The iasl compiler runs without errors now, however, none of my functionality has changed.
Basically, ACPI has everything working but thermal zone and FAN support. Speedstepping and everything else is great, but dmesg sees no thermal zone or FAN, neither can I access it in /proc/acpi .
Also, my batteries are seen as CMB1 and CMB2... that's somewhat odd, but they report fine.

Anyone any ideas?

Treo
Back to top
View user's profile Send private message
krzysiek
n00b
n00b


Joined: 03 Jan 2005
Posts: 38
Location: Kraków

PostPosted: Wed Mar 23, 2005 12:31 am    Post subject: Reply with quote

Hi

I have similar problem as KageKeeper. I installed new, fixed dsdt.h in kernel basing on description that I found here: http://www.gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems#Repairing_the_DSDT. I also applied kernel patch from acpi.sf.net.

Now, I can do: echo -n disk > /sys/power/state and everything is OK but when I substitute "disk" with "mem" my laptop powers off ( suspends -> power light is blinking ) and when I try to resume my screen remains blank :(. Almost all drivers are compiled as modules which I am unloading before suspending.

Info:
Laptop: Compaq Presario 2500 (2568CL)
Bios ver: PhoenixBIOS KH.F.24
Kernel: 2.6.10-ck5
Kernel patch: acpi-20050309-2.6.10 form [url]http://acpi.sf.net [/url]

Code:

dmesg |grep -i acpi

ACPI-0294: *** Info: Table [DSDT] replaced by host OS
ACPI: setting ELCR to 0200 (from 0420)
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 7 10) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK2] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK3] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK4] (IRQs 7 10) *0, disabled.
ACPI: PCI Interrupt Link [LNK5] (IRQs 7 *11)
ACPI: PCI Interrupt Link [LNK6] (IRQs 7 10) *0, disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs *5)
ACPI: PCI Interrupt Link [LNK8] (IRQs 7 10) *0, disabled.
ACPI: Embedded Controller [EC0] (gpe 24)
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 5
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [LNK7] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNK6] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNK3] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNK5] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:0b.1[B] -> Link [LNK3] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:0b.2[C] -> Link [LNK5] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:10.0[A]: no GSI - using IRQ 0
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNK1] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 10
ACPI: PCI Interrupt 0000:01:05.0[A] -> Link [LNK0] -> GSI 10 (level, low) -> IRQ 10
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT1] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Thermal Zone [THRM] (49 C)
ibm_acpi: ec object not found
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNK6] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNK1] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:10.0[A]: no GSI - using IRQ 0
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [LNK7] -> GSI 5 (level, low) -> IRQ 5
ACPI wakeup devices:
ACPI: (supports S0 S3 S4 S5)
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:0b.1[B] -> Link [LNK3] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:0b.2[C] -> Link [LNK5] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNK3] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:01:05.0[A] -> Link [LNK0] -> GSI 10 (level, low) -> IRQ 10
ACPI: Please implement acpi_video_bus_ROM_seq_show
ACPI: Please implement acpi_video_bus_ROM_seq_show
Back to top
View user's profile Send private message
Legoguy
Apprentice
Apprentice


Joined: 22 Dec 2003
Posts: 166
Location: Edmonton, Alberta, Canada

PostPosted: Wed Mar 23, 2005 7:39 pm    Post subject: Reply with quote

I think this is a problem with the HP/Compaq notebook BIOSes/DSDT. Not sure if we can fix it unless we have an AML wizard around. I have an HP ze4560us, same behavior - using 'fixed' compaq 2100 (identical model, different sticker) dsdt for the same bios version (KAM1.59) from acpi.sf.net.
Back to top
View user's profile Send private message
djpenguin
Guru
Guru


Joined: 02 Sep 2004
Posts: 386

PostPosted: Sun Apr 03, 2005 7:52 am    Post subject: Reply with quote

Great guide!

I'm trying to sort out ACPI issues on a brand-new ASUS Z71A notebook.

Here's the error message I get when trying to re-compile the DSDT:

Code:

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20050309 [Apr  2 2005]
Copyright (C) 2000 - 2005 Intel Corporation
Supports ACPI Specification Revision 3.0

dsdt.dsl  5879:                                 \_SB.PCI0.IDE0.SPWR (0x00)                               
Error    1022 -                             Object does not exist ^  (\_SB.PCI0.IDE0.SPWR)

ASL Input:  dsdt.dsl - 9108 lines, 310610 bytes, 4639 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 1208 Optimizations



Here's the section of the file it's referencing:

Code:



                        Method (SWBX, 1, NotSerialized)
                        {
                            If (Arg0)
                            {
                                \_SB.PCI0.IDE0.SPWR (0x00)
                            }
                        }




Any thoughts on what I should be doing to fix this? I've tried a number of slight changes to the above format, and always get an error related to that particular object
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Mon Apr 04, 2005 11:09 am    Post subject: Reply with quote

Hello, ok have gone through steps to diagnose acpi bios with these results:


Code:

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20050309 [Apr  4 2005]
Copyright (C) 2000 - 2005 Intel Corporation
Supports ACPI Specification Revision 3.0

dsdt.dsl  2768:     Method (_WAK, 1, NotSerialized)
Warning  2026 -                ^ Reserved method must return a value (_WAK)

ASL Input:  dsdt.dsl - 2796 lines, 95336 bytes, 1541 keywords
AML Output: DSDT.aml - 11600 bytes 353 named objects 1188 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 444 Optimizations




This seems to indicate that all is well, however i am having problems with acpi getting following on boot:

Code:

ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f7fe0
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x1befbcce
ACPI: FADT (v001 NEC    ND000080 0x06040000 MSTF 0x0100000e) @ 0x1befee74
ACPI: SSDT (v001 PTLTD  POWERNOW 0x06040000  LTP 0x00000001) @ 0x1befeee8
ACPI: DSDT (v001    NEC ND000080 0x06040000 MSFT 0x0100000e) @ 0x00000000

ACPI: setting ELCR to 0200 (from 06b8)

ACPI: Subsystem revision 20050211
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 [LNKA] (IRQs 3 4 5 *7 10)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10) *9
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 7 10)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *4 5 7 10)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10) *9
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 *10)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 7 10)
ACPI: Embedded Controller [EC0] (gpe 27)
ACPI: Power Resource [QFAN] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 7 devices

ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI interrupt 0000:00:02.6[C] -> GSI 5 (level, low) -> IRQ 5

ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 4
PCI: setting IRQ 4 as level-triggered
ACPI: PCI interrupt 0000:00:04.0[A] -> GSI 4 (level, low) -> IRQ 4

ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 7
PCI: setting IRQ 7 as level-triggered
ACPI: PCI interrupt 0000:00:02.5[A] -> GSI 7 (level, low) -> IRQ 7

ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 10 (level, low) -> IRQ 10

ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 3
PCI: setting IRQ 3 as level-triggered
ACPI: PCI interrupt 0000:00:03.2[D] -> GSI 3 (level, low) -> IRQ 3

ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 10 (level, low) -> IRQ 10

ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:03.1[B] -> GSI 10 (level, low) -> IRQ 10

ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 5 (level, low) -> IRQ 5

powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
powernow: No PST tables match this cpuid (0x7a0)
powernow: This is indicative of a broken BIOS.
powernow: Trying ACPI perflib
powernow: no support for ACPI processor found.  Please recompile your kernel with ACPI processor
powernow: ACPI and legacy methods failed




Of interest is last bit about powernow and broken bios. Now i do have acpi compiled in kernel and have double checked this, so is this a bios issue that i might be able to fix following this guide or should i be looking else where for problem?

this is on Packard Bell EasyNote C3 255 notebook

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
Crazor
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 131

PostPosted: Thu Apr 14, 2005 5:17 pm    Post subject: Reply with quote

Hello,

I am trying to fix the DSDT of my Gericom EGO notebook.
On recompiling the DSL source, I get:
Code:
dsdt.dsl  3492:     If (SS1)
Error    1037 -      ^ syntax error, unexpected PARSEOP_IF

The relevant part of the source:
Code:
    If (SS1)
    {
        Name (\_SB.PCI0._S1D, 0x02)
        Name (\_SB.PCI0.P0P1._S1D, 0x02)
        Name (\_SB.PCI0.USB1._S1D, 0x02)
        Name (\_SB.PCI0.USB2._S1D, 0x02)
        Name (\_SB.PCI0.USB3._S1D, 0x02)
    }

    If (SS3)
    {
        Name (\_SB.PCI0._S3D, 0x02)
        Name (\_SB.PCI0.P0P1._S3D, 0x02)
        Name (\_SB.PCI0.USB1._S3D, 0x02)
        Name (\_SB.PCI0.USB2._S3D, 0x02)
        Name (\_SB.PCI0.USB3._S3D, 0x02)
    }

    If (SS4)
    {
        Name (\_SB.PCI0._S4D, 0x02)
        Name (\_SB.PCI0.P0P1._S4D, 0x02)
    }

The block is indented by one tab and is contained directly inside
Code:
DefinitionBlock ("DSDT.aml", "DSDT", 1, "1003", "10036700", 26368)

which is at the very beginning of the file.

I guess that IF is only allowed inside METHOD blocks or something like that. So how do I fix this error?

edit: view the whole dsdt.dsl
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Fri Apr 15, 2005 1:53 pm    Post subject: Reply with quote

There are also some interesting kernel parameters:
  • acpi_serialize: This is may help if acpi causes trouble after some uptime. My Asus M6700N had a bug in the BIOS that confused the AML interpreter, resulting in a never stopping fan, because some ACPI actions where executed at the same time though they caused problems when executed at the same time. This parameter makes the ACPI execute all methods consecutively, so my problem disappeared.
  • acpi_fake_ecdt: This creates a faked ecdt so that it makes the hack described in 10b) of the howto unnecessary. Works in kernel 2.6.11 and newer, as far as I know.


Acording to the Changelog of kernel 2.6.12-rc2 the acpi developers improved the "impicit return value" support. That will elude a very common problem in DSDTs:
Quote:
The "implicit return" support was rewritten to a new
algorithm that solves the general case. Rather than
attempt to determine when a method is about to exit,
the result of every ASL operator is saved momentarily
until the very next ASL operator is executed. Therefore,
no matter how the method exits, there will always be a
saved implicit return value. This feature is only enabled
with the acpi_gbl_enable_interpreter_slack flag which
Linux enables unless "acpi=strict". This should
eliminate AE_AML_NO_RETURN_VALUE errors.

_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
Mason
n00b
n00b


Joined: 03 Apr 2003
Posts: 7

PostPosted: Sun Apr 17, 2005 10:38 am    Post subject: Reply with quote

|Crazor| wrote:
Hello,

I am trying to fix the DSDT of my Gericom EGO notebook.
On recompiling the DSL source, I get:
Code:
dsdt.dsl  3492:     If (SS1)
Error    1037 -      ^ syntax error, unexpected PARSEOP_IF


-snip-


same problem here with a sim2000 medion, md95150

Code:
dsdt.dsl  2965:     If (SS1)
Error    1037 -      ^ syntax error, unexpected PARSEOP_IF


also here the if is in main Definition block.
did you make some steps toward soltion?
i'm going to look into acpi spec, in the hope to find out some hints
Back to top
View user's profile Send private message
Crazor
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 131

PostPosted: Thu Apr 21, 2005 5:44 am    Post subject: Reply with quote

Quote:
did you make some steps toward soltion?
i'm going to look into acpi spec, in the hope to find out some hints

No, Im afraid not.
Probably some other genius can help on this?
Back to top
View user's profile Send private message
Mason
n00b
n00b


Joined: 03 Apr 2003
Posts: 7

PostPosted: Fri Apr 22, 2005 8:50 am    Post subject: Reply with quote

i've stripped out the if statement around names definition, and it compiles without warning.
i'm gonna this evening, but i don't think it will solve my problems with pci through acpi (i've got a sis 900 that don't go without appending pci=noacpi to kernel and the power button and lid button don't generate any acpi event).
Code:
 
   2987 //    If (SS4)
   2988 //    {
   2989         Name (\_S4, Package (0x04)
   2990         {
   2991             0x04,
   2992             0x00,
   2993             0x00,
   2994             0x00
   2995         })
   2996 //    }



for the spec of asl is at page 150 (near there, i've reached 157 with not all clear around its function, but syntax is the only important thingh for me i suppose) of acip spec.
From what i found is that if statement could be only in a method body, and there is no signed around ss1 in tables of definitions, only _s1 that define a acpi state.

is it right? is it wrong?, hoping to not blow up the laptop
Back to top
View user's profile Send private message
maxithron
n00b
n00b


Joined: 11 Apr 2005
Posts: 4

PostPosted: Thu Apr 28, 2005 11:12 am    Post subject: Reply with quote

Hallo @ all. After reading a lot of readme, and all post of this topic, i hope someone can help me for:

I've an Acer Travelmate 2702, this is my dmesg for ACPI:
Code:

 dmesg | grep ACPI
 BIOS-e820: 000000001bf70000 - 000000001bf7b000 (ACPI data)
 BIOS-e820: 000000001bf7b000 - 000000001bf80000 (ACPI NVS)
ACPI: RSDP (v000 PTLTD                                 ) @ 0x000f69b0
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x1bf77862
ACPI: FADT (v001 COMPAL ELW80    0x06040000 ATI  0x00000003) @ 0x1bf7af24
ACPI: MADT (v001 PTLTD           APIC   0x06040000  LTP 0x00000000) @ 0x1bf7af98
ACPI: DSDT (v001 COMPAL    ELW80 0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
Using ACPI for processor (LAPIC) configuration information
ACPI: Looking for DSDT in initrd... not found.
ACPI: setting ELCR to 0200 (from 0800)
ACPI: Subsystem revision 20050211
    ACPI-0352: *** Error: Looking up [Z00B] in namespace, AE_NOT_FOUND
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 10 *11)
ACPI: PCI Interrupt Link [LNK1] (IRQs 10 *11)
ACPI: PCI Interrupt Link [LNK2] (IRQs 10 *11)
ACPI: PCI Interrupt Link [LNK3] (IRQs 10 *11)
ACPI: Embedded Controller [EC0] (gpe 6)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
PCI: Using ACPI for IRQ routing
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:14.6[B] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:02:03.0[A]: no GSI - using IRQ 11
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:14.1[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:13.2[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:13.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:13.1[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:14.5[B] -> GSI 11 (level, low) -> IRQ 11
ACPI wakeup devices:
ACPI: (supports S0 S3 S4 S5)
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 11 (level, low) -> IRQ 11
    ACPI-0352: *** Error: Looking up [Z00B] in namespace, AE_NOT_FOUND
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.LPC0.BAT1._BIF] (Node c13ff800), AE_NOT_FOUND


and this is my dmesg for DSDT:
Code:

ACPI: DSDT (v001 COMPAL    ELW80 0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: Looking for DSDT in initrd... not found.


I have already installed patch for initrd, and i have already fix my DSDT.aml.
My problem is that i chose the initrd procedure, in combination with bootsplash like indicated at begin of this topic. But after reboot i got a kernel panic.
On another topic i have read that there is a problem with initramfs, and after that, i have patched my kernel (2.6.11-r6) to work with initramfs, but nothing change. Someone can help?

Thx. Maxithron.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 14, 15, 16  Next
Page 8 of 16

 
Jump to:  
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