Iāll PM you the āfixesā, Martin
EDIT: I canāt find a way to PM on this forum, but Iām not awake yetā¦ Iāll just paste it here:
The āfixesā are perhaps better described as workarounds, but I was trying for a positive post to balance the negative ones
Howeverā¦ hereās the brightness and wifi/network fix:
Paste the following code into a script and place in /lib/systemd/system-sleep and do āsudo chmod a+x /lib/systemd/system-sleep/your-scriptā to make executable:
#!/bin/sh
case $1/$2 in
pre/*)
#echo "Going to $2..."
exit 0
;;
post/*)
#echo "Waking up from $2..."
# Place your post suspend (resume) commands here, or `exit 0` if no post suspend action required
echo 35 > /sys/class/backlight/nv_backlight/brightness
service network-manager restart
;;
esac
Obviously the brightness fix is machine/driver specific, so needs editing for each machine, or changed programatically
The high cpu is only a stop-gap until a fix is found:
just disable the execution
sudo chmod 744 /usr/lib/gvfs/gvfsd-smb-browse
Chris