Ticket #667 (closed enhancement: fixed)
handle GPS on om-gta04
| Reported by: | GNUtoo | Owned by: | mickey |
|---|---|---|---|
| Priority: | major | Milestone: | cornucopia-0.10 |
| Component: | cornucopia/fsotdld | Version: | 0.9 |
| Keywords: | Cc: |
Description
GPS power management is not handled at all on the gta04.
The result is that if the GPS is on the phone cannot suspend.
The following code put the GPS in suspend when it's awake, or wakes up the GPS when in suspend:
echo 0 >/sys/devices/virtual/gpio/gpio145/value echo 1 >/sys/devices/virtual/gpio/gpio145/value
So the main integration problem is that fsodeviced needs to know the GPS status to decide what to do.
And so it needs to read from gpsd to see if something is arriving.
Denis.
Change History
comment:1 Changed 15 months ago by morphis
- Component changed from cornucopia/general to cornucopia/fsotdld
comment:3 Changed 15 months ago by GNUtoo
I totally forgott the original problem:
rfkill is involved too....
So bloating or forking the rfkill plugin is not good
comment:4 Changed 14 months ago by GNUtoo
- Status changed from new to closed
- Resolution set to fixed
fixed by the gta04 GPS handler,added hooks as init script and to frameworkd's soeventsd.
Denis.
Note: See
TracTickets for help on using
tickets.
