Choose style:

Author Topic: Does anyone know if there is a way to control the fan?  (Read 135 times)

0 Members and 1 Guest are viewing this topic.

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
Does anyone know if there is a way to control the fan?
« on: August 07, 2019, 01:59:41 am »
My wife's HP Pavilion dv4 laptop has cooling problems.  I was tired of the system freezing up and decided to dump Windows 7 and run Peppermint 10.  The machine has always run hot and now, with Peppermint installed, the fan is acting very annoying.  It runs up to full speed for about 1 second then cuts down to a slow speed for 10 seconds and it does it continuously.  I would love to be able to make the thing run at full speed all the time.  The thing runs very hot so the case feels hot to touch.

I've checked the bios and the only setting is to have the run fan continuously but doesn't give any control over the fan speed.  The fan didn't act like this with Windows installed so I'm thinking there is a way to control it within Peppermint but I haven't figured it out yet.

I've done a bunch of research but not finding any useful information.  There was one suggestion from 2008 on an Ubuntu site but it didn't help with the problem.
Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Does anyone know if there is a way to control the fan?
« Reply #1 on: August 07, 2019, 09:58:30 am »
Does running
Code: [Select]
sudo sensors-detect
and answering Y to all questions .. then once finished rebooting.

Did that make any difference ?



Otherwise you're probably going to need to look into installing and configuring a program called fancontrol

Can you first post the output from:
Code: [Select]
inxi -Fz
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
Re: Does anyone know if there is a way to control the fan?
« Reply #2 on: August 07, 2019, 11:11:38 am »
Code: [Select]
sudo sensors-detect
Did not change anything.

The output from  'inxi -Fz' looks like this.

Code: [Select]
brenda@brenda-HP-Pavilion-dv4-Notebook-PC ~ $ inxi -Fz
System:    Host: brenda-HP-Pavilion-dv4-Notebook-PC Kernel: 5.0.0-23-generic x86_64
           bits: 64
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: laptop System: Hewlett-Packard product: HP Pavilion dv4 Notebook PC v: 0495200002241810100020000 serial: N/A
           Mobo: Hewlett-Packard model: 140A v: 50.19 serial: N/A
           BIOS: Insyde v: F.0F date: 01/07/2011
Battery    BAT0: charge: 38.9 Wh 100.0% condition: 38.9/47.5 Wh (82%)
           hidpp__0: charge: N/A condition: NA/NA Wh
           hidpp__1: charge: N/A condition: NA/NA Wh
CPU:       Dual core Intel Core i3 M 330 (-MT-MCP-) cache: 3072 KB
           clock speeds: max: 2133 MHz 1: 1424 MHz 2: 1403 MHz 3: 1411 MHz
           4: 1351 MHz
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
           Display Server: x11 (X.Org 1.20.4 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1280x800@59.99hz
           OpenGL: renderer: Mesa DRI Intel Ironlake Mobile version: 2.1 Mesa 19.0.2
Audio:     Card Intel 5 Series/3400 Series High Def. Audio driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k5.0.0-23-generic
Network:   Card-1: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express)
           driver: ath9k
           IF: wlo1 state: up mac: <filter>
           Card-2: Realtek RTL810xE PCIE Fast Ethernet controller
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 500.1GB (2.9% used)
           ID-1: /dev/sda model: ST9500420AS size: 500.1GB
Partition: ID-1: / size: 37G used: 5.8G (17%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 414G used: 829M (1%) fs: ext4 dev: /dev/sda5
           ID-3: swap-1 size: 8.01GB used: 0.17GB (2%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 70.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 197 Uptime: 10:24 Memory: 497.3/1853.8MB
           Client: Shell (bash) inxi: 2.3.56

Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Does anyone know if there is a way to control the fan?
« Reply #3 on: August 07, 2019, 11:43:41 am »
Okay, try running
Code: [Select]
sudo apt-get install acpi fancontrol
then run:
Code: [Select]
sudo pwmconfig
and follow the instructions.

BE CAREFUL WITH THE INSTRUCTIONS THOUGH, make sure the fans start, if not reboot which will undo any changes made by fancontrol (as they won't be applied at bootup yet).

If it works (ie. the fans work properly), you can make fancontrol automagically apply its settings at bootup by enabling the fancontrol.service
https://wiki.archlinux.org/index.php/Fan_speed_control#Running_Fancontrol
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
Re: Does anyone know if there is a way to control the fan?
« Reply #4 on: August 07, 2019, 11:57:43 am »
I ended up with this.  I didn't hear any change in the fan speed.

Code: [Select]
sudo pwmconfig
# pwmconfig revision 6243 (2014-03-20)
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.

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25288
  • Karma: 2793
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Does anyone know if there is a way to control the fan?
« Reply #5 on: August 07, 2019, 12:13:50 pm »
Run:
Code: [Select]
gksudo /etc/default/grub
find the line
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
and change it to
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_enforce_resources=lax"
SAVE the file and exit the text editor.

Back in the terminal run:
Code: [Select]
sudo update-grub
then REBOOT.

Once rebooted, do you still get the :-

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

warning when you run:
Code: [Select]
sudo pwmconfig
?



Source:
https://iandw.net/2014/10/12/fancontrol-under-ubuntu-14-04-resolving-usrsbinpwmconfig-there-are-no-pwm-capable-sensor-modules-installed/
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
Re: Does anyone know if there is a way to control the fan?
« Reply #6 on: August 08, 2019, 10:43:58 am »
Sorry for the delay.  My day job keeps interrupting my life.

Yes.  I am still getting the warning.

Code: [Select]
brenda@brenda-HP-Pavilion-dv4-Notebook-PC ~ $ sudo pwmconfig
[sudo] password for brenda:
# pwmconfig revision 6243 (2014-03-20)
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.

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
brenda@brenda-HP-Pavilion-dv4-Notebook-PC ~ $
Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.