Raspberry pi CM4 usb not working

Hello friends, I am new to raspberry pi and also the the forum. i have recently bought a Raspberry pi cm4 2gb with a waveshare io base A. The problem is that the usb mouse, keyboard or any other usb device works only on the official Raspberry pi OS. When i flash a new different image ( eg. Lineage OS different versions, Twister OS ) no usb device works in which case I am unable to control the display. I have already updated and upgraded the pi and rebooted it but the problem remaines. Any thoughts on how I can get the usb devices to work on other OS ?

Many thanks in advance!