public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
@ 2003-02-05 18:55 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  2003-02-05 20:40 ` Derek Broughton
  0 siblings, 2 replies; 9+ messages in thread
From: Grover, Andrew @ 2003-02-05 18:55 UTC (permalink / raw)
  To: Ducrot Bruno
  Cc: Dave Jones, Zdenìk OGAR Skalák,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org] 
> This is the linux part.  It permit to pass a apci_os_name= boot args
> in order to override the \_OS.

I'm still not clear on why this needs to be changeable at runtime. If we do
decide that the BIOS writers are so Windows-centric that we need to
masquerade as one, why wouldn't we just change the #define and recompile?

Dave, can you help me understand how a distro would find this useful, over
just statically changing the reported _OS string?

Regards -- Andy


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
@ 2003-02-05 19:27   ` Ducrot Bruno
  2003-02-05 19:50   ` Matthew Wilcox
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Ducrot Bruno @ 2003-02-05 19:27 UTC (permalink / raw)
  To: Grover, Andrew
  Cc: Ducrot Bruno, Dave Jones, Zdenìk OGAR Skalák,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Wed, Feb 05, 2003 at 10:55:45AM -0800, Grover, Andrew wrote:
> > From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org] 
> > This is the linux part.  It permit to pass a apci_os_name= boot args
> > in order to override the \_OS.
> 
> I'm still not clear on why this needs to be changeable at runtime. If we do
> decide that the BIOS writers are so Windows-centric that we need to
> masquerade as one, why wouldn't we just change the #define and recompile?
> 
> Dave, can you help me understand how a distro would find this useful, over
> just statically changing the reported _OS string?

I can not speak for Dave, but suppose that you say to an end user:
Hum, yes, your mouse do not work after S1..

Get the latest kernel of the distro via apt-get, rpm, what ever, then
edit the file /path/to/kernel/include/acpi/platform/aclinux.h

find the
#define ACPI_OS_NAME                "Linux"
line then change so that
#define ACPI_OS_NAME                "Microsoft Windows NT"

recompile, etc.

Now suppose that you said to the same end user:
Add acpi_os_name="Microsoft Windows NT" at boot time, and now
your mouse will work without any tricks after S1 and with gpm
or under X.


Now, I don't like the idea to have a 
include/acpi/platform/aclinux.h
which say that my OS is a MS one, and I guess nobody want it.


-- 
Ducrot Bruno

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


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  2003-02-05 19:27   ` Ducrot Bruno
@ 2003-02-05 19:50   ` Matthew Wilcox
  2003-02-05 19:50   ` Dave Jones
  2003-02-07 17:53   ` Pavel Machek
  3 siblings, 0 replies; 9+ messages in thread
From: Matthew Wilcox @ 2003-02-05 19:50 UTC (permalink / raw)
  To: Grover, Andrew
  Cc: Ducrot Bruno, Dave Jones, Zdenìk OGAR Skalák,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Wed, Feb 05, 2003 at 10:55:45AM -0800, Grover, Andrew wrote:
> Dave, can you help me understand how a distro would find this useful, over
> just statically changing the reported _OS string?

Dave's point is that a distro cannot change it, since it would work for
most users as "Linux".  But it offers the opportunity for users to try
(on an individual basis) to pretend to be NT.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  2003-02-05 19:27   ` Ducrot Bruno
  2003-02-05 19:50   ` Matthew Wilcox
@ 2003-02-05 19:50   ` Dave Jones
  2003-02-07 17:53   ` Pavel Machek
  3 siblings, 0 replies; 9+ messages in thread
From: Dave Jones @ 2003-02-05 19:50 UTC (permalink / raw)
  To: Grover, Andrew
  Cc: Ducrot Bruno, Zdenìk OGAR Skalák,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Wed, Feb 05, 2003 at 10:55:45AM -0800, Grover, Andrew wrote:

 > I'm still not clear on why this needs to be changeable at runtime. If we do
 > decide that the BIOS writers are so Windows-centric that we need to
 > masquerade as one, why wouldn't we just change the #define and recompile?
 > 
 > Dave, can you help me understand how a distro would find this useful, over
 > just statically changing the reported _OS string?

Simple. Vendor would only need to ship a single image to support
all possible OS name overrides. CD space is precious, and with SMP,
highmem, P4/K7 optimised, preempt and a number of other such options, the number
of kernel combinations grows and grows.  Having a set of images compiled
saying "NT" and another set saying "95" and another set saying "Linux"
triples the numbers of kernels needed to be shipped, and hence, is
undesired.

Clearer?

        Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
  2003-02-05 18:55 [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS) Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
@ 2003-02-05 20:40 ` Derek Broughton
       [not found]   ` <016901c2cd56$d2ee4f70$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
  1 sibling, 1 reply; 9+ messages in thread
From: Derek Broughton @ 2003-02-05 20:40 UTC (permalink / raw)
  To: acpi-devel-pyega4qmqnRoyOMFzWx49A

From: "Grover, Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

> > From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org]
> > This is the linux part.  It permit to pass a apci_os_name= boot args
> > in order to override the \_OS.
>
> I'm still not clear on why this needs to be changeable at runtime. If we do
> decide that the BIOS writers are so Windows-centric that we need to
> masquerade as one, why wouldn't we just change the #define and recompile?

Because many of us have Windows-only BIOSes, and really prefer NOT to recompile.
If not for ACPI, I would be using pre-packaged kernels.

I like Ducrot's idea :-)



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
       [not found]   ` <016901c2cd56$d2ee4f70$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
@ 2003-02-05 21:17     ` Jean-Pierre Schwickerath
  2003-02-06 13:57       ` Derek Broughton
  0 siblings, 1 reply; 9+ messages in thread
From: Jean-Pierre Schwickerath @ 2003-02-05 21:17 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


> I like Ducrot's idea :-)

His first name is Bruno, he is French and French people are used to
write their family name first and then their first name. ;-)


Jean-Pierre
-- 
Powered by Linux From Scratch - http://schwicky.net/
PGP Key ID: 0xEE6F49B4 - AIM/Jabber: Schwicky - ICQ: 4690141

Nothing is impossible... Everything is relative!


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
  2003-02-05 21:17     ` Jean-Pierre Schwickerath
@ 2003-02-06 13:57       ` Derek Broughton
       [not found]         ` <008601c2cde7$ae63a2e0$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Derek Broughton @ 2003-02-06 13:57 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>
> > I like Ducrot's idea :-)
>
> His first name is Bruno, he is French and French people are used to
> write their family name first and then their first name. ;-)

Well thanks!  Sorry Bruno.

That's one problem with the Internet - you never do know which parts of names
are personal and which are family names.  Usually with European names I have a
good idea but I still try to avoid using them until I'm certain - or I slip up.
"M. Ducrot" would have worked better :-).  Here, French-Canadians don't use that
convention.

derek



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
       [not found]         ` <008601c2cde7$ae63a2e0$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
@ 2003-02-06 16:22           ` Ducrot Bruno
  0 siblings, 0 replies; 9+ messages in thread
From: Ducrot Bruno @ 2003-02-06 16:22 UTC (permalink / raw)
  To: Derek Broughton; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi Derek,

On Thu, Feb 06, 2003 at 09:57:26AM -0400, Derek Broughton wrote:
> >
> > > I like Ducrot's idea :-)
> >
> > His first name is Bruno, he is French and French people are used to
> > write their family name first and then their first name. ;-)
> 
> Well thanks!  Sorry Bruno.

Why?  Using the family name as if it where the firstname is ok
at least in my country.

Cheers,

-- 
Ducrot Bruno

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


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: RE: [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS).
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
                     ` (2 preceding siblings ...)
  2003-02-05 19:50   ` Dave Jones
@ 2003-02-07 17:53   ` Pavel Machek
  3 siblings, 0 replies; 9+ messages in thread
From: Pavel Machek @ 2003-02-07 17:53 UTC (permalink / raw)
  To: Grover, Andrew
  Cc: Ducrot Bruno, Dave Jones, Zden?k OGAR Skalák,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi!

> > This is the linux part.  It permit to pass a apci_os_name= boot args
> > in order to override the \_OS.
> 
> I'm still not clear on why this needs to be changeable at runtime. If we do
> decide that the BIOS writers are so Windows-centric that we need to
> masquerade as one, why wouldn't we just change the #define and recompile?
> 
> Dave, can you help me understand how a distro would find this useful, over
> just statically changing the reported _OS string?

Well, if we make it runtime-configurable, we can later use blacklist
entries to fool broken bioses... And besides, it is probably not
acceptable for any distribution to ship kernel presenting itself as
"Microsoft Windows".
								Pavel

-- 
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-02-07 17:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 18:55 [PATCH] [2/2] Allow override acpi_gbl_pre_defined_names (aka change that _OS) Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A15A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-02-05 19:27   ` Ducrot Bruno
2003-02-05 19:50   ` Matthew Wilcox
2003-02-05 19:50   ` Dave Jones
2003-02-07 17:53   ` Pavel Machek
2003-02-05 20:40 ` Derek Broughton
     [not found]   ` <016901c2cd56$d2ee4f70$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-02-05 21:17     ` Jean-Pierre Schwickerath
2003-02-06 13:57       ` Derek Broughton
     [not found]         ` <008601c2cde7$ae63a2e0$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-02-06 16:22           ` Ducrot Bruno

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