Controlling fan speed on lenovo yoga 2.13 with linux mint - linux

I am trying to fix the problem of controlling fan speed. (The fan are too loud and are running almost always unnecessarily) I followed this manual: https://askubuntu.com/questions/22108/how-to-control-fan-speed but I face the following problem. After the first step:
sudo sensors-detect
The /etc/modules file contain this
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
lp
rtc
# Generated by sensors-detect on Sun Jul 5 22:45:57 2015
# Chip drivers
coretemp
# Generated by sensors-detect on Sun Jul 5 23:21:04 2015
# Chip drivers
coretemp
# Generated by sensors-detect on Sun Jul 5 23:32:50 2015
# Chip drivers
coretemp
# I2C adapter drivers
i2c-viapro
i2c-isa
# I2C chip drivers
eeprom
it87
# Generated by sensors-detect on Sat Apr 16 11:49:27 2016
# Chip drivers
coretemp
cpuid
i2c-dev
In the next step: sudo service module-init-tools restart
I get this fail:
module-init-tools: unrecognized service
Does it means, that there is not sensor available to control fan speed? Is it possible to fix it somehow? I heave the following platform: Linux Vlad-Lenovo 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux The fan noise really makes me crazy. Could you help me with this problem.
Thanks in advance

Related

Self-compiled linux kernel can't boot on btrfs

I'm a newcomer for linux kernel development. This is second question about loading self-compiled kernel(current stable version 4.8.6). The error messages printed during booting are as below:
linux-05e3 mount[282]: mount: unknown filesystem type 'btrfs'
linux-05e3 systemd1: Dependency failed for Initrd Boot File System
linux-05e3 systemd1: Dependency failed for Reload Configuration
Actually the file system type of my root partition is 'btrfs', and it is no problem with kernel version 4.1.12.1-default.
My partition table is :
Result of uname -a is :
Linux linux-05e3 4.1.12-1-default #1 SMP PREEMPT Thu Oct 29 06:43:42
UTC 2015 (e24bad1) x86_64 x86_64 x86_64 GNU/Linux
The .config file is just copied from the one used for 4.1.12.1-default. And I've just ran make menuconfig with nothing modified after copying that file.
Can anyone give some useful tips to me. I really need a linux kernel development expert to give more instructions to me as a beginner. Thanks a million.

Boot Yocto on Beaglebone Black from SD-Card

I'm currently trying to boot my Beaglebone Black with the latest Yocto version from a SD-Card without erasing the OS from the eMMC of my BBB.
The problem is that (although the SD-Card is inserted) the BBB keeps booting the eMMC image.
More details on the U-Boot an Linux versions are shown below:
UBOOT
U-Boot 2015.01-00001-gb2412df (Jan 29 2015 - 15:01:06)
arm-linux-gnueabihf-gcc (Linaro GCC 2014.11) 4.9.3 20141031 (prerelease)
GNU ld (GNU Binutils) Linaro 2014.11-3-git 2.24.0.20141017
Linux on BBB's eMMC
Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux
You need to press the boot-switch while resetiing / powering up:
See in this picture:
BBB Switch Caption
Solution 1 (MLO file)
To force a boot from the microSD card, delete the MLO file in the
FAT partition of the eMMC.
You can access this when the board is connected over the USB cable
and it appears as a thumbdrive.
from: http://elinux.org/Beagleboard:BeagleBone_Black_FAQ#How_can_I_just_boot_from_the_microSD_instead_of_the_eMMC.3F
Solution 2 (Boot button)
Push and hold the boot button and apply power.
http://www.elinux.org/Beagleboard:BeagleBoneBlack
from: https://groups.google.com/forum/#!category-topic/beagleboard/_mOlo6T-70E

Getting cache details in ARM processors - Linux

On Intel processors
Linux linux-epq2.site 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May 16 20:27:27 UTC 2013 (adf31bb) x86_64 x86_64 x86_64 GNU/Linux
to fetch the cache details:
cat /sys/devices/system/cpu/cpu*/cache/index*/
Where * is the respective cpu and cache index numbers
However, on ARM processors, this file/folder is not available. Is there a way to fetch these details?
Linux arndale 3.9.0-rc5+ #8 SMP Tue Apr 9 12:40:32 CEST 2013 armv7l GNU/Linux
From ARMv8A (64bit), it is possible to get cache info from CLIDR register. So cache info can be populated to /sys file system in Linux. Check detail from kernel/arch/arm64/kernel/cacheinfo.c.

os not supported error while building hotspot

I am trying to build openjdk from source and I am using "HOTSPOT_RELEASE_VERSION=20.0-b12" on openjdk6 on ubuntu 12.04.
It prompts:
This OS is not supported:" `uname -a`; exit 1;<br>
This OS is not supported: Linux joker-Inspiron-1545 3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux.
Can someone guide me on this please ?
change hotspot/make/linux/Makefile
SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7% 3%
An easier way than editing a file is to set the environment variable
DISABLE_HOTSPOT_OS_VERSION_CHECK=ok

Wireless Setup on Arch Linux

I am a new Archer, and when I compile wireless driver on my computer, I come across a problem:
make: *** /lib/modules/3.1.4-1-ARCH/build: No such file or directory. Stop.
My wireless firmware is Broadcom BCM4313, and I have installed linux-headers-3.1.5-1 in my computer. I do not know how to solve this problem.
Here is some information about my system:
$ uname -a
Linux myhost 3.1.4-1-ARCH #1 SMP PREEMPT Tue Nov 29 09:08:04 UTC 2011 i686 AMD Phenom(tm) II N930 Quad-Core Processor AuthenticAMD GNU/Linux
$ ls /lib/modules/3.1.4-1-ARCH
extramodules modules.dep modules.order
kernel modules.dep.bin modules.pcimap
modules.alias modules.devname modules.seriomap
modules.alias.bin modules.ieee1394map modules.softdep
modules.builtin modules.inputmap modules.symbols
modules.builtin.bin modules.isapnpmap modules.symbols.bin
modules.ccwmap modules.ofmap modules.usbmap
I recommend you use broadcom-wl package. It works for me with broadcom 4312 (I know you have 4313, but i'm taking a wild guess it should work for you too). The module name will be wl. It's the closed source driver because the open source driver sometimes takes up to 100% of my CPU for some reason.
Installing packages from AUR: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages

Resources