mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 18:36:28 -04:00
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.
This commit is contained in:
parent
7760321433
commit
c6575e46c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426942
2 changed files with 11 additions and 1 deletions
10
sysutils/acpi_call/files/patch-acpi__call__util.c
Normal file
10
sysutils/acpi_call/files/patch-acpi__call__util.c
Normal file
|
@ -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;
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
Kernel module for calling arbitrary ACPI methods from userspace.
|
||||
Kernel module and utility for calling arbitrary ACPI methods from userspace.
|
||||
|
|
Loading…
Add table
Reference in a new issue