Skip to contentSkip to conversation

custom dsdt with 2.5

DISCUSSION [email protected] 2 participants 2 messages May 9, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Bruno, your patch is rejected by the 2.5.69. But thanks to your help, it's working now. I can use my custom dsdt.
But my problem is not solve. When I try the 3 sleep state, all my peripherics are shutted down (but I don't have the sleep LED on), but when I want to resume, only the cdrom wakes up ! And when I try the 4 state, after the driver frees the memory, I have a very fast (too fast to read it) message that is indefinitively repeated. I think that it's a dump mem (something like kernel panic maybe).

How can I have this message ?
Does anyone have the same troubles ?

Quoted 29 lines · Ducrot Bruno
Quoted 9 lines · roychris

I changed by hand the osl.c of the kernel 2.5. I can send you a diff if you want. This is the few lines I changed :

#include "/my/home/dsdt.hex"

and

*new_table = (struct acpi_table_header *) AmlCode;

*ALL* acpi tables will be passed to acpi_table_override(). Therefore, the RSDT table have been replaced by the table that you have provided. Since that is not what you want (RSDT is not DSDT), the ACPI subsystem can not work properly.

Do something like this:

	*new_table = NULL;

	if (!strncmp((strncmp(existing_table->signature, DSDT_SIG, 4))))
		*new_table = (struct acpi_table_header *) AmlCode;

BTW, I don't see any reason why you have to patch by hand osl.c and you don't use acpi-custom-DSDT.patch instead.
Really, it look good for me. What say

Quoted 6 lines
$ patch -p1 -i /path/to/acpi-custom-DSDT.patch
in the linux-2.5.69 directory ?

Cheers,

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

A message that is not in the archive (sent off-list or not yet received): 1052501708.3ebbe6ccf3454-HZaT1/[email protected]

#2 lore raw
Quoted 2 lines · On Fri, May 09, 2003 at 07:35:08PM +0200…

Bruno, your patch is rejected by the 2.5.69. But thanks to your help, it's working now. I can use my custom dsdt.

acpi-custom-DSDT.patch should work, (but I have not tested it) is not my patch.

Quoted 8 lines

But my problem is not solve. When I try the 3 sleep state, all my peripherics are shutted down (but I don't have the sleep LED on), but when I want to resume, only the cdrom wakes up ! And when I try the 4 state, after the driver frees the memory, I have a very fast (too fast to read it) message that is indefinitively repeated. I think that it's a dump mem (something like kernel panic maybe).

How can I have this message ?
Does anyone have the same troubles ?

I can not tell because I have an hardware failure in my laptop, but I should bought a new one soon.

Signature · 10 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com