Well I have a Dell Inspiron 5100 and APM won't work with it. I just found this out.
I'm following the instructions found
http://cabibbo.physics.wm.edu/~bryan...piron5100.html but when I patch the osl.c I get this error:
Hunk #1 succeeded at 69 (offset -1 lines).
Hunk #2 FAILED at 220.
1 out of 2 hunks FAILED -- saving rejects to file osl.c.rej
Then I go ahead and try and compile the kernel I get this error:
acpi_dsdt.c:793:66: warning: multi-line string literals are deprecated
acpi_dsdt.c:793:66: warning: null character(s) preserved in literal
acpi_dsdt.c:793:66: missing terminating " character
acpi_dsdt.c:78:53: possible start of unterminated string literal
acpi_dsdt.c:795:6: warning: no newline at end of file
make[4]: *** [acpi_dsdt.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers/acpi/tables'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers/acpi/tables'
make[2]: *** [_subdir_tables] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers/acpi'
make[1]: *** [_subdir_acpi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers'
make: *** [_dir_drivers] Error 2
Any ideas?
Thanks,
J