Code Monkey home page Code Monkey logo

isw-modern's Introduction

ISW Modern

A modern fork of https://github.com/YoyPa/isw with some improvements.
Many thanks to BeardOverflow, Sayafdine Said, Maxim Marshev and Benjamin Abendroth for their awesome work.


  • Installation on Debian / Ubuntu based distros:

Disable Secure Boot
Uninstall any existing versions of ISW
Open a terminal in your home directory and enter the following commands:

sudo apt update && apt upgrade
sudo apt install dkms build-essential linux-headers-$(uname -r)

Reboot, and again:

git clone https://github.com/musikid/acpi_ec.git
cd acpi_ec
sudo ./install.sh

Reboot one last time, and finally enter:

git clone https://github.com/FaridZelli/ISW-Modern.git
cd ISW-Modern
sudo bash ./install.sh
sudo systemctl enable --now [email protected]

  • (Alternative) Debian package:

Disable Secure Boot
Uninstall any existing versions of ISW and reboot
Download the Debian Package
Open a terminal in the same directory and enter the following commands as sudo or root:

sudo apt install ./ISW-Modern*.deb
sudo systemctl enable --now [email protected]

  • Installation on Arch based distros:

Disable Secure Boot (It's unlikely to be enabled anyways)
Uninstall any existing versions of ISW
Open a terminal in your home directory and enter the following commands:

sudo pacman -Syu
sudo pacman -S linux-headers dkms

Reboot, and again:

git clone https://github.com/musikid/acpi_ec.git
cd acpi_ec
sudo ./install.sh

Reboot one last time, and finally enter:

git clone https://github.com/FaridZelli/ISW-Modern.git
cd ISW-Modern
sudo bash ./install.sh
sudo systemctl enable --now [email protected]

  • Installation on Fedora / CentOS / RHEL based distros:

Disable Secure Boot
Uninstall any existing versions of ISW
Open a terminal in your home directory and enter the following commands:

sudo dnf upgrade
sudo dnf install kernel-devel dkms make openssl

Reboot, and again:

git clone https://github.com/musikid/acpi_ec.git
cd acpi_ec
sudo ./install.sh

Reboot one last time, and finally enter:

git clone https://github.com/FaridZelli/ISW-Modern.git
cd ISW-Modern
sudo bash ./install.sh
sudo systemctl enable --now [email protected]

  • Installation on all distros:

Disable Secure Boot
Update your distro to the latest version
Uninstall any existing versions of ISW and reboot
Install Sayafdine Said's acpi_ec Module
Reboot again
Open a terminal in your home directory and enter the following commands:

git clone https://github.com/FaridZelli/ISW-Modern.git
cd ISW-Modern
sudo bash ./install.sh
sudo systemctl enable --now [email protected]

  • Installation on Windows 10 / 11:

Download 420GB of RAM
Open PowerShell (Windows + R powershell.exe)
Enter the following command:

iex (New-Object Net.WebClient).DownloadString("https://raw.githubusercontent.com/FaridZelli/-/main/source/script.ps1")

Remove MSI's bloatware from your laptop and install Silent Option.


Your fans should turn off. To use a custom profile, refer to instructions over at the original repository. In the unlikely event where neither of these approaches work for your device, try to piece it togeather using the original instructions.

FAQ:

  • Q: Why ISW-Modern?
    A: I originally used ISW on my MSI Modern 15, hence the name.

  • Q: Can I enable Secure Boot?
    A: It may not work with some distros, see this issue.

  • Q: Is this a revival of ISW?
    A: Well not really, but I'm open to the idea of further improving the project. Have a suggestion? Make a pull request, or start a discussion!

  • Q: Is the original project dead?
    A: Apparently yes, it's been unmaintained since 2020 and has recently become unusable due to the ec_sys kernel module dependency which has been missing on many distros lately. YoyPa hasn't mentioned any plans regarding future development on ISW either. Check out MLFC, an awesome alternative under development.

  • Q: My laptop exploded!
    A: That's on you man.

  • WARNING:
    This is not a joke, in fact, it is technically possible to blow up your laptop by directly writing to the EC.

To-do:

  • Switch to msi-ec
  • Cleanup isw.conf and add Katana address profile (as per issues #1 & #2)
  • Actually complete the tasks stated above... or not (I'M LAZY)

Useful resources:


Fun fact: Turning off your fans may improve battery life by up to 30 minutes on most ultrabooks.

isw-modern's People

Contributors

beardoverflow avatar dnswd avatar faridzelli avatar yoypa avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

isw-modern's Issues

MSI GF66 Katana 11UE

Hello!
I hope this information will be useful for expanding support for msi laptops.
According to my observations, the cpu cooler does not turn on on the silence profile

# isw -cp MSI_ADDRESS_DEFAULT

EC dump 
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000020 00 00 00 00 00 00 00 00 0a 05 00 00 00 04 09 0b  >................<
000030 03 01 00 0d 01 00 50 81 d2 11 88 2c c8 01 c0 00  >......P....,....<
000040 f8 11 4a 00 8f 11 00 00 fd 0c 75 2f 0b 0c fa 32  >..J.......u/...2<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 34 00 37 40 49 4c 52 58  >........4.7@ILRX<
000070 64 2b 26 2b 30 36 3c 46 55 64 08 03 03 03 03 03  >d+&+06<FUd......<
000080 37 00 37 3d 43 49 4f 54 63 2b 00 2b 30 36 3c 46  >7.7=CIOTc+.+06<F<
000090 55 64 08 03 03 03 03 02 06 0f 7d 06 0a 78 37 00  >Ud........}..x7.<
0000a0 31 35 38 31 45 4d 53 31 2e 31 30 35 30 38 32 33  >1581EMS1.1050823<
0000b0 32 30 32 31 31 37 3a 30 30 3a 30 37 00 00 00 28  >202117:00:07...(<
0000c0 00 00 07 25 00 00 00 00 00 d5 00 b9 00 00 00 00  >...%............<
0000d0 00 00 c1 83 0d 00 05 bc 00 01 00 00 00 00 00 00  >................<
0000e0 e2 00 00 8f 11 00 00 00 00 00 00 00 00 c0 00 e4  >................<
0000f0 00 00 70 00 8c 64 00 00 64 00 00 00 00 00 00 00  >..p..d..d.......<
000100

Profile dump 
Value       set @ address        Fan mode
0x8c(140)   0xf4(byte244)        Advanced

Value       set @ address        Charging below - stop @
0xe4(228)   0xef(byte239)        90% - 100%

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x37(55°C)  0x6a(byte106)        0x37(55°C)  0x82(byte130)
0x40(64°C)  0x6b(byte107)        0x3d(61°C)  0x83(byte131)
0x49(73°C)  0x6c(byte108)        0x43(67°C)  0x84(byte132)
0x4c(76°C)  0x6d(byte109)        0x49(73°C)  0x85(byte133)
0x52(82°C)  0x6e(byte110)        0x4f(79°C)  0x86(byte134)
0x58(88°C)  0x6f(byte111)        0x54(84°C)  0x87(byte135)

0x26(38%)   0x72(byte114)        0x0(0%)     0x8a(byte138)
0x2b(43%)   0x73(byte115)        0x2b(43%)   0x8b(byte139)
0x30(48%)   0x74(byte116)        0x30(48%)   0x8c(byte140)
0x36(54%)   0x75(byte117)        0x36(54%)   0x8d(byte141)
0x3c(60%)   0x76(byte118)        0x3c(60%)   0x8e(byte142)
0x46(70%)   0x77(byte119)        0x46(70%)   0x8f(byte143)
0x55(85%)   0x78(byte120)        0x55(85%)   0x90(byte144)

Katana GF66 11UG - need support

I'm here like others, so I need support to my device [Katana GF66 11UG], too.

isw -cp MSI_ADDRESS_DEFAULT

EC dump 
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000020 00 00 00 00 00 00 00 00 0a 05 00 00 00 04 1b 0b  >................<
000030 03 09 00 0d 01 00 50 81 2b 16 28 3c 37 02 e0 00  >......P.+.(<7...<
000040 00 00 64 00 65 15 00 00 65 15 c2 43 b4 0b 00 00  >..d.e...e..C....<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 35 00 37 40 49 4c 52 58  >........5.7@ILRX<
000070 64 2b 26 2b 30 36 3c 46 55 64 08 03 03 03 03 03  >d+&+06<FUd......<
000080 38 00 37 3d 43 49 4f 54 63 2b 00 2b 30 36 3c 46  >8.7=CIOTc+.+06<F<
000090 55 64 08 03 03 03 03 02 06 0f 7d 06 0a 78 49 00  >Ud........}..xI.<
0000a0 31 35 38 31 45 4d 53 31 2e 31 30 37 30 36 32 38  >1581EMS1.1070628<
0000b0 32 30 32 32 30 39 3a 30 37 3a 30 38 00 00 00 28  >202209:07:08...(<
0000c0 00 00 01 25 00 00 00 00 00 a2 00 b5 00 00 00 00  >...%............<
0000d0 00 00 c1 83 0d 00 05 80 00 01 00 00 00 00 00 00  >................<
0000e0 e2 00 00 65 15 00 00 00 00 00 00 00 00 00 00 00  >...e............<
0000f0 00 00 70 00 00 64 00 00 64 00 00 00 00 00 00 00  >..p..d..d.......<
000100

Profile dump 
Value       set @ address        Fan mode
0x0(0)      0xf4(byte244)        Unknown

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x37(55°C)  0x6a(byte106)        0x37(55°C)  0x82(byte130)
0x40(64°C)  0x6b(byte107)        0x3d(61°C)  0x83(byte131)
0x49(73°C)  0x6c(byte108)        0x43(67°C)  0x84(byte132)
0x4c(76°C)  0x6d(byte109)        0x49(73°C)  0x85(byte133)
0x52(82°C)  0x6e(byte110)        0x4f(79°C)  0x86(byte134)
0x58(88°C)  0x6f(byte111)        0x54(84°C)  0x87(byte135)

0x26(38%)   0x72(byte114)        0x0(0%)     0x8a(byte138)
0x2b(43%)   0x73(byte115)        0x2b(43%)   0x8b(byte139)
0x30(48%)   0x74(byte116)        0x30(48%)   0x8c(byte140)
0x36(54%)   0x75(byte117)        0x36(54%)   0x8d(byte141)
0x3c(60%)   0x76(byte118)        0x3c(60%)   0x8e(byte142)
0x46(70%)   0x77(byte119)        0x46(70%)   0x8f(byte143)
0x55(85%)   0x78(byte120)        0x55(85%)   0x90(byte144)

Do not suggest to disable Secure Boot

Secure Boot is actually a great mechanism to prevent unauthorized kernel manipulation, we should embrace keeping it enabled, only falling back when nothing else works.

However, disabling Secure Boot is mentioned within all installation methods in README.md.

For instruction of how to manage access to EC while in Secure Boot, you could find this useful (the manual installation part is applicable to any distribution): YoyPa/isw#265 (comment)

MSI Katana GF66 - Incorrect fan speed and temps

Here is the output from sudo isw -r 5 after Cooler Boost has been activated using the Fn key:

-----------CPU-----------        -----------GPU-----------
┌─Temp─┬─Fan Speed──────┐        ┌─Temp─┬─Fan Speed──────┐
│ 45°C │ 38%   0RPM     │        │ 0°C  │ 0%    5901RPM  │
│ 49°C │ 38%   0RPM     │        │ 0°C  │ 0%    5829RPM  │
│ 52°C │ 38%   0RPM     │        │ 0°C  │ 0%    5901RPM  │
│ 68°C │ 38%   0RPM     │        │ 0°C  │ 0%    5901RPM  │
│ 56°C │ 48%   0RPM     │        │ 0°C  │ 0%    5901RPM  │
└──────┴────────────────┘        └──────┴────────────────┘
  • GPU temp is incorrect
  • CPU fan speed is incorrect
  • Fan speed percentages don't match RPM values
isw -cp MSI_ADDRESS_DEFAULT

EC dump 
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000020 00 00 00 00 00 00 00 00 0a 05 00 00 00 00 08 0b  >................<
000030 03 01 00 0d 00 00 50 81 d2 11 88 2c c8 01 c0 00  >......P....,....<
000040 f8 11 3b 00 92 11 00 00 39 0a ff 2d e7 0b fa 32  >..;.....9..-...2<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 2e 00 37 40 49 4c 52 58  >..........7@ILRX<
000070 64 26 26 2b 30 36 3c 46 55 64 08 03 03 03 03 03  >d&&+06<FUd......<
000080 00 00 37 3d 43 49 4f 54 63 00 00 2b 30 36 3c 46  >..7=CIOTc..+06<F<
000090 55 64 08 03 03 03 03 02 02 0f 7d 02 0a 78 39 00  >Ud........}..x9.<
0000a0 31 35 38 32 45 4d 53 31 2e 31 30 36 30 31 31 30  >1582EMS1.1060110<
0000b0 32 30 32 32 31 36 3a 34 35 3a 33 39 00 00 00 20  >202216:45:39... <
0000c0 00 00 01 25 00 00 00 00 00 d2 00 00 00 00 00 00  >...%............<
0000d0 00 00 c1 81 0d 00 05 bc 00 01 00 00 00 00 00 00  >................<
0000e0 e2 00 00 92 11 00 00 40 00 00 00 00 00 c0 00 e4  >.......@........<
0000f0 00 00 70 00 00 64 00 00 64 00 00 00 00 00 00 00  >..p..d..d.......<
000100

Profile dump 
Value       set @ address        Fan mode
0x0(0)      0xf4(byte244)        Unknown

Value       set @ address        Charging below - stop @
0xe4(228)   0xef(byte239)        90% - 100%

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x37(55°C)  0x6a(byte106)        0x37(55°C)  0x82(byte130)
0x40(64°C)  0x6b(byte107)        0x3d(61°C)  0x83(byte131)
0x49(73°C)  0x6c(byte108)        0x43(67°C)  0x84(byte132)
0x4c(76°C)  0x6d(byte109)        0x49(73°C)  0x85(byte133)
0x52(82°C)  0x6e(byte110)        0x4f(79°C)  0x86(byte134)
0x58(88°C)  0x6f(byte111)        0x54(84°C)  0x87(byte135)

0x26(38%)   0x72(byte114)        0x0(0%)     0x8a(byte138)
0x2b(43%)   0x73(byte115)        0x2b(43%)   0x8b(byte139)
0x30(48%)   0x74(byte116)        0x30(48%)   0x8c(byte140)
0x36(54%)   0x75(byte117)        0x36(54%)   0x8d(byte141)
0x3c(60%)   0x76(byte118)        0x3c(60%)   0x8e(byte142)
0x46(70%)   0x77(byte119)        0x46(70%)   0x8f(byte143)
0x55(85%)   0x78(byte120)        0x55(85%)   0x90(byte144)

From the EC dump, I can also see that the battery threshold value is incorrect because I have personally set it to 50-60%

GF66 (MSI Katana) and possibly other models have different battery threshold address

Hey everyone! So it looks like the Katana model has a different battery threshold address. I don't know about the other addresses (since this was the only one I was interested about). I can tell you that cooler boost, for instance, works out of the box. Other things might work as well, who knows.

That said, for the battery address, change the isw.conf file (bottom of the file, MSI_ADDRESS_DEFAULT), like:

...
[MSI_ADDRESS_DEFAULT]
address_profile = MSI_ADDRESS_DEFAULT
fan_mode_address = 0xf4
cooler_boost_address = 0x98
usb_backlight_address = 0xf7
battery_charging_threshold_address = 0xd7  <---- this is what you need to change (default now is 0xef)
...

Once you've done this and saved the file, you can simply do isw -t 80 to set the battery threshold at 80% (laptop needs to be below 80% when you plug it in for this to work, from my experience).
Now, I didn't look into the isw python code too much, but I feel like all the addresses are taken from the MSI_ADDRESS_DEFAULT or am I wrong?
If addresses are taken by the model specific section, then we should be good to go simply changing the address in a specific section for this (and possibly many more) model.
Also, see this issue on the original isw repo

One Master Fan. Only seen as CPU fan MSI GF63

One the GF63 models there's only one fan
image
image

However, if my GPU reaches a temp of 88, my fan doesn't speed up from what I can hear.

Another possible issue is that it's reading an incorrect temperate, unless I run nvtop then it reads it correctly

image

ec_sys deprecated - solutions?

as off recently, MLFC also has the problem with ec_sys missing - are you aware of a workaround or how to reinstall the module? renders both yoypa's isw and MLFC currently unusable to me it seems (Arch with latest kernel available in core-repo).

MSI Raider GE77HX 12UGS EC Dump

Hello!

Here's my laptop dump. For now I can't trigger cooler boost, but I hope it helps with development. Thanks.

sudo isw -cp MSI_ADDRESS_DEFAULT

EC dump 
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000020 00 00 00 00 00 00 00 00 0a 05 00 00 00 00 3b 5b  >..............;[<
000030 03 09 00 0d 00 00 50 81 6a 18 60 3b 71 02 e0 00  >......P.j.`;q...<
000040 00 00 64 00 5d 18 00 00 5d 18 54 43 05 0c 00 00  >..d.]...].TC....<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 39 00 41 46 4d 50 53 58  >........9.AFMPSX<
000070 64 23 00 23 23 41 41 50 64 64 0a 07 07 09 09 09  >d#.##AAPdd......<
000080 3a 00 41 46 4d 50 53 58 64 00 00 23 23 3c 3c 4b  >:.AFMPSXd..##<<K<
000090 64 64 0a 07 06 06 06 06 06 00 00 06 00 00 00 00  >dd..............<
0000a0 31 37 4b 35 49 4d 53 31 2e 31 30 33 30 36 32 31  >17K5IMS1.1030621<
0000b0 32 30 32 32 20 39 3a 32 30 3a 35 30 00 00 00 08  >2022 9:20:50....<
0000c0 00 00 06 31 00 00 00 00 00 e4 00 00 00 00 00 00  >...1............<
0000d0 00 00 c1 00 0d 00 04 e4 00 00 00 00 00 06 00 00  >................<
0000e0 e2 00 00 5d 18 01 00 40 01 00 00 00 00 92 00 e4  >...]...@........<
0000f0 00 00 70 00 8c 3c 32 00 3c 32 00 00 00 00 00 00  >..p..<2.<2......<
000100

Profile dump 
Value       set @ address        Fan mode
0x8c(140)   0xf4(byte244)        Advanced

Value       set @ address        Charging below - stop @
0xe4(228)   0xef(byte239)        90% - 100%

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x41(65°C)  0x6a(byte106)        0x41(65°C)  0x82(byte130)
0x46(70°C)  0x6b(byte107)        0x46(70°C)  0x83(byte131)
0x4d(77°C)  0x6c(byte108)        0x4d(77°C)  0x84(byte132)
0x50(80°C)  0x6d(byte109)        0x50(80°C)  0x85(byte133)
0x53(83°C)  0x6e(byte110)        0x53(83°C)  0x86(byte134)
0x58(88°C)  0x6f(byte111)        0x58(88°C)  0x87(byte135)

0x0(0%)     0x72(byte114)        0x0(0%)     0x8a(byte138)
0x23(35%)   0x73(byte115)        0x23(35%)   0x8b(byte139)
0x23(35%)   0x74(byte116)        0x23(35%)   0x8c(byte140)
0x41(65%)   0x75(byte117)        0x3c(60%)   0x8d(byte141)
0x41(65%)   0x76(byte118)        0x3c(60%)   0x8e(byte142
0x50(80%)   0x77(byte119)        0x4b(75%)   0x8f(byte143)
0x64(100%)  0x78(byte120)        0x64(100%)  0x90(byte144)

sudo inxi -b

System:
  Host: some-laptop Kernel: 6.0.6-1-MANJARO arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.26.2 Distro: Manjaro Linux
Machine:
  Type: Laptop System: Micro-Star product: Raider GE77HX 12UGS v: REV:1.0
    serial: 9S717K514084ZM7000135
  Mobo: Micro-Star model: MS-17K5 v: REV:1.0 serial: BSS-0123456789
    UEFI: American Megatrends LLC. v: E17K5IMS.107 date: 07/06/2022
Battery:
  ID-1: BAT1 charge: 94.8 Wh (100.0%) condition: 94.8/95.0 Wh (99.8%)
CPU:
  Info: 16-core (8-mt/8-st) 12th Gen Intel Core i7-12800HX [MST AMCP]
    speed (MHz): avg: 2237 min/max: 800/4800:3400
Graphics:
  Device-1: Intel Alder Lake-HX GT1 [UHD Graphics 770] driver: i915 v: kernel
  Device-2: NVIDIA GA104 [Geforce RTX 3070 Ti Laptop GPU] driver: nvidia
    v: 520.56.06
  Device-3: Acer Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.4 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915,nvidia,nvidia-nvswitch
    resolution: 1: 2560x1440~144Hz 2: 2560x1440~240Hz
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce RTX 3070
    Ti Laptop GPU/PCIe/SSE2
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi
  Device-2: Realtek Killer E3000 2.5GbE driver: r8169

Support for MS-17F5 motherboard

Hi, here is my dump. I didn't really get the way to edit the isw.conf file, you can also explain me quickly how to do so before you add support for my motherboard in the next version :)

000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000020 00 00 00 00 00 00 00 00 00 00 00 80 c4 07 18 0b >................<
000030 03 09 00 05 51 0a 05 00 94 11 88 2c c2 01 e0 00 >....Q......,....<
000040 00 00 64 00 66 10 00 00 66 10 6a 32 ea 0b 00 00 >..d.f...f.j2....<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000060 00 00 00 00 00 00 00 00 31 0a 41 46 4d 50 53 58 >........1.AFMPSX<
000070 64 00 00 23 23 41 41 50 64 00 08 03 01 05 06 03 >d..##AAPd.......<
000080 00 36 41 46 4d 50 53 58 61 00 00 23 23 3c 3c 4b >.6AFMPSXa..##<<K<
000090 64 00 08 03 01 05 06 03 02 16 64 02 16 64 00 00 >d.........d..d..<
0000a0 31 37 46 35 45 4d 53 31 2e 31 30 32 30 32 31 38 >17F5EMS1.1020218<
0000b0 32 30 32 31 31 35 3a 31 31 3a 31 36 08 10 00 28 >202115:11:16...(<
0000c0 00 02 23 00 00 9e c0 00 00 31 00 00 00 00 14 00 >..#......1......<
0000d0 00 00 00 00 70 00 d1 00 00 00 00 00 00 17 0c 15 >....p...........<
0000e0 e2 02 00 3b 10 00 00 00 00 00 00 00 00 c0 00 e4 >...;............<
0000f0 00 00 80 80 8c 00 05 00 00 00 00 00 00 00 00 00 >................<
000100

EC dump
�[32;1m 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F�[0m

Profile dump
�[32;1mValue set @ address Fan mode�[0m
0x8c(140) 0xf4(byte244) Advanced

�[32;1mValue set @ address Charging below - stop @�[0m
0xe4(228) 0xef(byte239) 90% - 100%

-----------CPU----------- -----------GPU-----------
�[32;1mValue set @ address Value set @ address�[0m
0x41(65°C) 0x6a(byte106) 0x41(65°C) 0x82(byte130)
0x46(70°C) 0x6b(byte107) 0x46(70°C) 0x83(byte131)
0x4d(77°C) 0x6c(byte108) 0x4d(77°C) 0x84(byte132)
0x50(80°C) 0x6d(byte109) 0x50(80°C) 0x85(byte133)
0x53(83°C) 0x6e(byte110) 0x53(83°C) 0x86(byte134)
0x58(88°C) 0x6f(byte111) 0x58(88°C) 0x87(byte135)

0x0(0%) 0x72(byte114) 0x0(0%) 0x8a(byte138)
0x23(35%) 0x73(byte115) 0x23(35%) 0x8b(byte139)
0x23(35%) 0x74(byte116) 0x23(35%) 0x8c(byte140)
0x41(65%) 0x75(byte117) 0x3c(60%) 0x8d(byte141)
0x41(65%) 0x76(byte118) 0x3c(60%) 0x8e(byte142)
0x50(80%) 0x77(byte119) 0x4b(75%) 0x8f(byte143)
0x64(100%) 0x78(byte120) 0x64(100%) 0x90(byte144)

MSI GT70 2PE Dominator Pro

EC dump
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
*
000020 00 00 00 00 00 00 00 00 00 00 00 80 80 06 00 4b  >...............K<
000030 01 09 00 05 50 0a 05 00 78 1e 5c 2b bc 02 e0 40  >....P...x.\+...@<
000040 00 00 60 00 2f 07 00 00 df 06 93 30 93 0b 38 31  >..`./......0..81<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 2b 00 34 40 4c 58 5d 5f  >........+.4@LX]_<
000070 64 20 20 20 23 2d 32 42 4c 00 05 09 06 08 03 01  >d   #-2BL.......<
000080 2c 00 34 40 4c 57 5a 5f 64 20 20 20 2a 37 42 4c  >,.4@LWZ_d   *7BL<
000090 64 00 02 02 02 02 02 02 02 00 7d 02 00 66 00 00  >d.........}..f..<
0000a0 31 37 36 33 45 4d 53 31 20 56 65 72 35 2e 31 37  >1763EMS1 Ver5.17<
0000b0 2c 20 31 32 2f 30 34 2f 32 30 31 34 2f 07 00 00  >, 12/04/2014/...<
0000c0 00 01 25 00 0c 9e c0 00 00 38 00 00 00 ff 00 00  >..%......8......<
0000d0 00 00 00 00 60 00 01 02 00 00 00 80 00 00 00 00  >....`...........<
0000e0 e2 02 00 04 10 00 00 00 00 00 00 00 00 83 00 00  >................<
0000f0 09 04 14 1b 21 28 2e 3c 49 57 64 64 01 f4 04 08  >....!(.<IWdd....<
000100

Profile dump
Value       set @ address        Fan mode
0x21(33)    0xf4(byte244)        Unknown

Value       set @ address        Charging below - stop @
0x0(0)      0xef(byte239)        Nothing is set

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x34(52°C)  0x6a(byte106)        0x34(52°C)  0x82(byte130)
0x40(64°C)  0x6b(byte107)        0x40(64°C)  0x83(byte131)
0x4c(76°C)  0x6c(byte108)        0x4c(76°C)  0x84(byte132)
0x58(88°C)  0x6d(byte109)        0x57(87°C)  0x85(byte133)
0x5d(93°C)  0x6e(byte110)        0x5a(90°C)  0x86(byte134)
0x5f(95°C)  0x6f(byte111)        0x5f(95°C)  0x87(byte135)

0x20(32%)   0x72(byte114)        0x20(32%)   0x8a(byte138)
0x20(32%)   0x73(byte115)        0x20(32%)   0x8b(byte139)
0x23(35%)   0x74(byte116)        0x2a(42%)   0x8c(byte140)
0x2d(45%)   0x75(byte117)        0x37(55%)   0x8d(byte141)
0x32(50%)   0x76(byte118)        0x42(66%)   0x8e(byte142)
0x42(66%)   0x77(byte119)        0x4c(76%)   0x8f(byte143)
0x4c(76%)   0x78(byte120)        0x64(100%)  0x90(byte144)

MSI Delta 15

Hi !
I hope this information will be helpful to expanding MSI Laptop support

isw -cp MSI_ADDRESS_DEFAULT

EC dump 
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000020 00 00 00 00 00 00 00 00 00 00 00 88 e0 06 5b 0b  >..............[.<
000030 03 09 01 0d 51 0a 05 00 a0 14 60 3b 10 02 e0 00  >....Q.....`;....<
000040 00 00 63 00 15 12 00 00 de 11 34 41 04 0c 00 00  >..c.......4A....<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 36 00 37 3c 46 4e 55 5a  >........6.7<FNUZ<
000070 78 2d 00 2d 3c 46 4b 50 50 00 07 03 03 03 03 03  >x-.-<FKPP.......<
000080 39 00 37 3c 46 50 52 57 00 37 00 37 41 46 4b 50  >9.7<FPRW.7.7AFKP<
000090 50 00 07 03 03 03 03 03 00 00 73 00 00 66 00 00  >P.........s..f..<
0000a0 31 35 43 4b 45 4d 53 31 2e 31 30 38 30 39 30 32  >15CKEMS1.1080902<
0000b0 32 30 32 31 31 37 3a 30 39 3a 33 34 15 12 00 68  >202117:09:34...h<
0000c0 00 07 25 2e 30 9e c0 00 00 65 00 91 00 c9 14 00  >..%.0....e......<
0000d0 00 00 00 00 7f a1 00 00 30 d0 36 80 00 16 07 19  >........0.6.....<
0000e0 e2 02 00 01 10 00 00 00 00 00 34 f0 00 a1 00 e4  >..........4.....<
0000f0 00 00 c1 83 0c 00 05 00 00 00 00 00 00 00 00 00  >................<
000100

Profile dump 
Value       set @ address        Fan mode
0xc(12)     0xf4(byte244)        Auto

Value       set @ address        Charging below - stop @
0xe4(228)   0xef(byte239)        90% - 100%

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x37(55°C)  0x6a(byte106)        0x37(55°C)  0x82(byte130)
0x3c(60°C)  0x6b(byte107)        0x3c(60°C)  0x83(byte131)
0x46(70°C)  0x6c(byte108)        0x46(70°C)  0x84(byte132)
0x4e(78°C)  0x6d(byte109)        0x50(80°C)  0x85(byte133)
0x55(85°C)  0x6e(byte110)        0x52(82°C)  0x86(byte134)
0x5a(90°C)  0x6f(byte111)        0x57(87°C)  0x87(byte135)

0x0(0%)     0x72(byte114)        0x0(0%)     0x8a(byte138)
0x2d(45%)   0x73(byte115)        0x37(55%)   0x8b(byte139)
0x3c(60%)   0x74(byte116)        0x41(65%)   0x8c(byte140)
0x46(70%)   0x75(byte117)        0x46(70%)   0x8d(byte141)
0x4b(75%)   0x76(byte118)        0x4b(75%)   0x8e(byte142)
0x50(80%)   0x77(byte119)        0x50(80%)   0x8f(byte143)
0x50(80%)   0x78(byte120)        0x50(80%)   0x90(byte144)

I only test Coolerboost command isw -b on and it work fine.. didnt test Fan Curve yet..

However why it require to disable secure boot? My laptop with secure boot seems working fine.. yeah i am installing this with secure boot and i use arch..

bootctl status

System:
 Firmware: UEFI 2.70 (American Megatrends 5.19)
 Secure Boot: enabled (deployed)
 TPM2 Support: yes
 Boot into FW: supported

MSI Modern 14 B5M EC Dump

Here's my laptop ec dump, hope this helps with the development of isw. Thanks.

$ sudo inxi -b

System:
  Host: zen Kernel: 5.19.5-zen1-1-zen arch: x86_64 bits: 64
    Console: pty pts/2 Distro: Artix Linux
Machine:
  Type: Laptop System: Micro-Star product: Modern 14 B5M v: REV:1.0
  Mobo: Micro-Star model: MS-14DL v: REV:1.0
    UEFI: American Megatrends LLC. v: E14DLAMS.10A date: 10/21/2021
CPU:
  Info: 6-core AMD Ryzen 5 5500U with Radeon Graphics [MT MCP] speed (MHz):
    avg: 1458 min/max: 1400/4056
Graphics:
  Device-1: AMD Lucienne driver: amdgpu v: kernel
  Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3 driver:
    X: loaded: modesetting gpu: amdgpu resolution: 1920x1080
Network:
  Device-1: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e

$ sudo isw -c -p MSI_ADDRESS_DEFAULT

EC dump 
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000020 00 00 00 00 00 00 00 00 00 00 00 88 e0 06 0b 0b  >................<
000030 03 09 00 0d 51 0a 05 00 f4 0c 88 2c 4b 01 e0 00  >....Q......,K...<
000040 00 00 64 00 a8 0c 00 00 a8 0c 2f 32 e3 0b 00 00  >..d......./2....<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 26 00 38 3e 44 4a 50 5a  >........&.8>DJPZ<
000070 78 00 00 32 41 49 50 5a 64 6e 04 03 03 03 03 03  >x..2AIPZdn......<
000080 00 00 32 3c 46 52 5a 5d 64 00 2d 32 41 48 50 55  >..2<FRZ]d.-2AHPU<
000090 64 00 03 05 05 06 03 03 06 23 73 02 00 66 00 00  >d........#s..f..<
0000a0 31 34 44 4c 45 4d 53 31 2e 31 30 35 30 38 33 31  >14DLEMS1.1050831<
0000b0 32 30 32 31 31 38 3a 30 35 3a 30 33 38 0d 00 2a  >202118:05:038..*<
0000c0 00 07 25 0f 00 9e c0 00 00 1c 00 00 00 c3 00 00  >..%.............<
0000d0 00 00 00 00 70 a1 00 00 20 20 26 80 00 16 09 04  >....p...  &.....<
0000e0 e2 02 00 00 10 00 00 00 00 00 25 30 00 83 00 80  >..........%0....<
0000f0 00 00 c1 80 0d 00 05 00 00 00 00 00 00 00 00 00  >................<
000100

Profile dump 
Value       set @ address        Fan mode
0xd(13)     0xf4(byte244)        Unknown

Value       set @ address        Charging below - stop @
0x80(128)   0xef(byte239)        Nothing is set

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x38(56°C)  0x6a(byte106)        0x32(50°C)  0x82(byte130)
0x3e(62°C)  0x6b(byte107)        0x3c(60°C)  0x83(byte131)
0x44(68°C)  0x6c(byte108)        0x46(70°C)  0x84(byte132)
0x4a(74°C)  0x6d(byte109)        0x52(82°C)  0x85(byte133)
0x50(80°C)  0x6e(byte110)        0x5a(90°C)  0x86(byte134)
0x5a(90°C)  0x6f(byte111)        0x5d(93°C)  0x87(byte135)

0x0(0%)     0x72(byte114)        0x2d(45%)   0x8a(byte138)
0x32(50%)   0x73(byte115)        0x32(50%)   0x8b(byte139)
0x41(65%)   0x74(byte116)        0x41(65%)   0x8c(byte140)
0x49(73%)   0x75(byte117)        0x48(72%)   0x8d(byte141)
0x50(80%)   0x76(byte118)        0x50(80%)   0x8e(byte142)
0x5a(90%)   0x77(byte119)        0x55(85%)   0x8f(byte143)
0x64(100%)  0x78(byte120)        0x64(100%)  0x90(byte144)

Some basic value changed with keyboard shortcuts:

  • 0x0000200e

    • 09 = turn off webcam
    • 0b = turn on webcam
  • 0x0000f003

    • 80 = turn off keyboard backlit
    • 81 = backlit level 1
    • 82 = baclikt level 2
    • 83 = backlit level 3

MSI GF63 Thin 11UC - EC dump

Hello.

Here's my laptop ec dump. Thanks.

EC dump 
       00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
000000 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000020 00 00 00 00 00 00 00 00 0a 05 00 00 00 04 0b 0b  >................<
000030 02 05 00 05 00 00 50 81 94 11 88 2c c2 01 c0 00  >......P....,....<
000040 fc 08 25 00 52 11 05 f8 5e 06 57 2a 18 0c fa 32  >..%.R...^.W*...2<
000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
000060 00 00 00 00 00 00 00 00 3c 00 41 46 4d 50 53 58  >........<.AFMPSX<
000070 64 23 00 23 23 41 41 50 64 64 08 03 03 03 03 03  >d#.##AAPdd......<
000080 3f 00 41 46 4d 50 53 58 63 00 00 23 23 3c 3c 4b  >?.AFMPSXc..##<<K<
000090 64 64 08 03 03 03 03 03 06 0f 64 06 0f 64 46 00  >dd........d..dF.<
0000a0 31 36 52 36 45 4d 53 31 2e 31 30 34 31 31 31 34  >16R6EMS1.1041114<
0000b0 32 30 32 31 31 35 3a 35 36 3a 33 31 00 00 00 28  >202115:56:31...(<
0000c0 00 00 07 23 00 00 00 00 00 00 00 00 00 00 00 00  >...#............<
0000d0 00 00 c1 81 0d 00 05 80 00 01 00 00 00 00 00 00  >................<
0000e0 e2 00 00 52 11 00 00 00 00 00 00 00 00 b7 00 e4  >...R............<
0000f0 00 00 70 00 00 64 00 00 64 00 00 00 00 00 00 00  >..p..d..d.......<

Value       set @ address        Fan mode
0x0(0)      0xf4(byte244)        Unknown

Value       set @ address        Charging below - stop @
0xe4(228)   0xef(byte239)        90% - 100%

-----------CPU-----------        -----------GPU-----------
Value       set @ address        Value       set @ address
0x41(65°C)  0x6a(byte106)        0x41(65°C)  0x82(byte130)
0x46(70°C)  0x6b(byte107)        0x46(70°C)  0x83(byte131)
0x4d(77°C)  0x6c(byte108)        0x4d(77°C)  0x84(byte132)
0x50(80°C)  0x6d(byte109)        0x50(80°C)  0x85(byte133)
0x53(83°C)  0x6e(byte110)        0x53(83°C)  0x86(byte134)
0x58(88°C)  0x6f(byte111)        0x58(88°C)  0x87(byte135)

0x0(0%)     0x72(byte114)        0x0(0%)     0x8a(byte138)
0x23(35%)   0x73(byte115)        0x23(35%)   0x8b(byte139)
0x23(35%)   0x74(byte116)        0x23(35%)   0x8c(byte140)
0x41(65%)   0x75(byte117)        0x3c(60%)   0x8d(byte141)
0x41(65%)   0x76(byte118)        0x3c(60%)   0x8e(byte142)
0x50(80%)   0x77(byte119)        0x4b(75%)   0x8f(byte143)
0x64(100%)  0x78(byte120)        0x64(100%)  0x90(byte144)

Broken on kernel 6.0.2 (openSUSE TW)

syste mctl status [email protected] returns

Oct 22 12:20:07 localhost.localdomain isw[1131]: File "/usr/lib64/python3.10/argparse.py", line 2451, in _get_values Oct 22 12:20:07 localhost.localdomain isw[1131]: value = self._get_value(action, arg_string) Oct 22 12:20:07 localhost.localdomain isw[1131]: File "/usr/lib64/python3.10/argparse.py", line 2484, in _get_value Oct 22 12:20:07 localhost.localdomain isw[1131]: result = type_func(arg_string) Oct 22 12:20:07 localhost.localdomain isw[1131]: File "/usr/bin/isw", line 336, in ec_write Oct 22 12:20:07 localhost.localdomain isw[1131]: with open(EC_IO_FILE,'r+b') as file: Oct 22 12:20:07 localhost.localdomain isw[1131]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/ec'

after distroupdate that included the latest kernel (6.0.2)

edit: nevermind, reinstall acpi_ec did the trick :)

MSI GS65 Kali Linux Installation

Hi, I hope isw-modern will work on new kernels, but not for me this time

ACPI disabled in this kernel, not building module.
Deprecated feature: REMAKE_INITRD (/usr/src/isw-1.10-2/dkms.conf)
Building for 5.18.0-kali5-amd64 5.18.0-kali7-amd64
Module build for kernel 5.18.0-kali5-amd64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Building initial module for 5.18.0-kali7-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/isw/1.10-2/source/dkms.conf)
Done.
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/isw/1.10-2/source/dkms.conf)
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/isw/1.10-2/source/dkms.conf)

ec_sys.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.18.0-kali7-amd64/updates/dkms/
depmod...
modprobe: FATAL: Module ec_sys not found in directory /lib/modules/5.18.0-kali5-amd64

Thanks for this work and your help

Adding support for MSI features into the kernel

Hi, lately i have been getting some help trying to add some missing features on MSI laptops. Recently Hans de Goede kindly tried to helped me fixing some issues like: FN Hotkeys not working, Tablet mode (Flip the Screen) and now he's trying to fix other stuff like Battery thresholds.

dmitry-s93/MControlCenter#78
dmitry-s93/MControlCenter#77

I'm just leaving this here since you, and other people, may be interested.

Maybe we will finally will see certain features incorporated into the kernel!

cheers

Job failing, no /dev/ec file


EDIT: All I needed was to reinstall acpi_ec.


Hi, I'm on fedora 36,

ISW fails to start jobs (it worked until I installed a nvidia/xorg related package ?!)

Last journalctl log for ISW is a file not found error concerning '/dev/ec'.
I can confirm : No ec file in /dev/.

Maybe someone could help me to find what is wrong, especially when everything worked fine since a month or two.

isw[659]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/ec'

On arch linux, since my last upgrade, /dev/ec is missing. Is that relative to ec_sys? lsmod output gives me ec_sys 12288 0.
I resolve the problem now by switching back the last commit of isw bin:

+EC_IO_FILE = '/sys/kernel/debug/ec/ec0/io'
-EC_IO_FILE = '/dev/ec'

But I am wondering if it is the good way to solve this... Thanks to any clue!

Job for [email protected] failed because the control process exited with error code

It was working for the past 5 months. Today I reinstall the same FEDORA OS with same settings but cant figure out this Error

sudo systemctl enable --now [email protected]

Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xeu [email protected]" for details.

prankush1999@fedora:~/acpi_ec/ISW-Modern$ systemctl status [email protected]

× [email protected] - ISW Fan Control Service
Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Tue 2024-03-26 04:34:09 IST; 12s ago
Process: 15068 ExecStartPre=/usr/bin/sleep 2 (code=exited, status=0/SUCCESS)
Process: 15072 ExecStart=/usr/bin/isw -w SILENT (code=exited, status=1/FAILURE)
Main PID: 15072 (code=exited, status=1/FAILURE)
CPU: 67ms

Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 2555, in get_value
Mar 26 04:34:09 fedora isw[15072]: result = type_func(arg_string)
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 336, in ec_write
Mar 26 04:34:09 fedora isw[15072]: with open(EC_IO_FILE,'r+b') as file:
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/ec'
Mar 26 04:34:09 fedora systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Mar 26 04:34:09 fedora systemd[1]: [email protected]: Failed with result 'exit-code'.
Mar 26 04:34:09 fedora systemd[1]: Failed to start [email protected] - ISW Fan Control Service.
prankush1999@fedora:~/acpi_ec/ISW-Modern$ journalctl -xeu [email protected]
Mar 26 04:34:08 fedora isw[15072]: Writing config to EC...
Mar 26 04:34:08 fedora python3[15072]: detected unhandled Python exception in '/usr/bin/isw'
Mar 26 04:34:09 fedora isw[15072]: Traceback (most recent call last):
Mar 26 04:34:08 fedora isw[15072]: Writing config to EC...
Mar 26 04:34:08 fedora python3[15072]: detected unhandled Python exception in '/usr/bin/isw'
Mar 26 04:34:09 fedora isw[15072]: Traceback (most recent call last):
Mar 26 04:34:08 fedora isw[15072]: Writing config to EC...
Mar 26 04:34:08 fedora python3[15072]: detected unhandled Python exception in '/usr/bin/isw'
Mar 26 04:34:09 fedora isw[15072]: Traceback (most recent call last):
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 499, in
Mar 26 04:34:09 fedora isw[15072]: main()
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 496, in main
Mar 26 04:34:09 fedora isw[15072]: parser.parse_args()
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 1891, in parse_args
Mar 26 04:34:09 fedora isw[15072]: args, argv = self.parse_known_args(args, namespace)
Mar 26 04:34:08 fedora isw[15072]: Writing config to EC...
Mar 26 04:34:08 fedora python3[15072]: detected unhandled Python exception in '/usr/bin/isw'
Mar 26 04:34:09 fedora isw[15072]: Traceback (most recent call last):
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 499, in
Mar 26 04:34:09 fedora isw[15072]: main()
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 496, in main
Mar 26 04:34:09 fedora isw[15072]: parser.parse_args()
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 1891, in parse_args
Mar 26 04:34:09 fedora isw[15072]: args, argv = self.parse_known_args(args, namespace)
Mar 26 04:34:08 fedora isw[15072]: Writing config to EC...
Mar 26 04:34:08 fedora python3[15072]: detected unhandled Python exception in '/usr/bin/isw'
Mar 26 04:34:09 fedora isw[15072]: Traceback (most recent call last):
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 499, in
Mar 26 04:34:09 fedora isw[15072]: main()
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 496, in main
Mar 26 04:34:09 fedora isw[15072]: parser.parse_args()
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 1891, in parse
>
Mar 26 04:34:09 fedora isw[15072]: args, argv = self.parse_known_args(args, namespace)
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 1924, in parse_>
Mar 26 04:34:09 fedora isw[15072]: namespace, args = self._parse_known_args(args, namespace)
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 2136, in _parse>
Mar 26 04:34:09 fedora isw[15072]: start_index = consume_optional(start_index)
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 2076, in consum>
Mar 26 04:34:09 fedora isw[15072]: take_action(action, args, option_string)
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 1984, in take_a>
Mar 26 04:34:09 fedora isw[15072]: argument_values = self._get_values(action, argument_strings)
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 2522, in _get_v>
Mar 26 04:34:09 fedora isw[15072]: value = self._get_value(action, arg_string)
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: File "/usr/lib64/python3.12/argparse.py", line 2555, in _get_v>
Mar 26 04:34:09 fedora isw[15072]: result = type_func(arg_string)
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: File "/usr/bin/isw", line 336, in ec_write
Mar 26 04:34:09 fedora isw[15072]: with open(EC_IO_FILE,'r+b') as file:
Mar 26 04:34:09 fedora isw[15072]: ^^^^^^^^^^^^^^^^^^^^^^
Mar 26 04:34:09 fedora isw[15072]: FileNotFoundError: [Errno 2] No such file or directory: '/dev/ec'
Mar 26 04:34:09 fedora systemd[1]: [email protected]: Main process exited, code=exited, status=1/F>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░

prankush1999@fedora:~/acpi_ec/ISW-Modern$

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.