Toshiba Satellite keyboard turns off when boots up

I just got a used Toshiba Satellite L775D-S7112. The keyboard and touch pad work in CMOS and BiOS, but when UM starts they are both shut off. The curious thing about this laptop is that it has a button to turn off the touch pad. My guess is that button is causing incorrect input, telling it there is no onboard input. Ive been looking through config and init files, but I’m not exactly sure what I’m looking for. Any advise or pointers would be welcome.

I wonder if some of the comments in
https://forums.linuxmint.com/viewtopic.php?t=152185
might help?

Hey desconocido,
That link helped, it does get the keyboard working coming out of being suspended. So now I have to boot with another keyboard attached, put it into suspend, then wake it back up. Then the keyboard and mouse work again. Now I just have to track down where in the boot config to tell it to reset(or start) the keyboard. Just an unusual quirk I’ve never run into.

Just updating,
inxi -b
System: Host: lordbaron-Satellite-L775D Kernel: 4.15.0-54-generic x86_64
bits: 64
Desktop: MATE 1.20.1 Distro: Ubuntu 18.04.2 LTS
Machine: Device: laptop System: TOSHIBA product: Satellite L775D v: PSK40U-07P00R serial: N/A
Mobo: PEGATRON model: TKBSS v: 1.50 serial: N/A
BIOS: American Megatrends v: 1.50 date: 10/18/2011
Battery BAT0: charge: 61.3 Wh 60.1% condition: 101.9/96.8 Wh (105%)
CPU: Dual core AMD A4-3305M APU with Radeon HD Graphics (-MCP-)
speed/max: 838/1900 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Sumo [Radeon HD 6480G]
Display Server: x11 (X.Org 1.19.6 )
drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: [email protected]
OpenGL: renderer: AMD SUMO2 (DRM 2.50.0 / 4.15.0-54-generic, LLVM 6.0.0)
version: 3.3 Mesa 18.0.5
Network: Card-1: Realtek RTL8188CE 802.11b/g/n WiFi Adapter
driver: rtl8192ce
Card-2: Realtek RTL810xE PCIE Fast Ethernet controller
driver: r8169
Drives: HDD Total Size: 256.1GB (22.2% used)
Info: Processes: 173 Uptime: 1 min Memory: 881.5/3419.6MB
Client: Shell (bash) inxi: 2.3.56

This seems to be an issue with Toshiba laptops. All of the forums I've seen have all been about Toshiba laptops with keyboard and trackpad not working.

If I run sudo update-grub, then reboot, the keyboard and trackpad usually will work again, but not always. Keyboard/trackpad will keep functioning until shutdown or a long suspend(but not after a short suspend).