The speedometer and odometer are driven by different gears. If they both stopped working its likely that it is an electrical issue and not a mechanical one. In my car the speedo works but the odometer and trip meter stopped working because the teeth on that gear are worn down. They sell the...