OK I just tried 10.04 and it still doesn't work. If you cat /dev/ttyUSB0, does it output anything, before and after the program has finished running?
Printable View
OK I just tried 10.04 and it still doesn't work. If you cat /dev/ttyUSB0, does it output anything, before and after the program has finished running?
run gpsctl -n
have to have gpsd running
then try
Yeah I have tried all that. You actually don't need gpsd running if you use gpsctl -f. Anyway, it's already set to NMEA mode.
Hi, what's gpsctl? Where can I find it. I'm trying another app and I can't set the COM port on Wine. It's a bluetooth module that has to be configure from the /dev/rfcomm0
I suggest you try using your gps device with another application first, to try and isolate the problem. Try using it with oziexplorer (they have a trial version, but I am not sure if it's functional enough to see whether everything works...). This way you will know if it's a wine problem, a module problem or a garmin mobile pc problem.
If your gps works with linux gps applications, then I guess your usbserial module is ok.
wow! nice job rogerdugans!
can i ask a few question about it?
, i have implant the GPS/GSM module at my laptop by slotting it into mini PCIE slot, using Sierra Wireless MC8780.
im using linux debian oshirix OS, so is it possible the Garmin to send an email together with the coordinate to detect my laptop in case it is stolen? maybe send the coordination via email? thanks.
Kiraichi
Great stuff! I am starting to really test using ubuntu for dedicated CarPC and GPS was the hold back. Already have GMPC so it's a plus!
Very good and useful.
From the first time I found this "Garmin MobilePC being
tested- so far, so good" I allways be back, because this
article helps me solve problems installing GarminMobilePC on
linux mashine.
Sorry if I make mistakes (english not my native:).
I am not linux guru, but spent lot of time digging in inernet
and making mistakes, achieve result - Garmin works !
I use my eeepc 900 with GarminMobilePC.
In 4 gb disk I install WattOS.(For me it's best).
Article above very usable ,and I only add few sentences.
With my eeepc I use Holux bluetooth device M-1000,(M1200e also
works).
If needed install bluez:
sudo apt-get install bluez
In terminal :
hcitool scan
scanning ...
can see: XX:XX:XX:XX:XX:XX ...You device mac.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
go to etc/bluetooth
edit rfcomm.conf (gksu leafpad /etc/bluetooth/rfcomm.conf)
rfcomm.conf:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
rfcomm0 {
bind yes;
device XX:XX:XX:XX:XX:XX;
channel 1;
comment "HOLUX";
}
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.wine system.reg add lines
[Hardware\\Devicemap\\Serialcomm] 1231984861 @=""
"rfcomm0"="Serial0"
"rfcomm1"="Serial1"
"Serial0"="COM1"
"Serial1"="COM2"
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sudo rfcommbind /dev/rfcomm0 XX:XX:XX:XX:XX:XX
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In terminal:
hcitool scan
scanning ...
can see yours bt device: XX:XX:XX:XX:XX:XX ...
cat /dev/rfcomm0 /devices/ttyS0
You must see scrolling data:....
Close terminal and open new:
ln -s /dev/rfcomm0 ~/.wine/dosdevices/com1
cat ~/.wine/dosdevices/com1
You must see scrolling data again: ....
if not works try:
sudo cat /dev/rfcomm0 /devices/ttyS0
if see scrolling data:
$SPPGA.....
$SPGSV....
OK.
go and create file /etc/udev/rules.d/40-rfcomm.rules
add lines
xxxxxxxxxxxxxxxxxxxxx
KERNEL=="rfcomm*",
GROUP="dialout",
MODE="0666"
xxxxxxxxxxxxxxxxxxxxx
reboot
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Install wine, if needed winetricks ,
corefonts,dotnet11,dotnet20,fakeie6,wininet.
(sudo apt-get install wine)
Install GarminMobilePC 5.00.6.0 (only this version will works)
go to garmins MAIN.msi folder (cd /media/...).
wine msiexec /i MAIN.msi
start GarminMobilePC Que.exe and check your ID (3838736366)
run generator and copy sw.unl to GarminMobilePC
directory in .wine ,also copy gmapsupp.img.
You are on the road again!!!!
P.S. All write from memory and maybe make some mistakes .
I dont remember if it is necessary to reboot after:
sudo rfcommbind /dev/rfcomm0 XX:XX:XX:XX:XX:XX.
If like use com2 ,change rfcomm0 to rfcomm1 and COM1 to COM2.
In GarminMobilePC use Serial GPS (COM1) in settings.