~Toughbooktalk~ Rob - 630-300-8877

The largest Toughbook discussion site on the net!
It is currently Sun Dec 10, 2017 10:10 pm

All times are UTC-06:00




Post new topic  Reply to topic  [ 32 posts ]  Go to page Previous 1 2 3 4 Next
Author Message
PostPosted: Tue Nov 03, 2015 11:21 am 
Offline
User avatar

Joined: Tue Oct 13, 2015 3:19 am
Posts: 193
Location: Old Europe
do you have a download link for any of the garmin versions? guess I won't need no license or map data as I just want to see the GPS (not) working
I'd be happy to give it a try on a linux vm with virtualbox pass-through for com3.

just to add one more layer of indirection, what could possible go wrong? ;-)

BR,
Karl Klammer


Top
   
PostPosted: Tue Nov 03, 2015 11:38 am 
Offline
User avatar

Joined: Fri Jan 18, 2013 11:35 am
Posts: 2866
This is oem version for Toshiba..It "may" work................http://download.garmin.com/files/GMPCToshiba.exe

It's from this page...........https://buy.garmin.com/en-US/US/on-the- ... 28129.html

Check PM's

_________________
Life will beat you into submission.


Top
   
PostPosted: Tue Nov 03, 2015 2:49 pm 
Offline
User avatar

Joined: Thu Oct 14, 2010 1:13 pm
Posts: 2177
Location: TDR-HQ California
Thanks Karl good post.

dll can be added (I've not done it) through wine config from menu. My reading yesterday mentioned having all packages in the same directory whatever that happens to be.

Another thing is the serial number required by Garmin. Did I read to use the computer serial number NOT the GPS number?

sudo lshw #may help you see hardware i.d.s from terminal.

_________________
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/


Top
   
PostPosted: Tue Nov 03, 2015 6:14 pm 
Offline
User avatar

Joined: Fri Jan 18, 2013 11:35 am
Posts: 2866
Garmin serial is found inside the program after it is loaded...

_________________
Life will beat you into submission.


Top
   
PostPosted: Wed Nov 04, 2015 3:16 pm 
Offline
User avatar

Joined: Tue Oct 13, 2015 3:19 am
Posts: 193
Location: Old Europe
these three additional system.reg lines should enable com3 gps for garmin 5.00.70g
Code:
[Hardware\\Devicemap\\Serialcomm] 1231984861
"Serial2"="COM3"
"ttyS2"="Serial2"




yesterdays dot net guess was wrong

not sure if the below mentioned mfc42.dll is required for garmin, it was required for some other gps tool

the gpsd and gps-client packages are only required for testing on linux. they have no benefit for running wine software.


how to reproduce:
Code:
karl@lubuntuvm:~$ sudo apt-get install gpsd gpsd-clients wine cmatrix

karl@lubuntuvm:~$ ls -la /dev/ttyS2
crw-rw---- 1 root dialout 4, 66 Nov  4 16:54 /dev/ttyS2
karl@lubuntuvm:~$ groups # verify I am in dialout group
karl adm dialout cdrom sudo dip plugdev lpadmin sambashare

# test gps on linux
karl@lubuntuvm:~$ gpscat -s 4800N1 /dev/ttyS2 | head -3
2681,E,0,00,50.0,551.0,M,47.6,M,0.0,0000*43
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPRMC,160734.957,V,4808.5437,N,01132.2681,E,0.0,0.00,041115,,,N*47

# symlink gps to wine and install mfc42.dll
karl@lubuntuvm:~$ ln -s /dev/ttyS2 /home/karl/.wine/dosdevices/com3
karl@lubuntuvm:~$ winetricks mfc42

# test with http://www.gpsutility.co.uk/files/gpsu524setup.exe
karl@lubuntuvm:~/.wine/drive_c/Program Files (x86)/GPS Utility$ wine ./gpsu524.exe
# does not work with GPS->Setup->Interface mode "NMEA            " on com3 with 4800 baud
# does     work with GPS->Setup->Interface mode "NMEA (via modem)" on com3 with 4800 baud
         
# install garmin thingy after extracting SFX EXE via 7zip
karl@lubuntuvm:~/Desktop/tmp$ wine msiexec /i GarminMobilePC_50070/MAIN.msi

# figure out garmin unit und unlock codes for SW.UNL
karl@lubuntuvm:~$ cmatrix

# run garmin thingy
karl@lubuntuvm:~/Desktop/tmp$ wine C:\\GarminMobilePC\\Que.exe
# garmin gps settings menu only offers usb and bluetooth, not com ports

# add these lines to system.reg, as garmin thingy seems to rely on registry stuff while ignoring IRQ stuff
> [Hardware\\Devicemap\\Serialcomm] 1231984861
> "Serial2"="COM3"
> "ttyS2"="Serial2"

# run garmin thingy again
karl@lubuntuvm:~/Desktop/tmp$ wine C:\\GarminMobilePC\\Que.exe
# seems to work, altough takes ages for additional sattelites to appear
# did not get a full fix, probably as I am indoors ... will post update if/when that happens


does that work for you?

BR,
Karl Klammer


Attachments:
garmin-screenshot.png
garmin-screenshot.png [ 246.34 KiB | Viewed 930 times ]
Top
   
PostPosted: Wed Nov 04, 2015 4:11 pm 
Offline
User avatar

Joined: Fri Jan 18, 2013 11:35 am
Posts: 2866
[Hardware\\Devicemap\\Serialcomm] 1231984861
Where did that number come from?

What dos this line do?
~$ cmatrix

I will try this tonight and let you know...

_________________
Life will beat you into submission.


Top
   
PostPosted: Wed Nov 04, 2015 4:13 pm 
Offline
User avatar

Joined: Tue Oct 13, 2015 3:19 am
Posts: 193
Location: Old Europe
the number seems to be a timestamp

cmatrix is deep haxxxor shit, it will tell you the unlock code if you stare at it long enough ;-)

best #satellites I got so far was 5, without location fix

BR,
Karl Klammer

EDIT: I'm using wine-1.6.2, not sure if that matters.


Top
   
PostPosted: Wed Nov 04, 2015 6:10 pm 
Offline
User avatar

Joined: Thu Oct 14, 2010 1:13 pm
Posts: 2177
Location: TDR-HQ California
So....the three lines at the top are the answer and the rest is just how you got there?

_________________
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/


Top
   
PostPosted: Thu Nov 05, 2015 12:48 am 
Offline
User avatar

Joined: Tue Oct 13, 2015 3:19 am
Posts: 193
Location: Old Europe
yes, the three system.reg lines are the answer - if they indeed are the answer.
(i didnt get a fix yet and shawn didnt confirm that it is working for him yet)

the rest is information on how to reproduce the whole thing for someone starting from scratch

BR,
Karl Klammer


Top
   
PostPosted: Thu Nov 05, 2015 4:56 am 
Offline
User avatar

Joined: Fri Jan 18, 2013 11:35 am
Posts: 2866
Did not feel well last night..
Hopefully tonight will be better...

_________________
Life will beat you into submission.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 32 posts ]  Go to page Previous 1 2 3 4 Next

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited