USB-Seriel GPS på Ubuntu

Scannere, kameraer, printere, mus, tegneplader osv.
naucher
Indlæg: 359
Tilmeldt: 23. jan 2009, 21:14
IRC nickname: naucher
Geografisk sted: Aabenraa

USB-Seriel GPS på Ubuntu

Indlæg af naucher »

Jeg har netop konverteret min laptop til Ubuntu 8.10
.. er altså novice på Ubuntu (og Linux)

Jeg har bl.a. behov for at installere en GPS på en USB-/Seriel-port, der skal levere positionsdata til søkort på PC'en.
GPS'en (som bliver kaldt en "GPS-mus" i butikken) er leveret med et installationsprogram til Windows. Heri bliver GPS'en defineret som: "PL-2303 USB-to-Serial". Udenpå GPS'en står der "compass" og "navibe".

Nogen, der ved om det i det hele taget er muligt at få sådan en dims til at fungere på Ubuntu?
Hvis "ja" skal jeg jo også have mit Windows-søkort installeret på Ubuntu - men bliver nok et andet spørgsmål til den tid.

Mange venlige hilsner
naucher
PVH
Indlæg: 179
Tilmeldt: 17. dec 2007, 09:06
Geografisk sted: Vesterbro

Re: USB-Seriel GPS på Ubuntu

Indlæg af PVH »

Hej,

Prøve at se denne link:

http://www.broadbandreports.com/forum/r21651530-USB-to-Serial

Med hensyn til Søkort, der har jeg ingen anelse, men måske kan installere du og køre det via en virtual XP maskine (virtualbox)?
Ubuntu 12.10:
Dell XPS M1530
Video: nVidia (GeForce 8400M GS/driver nVidia)
Trådløst kort: Intel 3945ABG
Lexmark 305S: Printer/Scanner

Ubuntu 13.04
Vision Notebook NB569 - (købt uden OS)
Video: ATI Radeon HD5650
Trådløst kort: Atheros AR928X
Lexmark 305S: Printer/Scanner
naucher
Indlæg: 359
Tilmeldt: 23. jan 2009, 21:14
IRC nickname: naucher
Geografisk sted: Aabenraa

Re: USB-Seriel GPS på Ubuntu

Indlæg af naucher »

Hej PVH

Tak for dit svar.
Jeg må straks melde, at selvom jeg på ingen måde er begynder på en PC, så er jeg dog "meget grøn" på Linux og Ubuntu.

Det link, du henviser til kunne godt antyde en sammenhæng til mit spørgsmål - selvom svaret på spørgerens indlæg blæser lidt i vinden.

Med det korte af det lange er, at jeg ikke umiddelbart kan genkende hvordan og hvor man kan afgive de kommandoer, der skulle kunne give de lister, der er nævnt i det omtalte indlæg.
... for slet ikke at nævnte hvordan man skal bære sig ad med at få installeret driver til USB to Serial "GPS-musen"

Hvordan får man begyndt?
De bedste hilsner
Naucher

Begejstret Bruger
Lenovo Thinkpad L15 (årg. 2023) | 16,0 GB RAM | 400 GB disk || Ubuntu 23.10
Lenovo Thinkpad S540 (årg. 2014) | 8,0 GB RAM | 400 GB disk || Ubuntu 22.04LTS
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: USB-Seriel GPS på Ubuntu

Indlæg af Christian.Arvai »

hej naucher


hvis det er "det levende søkort" du vil installere, skal du nok forberede dig på at have windows i virtualbox, jeg har flere gange prøve at installerere det i wine uden at det er lykkedes.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
naucher
Indlæg: 359
Tilmeldt: 23. jan 2009, 21:14
IRC nickname: naucher
Geografisk sted: Aabenraa

Re: USB-Seriel GPS på Ubuntu

Indlæg af naucher »

Hej Christian

Jow - Det er nu ikke det Levende Søkort, men de der BSB-format-kort fra NV Verlag.
Men i første omgang vil jeg gerne have konstateret om "GPS-musen" kan fungere på Ubuntu.

Dernæst må jeg så se om jeg kan få "Chart Navigator" til at fungere - enten i wine eller i en virtualbox.

Jeg har ikke helt knækket koden med, hvordan man installerer "specialprogrammer" på Ubuntu.
Skal man bruge terminalen? Og hvordan?
Eller kan man finde nogle gode "links" til Synaptec'en?
De bedste hilsner
Naucher

Begejstret Bruger
Lenovo Thinkpad L15 (årg. 2023) | 16,0 GB RAM | 400 GB disk || Ubuntu 23.10
Lenovo Thinkpad S540 (årg. 2014) | 8,0 GB RAM | 400 GB disk || Ubuntu 22.04LTS
Brugeravatar
Christian.Arvai
Admin
Indlæg: 10725
Tilmeldt: 26. apr 2008, 19:27
IRC nickname: Christian_Arvai
Geografisk sted: Holeby - Lolland

Re: USB-Seriel GPS på Ubuntu

Indlæg af Christian.Arvai »

naucher skrev:Hej Christian

Jow - Det er nu ikke det Levende Søkort, men de der BSB-format-kort fra NV Verlag.
Men i første omgang vil jeg gerne have konstateret om "GPS-musen" kan fungere på Ubuntu.

Dernæst må jeg så se om jeg kan få "Chart Navigator" til at fungere - enten i wine eller i en virtualbox.

Jeg har ikke helt knækket koden med, hvordan man installerer "specialprogrammer" på Ubuntu.
Skal man bruge terminalen? Og hvordan?
Eller kan man finde nogle gode "links" til Synaptec'en?

Jeg har heller ikke lige en metode der virker på alt, men den metode jeg har beskrevet i pixelineguiden viewtopic.php?f=32&t=2759 , er den jeg plejer at bruge når jeg installere programmer i wine.
Med venlig hilsen Christian

"We can only see a short distance ahead, but we can see plenty there that needs to be done." -- Alan Turing
PVH
Indlæg: 179
Tilmeldt: 17. dec 2007, 09:06
Geografisk sted: Vesterbro

Re: USB-Seriel GPS på Ubuntu

Indlæg af PVH »

Hej,

jeg har set andre der benytter GPS mus. De fleste har installeret gpsd og gpsd-clients fra Synaptic i Ubuntu. Hvis dit program benytter formatet GPX, som er et XML format for GPS data, er du som jeg kan se det, godt stillet. gpsd-client'en har et program der hedder gpxlogger, den logger dit gps track i GPX.

Så ja, der er muligheder. Prøv at søg på nettet, der er mange med GPS mus derude :)
Ubuntu 12.10:
Dell XPS M1530
Video: nVidia (GeForce 8400M GS/driver nVidia)
Trådløst kort: Intel 3945ABG
Lexmark 305S: Printer/Scanner

Ubuntu 13.04
Vision Notebook NB569 - (købt uden OS)
Video: ATI Radeon HD5650
Trådløst kort: Atheros AR928X
Lexmark 305S: Printer/Scanner
naucher
Indlæg: 359
Tilmeldt: 23. jan 2009, 21:14
IRC nickname: naucher
Geografisk sted: Aabenraa

Re: USB-Seriel GPS på Ubuntu

Indlæg af naucher »

Hej igen

Inspireret af PVH har jeg i Synaptic installeret:
- gpsd
- gpsd-clients
- gpsman
Hertil kommer nogle "følgepakker", som Synaptic selv foreslog (=krævede)

Umiddelbart kan man ikke se noget særligt derefter. Der bliver ingen programmer under "Programmer-menuen" el.lign.

Jeg har derfor forsøgsvis installeret GpsDrive via Tilføj/Fjern. Dette program skulle være et komplet GPS-navigationssystem med kort og det hele.
Det ser også fint ud - bortset fra, at der nederst i højre hjørne under "GPS status" står: "No GPS" med rødt.
Der findes ikke mange opsætninger el.lign. i det program, så jeg kan stadig ikke se, om der er liv i GPS-musen overhovedet.

Mit spørgsmål er så:
- hvad skulle jeg med de gpsd-pakker fra Synaptic, når jeg ikke umiddelbart kunne "bruge" dem?
- er det er mulighed for at se, om der i det hele taget er forbindelse mellem PC og GPS nogetsteds?
- f.ex. i terminalen.

Hvis ja, vil jeg bede om de eksakte kommandoer til terminalen, da jeg ikke er så god til at "gætte" på Linux-kommandoer ;-)
De bedste hilsner
Naucher

Begejstret Bruger
Lenovo Thinkpad L15 (årg. 2023) | 16,0 GB RAM | 400 GB disk || Ubuntu 23.10
Lenovo Thinkpad S540 (årg. 2014) | 8,0 GB RAM | 400 GB disk || Ubuntu 22.04LTS
lath
Indlæg: 5095
Tilmeldt: 27. apr 2008, 02:16
IRC nickname: lars_t_h
Geografisk sted: Fyn

Re: USB-Seriel GPS på Ubuntu

Indlæg af lath »

naucher skrev:- hvad skulle jeg med de gpsd-pakker fra Synaptic, når jeg ikke umiddelbart kunne "bruge" dem?


Pakker der ender med et 'd' er næsten altid (per konvention) en service, det er altså hverken et terminal-program, eller et grafisk (GUI) program. Formålet er at installere en service der komminikerer med din GPS. andre programmer kan så få fat i GPS data ved at snakke med gpsd istedet for GPSen direkte.

naucher skrev:- er det er mulighed for at se, om der i det hele taget er forbindelse mellem PC og GPS nogetsteds?


Ja, gpsd må vel gemme dine GPS poitioner i en log-fil, kig i den. men hvor den er ved jeg ikke.
Derudover kan prøve at snakke med GPSen direkte, da den bruger en seriel port. Det betyder at burde kunne få hul igennem til GPSen til en ved at bruge et terminalprogram.

naucher skrev:- f.ex. i terminalen.


Pas!
Jeg har aldrig brugt det program. Min Nokia 95 har en ekstremt dårlig 1. generation GPS, så jeg har ikke synes at det var så interessant at bruge en GPS.
Jeg er dybt skuffet over Nokia - sikke noget skrammel - isæt kortsoftwaren - mage til brugeruvenlig software skal man lede længe efter.

En bekendt af mig, en Civilingeniør, kan godt få hul igennem til Garmin GPSer, det var med Linux i 2001 (På en tur-retur til Cebit messen i Hanover,Tyskland fra Odense.

/Lars
Jeg er Software ingeniør (Diplomingeniør) i Informationsteknologi og indlejede systemer, hvor indlejrede systemer er computer (microcontroller) + elektronik i for eksempel et TV, en router, en vaskemaskine og den slags
lath
Indlæg: 5095
Tilmeldt: 27. apr 2008, 02:16
IRC nickname: lars_t_h
Geografisk sted: Fyn

Re: USB-Seriel GPS på Ubuntu

Indlæg af lath »

Jeg er godt klar over at det her ikke er nybegynder niveau, men da jeg er ved at flytte, er det alt hvad kan hjælpe med lige nu.
Jeg håber at andre så kan tage over med spørgsmål du måtte have.

Håber at det hjælper dig igang.



Bemærk først FAQ for GPSDrive siden på http://gpsdrive.de/documentation/faq.shtml.

http://gpsdrive.de/documentation/manual.shtml oplyser at gpsdrive virker sammen med:
Magellan 310, 315, 320
Garmin GPS III
Garmin etrex
GPS 45
Crux II GPS PCMCIA card
Holux GM-200 serial version
Holux GM-200 USB (needs USB to serial support in kernel)
eMap
GPSMAP 295
GNS 530
Garmin GPS 12MAP
EAGLE Expedition II
DeLorme Earthmate
Rayming TripNav, TN-200
Haicom HI-203E
GM-307 USB-Mouse
Magellan Meridian Gold (works only with NMEA V2.1 GSA setting)
NAVILock GPS Receiver (http://www.navilock.de)
Haicom GPS HI204e
Magellan Nav 6500
BendixKing KLX 100
Motorola i58sr Cellular Phone w/built-in NMEA-compatible GPS


Læg mærke til
-t device
Serial port device (e.g. /dev/ttyS0 ). You can also set it in
the setup menu.

-a Disable display of battery status. Some implementations of the
APM-BIOS are broken, so use this option if gpsdrive crashes.


Det vil sige at du kan starte den med:

Kode: Vælg alt

gpsdrive -t /dev/ttyS0 &
, hvis din GPS er tilsluttet den første serielle port

Derudover er der:
CONNECTING A GPS RECEIVER
First you have to choose if you want use the GARMIN or NMEA mode.

NMEA mode.
This is the most used mode. This mode is provided by most GPS
receivers.
To use NMEA mode, you have to start the provided program gpsd first
Start GPSD This program runs as daemon in background and provides a
server, which sends the GPS data on port number 2947. The settings
/dev/gps and 4800 BPS are precompiled if you start gpsd.

You can also change the gpsd settings i.e. to ttyS1 call it with:
gpsd -p /dev/ttyS1

If you are using a GPS receiver with an USB connection, your port may
be /dev/ttyUSB0 for the first device.

Be sure to select NMEA protocol and a baudrate of 4800 BPS in your GPS
receiver.

To see the output of you GPS do telnet localhost 2947 and after the
connect hit the R key to see the NMEA sentences.

NMEA sentences used
Following NMEA sentences are used for specified informations:

GPRMC: Position, Speed, Heading
GPGSV: Satellite signal level display
GPGGA: Altitude (not available on all receivers) and position if no
GPRMC is available. In this case, speed and heading are calculated by
GpsDrive.
PGRME: Display EPE (estimated position error), perhaps only available
on GARMIN receivers

At least you need GPRMC or GPGGA for using GpsDrive. If you can turn on
GPRMC, please do so.


USAGE
Start GpsDrive as normal user with: gpsdrive from your shell, if you
want another language see section LOCALISATION

On some distributions you may find a "GpsDrive" entry in your Gnome or
KDE menu.

It is important that you have installed GpsDrive as root, so it can
find the necessary files. Don’t start GpsDrive as root!

You can use GpsDrive without a GPS device connected. If you do so, Gps‐
Drive will automatically start in Simulator mode if no working GPS
receiver is connected and no gpsd is running. This mode is shown by a
rotating globe.

In simulator mode the pointer can move on the map (if enabled in set‐
tings menu). You can also stop gpsd if it is already running with the
"Stop GPSD" Button.

If you have connected a GPS-Receiver, you see in the GPS Info window
how many satellites are in view. You can click on this image to switch
to the Satellite position view.
You must have at least 3 satellites in view. If you want to see your
altitude, you need at least 4 satellites. The antenna of your GPS
receiver must have free sight to the sky, so you cannot use it indoors.
More satellites gives you a better accuracy.

If your receiver has not enough satellites with usable signal, the GPS
Info window is red. If your signal is ok and gives a valid position,
the GPS Info window is green.

There are 3 modes in which GpsDrive is operating:

Normal mode:

This mode is entered if you have a GPS receiver connected. The cursor
is at the position your receiver sends.

Black and a red arrows show your position on the map. The black arrow
is pointing to your selected target, the red arrow shows the direction
in which you are moving.
If you have no valid position the arrows are blinking.

Simulation

If GpsDrive finds no GPS-receiver at program start, it shows the last
position and the cursor will move to the targets you set. You can set
your target by right-mouse click on the map or by selecting a waypoint
from the FIND menu.

Position mode

This mode is activated by clicking on the "Pos. mode" button or if you
"Jump" to a target in the FIND menu.

In this mode, you can temporarily change the position for looking
around and jumping to other positions (i.e. for downloading maps). In
this mode this is not your real position and is marked as an rectangle.

You can set the position by a simple left-mouse click on the map.

You can leave the position mode by by clicking on the "Pos. mode" but‐
ton or middle-mouse click or right-mouse click (which also sets your
target).



OPENSTREETMAP MAPS
GpsDrive now supports OSM maps with the help of the renderer Mapnik.
To activate this mode you have to choose the mapnik option.



MAP DOWNLOAD
You can easily download maps from the internet with the Download but‐
ton. GpsDrive stores an index of your maps in the file map_koord.txt in
your ~/.gpsdrive directory. You can also use any directory for your
maps, but you have to set this in the settings menu.


About maps
There is a file called "map_koord.txt" in your ~/.gpsdrive directory.
Here is a sample:

top_WORLD.jpg 0,00000 0,00000 88226037
map_file0000.gif 53,60751 10,01145 3160000
map_file0001.gif 43,08210 12,24552 3160000
map_file0002.gif 49,81574 9,71454 7900000
map_file0003.gif 47,72837 14,46487 592500


The first row is the filename, then comes the latitude, the longitude
and the scale of the map. The scale of 10000000 is good for Europe, and
100000 is for a town. To see detailed streets in a city, choose a scale
like 10000 or 5000.

GpsDrive selects the map with the best scale for your position. So get
a map i.e for Europe, Austria and Vienna if you want to drive in
Vienna.


There is also the program gpsfetchmap.pl provided to download multiple
maps for a bigger area.
Please consider the copyright information at http://www.expedia.com if you
want to use their maps!
Don’t misuse this service by downloading more maps as you need! You
will risk being blocked by these servers, and possibly cause trouble
for the gpsdrive project.

File formats:

The decimal points in way.txt must always be a dot (’.’), in
map_koord.txt ’.’ or ’,’ are possible. If you download maps from within
the program, GpsDrive writes the map_koord.txt respecting your
LC_NUMERIC setting.



Can I use other maps?
You can also use your own (self drawn, scanned...) maps. The maps must
be gif, jpeg, png or other common file formats (the format must be rec‐
ognized by the gdk-pixbuf library). The lat/long coordinates you write
into the "map_koord.txt" file has to be the center of the map. The map
must have a size of 1280x1024 pixels!

Important! The maps must be named "map_*" for UTM-like projections
(lat:lon = 1:cos(lat)) and "top_*" for lat/lon Plate carree projection
(lat:lon = 1:1). The prefix is given so that gpsdrive knows how to
scale the maps correctly. Alternatively the maps can be stored without
prefix in subdirectories of $HOME/.gpsdrive/ which end in "_map" or
"_top".

There is an "import assistant" built in. Use it to import your maps.


Importing waypoints:
The easiest way is to use the script "wpget" which does everything for
you if you use a GARMIN receiver. You can use the program "garble"
(included in the package) to read out your waypoints from the Garmin
GPS (Transfer mode must be set to GARMIN here, while GpsDrive needs
NMEA!).

Scripts: "wpget" is a script which calls "garble" in the proper way.

Be sure to have "wpget", "wpcvt" and "garble" in your path. This is
fulfilled, if you did install the program as root and /usr/local/bin is
in your path.

The manual way:

You may create a file "way.txt" in your ~/.gpsdrive directory which
looks like:

DFN-Cert 53.577694 9.991263 FRITZ
Finkenwerder 53.541765 9.842541 AIRPORT
Fritz_Wohnung 53.582700 9.971390 FRITZ

The rows are: label latitude longitude waypoint-type. You may omit the
waypoint type.

There is no need to create the way.txt file yourself, you can add the
waypoints with GpsDrive using the "x" key. See help menu.




Route planning
There is no route planning feature at the moment. Route planning would
need the use of commercial maps and a database license which costs more
than EUR 10.000.


PROXY SERVER
If you must access the internet via a proxy server, you have to set the
enviromental variable HTTP_PROXY or http_proxy to a value like
http://proxy.provider.com:3128 where 3128 in this example is the proxy
port.


MOUSE CONTROL
You can switch on the Position mode by selecting this option in the
menu.

If you switched to "position mode" a rectangle is the cursor and no
position is shown. If you zoom or select another map scale with the
slider, this is done for the position of the rectangle-cursor in the
same manner as it would be your actual position. If you click with the
left button near the border, GpsDrive will scroll the map or load the
next map if you are on the margin of the map.

The middle mouse button or the "Pos. mode" menu entry switches back to
normal mode. The same happens if you select a target with the right
mouse button. Shift-left-mouse-button and shift-right-mouse-button or
using the mouse wheel changes the map scale.

Please have also a look into the Help menu in GpsDrive to be informed
about the actual mouse functions and key shortcuts.


Add new waypoints
You can simply add new waypoints in two ways:

o To add a waypoint at the current (GPS) position, simply press CTRL
and RIGHT-mouse-click. You can also press the x key.

o To add a waypoint at the mouse position, simply press CTRL and LEFT-
mouse-click. You can also press the y key.

In the popup window add the waypoint name (spaces will be converted to
underscores) and choose a waypoint type (see below for predefined way‐
point types).


Icons for waypoints
At the moment there a three different icon themes available, but not
everone has distinct icons for every type. Currently you can choose the
themes only by editing the entry "icon_theme" in the config file
"~/.gpsdrive/gpsdriverc". The possible themes are: "square.big",
"square.small" and "classic".


Routes
A route is a list of waypoints. GpsDrive guides you from one waypoint
to the next on the route. You can add waypoints to a route using the
waypoint (select target) window. You can also add comments to a way‐
point which will be spoken by the speech system and also be shown in
the map window as scrolling text.


Comments for routes
To add comments create a file with the same name as the waypoint file,
but change the suffix to .dsc, i.e way-trip.txt and way-trip.dsc, then
enter the comments in the way*.dsc file in the kind of:

$waypointname Text which is displayed and spoken

$nextwaypointname another text

Example:

$Fritz_Wohnung Hier wohnt Fritz, der Autor von diesem Programm. Er
freut sich auf Besuch und eine Einladung zu einem saftigen Steak.

$Hubertus Hier wohnt Hubertus, ein Freund von Fritz.

There is no limit of the length of the comment. Important is to start
the line with ’$name’ and the comment in the next lines.



LOCALISATION
If you have installed the program it will display messages in english,
german, french, italian, dutch, dansk, hungarian, slovak, swedish,
turkish or spanish if your language is set either with LANG or LAN
GUAGE. LANGUAGE overrides all other settings. Call "locale" to see the
settings and call "set" if LANG or LANGUAGE is set. For german do:

export LANGUAGE=de

and then call gpsdrive in this shell.

You can also start it with the line LANGUAGE=de gpsdrive without
setting the language for the shell.

Sometimes you have to do use LANG instead of LANGUAGE.

If your own language is not available, please contact me if you want to
make the translations.


SPEECH OUTPUT
If you want speech output you have to install the festival speech out‐
put system. See http://fife.speech.cs.cmu.edu/festival for informa‐
tion.

For german output you have to get the german festival from http://www.ims.uni-
stuttgart.de/phonetik/synthesis/index.html

If you have a functional festival software call it as server with:

festival --server

When you start GpsDrive it will detect the server on port 1314 and puts
out some status information as speech. You also have an additional but‐
ton (Mute) to switch off sound output.

GpsDrive tries to select the correct language for your locale. The -l
option can force the languages for speech output. At the moment
english, spanish, and german are supported. GpsDrive sets festival into
the proper language. If the initialisation is not correct, have a look
into gpsdrive.c and edit following defines do your needs:

#define FESTIVAL_ENGLISH_INIT "(voice_ked_diphone)"

#define FESTIVAL_GERMAN_INIT "(voice_german_de3_os)"

#define FESTIVAL_SPANISH_INIT "(voice_el_diphone)"

For this, you need the voices ked_diphone for english, german_de3_os
for german (this is a MBROLA voice) and el_diphone for spanish.

There is now an unsupported build of festival including english, german
and spanish support. Download it from GpsDrive homepage mirrors and
extract the tar file in the directory /usr/local as root:

cd /usr/local
tar -xvzf festivalbuild.tar.gz

Start the server with /usr/local/festival/bin/festival --server



FRIENDSD server
There is a server program, called friendsd which acts as server for the
position of your friends. If you enable it in the settings menu, then
you can see the position of all gpsdrive connected with this server.

You will see the position of your friends as a car symbol on the map,
including the name, time, day of week and the speed of his last connec‐
tion. The blue arrow shows the last reported direction of your friend.

The time is transmitted as UTC, but shown on the display as your local
time, so it is also correct if your friend lives in another time zone.

The server uses port 50123 (UDP), so be sure that you open the port in
your firewall. The server needs no root privileges and should run as
normal user or a special user with no privileges. The server was NOT
tested for security.

There is a friends server running on friends.gpsdrive.de, you can try
it if you enable it in the settings menu.

You can also send messages to other mobile targets (Misc. Menu/Mes
sages)


/Lars
Jeg er Software ingeniør (Diplomingeniør) i Informationsteknologi og indlejede systemer, hvor indlejrede systemer er computer (microcontroller) + elektronik i for eksempel et TV, en router, en vaskemaskine og den slags
utopia
Indlæg: 174
Tilmeldt: 25. jan 2008, 13:14
Geografisk sted: Nordsjælland

Re: USB-Seriel GPS på Ubuntu

Indlæg af utopia »

Jeg synes du skal starte med at installere dit søkort/kort program først. Og så tage problemet med gps musen fra programmet den skal fungere under. Hvis dit søkort skal køre under wine eller virtualbox er det jo alligevel ikke "rigtig" linux. :)
naucher
Indlæg: 359
Tilmeldt: 23. jan 2009, 21:14
IRC nickname: naucher
Geografisk sted: Aabenraa

Re: USB-Seriel GPS på Ubuntu

Indlæg af naucher »

utopia skrev:Jeg synes du skal starte med at installere dit søkort-program først.


Det lyder som en god ide. Hvis jeg kan få søkortet til at fungere, findes der jo dér noget opsætning, der skal kunne genkende og hente data fra GPS-musen.

Faktisk har jeg forsøgt mig.
Det gik ikke helt smertefrit - faktisk slet ikke:

Programmet (Chart Navigator) er (naturligvis) et Windows-program, som jeg derfor installerer via Wine.
Men programmets install-process foregår normalt i en browser, der leder fra en side til den næste, hvor man skal angive forskellige inputs, såsom: brugernavn og licenskode m.v.
Men det kører ikke rigtigt i Wine, så der bliver ikke rigtigt mulighed for at angive f.ex. licenskoderne.

Jeg fandt i stedet setup.exe filen og kørte den i Wine, hvorefter programmet ser ud som det installeres.

Men når jeg derefter vil køre programmet (i Wine) kommer der et gråt vindue frem i et sekund, og så forsvinder det igen.
Der mangler altså et eller andet for at programmet kan køre.

Kan man lave opsætninger i Wine, der kan tackle det?

Jeg har læst om Wine-Doors. Er det "bedre" til denne opgave?
(og hvordan får jeg fat i det?)
De bedste hilsner
Naucher

Begejstret Bruger
Lenovo Thinkpad L15 (årg. 2023) | 16,0 GB RAM | 400 GB disk || Ubuntu 23.10
Lenovo Thinkpad S540 (årg. 2014) | 8,0 GB RAM | 400 GB disk || Ubuntu 22.04LTS
utopia
Indlæg: 174
Tilmeldt: 25. jan 2008, 13:14
Geografisk sted: Nordsjælland

Re: USB-Seriel GPS på Ubuntu

Indlæg af utopia »

naucher skrev:Kan man lave opsætninger i Wine, der kan tackle det?
Jeg har læst om Wine-Doors. Er det "bedre" til denne opgave?
(og hvordan får jeg fat i det?)


Jeg kender ikke Wine-doors, men jeg har selv haft held med at bruge "Wine tricks"
http://wiki.winehq.org/winetricks
naucher
Indlæg: 359
Tilmeldt: 23. jan 2009, 21:14
IRC nickname: naucher
Geografisk sted: Aabenraa

Re: USB-Seriel GPS på Ubuntu

Indlæg af naucher »

Hov - nu virker det sør'me ;-D

Jeg ved ikk' helt hvorfor jeg pludselig kan få åbnet søkort-programmet (Chart Navigator), men det kan jeg altså.
Det eneste jeg kan komme i tanke om, er at har forsøgt at installere IE6.0 til Linux vha. en vejledning jeg fandt på http://www.freedomnotbeer.dk/index.php? ... or%20linux

Det virkede til gengæld ikke - desværre ;-(

Jeg vil stoppe diskussionen om søkort og GPS på denne tråd - jeg har oprettet en ny tråd om Com-port og USB-GPS-mus på viewtopic.php?f=15&t=5908 i stedet for.
De bedste hilsner
Naucher

Begejstret Bruger
Lenovo Thinkpad L15 (årg. 2023) | 16,0 GB RAM | 400 GB disk || Ubuntu 23.10
Lenovo Thinkpad S540 (årg. 2014) | 8,0 GB RAM | 400 GB disk || Ubuntu 22.04LTS