My Lenovo 3000 laptop BIOS exposes zero power/thermal management settings, so along the way I thought it would be useful to be able to read those via another utility.

I found dmidecode, biosdecode and the smbios-utils suite. Those reported that the hardware supports ACPI and that SMBIOS is present, but told me nothing about power/thermal settings.
------------------------------------------------------------------------

After that futile foray, I reassessed my course.

The lm-sensors documentation notes in a couple places that it won't work on most laptops because they lack PWM controllers, and "you have to use acpi instead." I'll simply accept that and conclude that I should look elsewhere for a more general laptop solution.

i8kutils is really only targeted at Dell laptops, and it was written because they lack not only PWM controllers but also support for ACPI fan control. It uses SMM (System Management Mode) as its alternative method of fan control.

What's behind Door #3?  ACPI fan control.  That's what I'm looking into now.

Although it seems like clear that there will not be be a single-tool solution. Perhaps i8kutils for Dell laptops and some ACPI solution for just about everything else.

A first sad observation on the ACPI solution: This laptop has no /proc/acpi/fan directory.

So my next step will be a close look at https://wiki.ubuntu.com/DebuggingACPI

On 5/30/2014 9:12 PM, John Hupp wrote:
I correct myself: fancontrol does have to be installed separately. It includes pwmconfig.

When I ran sudo pwmconfig, it reported "There are no pwm-capable sensor modules installed."

This despite the fact that sensors-detect *did* find a sensor that it could use and configured the coretemp module to load in support of that.

I don't have a conclusion yet, but clearly I would have hoped for pwmconfig to find something that fancontrol could govern.

On 5/30/2014 8:20 PM, John Hupp wrote:
You say that you installed lm-sensors (and fancontrol, although I think fancontrol is simply part of the lm-sensors package) and detail some things about lsmod and the desired fan control settings.

But when you ran sensors-detect, what did it detect, and what if any modules did it proposed to install?

I say this because the README warns regarding laptops:

HARDWARE SUPPORT
----------------

To find out what hardware you have, just run 'sensors-detect' as root.

Most modern mainboards incorporate some form of hardware monitoring chips. These chips read things like chip temperatures, fan rotation speeds and voltage levels. There are quite a few different chips which can be used by
    mainboard builders for approximately the same results.

    Laptops, on the other hand, rarely expose any hardware monitoring
    chip. They often have some BIOS and/or ACPI magic to get the CPU
temperature value, but that's about it. For such laptops, the lm-sensors package is of no use (sensors-detect will not find anything), and you have
    to use acpi instead.

This package doesn't contain chip-specific knowledge. It will support all the hardware monitoring chips your kernel has drivers for. In other words, if you find out that you have unsupported hardware (e.g. sensors-detect
    told you so) then it means that you need a more recent kernel, or you
    even need to wait for a new kernel driver to be written. Updating the
    lm-sensors package itself will not help.


On 5/29/2014 4:34 AM, Morten Bjerremann Nielsen wrote:
Thank you, for the answer Israel.

I will try to give you the info, in this reply:)

My CPU is a 64bit (Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz).

The output of the lshw is attached as a text file, with this reply.

I haven't had this running on any previous version, but i'm currently
running Linux V5-572G 3.13.0-24-generic #47-Ubuntu SMP Fri May 2
23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux.

It's my first time running Lubuntu on this computer.

Hope you can help.

-- Med venlig hilsen / Best regards Morten Bjerremann Nielsen On Tue, 2014-05-27 at 20:47 -0500, Israel wrote:
>Hi, it would help to know more about your processor... it looks like you
>have intel, so is it 32bit or 64?
>a more exact model name would also be helpful, to others who know more
>about this...
>The command lshw (or rather 'sudo lshw') will list out your hardware.
>please run it as sudo, so a more complete output it generated.
>you can output it into a file by running something like:
>sudo lshw > lshw.txt
>
>Thanks!  Also, it is usually very useful to know the exact Kernel and
>version of the OS you are using
>uname -a will show all the info about the kernel version
>and I am guessing you might be using 14.04...
>
>Also... have you had this working in a previous version, or is this the
>first time you have used Lubuntu on this computer?
>
>On 05/27/2014 12:42 PM, Morten Bjerremann Nielsen wrote:
> >Hi everyone.
> >
> >I'm trying to get the "acerhdf.conf" to work on my Acer Aspire V5-572G.
> >
> >I've installed the "lm-sensors" and "fancontrol" as well, but nothing
> >works.
> >
> >My wish, is for the fans to constantly run a little, because i game a
> >lot and wan't my computer to run cool.
> >
> >This is the settings I wish to use:
> >"options acerhdf kernelmode = 1 fanon = 45000 fanoff = 40000"
> >
> >And this is the output of "lsmod":
> >Module                  Size  Used by
> >ctr                    13049  3
> >ccm                    17773  3
> >bbswitch               13943  0
> >dm_crypt               23177  0
> >acer_wmi               32522  0
> >sparse_keymap          13948  1 acer_wmi
> >rfcomm                 69160  8
> >intel_rapl             18773  0
> >bnep                   19624  2
> >x86_pkg_temp_thermal    14205  0
> >intel_powerclamp       14705  0
> >kvm_intel             143060  0
> >kvm                   451511  1 kvm_intel
> >crct10dif_pclmul       14289  0
> >crc32_pclmul           13113  0
> >ghash_clmulni_intel    13259  0
> >snd_hda_codec_hdmi     46207  1
> >snd_hda_codec_realtek    61438  1
> >aesni_intel            55624  379
> >aes_x86_64             17131  1 aesni_intel
> >lrw                    13286  1 aesni_intel
> >gf128mul               14951  1 lrw
> >glue_helper            13990  1 aesni_intel
> >ablk_helper            13597  1 aesni_intel
> >cryptd                 20359  189
> >ghash_clmulni_intel,aesni_intel,ablk_helper
> >snd_hda_intel          52355  1
> >snd_hda_codec         192906  3
> >snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
> >uvcvideo               80885  0
> >snd_hwdep              13602  1 snd_hda_codec
> >videobuf2_vmalloc      13216  1 uvcvideo
> >binfmt_misc            17468  1
> >joydev                 17381  0
> >videobuf2_memops       13362  1 videobuf2_vmalloc
> >snd_pcm               102099  3
> >snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
> >serio_raw              13462  0
> >videobuf2_core         40664  1 uvcvideo
> >snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
> >videodev              134688  2 uvcvideo,videobuf2_core
> >snd_seq_midi           13324  0
> >snd_seq_midi_event     14899  1 snd_seq_midi
> >arc4                   12608  2
> >snd_rawmidi            30144  1 snd_seq_midi
> >ath3k                  13318  0
> >ath9k                 164164  0
> >btusb                  32412  0
> >ath9k_common           13551  1 ath9k
> >ath9k_hw              453856  2 ath9k_common,ath9k
> >lpc_ich                21080  0
> >ath                    28698  3 ath9k_common,ath9k,ath9k_hw
> >bluetooth             395423  23 bnep,ath3k,btusb,rfcomm
> >mac80211              626489  1 ath9k
> >snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
> >rtsx_pci_ms            18151  0
> >snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
> >cfg80211              484040  3 ath,ath9k,mac80211
> >snd_timer              29482  2 snd_pcm,snd_seq
> >memstick               16966  1 rtsx_pci_ms
> >snd                    69238  13
> 
>snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
> >soundcore              12680  1 snd
> >mei_me                 18627  0
> >mei                    82274  1 mei_me
> >nvidia              10675249  27
> >parport_pc             32701  0
> >wmi                    19177  1 acer_wmi
> >ppdev                  17671  0
> >mac_hid                13205  0
> >coretemp               13435  0
> >lp                     17759  0
> >parport                42348  3 lp,ppdev,parport_pc
> >hid_generic            12548  0
> >usbhid                 52616  0
> >hid                   106148  2 hid_generic,usbhid
> >rtsx_pci_sdmmc         23274  0
> >i915                  783485  2
> >psmouse               102222  0
> >i2c_algo_bit           13413  1 i915
> >drm_kms_helper         52758  1 i915
> >ahci                   25819  1
> >libahci                32168  1 ahci
> >drm                   302817  5 i915,drm_kms_helper,nvidia
> >r8169                  67581  0
> >rtsx_pci               45956  2 rtsx_pci_ms,rtsx_pci_sdmmc
> >mii                    13934  1 r8169
> >video                  19476  2 i915,acer_wmi
> >
> >
> >Hope one of you out there has a solution to my problem.
> >

-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users

Reply via email to