aboutsummaryrefslogtreecommitdiff
path: root/sysutils/acpi_call
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2016-11-23 16:40:10 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2016-11-23 16:40:10 +0000
commitc6575e46c5c83b01ded9e61582b93e6778969125 (patch)
treefaf93f8e5cb77b8b17f755d2ce04cc3c5000c658 /sysutils/acpi_call
parent7760321433463e0044135d836d4d07dfc294bb0a (diff)
Notes
Diffstat (limited to 'sysutils/acpi_call')
-rw-r--r--sysutils/acpi_call/files/patch-acpi__call__util.c10
-rw-r--r--sysutils/acpi_call/pkg-descr2
2 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/acpi_call/files/patch-acpi__call__util.c b/sysutils/acpi_call/files/patch-acpi__call__util.c
new file mode 100644
index 000000000000..e905c117bac6
--- /dev/null
+++ b/sysutils/acpi_call/files/patch-acpi__call__util.c
@@ -0,0 +1,10 @@
+--- acpi_call_util.c.orig 2011-11-07 05:35:10 UTC
++++ acpi_call_util.c
+@@ -102,6 +102,7 @@ int main(int argc, char * argv[])
+ if (ioctl(fd, ACPIIO_CALL, &params) == -1)
+ {
+ perror("ioctl");
++ fprintf(stderr, "(Is `acpi_call.ko' kernel module loaded?)\n");
+ return 1;
+ }
+
diff --git a/sysutils/acpi_call/pkg-descr b/sysutils/acpi_call/pkg-descr
index ec016259ace7..07d760528683 100644
--- a/sysutils/acpi_call/pkg-descr
+++ b/sysutils/acpi_call/pkg-descr
@@ -1 +1 @@
-Kernel module for calling arbitrary ACPI methods from userspace.
+Kernel module and utility for calling arbitrary ACPI methods from userspace.