all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* switch off cpu fan on lenovo g50-30
@ 2019-07-04  6:42 znavko
  2019-07-04  6:56 ` pelzflorian (Florian Pelz)
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: znavko @ 2019-07-04  6:42 UTC (permalink / raw)
  To: help-guix

Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch off CPU fan.
Basically this laptop had no cpu fan but only passive cooling system. I had inserted cpu fan by my hands and there were fan power joint on the motherboard. This is nice. I hope Guix Linux-Libre has necessary fan control driver for my laptop.

There is package 'thinkfan' in Guix repository. Would you advice me how to config it and is it possible to switch off fan?

# thinkfan

ERROR: /etc/thinkfan.conf: No such file or directory
# lsmod
Module Size Used by
mmc_block 49152 0
fuse 114688 2
ccm 20480 9
joydev 24576 0
intel_rapl 24576 0
intel_soc_dts_thermal 20480 0
intel_soc_dts_iosf 20480 1 intel_soc_dts_thermal
intel_powerclamp 20480 0
coretemp 20480 0
kvm 647168 0
irqbypass 16384 1 kvm
punit_atom_debug 16384 0
cmdlinepart 16384 0
snd_hda_codec_hdmi 57344 1
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 77824 1 snd_hda_codec_conexant
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_conexant
rtsx_usb_ms 24576 0
intel_spi_platform 16384 0
intel_spi 24576 1 intel_spi_platform
rtsx_usb_sdmmc 32768 0
crct10dif_pclmul 16384 1
spi_nor 45056 1 intel_spi
memstick 20480 1 rtsx_usb_ms
mtd 65536 3 cmdlinepart,intel_spi
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
arc4 16384 2
crc32_pclmul 16384 0
uvcvideo 98304 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
ath9k 155648 0
videobuf2_common 45056 2 videobuf2_v4l2,uvcvideo
rtsx_usb 24576 2 rtsx_usb_sdmmc,rtsx_usb_ms
ath9k_common 24576 1 ath9k
videodev 204800 3 videobuf2_v4l2,uvcvideo,videobuf2_common
media 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ath9k_hw 479232 2 ath9k_common,ath9k
usbmouse 16384 0
ath3k 24576 0
usbkbd 16384 0
hci_uart 122880 0
btusb 49152 0
ghash_clmulni_intel 16384 0
btqca 20480 1 hci_uart
ath 32768 3 ath9k_common,ath9k,ath9k_hw
btrtl 20480 2 hci_uart,btusb
btbcm 16384 2 hci_uart,btusb
btintel 24576 2 hci_uart,btusb
cryptd 24576 1 ghash_clmulni_intel
mac80211 843776 1 ath9k
bluetooth 577536 7 btrtl,btqca,btintel,hci_uart,btbcm,ath3k,btusb
i915 1540096 6
r8169 81920 0
cec 45056 1 i915
input_leds 16384 0
drm_kms_helper 172032 1 i915
psmouse 151552 0
snd_hda_intel 45056 3
cfg80211 704512 4 ath9k_common,ath9k,ath,mac80211
realtek 20480 1
i2c_i801 32768 0
serio_raw 20480 0
lpc_ich 24576 0
drm 421888 7 drm_kms_helper,i915
snd_hda_codec 135168 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
i2c_algo_bit 16384 1 i915
fb_sys_fops 16384 1 drm_kms_helper
snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
snd_hwdep 20480 1 snd_hda_codec
sysimgblt 16384 1 drm_kms_helper
snd_pcm 110592 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 40960 1 snd_pcm
video 45056 1 i915
snd 86016 14 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
ecdh_generic 28672 1 bluetooth
pwm_lpss_platform 16384 0
soundcore 16384 1 snd
pwm_lpss 16384 1 pwm_lpss_platform
i2c_hid 28672 0
mac_hid 16384 0
rfkill_gpio 16384 0
virtio_rng 16384 0
virtio_console 32768 0
virtio_net 57344 0
virtio_blk 20480 0
virtio_balloon 24576 0
virtio_pci 24576 0
virtio 16384 6 virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net
virtio_ring 32768 6 virtio_rng,virtio_console,virtio_balloon,virtio_pci,virtio_blk,virtio_net
isci 143360 0
libsas 81920 1 isci
scsi_transport_sas 40960 2 isci,libsas
pata_atiixp 16384 0
pata_acpi 16384 0
nls_iso8859_1 16384 0
wp512 36864 0
serpent_generic 32768 0
xts 16384 0
dm_crypt 40960 0
hid_apple 16384 0
hid_generic 16384 0
usbhid 53248 0
hid 131072 4 i2c_hid,usbhid,hid_apple,hid_generic
uas 24576 0
usb_storage 69632 1 uas
ahci 40960 2
libahci 32768 1 ahci

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04  6:42 switch off cpu fan on lenovo g50-30 znavko
@ 2019-07-04  6:56 ` pelzflorian (Florian Pelz)
  2019-07-04  7:20 ` Efraim Flashner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-07-04  6:56 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

On Thu, Jul 04, 2019 at 06:42:40AM +0000, znavko@disroot.org wrote:
> Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch off CPU fan.
> Basically this laptop had no cpu fan but only passive cooling system. I had inserted cpu fan by my hands and there were fan power joint on the motherboard. This is nice. I hope Guix Linux-Libre has necessary fan control driver for my laptop.
> 
> There is package 'thinkfan' in Guix repository. Would you advice me how to config it and is it possible to switch off fan?
> 

When I look at `git blame`, I find thinkfan is from 2016-04.  I find:

https://lists.gnu.org/archive/html/guix-devel/2016-04/msg01231.html

Regards,
Florian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04  6:42 switch off cpu fan on lenovo g50-30 znavko
  2019-07-04  6:56 ` pelzflorian (Florian Pelz)
@ 2019-07-04  7:20 ` Efraim Flashner
  2019-07-04 10:14 ` znavko
  2019-07-04 11:13 ` znavko
  3 siblings, 0 replies; 11+ messages in thread
From: Efraim Flashner @ 2019-07-04  7:20 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]

On Thu, Jul 04, 2019 at 06:42:40AM +0000, znavko@disroot.org wrote:
> Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch off CPU fan.
> Basically this laptop had no cpu fan but only passive cooling system. I had inserted cpu fan by my hands and there were fan power joint on the motherboard. This is nice. I hope Guix Linux-Libre has necessary fan control driver for my laptop.
> 
> There is package 'thinkfan' in Guix repository. Would you advice me how to config it and is it possible to switch off fan?
> 
> # thinkfan
> 
> ERROR: /etc/thinkfan.conf: No such file or directory

efraim@macbook41 ~/workspace/guix$ /./gnu/store/c8pmmbpx3q881baivkrcmi01lrj4si4j-thinkfan-1.0.2/sbin/thinkfan --help
ERROR: Invalid command line: Unknown option: --
Usage: thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]
 -h  This help message
 -s  Maximum cycle time in seconds (Integer. Default: 5)
 -b  Floating point number (-10 to 30) to control rising temperature
     exaggeration (see README). Default: 5.0
 -c  Load different configuration file (default: /etc/thinkfan.conf)
 -q  Be more quiet. Can be specified up to three times so that only errors
     are logged.
 -v  Enable verbose logging (e.g. log temperatures continuously).
 -p  Use the pulsing-fan workaround (for worn out fans). Takes an optional
     floating-point argument (0 ~ 10s) as depulsing duration. Default 0.5s.
 -d  Don't read S.M.A.R.T. temperature from sleeping disks
 -D  DANGEROUS mode: Disable all sanity checks. May result in undefined
     behaviour!

Unless you want to write a system service for it, I'd figure out where
there's a thinkfan.conf file (we don't seem to have it installed with
the package) and run 'sudo -E thinkfan -c /path/to/thinkfan.conf'

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04  6:42 switch off cpu fan on lenovo g50-30 znavko
  2019-07-04  6:56 ` pelzflorian (Florian Pelz)
  2019-07-04  7:20 ` Efraim Flashner
@ 2019-07-04 10:14 ` znavko
  2019-07-04 17:24   ` Efraim Flashner
                     ` (2 more replies)
  2019-07-04 11:13 ` znavko
  3 siblings, 3 replies; 11+ messages in thread
From: znavko @ 2019-07-04 10:14 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: help-guix

Hello, Efraim Flashner! I want your support cause my question is not figuring out from the web.
For typing my config for 'thinkfan' need to write thinkfan.conf, and there, I think, it is necessary to define temperature control kernel module. 
After running `sensors-detect` (from 'lmsensors' package) this config file appeared:

# cat /etc/sysconfig/lm_sensors
# Generated by sensors-detect on Thu Jul  4 12:53:51 2019
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#
# The format of this file is a shell script that simply defines variables:
# HWMON_MODULES for hardware monitoring driver modules, and optionally
# BUS_MODULES for any required bus driver module (for example for I2C or SPI).

HWMON_MODULES="coretemp"


As I understood 'coretemp' is that module I can use in thinkfan.conf.  I see `sensors` is using coretemp-isa-0000


# sensors
soc_dts0-virtual-0
Adapter: Virtual device
temp1:        +42.0°C  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +60.0°C  (crit = +90.0°C)

soc_dts1-virtual-0
Adapter: Virtual device
temp1:        +42.0°C  

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +46.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:       +52.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:       +52.0°C  (high = +105.0°C, crit = +105.0°C)


Ok. But I need to use 'coretemp' file from /proc as in example here [1]. But I do not know where is it:

# find /proc -name 'corete*'
# 


Please, can you help me?


[1] https://www.mankier.com/5/thinkfan.conf



July 4, 2019 7:29 AM, "Efraim Flashner" <efraim@flashner.co.il> wrote:

> On Thu, Jul 04, 2019 at 06:42:40AM +0000, znavko@disroot.org wrote:
> 
>> Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch off CPU fan.
>> Basically this laptop had no cpu fan but only passive cooling system. I had inserted cpu fan by my
>> hands and there were fan power joint on the motherboard. This is nice. I hope Guix Linux-Libre has
>> necessary fan control driver for my laptop.
>> 
>> There is package 'thinkfan' in Guix repository. Would you advice me how to config it and is it
>> possible to switch off fan?
>> 
>> # thinkfan
>> 
>> ERROR: /etc/thinkfan.conf: No such file or directory
> 
> efraim@macbook41 ~/workspace/guix$
> /./gnu/store/c8pmmbpx3q881baivkrcmi01lrj4si4j-thinkfan-1.0.2/sbin/thinkfan --help
> ERROR: Invalid command line: Unknown option: --
> Usage: thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]
> -h This help message
> -s Maximum cycle time in seconds (Integer. Default: 5)
> -b Floating point number (-10 to 30) to control rising temperature
> exaggeration (see README). Default: 5.0
> -c Load different configuration file (default: /etc/thinkfan.conf)
> -q Be more quiet. Can be specified up to three times so that only errors
> are logged.
> -v Enable verbose logging (e.g. log temperatures continuously).
> -p Use the pulsing-fan workaround (for worn out fans). Takes an optional
> floating-point argument (0 ~ 10s) as depulsing duration. Default 0.5s.
> -d Don't read S.M.A.R.T. temperature from sleeping disks
> -D DANGEROUS mode: Disable all sanity checks. May result in undefined
> behaviour!
> 
> Unless you want to write a system service for it, I'd figure out where
> there's a thinkfan.conf file (we don't seem to have it installed with
> the package) and run 'sudo -E thinkfan -c /path/to/thinkfan.conf'
> 
> --
> Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04  6:42 switch off cpu fan on lenovo g50-30 znavko
                   ` (2 preceding siblings ...)
  2019-07-04 10:14 ` znavko
@ 2019-07-04 11:13 ` znavko
  3 siblings, 0 replies; 11+ messages in thread
From: znavko @ 2019-07-04 11:13 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: help-guix

I see this now:

# pwmconfig
# pwmconfig revision $Revision$ ($Date$)
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

/root/.guix-profile/sbin/pwmconfig: There are no pwm-capable sensor modules installed



# fancontrol
Loading configuration from /etc/fancontrol ...
Error: Can't read configuration file



July 4, 2019 7:29 AM, "Efraim Flashner" <efraim@flashner.co.il> wrote:

> On Thu, Jul 04, 2019 at 06:42:40AM +0000, znavko@disroot.org wrote:
> 
>> Hello! Sometimes I need my laptop Lenovo G50-30 is silent, need to switch off CPU fan.
>> Basically this laptop had no cpu fan but only passive cooling system. I had inserted cpu fan by my
>> hands and there were fan power joint on the motherboard. This is nice. I hope Guix Linux-Libre has
>> necessary fan control driver for my laptop.
>> 
>> There is package 'thinkfan' in Guix repository. Would you advice me how to config it and is it
>> possible to switch off fan?
>> 
>> # thinkfan
>> 
>> ERROR: /etc/thinkfan.conf: No such file or directory
> 
> efraim@macbook41 ~/workspace/guix$
> /./gnu/store/c8pmmbpx3q881baivkrcmi01lrj4si4j-thinkfan-1.0.2/sbin/thinkfan --help
> ERROR: Invalid command line: Unknown option: --
> Usage: thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [SECONDS]]]
> -h This help message
> -s Maximum cycle time in seconds (Integer. Default: 5)
> -b Floating point number (-10 to 30) to control rising temperature
> exaggeration (see README). Default: 5.0
> -c Load different configuration file (default: /etc/thinkfan.conf)
> -q Be more quiet. Can be specified up to three times so that only errors
> are logged.
> -v Enable verbose logging (e.g. log temperatures continuously).
> -p Use the pulsing-fan workaround (for worn out fans). Takes an optional
> floating-point argument (0 ~ 10s) as depulsing duration. Default 0.5s.
> -d Don't read S.M.A.R.T. temperature from sleeping disks
> -D DANGEROUS mode: Disable all sanity checks. May result in undefined
> behaviour!
> 
> Unless you want to write a system service for it, I'd figure out where
> there's a thinkfan.conf file (we don't seem to have it installed with
> the package) and run 'sudo -E thinkfan -c /path/to/thinkfan.conf'
> 
> --
> Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04 10:14 ` znavko
@ 2019-07-04 17:24   ` Efraim Flashner
  2019-07-04 19:40   ` znavko
  2019-07-04 20:13   ` znavko
  2 siblings, 0 replies; 11+ messages in thread
From: Efraim Flashner @ 2019-07-04 17:24 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

I often turn to Debian when I have a problem like this one. In the
source (I assume in ours and not just in theirs) There's an example
folder with two example configs¹ so I'd suggest checking them out and
seeing if they look right.

¹https://sources.debian.org/src/thinkfan/0.9.3-2/examples/


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04 10:14 ` znavko
  2019-07-04 17:24   ` Efraim Flashner
@ 2019-07-04 19:40   ` znavko
  2019-07-04 20:13   ` znavko
  2 siblings, 0 replies; 11+ messages in thread
From: znavko @ 2019-07-04 19:40 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: help-guix

With thinkfan.conf.simple having this:

# thinkfan

ERROR: TpFanDriver: Initializing fan control in /proc/acpi/ibm/fan: No such file or directory


With  thinkfan.conf.complex this:

# thinkfan

ERROR: SensorDriver: Initializing fan control in /proc/acpi/ibm/thermal: No such file or directory


Linux-libre has no fan control module for lenovo g50-30. How to get it?


July 4, 2019 5:24 PM, "Efraim Flashner" <efraim@flashner.co.il> wrote:

> I often turn to Debian when I have a problem like this one. In the
> source (I assume in ours and not just in theirs) There's an example
> folder with two example configs¹ so I'd suggest checking them out and
> seeing if they look right.
> 
> ¹https://sources.debian.org/src/thinkfan/0.9.3-2/examples
> 
> -- 
> Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04 10:14 ` znavko
  2019-07-04 17:24   ` Efraim Flashner
  2019-07-04 19:40   ` znavko
@ 2019-07-04 20:13   ` znavko
  2019-07-04 20:28     ` pelzflorian (Florian Pelz)
  2019-07-04 20:50     ` znavko
  2 siblings, 2 replies; 11+ messages in thread
From: znavko @ 2019-07-04 20:13 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: help-guix

As there [1] said  have no fan control module:

 pwm_fan sysfs-path

    Control a sysfs PWM fan. Many hwmon drivers that provide a `temp*_input' file also allow fan control, although there may also be drivers that are specific to either temperature reading or fan control. You can search for a PWM control file e.g. with `find /sys -type f -name "pwm?"'. Note that with PWM, fan levels usually range from 0 to 255, although besides a file like `pwm1' there may also be `pwm1_min' and `pwm1_max' that specify different (soft or recommended?) limits for a particular fan.


# find /sys -type f -name "pwm?"
#
# find /sys -type f -name "pwm*"
# 

Have you on your linux-libre?

[1] https://www.mankier.com/5/thinkfan.conf

July 4, 2019 5:24 PM, "Efraim Flashner" <efraim@flashner.co.il> wrote:

> I often turn to Debian when I have a problem like this one. In the
> source (I assume in ours and not just in theirs) There's an example
> folder with two example configs¹ so I'd suggest checking them out and
> seeing if they look right.
> 
> ¹https://sources.debian.org/src/thinkfan/0.9.3-2/examples
> 
> -- 
> Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04 20:13   ` znavko
@ 2019-07-04 20:28     ` pelzflorian (Florian Pelz)
  2019-07-04 20:50     ` znavko
  1 sibling, 0 replies; 11+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-07-04 20:28 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

On Thu, Jul 04, 2019 at 08:13:44PM +0000, znavko@disroot.org wrote:
> As there [1] said  have no fan control module:
> 

I assume you did try the modprobe command from the message:

https://lists.gnu.org/archive/html/guix-devel/2016-04/msg01231.html

Regards,
Florian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04 20:13   ` znavko
  2019-07-04 20:28     ` pelzflorian (Florian Pelz)
@ 2019-07-04 20:50     ` znavko
  2019-07-05  4:03       ` pelzflorian (Florian Pelz)
  1 sibling, 1 reply; 11+ messages in thread
From: znavko @ 2019-07-04 20:50 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: help-guix

yes. I ran, but thinkfan cannot use module:

# modprobe thinkpad_acpi fan_control=1
# 
# thinkfan

ERROR: SensorDriver: Initializing fan control in /proc/acpi/ibm/thermal: No such file or directory


Say me how to type thinkpad.conf to use thinkpad_acpi module?

# modinfo thinkpad_acpi
filename:       /run/booted-system/kernel/lib/modules/5.1.15-gnu/kernel/drivers/platform/x86/thinkpad_acpi.ko
license:        GPL
version:        0.26
description:    ThinkPad ACPI Extras
author:         Henrique de Moraes Holschuh <hmh@hmh.eng.br>
author:         Borislav Deianov <borislav@users.sf.net>
alias:          dmi:bvnIBM:bvrI[MU]ET??WW*
alias:          tpacpi
srcversion:     0CECBC9452E671846F915F0
alias:          acpi*:LEN0268:*
alias:          acpi*:LEN0068:*
alias:          acpi*:IBM0068:*
depends:        snd,video,ledtrig-audio,nvram
retpoline:      Y
intree:         Y
name:           thinkpad_acpi
vermagic:       5.1.15-gnu SMP mod_unload modversions 
....


should I somehow define this modules file in thinkfan.conf?


July 4, 2019 8:28 PM, "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> wrote:

> On Thu, Jul 04, 2019 at 08:13:44PM +0000, znavko@disroot.org wrote:
> 
>> As there [1] said have no fan control module:
> 
> I assume you did try the modprobe command from the message:
> 
> https://lists.gnu.org/archive/html/guix-devel/2016-04/msg01231.html
> 
> Regards,
> Florian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: switch off cpu fan on lenovo g50-30
  2019-07-04 20:50     ` znavko
@ 2019-07-05  4:03       ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 11+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-07-05  4:03 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

On Thu, Jul 04, 2019 at 08:50:19PM +0000, znavko@disroot.org wrote:
> yes. I ran, but thinkfan cannot use module:
> 
> […]
>
> should I somehow define this modules file in thinkfan.conf?
> 
> 

This is strange.  I can only do a Web search because I own no
Thinkpad.  I find

http://forum.notebookreview.com/threads/ubuntu-question-t420.603272/

They say:

“The cause: the file /proc/acpi/ibm/thermal no longer exists in the
affected models. The temperature sensors are moved to another location
in the sysfs thinkfan and she does not recognize.”

They point to a different sensor line in thinkfan.conf.

I assume thinkfan_acpi is listed in lsmod.

A bad alternative would be that you try using a different kernel version.

Regards,
Florian

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-07-05  4:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-04  6:42 switch off cpu fan on lenovo g50-30 znavko
2019-07-04  6:56 ` pelzflorian (Florian Pelz)
2019-07-04  7:20 ` Efraim Flashner
2019-07-04 10:14 ` znavko
2019-07-04 17:24   ` Efraim Flashner
2019-07-04 19:40   ` znavko
2019-07-04 20:13   ` znavko
2019-07-04 20:28     ` pelzflorian (Florian Pelz)
2019-07-04 20:50     ` znavko
2019-07-05  4:03       ` pelzflorian (Florian Pelz)
2019-07-04 11:13 ` znavko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.