From: Moore, R. <rob...@in...> - 2005-11-18 20:51:47
|
FYI, here are the strings supported: /* * Strings supported by the _OSI predefined (internal) method. * When adding strings, be sure to update ACPI_NUM_OSI_STRINGS. */ const char *AcpiGbl_ValidOsiStrings[ACPI_NUM_OSI_STRINGS] =3D { /* Operating System Vendor Strings */ "Linux", "Windows 2000", "Windows 2001", "Windows 2001.1", "Windows 2001 SP0", "Windows 2001 SP1", "Windows 2001 SP2", "Windows 2001 SP3", "Windows 2001 SP4", /* Feature Group Strings */ "Extended Address Space Descriptor" }; > -----Original Message----- > From: acp...@li... [mailto:acpi-devel- > ad...@li...] On Behalf Of Moore, Robert > Sent: Friday, November 18, 2005 11:47 AM > To: KAMEZAWA Hiroyuki; keith > Cc: Yasunori Goto; Brown, Len; S, Naveen B; acpi-devel; external hotplug > mem list; Tolentino, Matthew E > Subject: RE: [ACPI] Re: [Lhms-devel] [PATCH 1/1] patch to fix > acpi_memhotplug.c >=20 > The ACPICA code supports _OSI and will respond TRUE when shown the > "Windows 2001" string. > Bob >=20 >=20 > > -----Original Message----- > > From: acp...@li... [mailto:acpi-devel- > > ad...@li...] On Behalf Of KAMEZAWA Hiroyuki > > Sent: Thursday, November 17, 2005 6:57 PM > > To: keith > > Cc: Yasunori Goto; Brown, Len; S, Naveen B; acpi-devel; external > hotplug > > mem list; Tolentino, Matthew E > > Subject: Re: [ACPI] Re: [Lhms-devel] [PATCH 1/1] patch to fix > > acpi_memhotplug.c > > > > keith wrote: > > >> > > > >>Could you show your AML tree around Memory ? > > > > > > > > > See attached SSDT. > > > > > Thanks, at the first look..... > > > > > Device (ME00) > > > { > > <snip> > > > Method (_STA, 0, NotSerialized) > > > { > > > If (CondRefOf (_OSI, Local0)) > > > { > > > If (\_OSI ("Windows 2001")) > > > { > > > If (LAnd (LEqual (BADH, EADH), LEqual (BADL, > > EADL))) > > > { > > > Or (MEID, \_SB.MEMI, \_SB.MEMI) > > > Return (0x00) > > > } > > > Else > > > { > > > And (Not (MEID), \_SB.MEMI, \_SB.MEMI) > > > Return (0x0F) > > > } > > > } > > > } > > > > > > Return (0x00) > > > } > > It seems memory device's _STA never returns 0xF always returns 0x0. > > (Device is online and enabled) when OS is not Windows2001. > > All PNP0C80 decvices in this SSDT has same _STA function. > > > > So, I think why your hot add failes is _STA has no present bit. > > =3D=3D > > drivers/acpi/scan.c > > > > acpi_add_single_object() > > <snip> > > case ACPI_BUS_TYPE_DEVICE: > > result =3D acpi_bus_get_status(device); in > > drivers/acpi/bus.c > > if (ACPI_FAILURE(result) || !device->status.present) > { <- > > ---(*) > > result =3D -ENOENT; > > goto end; > > } > > break; > > =3D=3D > > > > rewriting your DSDT would be sane approach. > > > > -- Kame > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > > Register for a JBoss Training Course. Free Certification Exam > > for All Training Attendees Through End of 2005. For more info visit: > > http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick > > _______________________________________________ > > Acpi-devel mailing list > > Acp...@li... > > https://lists.sourceforge.net/lists/listinfo/acpi-devel >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id=16845&op=3Dick > _______________________________________________ > Acpi-devel mailing list > Acp...@li... > https://lists.sourceforge.net/lists/listinfo/acpi-devel |