有在deepin15.4上装thinkfan成功的吗?
Tofloor
poster avatar
kaliliu
deepin
2017-06-01 18:27
Author
我在三台thinkpad(T43 X61T  T430)上都安装了deepin15.4,且都安装了thinkfan,为啥都启动不了thinkfan啊!?求大神帮忙!
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
jingle
deepin
2017-06-01 18:45
#1
Reply View the author
avatar
jingle
deepin
2017-06-01 18:45
#2
sudo /etc/init.d/thinkfan start
Reply View the author
avatar
kaliliu
deepin
2017-06-02 15:36
#3
https://bbs.deepin.org/post/140371
sudo /etc/init.d/thinkfan start

我的这样启动没有任何反应,需要service thinkfan start/restart/stop/status才会有提示。但是启动失败!
Reply View the author
avatar
kaliliu
deepin
2017-06-02 15:37
#4
@Linux-T430:~$ sudo service thinkfan start
[sudo] 的密码:
Job for thinkfan.service failed because the control process exited with error code.
See "systemctl status thinkfan.service" and "journalctl -xe" for details.

@Linux-T430:~$ systemctl status thinkfan.service
● thinkfan.service - simple and lightweight fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since 五 2017-06-02 07:36:20 CST; 41s ago
  Process: 10337 ExecStart=/usr/sbin/thinkfan (code=exited, status=4)
Reply View the author
avatar
jingle
deepin
2017-06-02 22:06
#5
https://bbs.deepin.org/post/140371
我的这样启动没有任何反应,需要service thinkfan start/restart/stop/status才会有提示。但是启动失败! ...

按照上的配置了吗
Reply View the author
avatar
kaliliu
deepin
2017-06-03 01:22
#6
https://bbs.deepin.org/post/140371
按照上的配置了吗

没看懂。。。
Reply View the author
avatar
kaliliu
deepin
2017-06-07 22:06
#7
https://bbs.deepin.org/post/140371
按照上的配置了吗

http://www.chinastor.com/a/linux/ubuntu/0420134462015.html
http://www.cnblogs.com/henryau/a ... buntu_thinkfan.html

我是按照这两个配置的,但是linuxmint就各种成功,但是我又重装了deepin,直接thinkfan,然后按照上面的配置了,仍然是启动失败!
在其他版本的linux里,sudo modprobe -rv thinkpad_acpi
sudo modprobe -v thinkpad_acpi是可以执行的,但是deepin有问题!不知道是不是deepin的内核有专门的改动还是怎么回事!
你们员工没有用thinkpad的吗?有的话可以测试一下的,真的有问题的感觉!中午刚刚又重装了一次deepin,更新完毕,重启!然后安装thinkfan,按照你给的文章配置,最后启动仍然错误!
Reply View the author
avatar
kaliliu
deepin
2017-06-07 22:10
#8
https://bbs.deepin.org/post/140371
http://www.chinastor.com/a/linux/ubuntu/0420134462015.html
http://www.cnblogs.com/henryau/archive/20 ...

https://bbs.deepin.org/user/48640
T430:~$ sudo modprobe -rv thinkpad_acpi && modprobe -v thinkpad_acpi
modprobe: FATAL: Module thinkpad_acpi is in use.

别的系统上的话,直接就显示出加载成功的信息!deepin就这个!

其次,/proc/acpi/ibm/thermal这个文件deepin上没有,如果linuxmint或者kali,直接存在!按照http://www.cnblogs.com/henryau/archive/2012/03/03/ubuntu_thinkfan.html的文章,仍然没有此文件!
Reply View the author
avatar
jingle
deepin
2017-06-07 22:13
#9
https://bbs.deepin.org/post/140371
@jingle
T430:~$ sudo modprobe -rv thinkpad_acpi && modprobe -v thinkpad_acpi
modprobe: FATAL: Mod ...

https://bbs.deepin.org/user/32991 看看
Reply View the author
avatar
yangbo
deepin
2017-06-07 22:45
#10
日志的嘛...
Reply View the author
avatar
yangbo
deepin
2017-06-07 22:46
#11
以及thinkfan相关的配置文件
Reply View the author
avatar
yangbo
deepin
2017-06-07 22:51
#12
deepin上面可能用了thinkpad_acpi的backlight,rmmod应该没戏
Reply View the author
avatar
kaliliu
deepin
2017-06-07 22:59
#13

小白一枚,请详细说明下如何提供日志,及提供那些日志可以吗?谢谢!
Reply View the author
avatar
kaliliu
deepin
2017-06-07 23:01
#14
https://bbs.deepin.org/post/140371
以及thinkfan相关的配置文件

1、cat /etc/thinkfan.conf
(0,        0,        55)
(1,        48,        60)
(2,        50,        61)
(3,        52,        63)
(4,        56,        65)
(5,        59,        66)
(7,        63,        32767)

sensors /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
sensors /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
sensors /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
sensors /sys/devices/virtual/hwmon/hwmon0/temp1_input

2、cat /etc/default/thinkfan
START=yes
DAEMON_ARGS="-q"

3、cat /etc/modprobe.d/thinkfan.conf
options thinkpad_acpi fan_control=1



Reply View the author
avatar
jingle
deepin
2017-06-07 23:03
#15
https://bbs.deepin.org/post/140371
小白一枚,请详细说明下如何提供日志,及提供那些日志可以吗?谢谢!

sudo deepin-feedback-cli 命令 执行下 上传生成的压缩包
Reply View the author
avatar
kaliliu
deepin
2017-06-07 23:14
#16

我勒个去,一转到deepin就什么都不想动手了,是我太懒了!的确一看日志,啥都清楚了!谢谢提醒,再次感谢!搞定!
Reply View the author
avatar
kaliliu
deepin
2017-06-07 23:20
#17
https://bbs.deepin.org/post/140371
sudo deepin-feedback-cli 命令 执行下 上传生成的压缩包

已经搞定,万分感谢!
Reply View the author
avatar
jingle
deepin
2017-06-07 23:21
#18
https://bbs.deepin.org/post/140371
已经搞定,万分感谢!

Reply View the author
avatar
yangbo
deepin
2017-06-07 23:23
#19
/etc/thinkfan.conf

tp_fan /proc/acpi/ibm/fan
tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)

(0, 0,  55)
(1, 48, 60)
(2, 50, 61)
(3, 52, 63)
(4, 56, 65)
(5, 59, 66)
(7, 63, 32767)

/etc/modprobe.d/thinkfan.conf
options thinkpad_acpi fan_control=1

然后update-initramfs -u
重启

重启后还是不能用把thinkpfan -n的输出贴来看看
Reply View the author
avatar
kaliliu
deepin
2017-06-07 23:56
#20
https://bbs.deepin.org/post/140371
/etc/thinkfan.conf

tp_fan /proc/acpi/ibm/fan

这样肯定不能启动!因为deepin中这个文件没有/proc/acpi/ibm/thermal。安装了lm-sensor,然后sh -c yes...也是一样的没有:)
我的解决方法是注释掉tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3),就可以正常启动了!

当然,如果你有好的办法让/proc/acpi/ibm/thermal出现,那就更完美了!

T430:~# thinkfan -n

/proc/acpi/ibm/thermal: No such file or directory

add_sensor: Error getting temperature.
Refusing to run without usable config file!
Reply View the author
1 / 2
To page