I think the key part was the keyboard/touchpad solution of adding "i8042.nomux=1 i8042.reset" to the kernel line in GRUB (actually the "linux" line in GRUB2, IIRC). Before I did that, it restarted on me once when I put it to sleep. Of course, the keyboard wouldn't work so I had to reboot and lost the session, but after I added that to GRUB2 I haven't had the problem again, either with sleep or shutting down completely.
I'll leave it to those more knowledgeable than me to figure out how turn this into a "release ready" fix.
I may have found a fix. I did the sleep/hibernate fix and the keyboard/touchpad fixes found <a href="https:/ /wiki.archlinux .org/index. php/Toshiba_ Satellite_ L775D_S7340">at this site</a>, and powering off seems to work normally now.
I think the key part was the keyboard/touchpad solution of adding "i8042.nomux=1 i8042.reset" to the kernel line in GRUB (actually the "linux" line in GRUB2, IIRC). Before I did that, it restarted on me once when I put it to sleep. Of course, the keyboard wouldn't work so I had to reboot and lost the session, but after I added that to GRUB2 I haven't had the problem again, either with sleep or shutting down completely.
I'll leave it to those more knowledgeable than me to figure out how turn this into a "release ready" fix.