YoyPa / isw

Ice-Sealed Wyvern
GNU General Public License v3.0
385 stars 78 forks source link

/sys/kernel/debug/ec/ec0/io: No such file or directory #165

Open gezeralperen opened 3 years ago

gezeralperen commented 3 years ago

I can not run any command because there is no such directory as /sys/kernel/debug/ec in my Ubuntu 20.04.

gezeralperen commented 3 years ago

After rebooting the directory appeared but this time I encountered "Operation not permitted" error for the same file "/sys/kernel/debug/ec/ec0/io"

gezeralperen commented 3 years ago

I run the command with sudo

iFederx commented 3 years ago

After copying all the files,

/etc/isw.conf
/etc/modprobe.d/isw-ec_sys.conf
/etc/modules-load.d/isw-ec_sys.conf
/usr/bin/isw

do this:

sudo modprobe -r ec_sys
sudo modprobe ec_sys write_support=1

then, you should be able to launch isw commands

nooballday commented 3 years ago

@iFederx Shouldn't it be on documentation?

pranavraaghav commented 3 years ago

@iFederx This really should be a part of the documentation!