Filament sensor not working

I fell asleep. It ran out of filament and it was still trying to print. I dont know how to look at the firmware as I just have a Steam Deck/Linux. I dont know what is exactly wrong