I have a Desire Z and when moving to fast the compass hardware starts to return totally wrong values. Its probably the hardware which can't measure correctly when moving to fast but i want to know if all devices have this problem.
You can try it with your own phone by installing any compass app (don't use Google Maps cause they switch automatically to GPS-compass-mode when moving). I need to know this because for Augmented Reality applications its still relevant to know where the user is looking when being in a train/car.