Skip to contentSkip to conversation

new pmtools available for testing

DISCUSSION Alexey Starikovskiy 4 participants 9 messages Nov 21, 2006 – Dec 11, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

Here they are...

Quoted 16 lines · Alexey Starikovskiy

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.
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Alexey Starikovskiy
Quoted 11 lines · Alexey Starikovskiy

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?

If yes, I can say that it's working stable (at least older ACPICA vers) and makes live easier.

Thanks,

Thomas

#3 lore raw
Quoted 12 lines · Thomas Renninger
Quoted 10 lines · Alexey Starikovskiy

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(?)

Quoted 6 lines
Quoted 2 lines

Thanks in advance,

Is this acpixtract that already existed in ACPICA since some time and now moved to pmtools?

Nope, it's duplicated effort.

Quoted 12 lines

If yes, I can say that it's working stable (at least older ACPICA vers) and makes live easier.

Thanks,

Thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 13 lines · Alexey Starikovskiy
Quoted 12 lines · Thomas Renninger
Quoted 10 lines · Alexey Starikovskiy

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(?)

Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

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.

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...

Thanks for any clarifications on this one,

Thomas

#5 lore raw
Quoted 27 lines · Thomas Renninger
Quoted 15 lines · Alexey Starikovskiy
Quoted 13 lines · Thomas Renninger
Quoted 10 lines · Alexey Starikovskiy

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(?)

Quoted 9 lines
Quoted 7 lines
Quoted 3 lines

Thanks in advance,

Is this acpixtract that already existed in ACPICA since some time and now moved to pmtools?

Nope, it's duplicated effort.

Quoted 8 lines

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.

Quoted 5 lines

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

#6 lore raw
In reply to Alexey Starikovskiy
Quoted 3 lines · Alexey Starikovskiy

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

Signature · 2 lines
mattia
:wq!
#7 lore raw
Quoted 4 lines · Mattia Dongili
Quoted 2 lines · Alexey Starikovskiy

Hi,

Quoted 9 lines
Quoted 2 lines

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.

Regards,
Alex.

reviewer
#8 lore raw

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.

Quoted 8 lines · Alexey Starikovskiy
Quoted 7 lines · Mattia Dongili
Quoted 4 lines · Alexey Starikovskiy

Hi,

acpixtract perl-script is being replaced by C xtract utility. Please test.

Quoted 8 lines
Quoted 6 lines

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>