Open sid350 opened 4 years ago
$ sudo ls -l /sys/kernel/debug/ec/ec0/io -r-------- 1 root root 0 дек 23 23:46 /sys/kernel/debug/ec/ec0/io
ec_sys does'nt have write_support, should be -rw-------
I have the same issue in GE62 6RF. (16JBEMS1)
cat /sys/module/ec_sys/parameters/write_support
returns N
Using the latest Manjaro with Linux 5.4.6-2. Also, I use only the Intel GPU. And don't really have any need for cooler boost. Just need to slow down the fans since they keep running around 70% of the max. speed (That's just my guess).
Have you checked the readme about ec_sys write_support ?
Have you checked the readme about ec_sys write_support ?
Yes I did. It does not work.
can you show me your grub configfile ?
< /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX="i915.modeset=1"
GRUB_DISABLE_SUBMENU=y
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
So, I was going around AUR and found this
rmmod ec_sys write_support=1 rmmod: ERROR: Module ec_sys is builtin.
But, I cannot load the module with
insmod ec_sys write_support=1
When a module is builtin you need to use grub config file: from the readme:
ec_sys is a builtin kernel module:
add ec_sys.write_support=1 in /etc/default/grub
then update your grub with update-grub and reboot.
mine look like that for example:
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi=! acpi_osi=\"Windows 2009\" video.report_key_events=0 acpi_backlight=vendor ec_sys.write_support=1 udev.log_priority=3 audit=0 i915.enable_psr=1 intel_iommu=igfx_off
bbswitch.load_state=0"
I've just made a wiki page: https://github.com/YoyPa/isw/wiki/How-to-configure-ec_sys-with-write_support=1
Thanks that did! I was editing the grub file in the wrong way. Pardon me I'm new to linux. Everything works perfectly now. Thank you so much!!
@divineo Can you please help me?
I still have an issue with permissions, but file is -rw------- 1 root root 0 lis 10 22:23 /sys/kernel/debug/ec/ec0/io
and
write support returns Y
Heyy hi there @YoyPa i found your work very nice but I'm not able to implement in my kali linux, I'm using a MSI GF65 here's a screenshot please help brother
I'm using the latest Manjaro linux, isw-git from AUR. MSI GS65-8RE