public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* How to determine ACPI SF patch version from running kernel?
@ 2003-07-31  8:25 Bas Mevissen
  0 siblings, 0 replies; 4+ messages in thread
From: Bas Mevissen @ 2003-07-31  8:25 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi all,

(I hope this is not asked before, but the SF mailing list archives are 
not searchable, so I was not able to search really well)

How can I determine the ACPI SF patch number? In the ACPI sources there 
are a few numbers used:

ACPI_CA_VERSION
TOSHIBA_ACPI_VERSION
etc.

Those version numbers tell me the versions of the different modules 
within ACPI. If I understand it correctly, there is currently no way to 
determine the "overall" ACPI patch version (aka the SF patch version) 
from a running kernel and possibly not even from the sources without 
using the time stamp.

If so, I think it should change. Otherwise, please tell me how to 
determine this from the kernels syslog.

Regards,

Bas.




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

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

* RE: How to determine ACPI SF patch version from running kernel?
@ 2003-08-04  6:34 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A8470255EEBD-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Grover, Andrew @ 2003-08-04  6:34 UTC (permalink / raw)
  To: Bas Mevissen, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Bas Mevissen [mailto:ml-Y9IUUvl1dgU0Iwp8Nzs06g@public.gmane.org] 
> How can I determine the ACPI SF patch number? In the ACPI 
> sources there 
> are a few numbers used:
> 
> ACPI_CA_VERSION
> TOSHIBA_ACPI_VERSION
> etc.
> 
> Those version numbers tell me the versions of the different modules 
> within ACPI. If I understand it correctly, there is currently 
> no way to 
> determine the "overall" ACPI patch version (aka the SF patch version) 
> from a running kernel and possibly not even from the sources without 
> using the time stamp.
> 
> If so, I think it should change. Otherwise, please tell me how to 
> determine this from the kernels syslog.

ACPI_CA_VERSION is printed on boot and also iirc in /proc/acpi/info.

It changes every release, except for the most recent one. I should've
updated it but I was in a hurry to go on vacation and didn't.

-- Andy

PS this would've been a good question for acpi-support.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

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

* Re: How to determine ACPI SF patch version from running kernel?
       [not found] ` <F760B14C9561B941B89469F59BA3A8470255EEBD-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
@ 2003-08-04  9:11   ` Bas Mevissen
  0 siblings, 0 replies; 4+ messages in thread
From: Bas Mevissen @ 2003-08-04  9:11 UTC (permalink / raw)
  To: Grover, Andrew; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Grover, Andrew wrote:

  (ACPI_CA_VERSION)
> It changes every release, except for the most recent one. I should've
> updated it but I was in a hurry to go on vacation and didn't.
> 

 From acpi-20030730-2.4.22-pre8.diff.gz:

diff -Naur -X /root/bin/dontdiff a/include/acpi/acconfig.h 
b/include/acpi/acconfig.h
--- a/include/acpi/acconfig.h	2003-07-30 10:06:09.000000000 -0700
+++ b/include/acpi/acconfig.h	2003-07-30 10:07:29.000000000 -0700
@@ -64,7 +64,7 @@

  /* Version string */

-#define ACPI_CA_VERSION                 0x20030619
+#define ACPI_CA_VERSION                 0x20030714

The ACPI_CA_VERSION did change, but not to the number of the patch. My 
question was how to determine the _patch_ version and not just the 
version of the ACPI_CA stuff.

(Maybe I see it wrong, but I guess that ACPI_CA is just one part of the 
whole patch.)

For debugging it really helps if the _patch_ number can be easely 
retrieved from the source and at runtime.

For example, if you only make a change to the Toshiba-specific stuff, 
then I would say keep the ACPI_CA number the same and just update the 
overall patch number.

> PS this would've been a good question for acpi-support.
> 

If I only were asking for _where_ to find it, it was.

Regards,

Bas.








-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

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

* RE: How to determine ACPI SF patch version from running kernel?
@ 2003-08-05  6:42 Grover, Andrew
  0 siblings, 0 replies; 4+ messages in thread
From: Grover, Andrew @ 2003-08-05  6:42 UTC (permalink / raw)
  To: Bas Mevissen; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Bas Mevissen [mailto:ml-Y9IUUvl1dgU0Iwp8Nzs06g@public.gmane.org] 
>   (ACPI_CA_VERSION)
> > It changes every release, except for the most recent one. I 
> should've
> > updated it but I was in a hurry to go on vacation and didn't.
> > 
> 
>  From acpi-20030730-2.4.22-pre8.diff.gz:
> -#define ACPI_CA_VERSION                 0x20030619
> +#define ACPI_CA_VERSION                 0x20030714
> 
> The ACPI_CA_VERSION did change, but not to the number of the 
> patch. My 
> question was how to determine the _patch_ version and not just the 
> version of the ACPI_CA stuff.
> 
> (Maybe I see it wrong, but I guess that ACPI_CA is just one 
> part of the 
> whole patch.)

Technically you're right but except for the most recent patch (which was
a mistake like I mentioned) ACPI_CA_VERSION gets incremented in every
patch on sf.net so the easiest thing is to just use this to
differentiate between sf.net patches.

-- Andy


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

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

end of thread, other threads:[~2003-08-05  6:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-04  6:34 How to determine ACPI SF patch version from running kernel? Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A8470255EEBD-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-08-04  9:11   ` Bas Mevissen
  -- strict thread matches above, loose matches on Subject: below --
2003-08-05  6:42 Grover, Andrew
2003-07-31  8:25 Bas Mevissen

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