Closed simonchen007 closed 3 years ago
@simonchen007 Can you explain why this is needed? dkms install
already calls depmod
as far as I know.
@Plippo Thing is that, the origin Kernel(5.8.x) already have these drivers(/lib/modules/YOURKERNELVERSION/kernel/drivers/platform/x86/asus-nb-wmi.ko , and /lib/modules/YOURKERNELVERSION/kernel/drivers/platform/x86/asus-wmi.ko ), so, I have to remove those, and rerun depmod, or it would not works after reboot.
But in this pull request only the depmod is added, without removing the modules first. I'd rather add an addendum to the readme that says "If you have problems that the new version of the module is not used after a reboot, you can do the following..." and then a complete description of what to do in addition to running depmod.
okay, I will add it, and send a PR again. I found anohter 2 issues ,
Do you have solution for those ?
I found anohter 2 issues ,
1. once the system goes suspend, the main screen will go off. but the screenpad just "no display" but the backlight still existing. 2. the backlight of the keyboard won't go disable.
Do you have solution for those ?
I'm afraid neither of those problems exist on my model, so unfortunately I can't provide you with a solution.
The linux mint upgraded the kernel as 5.11.0-25-generic , this module seems do not works currently
@simonchen007 i got the same kernel version through update on ubuntu and the module stopped working.
To get it working again i reinstalled module and reinstalled the kernel
sudo apt install --reinstall linux-image-$(uname -r)
i have no idea why it worked in that order!
- once the system goes suspend, the main screen will go off. but the screenpad just "no display" but the backlight still existing.
I have this semi-solved with 2 scripts on UX482 running Ubuntu with Gnome DE
key binding
[custom4]
binding='Launch7'
command='$HOME/bin/screenpad-key-lock.sh'
name='lock screen'
screenpad-key-lock.sh
#!/bin/bash
echo 0 | tee '/sys/class/leds/asus::screenpad/brightness'
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
@kevinchappell The point is /sys/class/leds/asus::screenpad/
is disappeared after upgraded to 5.11 , I have roll back to 5.8 .
Thanks for your scripts.
fix issue #25