Re: [gpm] Broken Bios



On 3/25/06, David Berg <drberg1000 gmail com> wrote:
> On 3/25/06, Richard Hughes <hughsient gmail com> wrote:
> > On Sat, 2006-03-25 at 08:16 -0600, David Berg wrote:
> > > On 3/25/06, Richard Hughes <hughsient gmail com> wrote:
> > > > On Fri, 2006-03-24 at 23:10 -0600, David Berg wrote:
> > > > > Could someone help me out with what I need to modify to make g-p-m
> > > > > ignore the state?
> > > >
> > > > Hmm. What is the make and model of your laptop? We should remove the
> > > > "button" capability in HAL if the hardware is known busted on that
> > > > model, then g-p-m will be unaware of the lid completely.
> > > It is a Linux Certified 2210D which is built with a Uniwill 245II0 --
> > > I still need to file a bug report with the manufacturer.
> > I wouldn't mind betting that your DSDT is broken.
> >
> > Can you look at http://acpi.sourceforge.net/dsdt/index.php and try to
> > dump your asl file, and then try to recompile it to check it?
>
> DSDT and ASL are two acronyms I haven't heard before.  I'll check out
> the site and see what I can learn.  I'll let you know once I've
> figured something out or get stumped.

Correct me if I'm headed down the wrong path.  I'm following the
direcions at http://www.cpqlinux.com/acpi-howto.html#basic_steps.

when trying to build pacpidump I get as slew of error messages:

dberg ubuntu:~/pacpidump$ make
cc -I. -Icompat -include config.h.linux   -c -o acpidump.o acpidump.c
cc -I. -Icompat -include config.h.linux   -c -o acpi.o acpi.c
acpi.c: In function 'acpi_print_dsdt_definition':
acpi.c:68: warning: pointer targets in passing argument 1 of
'acpi_trim_string' differ in signedness
acpi.c:69: warning: pointer targets in passing argument 1 of
'acpi_trim_string' differ in signedness
acpi.c:70: warning: incompatible implicit declaration of built-in
function 'strncpy'
acpi.c:70: warning: pointer targets in passing argument 2 of 'strncpy'
differ in signedness
acpi.c:72: warning: pointer targets in passing argument 2 of 'strncpy'
differ in signedness
acpi.c:75: error: missing terminating " character
acpi.c:76: error: stray '\' in programacpi.c:77: error: stray '\' in program
acpi.c:77: error: missing terminating " character
acpi.c:78:2: error: invalid suffix "x" on integer constant
acpi.c:78: error: 'x' undeclared (first use in this function)
acpi.c:78: error: (Each undeclared identifier is reported only once
acpi.c:78: error: for each function it appears in.)
acpi.c:79: error: stray '\' in program
acpi.c:79: error: missing terminating " character
acpi.c:80: error: stray '\' in program
acpi.c:80: error: missing terminating " character
acpi.c:81:2: error: invalid suffix "x" on integer constant
acpi.c:82: error: syntax error before 'dsdt_header'
acpi.c: In function 'init_namespace':
acpi.c:136: warning: pointer targets in passing argument 2 of
'aml_create_name' differ in signedness
acpi.c:139: warning: pointer targets in assignment differ in signedness
acpi.c: In function 'acpi_dump_dsdt':
acpi.c:156: warning: incompatible implicit declaration of built-in
function 'bzero'
acpi.c: In function 'acpi_print_sdt':
acpi.c:180: warning: pointer targets in passing argument 1 of
'acpi_print_string' differ in signedness
acpi.c:184: warning: pointer targets in passing argument 1 of 'acpi_print_string
' differ in signedness
acpi.c:186: warning: pointer targets in passing argument 1 of
'acpi_print_string' differ in signedness
acpi.c:189: warning: pointer targets in passing argument 1 of
'acpi_print_string' differ in signedness
acpi.c:193: warning: incompatible implicit declaration of built-in
function 'memcpy'
acpi.c: In function 'acpi_print_rsd_ptr':
acpi.c:332: warning: pointer targets in passing argument 1 of
'acpi_print_string' differ in signedness
make: *** [acpi.o] Error 1
dberg ubuntu:~/pacpidump$

Please tell me that someone has gone through and corrected all these
errors and I don't have to freshen my programming skills on something
as mundane as this.

--Dave


# build pacpidump.tar.gz (modify the Makefile to build on linux -- it
has good comments and it is very short)




>
> --Dave
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]