A wired computer appears to react to the change in contact between its terminals, with the sensor containing a reed switch that is closed by the magnet. As a further test in trying to figure out what the problem is with your computer, you could take a piece of wire, maybe even an unfolded paper clip or semi-open scissors, and repeatedly connect and disconnect the computer terminals. The computer should react to those as if the bike were moving.