Recently I've implemented acpi_call module https://gitorious.org/acpi_call-freebsd
Installation (requires kernel sources):
Basic usage:
Soon I will make port for it, but there is one issue: when the module is loaded from loader.conf it crashes the system early in boot process: http://i.imgur.com/fLPen.png (I've added some printf's in acpi.c)
Can someone help me with this issue?
Installation (requires kernel sources):
Code:
$ git clone git://gitorious.org/acpi_call-freebsd/acpi_call-freebsd.git acpi_call
$ cd acpi_call
$ make && make util
# kldload ./acpi_call.ko
Basic usage:
Code:
# ./acpi_call -p '\_OS'
Microsoft Windows NT
# ./acpi_call -p '\_OSI' -s 'Windows'
0
# ./acpi_call -p '\_OSI' -s 'Windows 2000'
4294967295
# ./acpi_call -p '\_OSI' -s 'Windows 2000' -v
Path: \_OSI
Number of arguments: 1
Argument 1 type: String
Argument 1 value: Windows 2000
Status: 0
Result: 4294967295
Soon I will make port for it, but there is one issue: when the module is loaded from loader.conf it crashes the system early in boot process: http://i.imgur.com/fLPen.png (I've added some printf's in acpi.c)
Can someone help me with this issue?