You are not logged in.
Pages: 1
I did a fresh install and updated my arch, now i can't locate my file /sys/kernel/debug/ec/ec0/io. The ec directory doesn't exist now.
Offline
Is the module there and loaded?
modinfo ec_sys
lsmod | grep ecOnline
This is the output i got
https://pastebin.com/dDs01jmv
Last edited by uchiha_vk (2023-08-26 14:33:14)
Offline
So the module is there but not loaded, let alone write-enabled - what do you expect?
Also better
mount | grep debugfsMaybe elaborate a bit on the precondition:
I did a fresh install and updated my arch and now i can't locate my file
How do we square "a fresh install and updated my arch" - which one is it?
Also what was before and it's not "your" file, why do you expect it to be there itfp?
Do you have *any* idea what you're doing there or are you trying to blindly follow some random blog article?
Online
$ mount | grep debugfs
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)I'm sorry i should have elaborated the issue, I'm using a MSI laptop which controls fan through a EC, even read fan output is through EC. I found this project https://github.com/dmitry-s93/MControlCenter has everything that i need but i did not read the documentation, when straight for installation. Like you have guessed, it din work coz it was a widget (haven't configured dwm yet). Which i suspect loaded the ec_sys module. Now i have added
options ec_sys write_support=1to modprobe.
How do we square "a fresh install and updated my arch" - which one is it?
Fresh install using an old image, then updated. (The fresh install... is a disaster by me trying to shrink the partition and corrupting fs).
Then found https://github.com/torvalds/linux/blob/ … 6/msi-ec.c (Linux now supports this out of the box!!
) and also i found https://github.com/IvanoiuAlexandruPaul … C-L.py#L16, which gave me the file location. I made a script now it works perfect!!
I think im dragging it, ill keep it short next time. Thank you with lots of love
!!
Offline
Pages: 1