Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Twix53791 opened this issue Aug 23, 2023 · 5 comments

Comments

@Twix53791
Copy link

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!

@FaridZelli
Copy link
Owner

I resolve the problem now by switching back the last commit of isw bin

Hey, sounds like Arch added back ec_sys to their kernel. This is great news! You may have to switch to acpi_ec (/dev/ec) if it breaks again in the future. You can read more about it here: YoyPa/isw#263

But I am wondering if it is the good way to solve this...

You could've reinstalled acpi_ec, which would have fixed it as well. Both workarounds are fine.

@Twix53791
Copy link
Author

Ok, thanks to the answer. What you say make me feel like the ec_sys solution is better, so I let thinks like that... Maybe, as a suggestion, isw could detects automatically the system set up to use one or the other mode? For future users it could be a good idea, isw is enough cryptic to set up like that, and install something which bug straightaway is always demoralizing especially for "newbies" (normal users...) !

@FaridZelli
Copy link
Owner

This could absolutely be automated, unfortunately I no longer own an MSI laptop and nor do I know Python. ISW is a very handy program however large portions of it need to be reworked. If I ever buy another MSI laptop in the (far, far) future, I'll surely create an alternative from the ground up.

@Twix53791
Copy link
Author

Ah! I did'nt see the project is no more maintained! Really this isw project can't live too long in the same hands! But @BeardOverflow alternative seems promising, lets wait that... I would like to join the development of such a so usefull tool but sadly my skills as a programmer are not enough advanced to dig into the linux kernel and write in C... unless I am forced to is I can't find no more any other alternative!

@FaridZelli
Copy link
Owner

BeardOverflow's msi-ec project is a universal kernel driver for MSI laptop hardware, not a userspace application. I've already made a list of alternatives to ISW which you can find here: YoyPa/isw#263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants