Git Product home page Git Product logo

thinkpad-thermal's People

Contributors

fmujakitz avatar mobileazn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bakedbean

thinkpad-thermal's Issues

ubuntu 20.04

Hi, thanks for sharing this great tool!
I would love to use it on my thinkpad p1 that is running on ubuntu 20.04. I tried the 3.14.4 version from the gnome extensions website, but this one looks very outdated and misses the fan control capabilites. Is is possible to run the current version on gnome 3.36.8?

Please support ideapad_acpi

You did an excellent job on thinkpad-thermal.
However, I am using an IdeaPad which means I couldn't use your extension properly.
So I'll appreciate it if you could add the support of ideapad_acpi.

Here are the paths of control methods.
/sys/bus/platform/drivers/ideapad_acpi//conservation_mode
/sys/bus/platform/drivers/ideapad_acpi/
/camera_power
/sys/bus/platform/drivers/ideapad_acpi//fan_mode
/sys/bus/platform/drivers/ideapad_acpi/
/fn_lock
/sys/bus/platform/drivers/ideapad_acpi//touchpad
/sys/bus/platform/drivers/ideapad_acpi/
/usb_charging

Also, there is an inactivated extension that doesn't support Gnome 45 any longer.
Here is its url: https://github.com/AzzamAlsharafi/ideapad-controls-gnome-extension

Thanks again.

Missing Icons / Incorrect Thermals / How to Configure

Hi, I've installed your extension and it seems to have issues regarding the Icons in the tray - they are non existent. Also, I'd like to know how could I disable some information, since I am lacking a dedicated GPU, access to BAT temps, etc.

DEVICE INFO:

  • Model: Lenovo ThinkPad T480
  • CPU: i5-8350u
  • GPU: UHD 620
  • OS: Debian 11
  • DE: Gnome 3.38.6
  • Kernel: 5.10.0-21-amd64

Output of cat /proc/acpi/ibm/thermal
temperatures: 52 -128 0 0 0 0 0 0
Output of cat /proc/acpi/ibm/fan
status: enabled
speed: 2868
level: auto

Fan level: Can't set to 0/off

I'm using a Lenovo ThinkPad L13 Yoga Gen 4 and I can disable the fans completely using echo "level 0" | sudo tee /proc/acpi/ibm/fan

The option 0 is currently not available in the menu of this extension.

Hide GPU temp if no GPU detected

Possible to add some logic to just hide the GPU temp if it doesn't detect one (shown as N/A in the below output)? I have a T480 without a dGPU (just onboard Intel) and no temp reported.

Output of Sensors:
`[amcnutt@fedora Projects]$ sensors
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 2868 RPM
CPU: +53.0°C
GPU: N/A
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C

ucsi_source_psy_USBC000:002-isa-0000
Adapter: ISA adapter
in0: 0.00 V (min = +0.00 V, max = +0.00 V)
curr1: 0.00 A (max = +0.00 A)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +34.0°C

nvme-pci-3d00
Adapter: PCI adapter
Composite: +29.9°C (low = -40.1°C, high = +83.8°C)
(crit = +87.8°C)
Sensor 1: +39.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +29.9°C (low = -273.1°C, high = +65261.8°C)

BAT0-acpi-0
Adapter: ACPI interface
in0: 12.69 V

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +64.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +64.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +60.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +58.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +58.0°C (high = +100.0°C, crit = +100.0°C)

pch_skylake-virtual-0
Adapter: Virtual device
temp1: +49.5°C

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0: 5.00 V (min = +5.00 V, max = +20.00 V)
curr1: 3.00 A (max = +3.50 A)

BAT1-acpi-0
Adapter: ACPI interface
in0: 12.32 V

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

[amcnutt@fedora Projects]$
`

GNOME 46

Yeah, just can we get gnome 46 support

converting to fahrenhheit

I'm interested in showing temps in Fahrenheit. I found in extension.ts where the unit is set, however this only seems to change the label. The actual temps still seem to be in celsius. I see that there's a _toFahrenheit method, but it doesn't appear to be used. If I can get any pointers or direction on where to implement that helper method, I'd appreciate it!

Thanks for this extension as well, it's really nice.

Shell extension has no effect / not shown in side or top bar

Hello,

I was very happy to find this extension, thank you for that. It looks great in the screenshots. Unfortunately, I can't seem to make it work. Turning it on has no effect, I can't see any (graphical) hint of it.

I am using fedora 39 with Gnome 45. I am using Dash to panel but there is no difference in turning it off. I can provide more information if you'd like.

Unhandled promise rejection

I've installed your extension on Gnome 43 on Debian 11 and I get the following warning in the journal:

Nov 22 07:58:12 gnome-shell[2177]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
                                          Indicator/this._update@/home/ronny/.local/share/gnome-shell/extensions/[email protected]/extension.js:484:34
                                          setInterval/source<@resource:///org/gnome/gjs/modules/esm/_timers.js:103:9

Mixed feedbacks, ideas

Hey there. Pretty awesome that your plugin is working on my old ThinkPad R61 and can handle thermal settings.

I have some requests if you mind. Please review. First of all I don't see nothing (I'm on Ubuntu 22.04):
kép

  1. Most of these old machines use old technologies (like CCFL) and hard to see the fan status atm. So please let the plugin use the actual theme colours or fine tune and make it much more visible.

  2. Please add fan level 0. (In my usage case: I know most of the old ThinkPads are worn and the cooling system not so efficient but my machine is in perfect condition. It was a backup machine and never been actively used before I bought it from a reseller's stock. It's totally clean and the cooling paste is fresh. I use it for home office and hardly ever need to cool down the T9300 cause it can operate well and no reason to cool it down till it reach 60-65C degree. And sadly most ThinkPads starts very intensely even at level 1. Mine spins up to 2700RPM. Unnecessary and noisy as hell even with totally clean fan. Since it is no way to modify (afaik) the RPM I recommend to add level 0.)

  3. Please add option to modify level thresholds.

  4. Please add multilang support. Would be nice to spread the word and I also would like to translate it.

choose fan speed

First of all, my compliment for the extension.
I really enjoyed being able to choose between manual and automatic fan speeds, so simply through your extension.
But unfortunately i had to reinstall debian 12 yesterday and now I no longer have this possibility and i don't know why or remember the previous setting.
There's some dependency or settings to apply?
Thank's

Doesn't work all the way

See screenshot below, in top bar it doesn't show any stats and also no Thermal info, CPU or Fan Control stats.

Log:

linux@pop-os: sudo cat /proc/acpi/ibm/thermal
temperatures: 43 0 0 0 0 0 0 0

linux@pop-os: sudo cat /proc/acpi/ibm/fan
status: enabled
speed: 2585
level: auto

linux@pop-os: lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 36 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-3840QM CPU @ 2.80GHz
CPU family: 6
Model: 58
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 9
CPU max MHz: 3800.0000
CPU min MHz: 1200.0000
BogoMIPS: 5587.06
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse
36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp
lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop
_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est
tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadli
ne_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd i
brs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase smep er
ms xsaveopt dtherm ida arat pln pts md_clear flush_l1d
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 1 MiB (4 instances)
L3: 8 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-7
Vulnerabilities:
Itlb multihit: KVM: Mitigation: VMX disabled
L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnera
ble
Mds: Mitigation; Clear CPU buffers; SMT vulnerable
Meltdown: Mitigation; PTI
Mmio stale data: Unknown: No mitigations
Retbleed: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional,
RSB filling, PBRSB-eIBRS Not affected
Srbds: Vulnerable: No microcode
Tsx async abort: Not affected

linux@pop-os: lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 461.8G 0 part /
└─sda2 8:2 0 4G 0 part
└─cryptswap 253:0 0 4G 0 crypt [SWAP]
sdb 8:16 0 119.2G 0 disk
├─sdb1 8:17 0 8M 0 part
├─sdb2 8:18 0 512B 0 part
├─sdb3 8:19 0 512B 0 part
├─sdb4 8:20 0 512B 0 part
├─sdb5 8:21 0 512B 0 part
├─sdb6 8:22 0 16M 0 part
├─sdb7 8:23 0 16M 0 part
└─sdb8 8:24 0 113.8G 0 part

linux@pop-os:~$ sensors
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 2585 RPM
fan2: 65535 RPM
CPU: +44.0°C
GPU: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C

BAT0-acpi-0
Adapter: ACPI interface
in0: 11.78 V
curr1: 0.00 A

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +47.0°C (high = +87.0°C, crit = +105.0°C)
Core 0: +44.0°C (high = +87.0°C, crit = +105.0°C)
Core 1: +44.0°C (high = +87.0°C, crit = +105.0°C)
Core 2: +45.0°C (high = +87.0°C, crit = +105.0°C)
Core 3: +45.0°C (high = +87.0°C, crit = +105.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1: +44.0°C (crit = +100.0°C)
temp2: +26.8°C (crit = +99.0°C)

Screenshot from 2022-12-10 16-12-25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.