public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* new pmtools available for testing
@ 2006-11-21 18:24 Alexey Starikovskiy
  2006-11-21 18:27 ` Alexey Starikovskiy
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Alexey Starikovskiy @ 2006-11-21 18:24 UTC (permalink / raw)
  To: Brown, Len; +Cc: linux-acpi

Hi,

acpixtract perl-script is being replaced by C xtract utility. Please test.
Advances are:
    - Perl not required :)
    - no 64k output limit of perl-script
    - --list option shows all tables in the file
    - unified interface with acpidump
    - faster(?)

Thanks in advance,
    Alex.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: new pmtools available for testing
@ 2006-11-27 18:13 Moore, Robert
  2006-11-28 10:03 ` Thomas Renninger
  0 siblings, 1 reply; 16+ messages in thread
From: Moore, Robert @ 2006-11-27 18:13 UTC (permalink / raw)
  To: Alexey Starikovskiy, trenn; +Cc: Brown, Len, linux-acpi

I don't know what's going on here.

I wrote acpixtract in C in order to get away from Perl and Perl issues.

I certainly hope that we don't have yet another version of acpixtract. I
don't mind changing things such as the interface, if everyone agrees
it's for the better. But it seems like an incredible waste of energy to
keep rewriting these kinds of utilities.



> -----Original Message-----
> From: Alexey Starikovskiy
[mailto:alexey.y.starikovskiy@linux.intel.com]
> Sent: Wednesday, November 22, 2006 8:41 AM
> To: trenn@suse.de
> Cc: Brown, Len; linux-acpi@vger.kernel.org; Moore, Robert
> Subject: Re: new pmtools available for testing
> 
> Thomas Renninger wrote:
> > On Wed, 2006-11-22 at 17:36 +0300, Alexey Starikovskiy wrote:
> >
> >> Thomas Renninger wrote:
> >>
> >>> On Tue, 2006-11-21 at 21:24 +0300, Alexey Starikovskiy wrote:
> >>>
> >>>
> >>>> Hi,
> >>>>
> >>>> acpixtract perl-script is being replaced by C xtract utility.
Please
> test.
> >>>> Advances are:
> >>>>     - Perl not required :)
> >>>>     - no 64k output limit of perl-script
> >>>>     - --list option shows all tables in the file
> >>>>     - unified interface with acpidump
> >>>>     - faster(?)
> >>>>
> >>>> Thanks in advance,
> >>>>
> >>>>
> >>> Is this acpixtract that already existed in ACPICA since some time
and
> >>> now moved to pmtools?
> >>>
> >>>
> >> Nope, it's duplicated effort.
> >>
> >
> > Hmm, you should talk to (I think acpixtract C prog came from) Bob?
> > Someone should decide which should be the final one everybody should
> > use...
> > If one distri or application starts to package and use the one,
others
> > start to use the other, we might have compatibility problems in some
> > scripts in future.
> >
> >
> New utility is names 'xtract' so it does not clash with 'acpixtract'
> either perl-script or ACPICA utility.
> If are used to acpixtract, no need to change your habits. If you
somehow
> tired of crippled interface, you could try new utility.
> > The linuxfirmwarekit makes use of ACPICA's acpixtract AFAIK
(hardcoded
> > by something like system("acpixtract acpidump");).
> > I also packaged this one into SUSE pmtools package (since SUSE
10.1?).
> > -> I'd prefer to stick to the ACPICA's acpixtract..
> >
> no problem at all.
> 
> Regards,
>     Alex

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: new pmtools available for testing
@ 2006-12-12 22:35 Moore, Robert
  0 siblings, 0 replies; 16+ messages in thread
From: Moore, Robert @ 2006-12-12 22:35 UTC (permalink / raw)
  To: Len Brown, Alexey Starikovskiy; +Cc: Mattia Dongili, linux-acpi

I can take a look at it early next year.


> -----Original Message-----
> From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-
> owner@vger.kernel.org] On Behalf Of Len Brown
> Sent: Monday, December 11, 2006 10:20 AM
> To: Alexey Starikovskiy; Moore, Robert
> Cc: Mattia Dongili; linux-acpi@vger.kernel.org
> Subject: Re: new pmtools available for testing
> 
> Bob,
> Any chance you could tweak the C acpixtract so it can handle
> the parameter format of the old perl script?
> 
> I like the newer way better, but it looks like  backwards
compatibility
> is within our grasp without mucking it up, so I think we should do it.
> 
> On Sunday 10 December 2006 12:11, Alexey Starikovskiy wrote:
> > Mattia Dongili wrote:
> > > On Tue, Nov 21, 2006 at 09:24:25PM +0300, Alexey Starikovskiy
wrote:
> > >
> > >> Hi,
> > >>
> > >> acpixtract perl-script is being replaced by C xtract utility.
Please
> test.
> > >>
> > >
> > > Hello, I'm considering an update to the acpidump Debian package,
so is
> > > this version (20061121) available online somewhere?
> > > Should it just appear in Len's kernel.org FTP when it's ready?
> > >
> > > Thanks
> > >
> > Len is about to put 20061130 version out, with acpixtract from ACPI
CA
> > package.
> 
> Well, I pushed this up to the ftp site, and it is functional, but the
> problem
> is that the new acpixtract from ACPICA has different parameters, so it
> isn't backwards compatible with the old per acpixtract.
> 
> the examples in pmtools/README include invocations like this:
>     $ cat email | ./acpixtract DSDT > DSDT
>     $ cat email | ./acpixtract FACP | ./acpitbl
>     $ ./acpixtract FACP acpidump.out > FACP.bin
>     $ ./acpixtract -n 3 SSDT acpidump.out > SSDT3.bin
> 
> but the new acpixtract looks like this:
> 
> # ./acpixtract FACP acpidump.out > FACP.bin
> # cat FACP.bin
> Could not open FACP
> #
> # ./acpixtract -n 3 SSDT acpidump.out > SSDT3.bin
> # cat SSDT3.bin
> Usage: acpixtract [option] <InputFile>
> 
> Extract binary ACPI tables from text acpidump output
> Default invocation extracts all DSDTs and SSDTs
> Version 20060324
> 
> Options:
>  -a                    Extract all tables, not just DSDT/SSDT
>  -l                    List table summaries, do not extract
>  -s<Signature>         Extract all tables named <Signature>
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi"
in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2006-12-12 22:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 18:24 new pmtools available for testing Alexey Starikovskiy
2006-11-21 18:27 ` Alexey Starikovskiy
2006-11-22 13:55 ` Thomas Renninger
2006-11-22 14:36   ` Alexey Starikovskiy
2006-11-22 15:25     ` Thomas Renninger
2006-11-22 16:40       ` Alexey Starikovskiy
2006-12-10 15:50 ` Mattia Dongili
2006-12-10 17:11   ` Alexey Starikovskiy
2006-12-11 18:20     ` Len Brown
  -- strict thread matches above, loose matches on Subject: below --
2006-11-27 18:13 Moore, Robert
2006-11-28 10:03 ` Thomas Renninger
2006-11-28 10:24   ` Alexey Starikovskiy
2006-11-28 11:14     ` Thomas Renninger
2006-11-28 14:00       ` Alexey Starikovskiy
2006-11-29 16:31         ` Bruno Ducrot
2006-12-12 22:35 Moore, Robert

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