mkottman / acpi_call

A linux kernel module that enables calls to ACPI methods through /proc/acpi/call. Now with support for Integer, String and Buffer parameters.
309 stars 130 forks source link

bug since kernel-3.12 #42

Closed ghost closed 10 years ago

ghost commented 10 years ago

hi guys,i've been using the acpi_call and the turn_off_gpu.sh method for a while,but since kernel-3.12 update,there seem to be a bug.To see what happen,i comment out related lines in my autostart scripts and manually compile and run it.what i did: go to the folder that contains the code %make %sudo insmod acpi_call.ko %sudo ./example/turn_off_gpu.sh

yes,it seems that a method in the turn_off_gpu.sh works(as printed on the screen),but a few seconds later ,a strange thing happened,the terminal become unable to type in anything,meanwhile through conky i see the cpu keep running at highest speed.But my openbox's keyboard shortcut still works so i can still use firefox or anything,but the terminal emulator(lilyterm/uxterm/xterm,none of them works).

something about my system: kernel:3.12.1-2-ck gcc 4.8.2 and i got a samsung ativ book 5,with a i5-3337u and amd hd8750m gpu. i'm not so much a hacker so that's all i know. many thanks!

ghost commented 10 years ago

it works again with linux 3.13