My device is Qumo Helios
. It has one core CPU 1 GHz, 512 MB RAM, 8 GB nand flash. I use it with 32 GB micro sd card. Version on stock was 4.0.3. Bluetooth GPS - old BT-74S
Steps to connecting GPS:
1) Install package bluez-utils via synaptic or: sudo apt-get install bluez-utils
2) Look in the / etc / default / bluetooth, should be a line: BLUETOOTH_ENABLED = 1
3) Edit the file / etc / bluetooth / serial
.service. If not present, create it. The contents should be as follows:
Identifier = serial
Name = Serial service
Description = Bluetooth Serial Port service
Autostart = true
4) Edit the file / etc / bluetooth / hcid.conf If not present, create it. The contents should be as follows
# HCI daemon configuration file.
# HCId options
# Automatically initialize new devices
# None - Security
# Auto - Use local PIN for incoming connections
# User - Always ask user for a PIN
# Pairing mode
# None - Pairing disabled
# Multi - Allow pairing with already paired devices
# Once - Pair once and deny successive attempts
# PIN helper
# Pin_helper / usr / bin / bluepin;
# D-Bus PIN helper
# Default PIN code for incoming connections
# Default settings for HCI devices
# Local device name
#% D - device id
#% H - host name
name "% h-% d";
# Local device class
# Default packet type
# Pkt_type DH1, DM1, HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# None - no specific policy
# Accept - always accept incoming connections
# Master - become master on incoming connections,
# Deny role switch on outgoing connections
# Default link policy
# None - no specific policy
# Rswitch - allow role switch
# Hold - allow hold mode
# Sniff - allow sniff mode
# Park - allow park mode
lp rswitch, hold, sniff, park;
# Authentication and Encryption (Security Mode 3)
# Auth enable;
# Encrypt enable;
Passkey - is a pin code for the bluetooth gps. It may be 0000 or 1234, For my bluetooth 0000
5) Know the channel number and the MAC address of bluetooth GPS. Under android bluetooth GPS should not be paired, if paired, unpaire it. Under android bluetooth should be turned on.
a) restart bluetooth:
sudo / etc / init.d / bluetooth restart
b) turn on our GPS-receiver and type:
c) See the output:
00:0 D: B5: 37:3 B: A9 Nokia LD3W
... and recording the MAC address.
d) know exactly receiver channel:
sdptool browse 00:0 D: B5: 37:3 B: A9
6) Edit the file / etc / bluetooth / rfcomm.conf. Adds information about channel and MAC address.
device 00:0 D: B5: 37:3 B: A9;
comment "Serial Port";
in my example is rfcomm0, because there was no other serial connections .
Respectively, for each additional unit number increases by
1 (rfcomm1, rfcomm2 etc)
sudo rfcomm release 0
0 - means rfcomm0
sudo rfcomm connect 0
8) Look NMEA messages c GPS.
cat / dev/rfcomm0
If all goes well, you should see NMEA messages.
9) In OCPN choos / dev/rfcomm0
If the program does not start as root, then each time it is necessary to enter sudo chmod 666 / dev/rfcomm0.
Now GPS will connect automatically (if enabled Bluetooth and there are no pairing with him under android) when linux starts under Linux Deploy. If you need bluetooth GPS for android you should stops linux by clicking pause button of Linux deploy and paire with him under the android. Do not forget to unpair with it if you need it for Linux.
Concerning USB GPS, i think if your android kernel supports PL2303 or FT232 chips then you can use GPS. If no the way is to find drivers to your core or to compile it if source is available. To check supporting you should connect GPS and see the answer to dmesg command. I intend to check supporting of prolific pl2303 chip for my kernel.
Sorry for my english