* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h)
@ 2004-03-11 7:27 Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB748-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Yu, Luming @ 2004-03-11 7:27 UTC (permalink / raw)
To: Nate Lawson, Brown, Len; +Cc: Brian Buchanan, Moore, Robert, ACPI Developers
>
> On Wed, 11 Mar 2004, Len Brown wrote:
> > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote:
> > > Bob, any word on _OSI implementation?
> >
> > Bob sent me an initial implementation for review today;-)
> >
> > I'm uncomfortable, however, at claiming to be compatible
> with Windows,
> > since I don't really have a definition of exactly what that means...
> >
> > -Len
>
> Doesn't matter to me. I plan on claiming to be everything from Win 2k
> onward and sort out the rest on the mailing list. :)
>
> We already fixed some problems by claiming to be Win 2k for _OS.
>
Cool! what kind of problems? :)
--Luming
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
^ permalink raw reply [flat|nested] 10+ messages in thread[parent not found: <3ACA40606221794F80A5670F0AF15F8401CBB748-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB748-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2004-03-12 4:00 ` Nate Lawson [not found] ` <20040311200031.J67848-Y6VGUYTwhu0@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Nate Lawson @ 2004-03-12 4:00 UTC (permalink / raw) To: Yu, Luming; +Cc: Brown, Len, Moore, Robert, ACPI Developers On Thu, 11 Mar 2004, Yu, Luming wrote: > > On Wed, 11 Mar 2004, Len Brown wrote: > > > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote: > > > > Bob, any word on _OSI implementation? > > > > > > Bob sent me an initial implementation for review today;-) > > > > > > I'm uncomfortable, however, at claiming to be compatible > > with Windows, > > > since I don't really have a definition of exactly what that means... > > > > > > -Len > > > > Doesn't matter to me. I plan on claiming to be everything from Win 2k > > onward and sort out the rest on the mailing list. :) > > > > We already fixed some problems by claiming to be Win 2k for _OS. > > > > Cool! what kind of problems? :) PCI routing. -Nate ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20040311200031.J67848-Y6VGUYTwhu0@public.gmane.org>]
* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) [not found] ` <20040311200031.J67848-Y6VGUYTwhu0@public.gmane.org> @ 2004-03-12 6:39 ` Len Brown [not found] ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Len Brown @ 2004-03-12 6:39 UTC (permalink / raw) To: Nate Lawson; +Cc: Luming Yu, Robert Moore, ACPI Developers On Thu, 2004-03-11 at 23:00, Nate Lawson wrote: > On Thu, 11 Mar 2004, Yu, Luming wrote: > > > On Wed, 11 Mar 2004, Len Brown wrote: > > > > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote: > > > > > Bob, any word on _OSI implementation? > > > > > > > > Bob sent me an initial implementation for review today;-) > > > > > > > > I'm uncomfortable, however, at claiming to be compatible > > > with Windows, > > > > since I don't really have a definition of exactly what that means... > > > > > > > > -Len > > > > > > Doesn't matter to me. I plan on claiming to be everything from Win 2k > > > onward and sort out the rest on the mailing list. :) > > > > > > We already fixed some problems by claiming to be Win 2k for _OS. > > > > > > > Cool! what kind of problems? :) > > PCI routing. > > -Nate You don't need to tempt me any more than that!;-) While I don't like blindly claiming compatibility with something that is neither specified nor visible, I *do* like the idea of causing the AML to follow the *tested* path that it follows under Windows. thanks, -Len ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org>]
* _OSI boot hang [not found] ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org> @ 2004-03-13 8:22 ` Len Brown [not found] ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org> 2004-03-17 22:45 ` _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) Nate Lawson 1 sibling, 1 reply; 10+ messages in thread From: Len Brown @ 2004-03-13 8:22 UTC (permalink / raw) To: Nate Lawson; +Cc: Luming Yu, Robert Moore, ACPI Developers _OSI is in the ACPI patch on kernel.org and bkbits right now. However, I find that on my Toshiba Satellite Pro, it causes boot to hang at Executing all Device _STA and_INI methods. >From ACPICA, it comes this way: drivers/acpi/utilities/utglobal.c const char *acpi_gbl_valid_osi_strings[ACPI_NUM_OSI_STRINGS] = { "Linux", "Windows 2000", "Windows 2001", "Windows 2001.1"}; I find that it is the match on "Windows 2001" that hangs my laptop... clues? -Len ACPI: Subsystem revision 20040311 tbxface-0117 [03] acpi_load_tables : ACPI Tables successfully acquired Parsing all Control Methods:................................................................................................... Table [DSDT](id F005) - 682 Objects with 72 Devices 183 Methods 6 Regions Parsing all Control Methods:..................... Table [SSDT](id F003) - 46 Objects with 6 Devices 21 Methods 0 Regions ACPI Namespace successfully loaded at root c04b717c ACPI: IRQ9 SCI: Level Trigger. evxfevnt-0093 [04] acpi_enable : Transition to ACPI mode successful evgpeblk-0747 [06] ev_create_gpe_block : GPE 00 to 31 [_GPE] 4 regs at 000000000000D828 on int 9 Completing Region/Field/Buffer/Package initialization:...................................................... Initialized 6/6 Regions 0/0 Fields 18/18 Buffers 30/30 Packages (736 nodes) Executing all Device _STA and_INI methods:.................................................. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org>]
* Re: _OSI boot hang [not found] ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org> @ 2004-03-13 9:37 ` Len Brown 2004-03-17 22:36 ` Nate Lawson 1 sibling, 0 replies; 10+ messages in thread From: Len Brown @ 2004-03-13 9:37 UTC (permalink / raw) To: Nate Lawson; +Cc: Luming Yu, Robert Moore, ACPI Developers Hmmm, now my Toshiba is not hanging. Maybe the hang wasn't related to _OSI afterall? In any case, if you experience issues with the latest "acpi_osi=" or "acpi_serialize" may be helpful -- do speak up if you find they're necessary. thanks, -Len ---- kernel-parameters.txt: acpi_osi= [HW,ACPI] empty param disables _OSI acpi_serialize [HW,ACPI] force serialization of AML methods ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: _OSI boot hang [not found] ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org> 2004-03-13 9:37 ` Len Brown @ 2004-03-17 22:36 ` Nate Lawson 1 sibling, 0 replies; 10+ messages in thread From: Nate Lawson @ 2004-03-17 22:36 UTC (permalink / raw) To: Len Brown; +Cc: Robert Moore, ACPI Developers On Sat, 13 Mar 2004, Len Brown wrote: > _OSI is in the ACPI patch on kernel.org and bkbits right now. > > However, I find that on my Toshiba Satellite Pro, it causes boot to hang > at Executing all Device _STA and_INI methods. > > >From ACPICA, it comes this way: > drivers/acpi/utilities/utglobal.c > const char > *acpi_gbl_valid_osi_strings[ACPI_NUM_OSI_STRINGS] = { > "Linux", > "Windows 2000", > "Windows 2001", > "Windows 2001.1"}; That's not the right string for Win2k. It's: "Microsoft Windows NT" Since this is the most popular string, not emulating it is probably causing some people problems. -Nate ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) [not found] ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org> 2004-03-13 8:22 ` _OSI boot hang Len Brown @ 2004-03-17 22:45 ` Nate Lawson 1 sibling, 0 replies; 10+ messages in thread From: Nate Lawson @ 2004-03-17 22:45 UTC (permalink / raw) To: Len Brown; +Cc: Robert Moore, ACPI Developers On Thu, 12 Mar 2004, Len Brown wrote: > On Thu, 2004-03-11 at 23:00, Nate Lawson wrote: > > On Thu, 11 Mar 2004, Yu, Luming wrote: > > > > On Wed, 11 Mar 2004, Len Brown wrote: > > > > > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote: > > > > > > Bob, any word on _OSI implementation? > > > > > > > > > > Bob sent me an initial implementation for review today;-) > > > > > > > > > > I'm uncomfortable, however, at claiming to be compatible > > > > with Windows, > > > > > since I don't really have a definition of exactly what that means... > > > > > > > > > > -Len > > > > > > > > Doesn't matter to me. I plan on claiming to be everything from Win 2k > > > > onward and sort out the rest on the mailing list. :) > > > > > > > > We already fixed some problems by claiming to be Win 2k for _OS. > > > > > > > > > > Cool! what kind of problems? :) > > > > PCI routing. > > > > -Nate > > You don't need to tempt me any more than that!;-) > > While I don't like blindly claiming compatibility with something that is > neither specified nor visible, I *do* like the idea of causing the AML > to follow the *tested* path that it follows under Windows. OSI is different than _OS. _OS is a static string, OSI means you can support the behavior of the string passed in. Since Win2k was the first OS that really supported ACPI and the tests for strings for Win98 and ME in the ASL are usually to disable functionality/workaround bugs, I think it's very reasonable to claim compliance with all Win2k and above versions. -Nate ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h)
@ 2004-03-11 15:40 Moore, Robert
0 siblings, 0 replies; 10+ messages in thread
From: Moore, Robert @ 2004-03-11 15:40 UTC (permalink / raw)
To: Yu, Luming, Nate Lawson, Brown, Len, Therien, Guy
Cc: Brian Buchanan, ACPI Developers
I believe that is the point to implementing _OSI, it's so we can report
Win compatibility and take the "correct" code path through ASL that has
only been tested on Windows.
Bob
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Yu, Luming
Sent: Wednesday, March 10, 2004 11:27 PM
To: Nate Lawson; Brown, Len
Cc: Brian Buchanan; Moore, Robert; ACPI Developers
Subject: RE: _OSI (Re: [ACPI] Re: cvs commit: src/sys/contrib/dev/acpica
acfreebsd.h)
>
> On Wed, 11 Mar 2004, Len Brown wrote:
> > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote:
> > > Bob, any word on _OSI implementation?
> >
> > Bob sent me an initial implementation for review today;-)
> >
> > I'm uncomfortable, however, at claiming to be compatible
> with Windows,
> > since I don't really have a definition of exactly what that means...
> >
> > -Len
>
> Doesn't matter to me. I plan on claiming to be everything from Win 2k
> onward and sort out the rest on the mailing list. :)
>
> We already fixed some problems by claiming to be Win 2k for _OS.
>
Cool! what kind of problems? :)
--Luming
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=ick
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
^ permalink raw reply [flat|nested] 10+ messages in thread[parent not found: <20040303220117.R21587@root.org>]
[parent not found: <20040309110721.B88330@mail.ncircle.com>]
* Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h @ 2004-03-11 2:26 ` Nate Lawson [not found] ` <20040310182253.P61709-Y6VGUYTwhu0@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Nate Lawson @ 2004-03-11 2:26 UTC (permalink / raw) To: Brian Buchanan Cc: robert.moore-ral2JQCrhuEAvxtiuMwx3w, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Tue, 9 Mar 2004, Brian Buchanan wrote: > I hacked the ASL for my ThinkPad T40p so that "FreeBSD" was treated as an > equivalent to "Windows 2001". After your change, the Fn+F8 screen > expansion toggle stopped working. > > I've attached the acpidump output you requested. My local modification > was to add after the check for "Windows 2001": > > If (LEqual (\SCMP (\_OS, "FreeBSD"), Zero)) > { > Store (0x02, \WNTF) > } The issue is that we don't support the _OSI method yet, otherwise we could advertise FreeBSD as being both Windows 2k and XP compatible. Your best workaround is to just unconditionally store 0x02 into \WNTF at the end of the \_SB._INI function. Since the custom AML will only be loaded by FreeBSD, you won't affect other OS's with this change. Bob, any word on _OSI implementation? -Nate ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20040310182253.P61709-Y6VGUYTwhu0@public.gmane.org>]
* _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) [not found] ` <20040310182253.P61709-Y6VGUYTwhu0@public.gmane.org> @ 2004-03-11 7:08 ` Len Brown [not found] ` <1078988912.2549.94.camel-D2Zvc0uNKG8@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Len Brown @ 2004-03-11 7:08 UTC (permalink / raw) To: Nate Lawson; +Cc: Brian Buchanan, Robert Moore, ACPI Developers On Wed, 2004-03-10 at 21:26, Nate Lawson wrote: > Bob, any word on _OSI implementation? Bob sent me an initial implementation for review today;-) I'm uncomfortable, however, at claiming to be compatible with Windows, since I don't really have a definition of exactly what that means... -Len ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <1078988912.2549.94.camel-D2Zvc0uNKG8@public.gmane.org>]
* Re: _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) [not found] ` <1078988912.2549.94.camel-D2Zvc0uNKG8@public.gmane.org> @ 2004-03-11 7:18 ` Nate Lawson 0 siblings, 0 replies; 10+ messages in thread From: Nate Lawson @ 2004-03-11 7:18 UTC (permalink / raw) To: Len Brown; +Cc: Brian Buchanan, Robert Moore, ACPI Developers On Wed, 11 Mar 2004, Len Brown wrote: > On Wed, 2004-03-10 at 21:26, Nate Lawson wrote: > > Bob, any word on _OSI implementation? > > Bob sent me an initial implementation for review today;-) > > I'm uncomfortable, however, at claiming to be compatible with Windows, > since I don't really have a definition of exactly what that means... > > -Len Doesn't matter to me. I plan on claiming to be everything from Win 2k onward and sort out the rest on the mailing list. :) We already fixed some problems by claiming to be Win 2k for _OS. -Nate ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-03-17 22:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-11 7:27 _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB748-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-03-12 4:00 ` Nate Lawson
[not found] ` <20040311200031.J67848-Y6VGUYTwhu0@public.gmane.org>
2004-03-12 6:39 ` Len Brown
[not found] ` <1079073556.3868.37.camel-D2Zvc0uNKG8@public.gmane.org>
2004-03-13 8:22 ` _OSI boot hang Len Brown
[not found] ` <1079166150.2168.94.camel-D2Zvc0uNKG8@public.gmane.org>
2004-03-13 9:37 ` Len Brown
2004-03-17 22:36 ` Nate Lawson
2004-03-17 22:45 ` _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) Nate Lawson
-- strict thread matches above, loose matches on Subject: below --
2004-03-11 15:40 Moore, Robert
[not found] <20040303220117.R21587@root.org>
[not found] ` <20040309110721.B88330@mail.ncircle.com>
2004-03-11 2:26 ` cvs commit: src/sys/contrib/dev/acpica acfreebsd.h Nate Lawson
[not found] ` <20040310182253.P61709-Y6VGUYTwhu0@public.gmane.org>
2004-03-11 7:08 ` _OSI (Re: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h) Len Brown
[not found] ` <1078988912.2549.94.camel-D2Zvc0uNKG8@public.gmane.org>
2004-03-11 7:18 ` Nate Lawson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox