Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [07-2007 Date Index] [Date Next] || [Thread Prev] [07-2007 Thread Index] [Thread Next]

[openbeos] Re: Some questions :)

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 11 Jul 2007 18:33:21 +0200
> 1. ACPI do this work on other platform like Zeta or does it only work for
> than Haiku?

It should works on BeOS, Zeta and Haiku. It comes as a bus manager kernel module
(acpi), which depends on one generic kernel module (dpc), plus IIRC three kernel
drivers called acpi_button, acpi_thermal and acpi_ns_dump

> 2. ACPI how do I build that? do I need to make some sort of package?

Unfortunatly, these no pseudo-target to build all ACPI related stuffs. Yet.

The actual targets to build are:
acpi
dpc
acpi_button
acpi_thermal
acpi_ns_dump

When built, install them here:

~/config/add-ons/kernel/bus_managers/acpi
~/config/add-ons/kernel/generic/dpc
~/config/add-ons/kernel/drivers/bin/acpi_button
~/config/add-ons/kernel/drivers/dev/power/acpi_button relatively symlinked to
previous binary.
~/config/add-ons/kernel/drivers/bin/acpi_thermal
~/config/add-ons/kernel/drivers/dev/power/acpi_thermal relatively symlinked to
previous binary.
~/config/add-ons/kernel/drivers/bin/acpi_ns_dump
~/config/add-ons/kernel/drivers/dev/power/acpi_ns_dump relatively symlinked to
previous binary.

Then, open a Terminal and type this:

$ cat /dev/power/namespace

If you're lucky, it wont crash ;-) but dump your system ACPI namespace.
In such case, stress your luck and type:

$ cat /dev/power/thermal/*



Last but not least, you may find Bryan Varner blog entries about his work on
Haiku's ACPI quite interesting or even funny:

http://bryan.varnernet.com/index.php?s=ACPI&paged=1

It started it out from there:
http://bryan.varnernet.com/2006/02/24/haiku-acpi-could-use-your-assistance/

... as was reported by HaikuNews:
http://haikunews.org/index.php?id=1165

- Philippe





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.