From: Grover, A. <and...@in...> - 2003-07-25 23:37:09
|
> From: Fedor Karpelevitch [mailto:fe...@ka...]=20 > > right answer (if so, how? What does the ASL for the _LID method > > look like?)=20 >=20 > Sorry, but how do I tell? I can provide whatever info if you tell me=20 > where to get it from... Thanks for sending me your DSDT. Here is the _LID control method: (ECOK is a variable that is set after the EC driver initializer properly. It should be set to 1 fairly early on.) (LIDS is a 1 bit field in the EmbeddedController operation region.) Method (_LID, 0, NotSerialized) { If (\_SB.PCI0.ISA.EC.ECOK) { If (\_SB.PCI0.ISA.EC.LIDS) { Return (0x00) } Else { Return (0x01) } } Else { Return (0x00) } } Seems pretty straightforward. "If the EC is initialized, read the LIDS bit and return the opposite". Could you perhaps add the following line after the call to acpi_ec_read() in the function acpi_ec_space_handler in file drivers/acpi/ec.c? printk("ACPI: Read %x from EC address %x\n", temp, address); Then, clear the dmesg buffer "dmesg -c" And then cat state once with the lid open, and if you can figure out a way, with the lid closed, too.=20 And then send me dmesg contents. Thanks -- Regards -- Andy |