Yup. Seems that the tablet driver was causing the issue. What's strange though is that the mouse and keyboard are only working when the usb is partially plugged in, not fully, so there may be some physical issue as well, but that can be investigated later. The keyboard and mouse work fine now. Thank you for your help.