Comment on Got myself some energy monitoring Zigbee plugs and made an interesting discovery
umbrella@lemmy.ml 2 months agohow do i do 1? having timeout to suspend and lid close to suspend would be great. and id like to see some example scripts!
i had pretty much given up on standby with this one.
fmstrat@lemmy.nowsci.com 2 months ago
Will grab some when I back, but assuming you are using
systemd
, it’s easy if you follow this old but good method: blog.christophersmart.com/…/running-scripts-befor…If that doesn’t work out of the box, it’s likely because you’re hitting S1 instead of S3, but give that test script a shot and let me know how it goes!
umbrella@lemmy.ml 2 months ago
i will test that out later today, thanks!
umbrella@lemmy.ml 2 months ago
what kind of driver could the keyboard be using? lsmod shows nothing beyond the HID driver, but thats baing used by the external mouse which works normally after sleep.
lshw shows it going by /dev/input/event6 or something like it?
fmstrat@lemmy.nowsci.com 2 months ago
Could be internal to kernel? Try updating
/etc/default/grub
to include:GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash atkbd.reset”
and runsudo update-grub
. This will cause a full keyboard reset on resume.If you have not run BIOS updates, that could be it, too.
umbrella@lemmy.ml 2 months ago
ok it worked! thanks a lot! can’t believe it was that easy.
do you happen to know a thing or two about diagnosing trackpad issues? 😂
it only seem to work with windows, and all its features are only working with the correct drivers on windows 7… i got nowhere when i tried messing with it a couple years ago.