Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 16:40:10 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426942 - in head/sysutils/acpi_call: . files
Message-ID:  <201611231640.uANGeAXU030771@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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, &params) == -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611231640.uANGeAXU030771>