svn commit: r426942 - in head/sysutils/acpi_call: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Nov 23 16:40:12 UTC 2016
Author: danfe
Date: Wed Nov 23 16:40:10 2016
New Revision: 426942
URL: https://svnweb.freebsd.org/changeset/ports/426942
Log:
When ioctl() on /dev/acpi fails with `Device not configured' message,
suggest most probable cause of this to reduce number of questions on
the mailing lists; slightly improve port description text while here.
Added:
head/sysutils/acpi_call/files/
head/sysutils/acpi_call/files/patch-acpi__call__util.c (contents, props changed)
Modified:
head/sysutils/acpi_call/pkg-descr
Added: head/sysutils/acpi_call/files/patch-acpi__call__util.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/acpi_call/files/patch-acpi__call__util.c Wed Nov 23 16:40:10 2016 (r426942)
@@ -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, ¶ms) == -1)
+ {
+ perror("ioctl");
++ fprintf(stderr, "(Is `acpi_call.ko' kernel module loaded?)\n");
+ return 1;
+ }
+
Modified: head/sysutils/acpi_call/pkg-descr
==============================================================================
--- head/sysutils/acpi_call/pkg-descr Wed Nov 23 16:39:02 2016 (r426941)
+++ head/sysutils/acpi_call/pkg-descr Wed Nov 23 16:40:10 2016 (r426942)
@@ -1 +1 @@
-Kernel module for calling arbitrary ACPI methods from userspace.
+Kernel module and utility for calling arbitrary ACPI methods from userspace.
More information about the svn-ports-head
mailing list