I have a Dell Vostro laptop running Ubuntu 20.04. The keyboard works fine initially but as soon as I suspend it and then turn it on, it no longer functions. I have to add an external keyboard to do my work OR restart the laptop. It is causing me a lot of trouble. It is clear that it is a software/OS related issue because it only happens on suspension. Kindly provide help.
Edit: F11 and F12 seem to be working as they are used by me as brightness decrease and increase keys.
Edit 2: Adding the specified outputs:
Before suspend:
$ sudo lsusb -tv
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 413c:2113 Dell Computer Corp.
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 413c:2113 Dell Computer Corp.
|__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 03f0:3841 HP, Inc
|__ Port 5: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
ID 0bda:5769 Realtek Semiconductor Corp.
|__ Port 5: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
ID 0bda:5769 Realtek Semiconductor Corp.
|__ Port 6: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
|__ Port 8: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
ID 0cf3:e009 Qualcomm Atheros Communications
|__ Port 8: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
ID 0cf3:e009 Qualcomm Atheros Communications
After suspend :
sudo lsusb -tv
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 413c:2113 Dell Computer Corp.
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 413c:2113 Dell Computer Corp.
|__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
ID 03f0:3841 HP, Inc
|__ Port 5: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
ID 0bda:5769 Realtek Semiconductor Corp.
|__ Port 5: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
ID 0bda:5769 Realtek Semiconductor Corp.
|__ Port 6: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
|__ Port 8: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
ID 0cf3:e009 Qualcomm Atheros Communications
|__ Port 8: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
ID 0cf3:e009 Qualcomm Atheros Communications
More : https://pastebin.com/63TqhkE5
EDit : The issue got resolved on its own like rest of my issues