QlandkarteGT

If there's software you need and you can't find, make a request for it.
anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: QlandkarteGT

Post by anttel » 1. Jun 2010, 20:58

After upgrading following the wiki, QLandkarteGT works fantastic!!!! Many thanks. to connect my Garmin GPS there seems to be Garmin drivers necessary. link: http://www.qlandkarte.org/index.php?opt ... &Itemid=17

Could you please help me again?
Best regards.
anttel

:D

User avatar
gapan
Salix Wizard
Posts: 5536
Joined: 6. Jun 2009, 17:40

Re: QlandkarteGT

Post by gapan » 1. Jun 2010, 21:04

Did you try to follow the instructions there? The only difference would be at the end, where you should run

Code: Select all

make install
as root, instead of running with sudo.
Image
Image

anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: QlandkarteGT

Post by anttel » 2. Jun 2010, 19:13

Well I followed the instructions. After that I copied the generated files into /usr/lib/qlandkartegt/ but the version of these Garmin device files were not accepted bij Qlandkarte 0.18. Then I copied these files from my sidux installation (qlandkarte and the garmin drivers package is in the debian SID repository) and these are accepted by the Salix Qlandkarte. Now I cannot acces the Garmin mapcsx60 GPS via USB. Acces is denied. I did trie to fix the permissions:

http://wiki.openstreetmap.org/wiki/USB_ ... _GNU/Linux

I tried both the debian and opensuse udev.rules for my garmin but still the acces is denied...

Then I started QLandkarte as root. When I try to download tracks I get the next message:

Failed to download tracks. Failed to configure USB: Device or resource busy

The kernel driver 'dummy' is blocking. Please use 'rmmod dummy' as root to remove it temporarily. You might consider to add 'blacklist dummy' to your modeprobe.conf, to remove the module permanently.

When I use rmmod dummy the message I get is:

# rmmod dummy
ERROR: Module dummy does not exist in /proc/modules

This is how far I've come.

I've got the feeling it's almost done, but how can I get acces to my Garmin GPS (USB)?
best regards,
anttel

User avatar
laprjns
Salix Warrior
Posts: 1039
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: QlandkarteGT

Post by laprjns » 4. Jun 2010, 00:18

Here's a package for the drivers:
http://people.salixos.org/laprjns/garmi ... 86-1rl.txz
Don't know if it will work, but it built without any problems.
Also, I have rebuilt the qlandkarteGT to fix the icon problem. Here's the new package:
http://people.salixos.org/laprjns/qland ... 86-2rl.txz

Hope this works for you
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"

anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: QlandkarteGT

Post by anttel » 7. Jun 2010, 19:16

Hello Laprjns,
Thank you very much for the two new packages. Qlandkarte and the Garmin package install fine. All the Garmin GPS are in the settings menu. Selecting my Garmin GPSmap 60CSx works fine, but connecting to through usb is not allowed: acces is denied. I described this in a previous message. I don't knowyet how to solve this. I tried to fix this like the debian and the fedora options, but too bad they both don't work.

Could someone help me out with this last hurdle, please.
Thank you in advance

regards
anttel

User avatar
laprjns
Salix Warrior
Posts: 1039
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: QlandkarteGT

Post by laprjns » 8. Jun 2010, 02:07

Does it work if you run qlandkartegt as root?
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"

flux
Posts: 26
Joined: 26. Oct 2009, 12:13

Re: QlandkarteGT

Post by flux » 8. Jun 2010, 10:25

Try to remove the kernel module

garmin_gps

as root and then start again qlandkarteqt (as user).

It works for me with gpsbabel in this way, with the loaded kernel module there is no way to access the GPS device via USB.

flux.

anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: QlandkarteGT

Post by anttel » 8. Jun 2010, 14:06

Hello Laprnjs and flux,
Many thanks for the help you give. As root it does work! The GPS device beeps once as I plug it in (USB) - in sidux this means a working connection and now it also does in Salix (I did remove the garmin kernel drivers). In user modus USB acces is denied. I remember there is something with udev rules. I'll try to find out how.

regards,
Anttel

User avatar
laprjns
Salix Warrior
Posts: 1039
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: QlandkarteGT

Post by laprjns » 8. Jun 2010, 23:58

If it works running as root, then it seems to me to be a permission problem, and you need some kind of udev rule. I'm getting a little out of my expertise (which doesn't require going to far :) ) but try adding this. Create a file in /etc/udev/rules.d called 51-garmin.rules and add the follwing line to it

Code: Select all

SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666"
After rebooting, see if your normal user can now get access to you garmin device
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"

anttel
Donor
Posts: 47
Joined: 31. May 2010, 19:17

Re: QlandkarteGT

Post by anttel » 14. Jun 2010, 14:03

After creating the 51-garmin.rules file and adding the line and a reboot still usb acces is denied to my garmin gps.
I tried also some other variants of th commands as stated on the gps babel website. Does these permissions work different in Salix?

Post Reply