For linux PC - very easy. You should config USB networking (or any other networking with n900), install gpsd and tell PC programms IP of a host (n900), on which gpsd is running