Ubuntu Thinkpad X1 Fan Regulator
My assumption was wrong, unfortunately. G | * 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 43 00 10 | G C | * 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 83 00 10 |. HERE
c /* gcc -o tmp `pkg-config --libs --cflags glib-2 0` tmp c * * # modprobe ec_sys * * # watch -n 0. HERE
Feel free to check forks fine people made or issue a Hack to control the keyboard backlight level on a Thinkpad Lenovo X1 Carbon Touch tmp.. 1 hexdump -C /sys/kernel/debug/ec/ec0/io * * 00000000 a7 05 a0 e2 00 86 05 00 00 00 47 00 00 03 00 10 |.. h>#include<fcntl h>#include<errno h>char levels[] = {0x03,0x43,0x83};staticvoidusage (char **argv){g_print ('%s [level]n', argv[0]);g_print ('Where level is between 1 and 3n');}intmain (int argc, char **argv){int fd;int level;if (argc < 2) {usage (argv);return1; } level = atoi(argv[1]);if (level < 0 || level > 3) {usage (argv);return1; } fd = open ('/sys/kernel/debug/ec/ec0/io', O_RDWR);if (fd < 0) {g_print ('open: %sn', g_strerror (errno));return1; }if (lseek (fd, 0xd, SEEK_CUR) < 0) {g_print ('seek: %sn', g_strerror (errno));return1; }if (write (fd, &levels[level], 1) < 0) {g_print ('write: %sn', g_strerror (errno));return1; }return0;} commented Dec 29, 2013.. I don't own a ThinkPad laptop for years now, and I don't plan to continue development on this.. G | * * # /tmp 0 * # /tmp 1 * # /tmp 2 **/#include<glib h>#include<sys/stat. 3
Apr 19, 2016 ThinkPad Fan Control Unfortunately this project is NOT in the active development.. I have still problem with fan on my ThinkPad T440s I spent lot of time with googling and trying diferent configurations but my problem is still persit. 5ebbf469cd Click