public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h
       [not found]   ` <20040309110721.B88330-YW38lnafgrALLvduDZEr5g@public.gmane.org>
@ 2004-03-11  2:26     ` Nate Lawson
       [not found]       ` <20040310182253.P61709-Y6VGUYTwhu0@public.gmane.org>
  0 siblings, 1 reply; 8+ 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] 8+ messages in thread

* _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; 8+ 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] 8+ messages in thread

* 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; 8+ 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] 8+ messages in thread

* 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; 8+ 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] 8+ 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; 8+ 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] 8+ messages in thread

* 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; 8+ 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] 8+ messages in thread

* 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; 8+ 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] 8+ 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-17 22:45           ` Nate Lawson
  0 siblings, 0 replies; 8+ 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] 8+ messages in thread

end of thread, other threads:[~2004-03-17 22:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20040303220117.R21587@root.org>
     [not found] ` <20040309110721.B88330@mail.ncircle.com>
     [not found]   ` <20040309110721.B88330-YW38lnafgrALLvduDZEr5g@public.gmane.org>
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
2004-03-11  7:27 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-17 22:45           ` Nate Lawson
  -- strict thread matches above, loose matches on Subject: below --
2004-03-11 15:40 Moore, Robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox