summaryrefslogtreecommitdiffstats
path: root/README
blob: 17bc4ea143f3296c7f39bf4f21f516b4bcb786b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Give access to GPS devices more or less automatically.

Basic idea:

  1. Run gpsd as a system service as "nobody.gps" and gpsd_t.
  2. Communicate with this gpsd
      a) via /var/run/gpsd.sock for adding/removing devices
      b) via TCP port 2947 for getting position fixes
  3. Add database of GPS devices to HAL
  4. Add policy and scripts to HAL
  5. Give each GPS device file a "chcon gps_device_t",
     and group read/write permissions for group "gps"
     via scripts called by HAL.