Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #667 (closed enhancement: fixed)

Opened 15 months ago

Last modified 13 months ago

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:2 Changed 15 months ago by morphis

  • Version milestone5.5 deleted

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.

comment:5 Changed 13 months ago by morphis

  • Version set to 0.9
  • Milestone set to 0.10
Note: See TracTickets for help on using tickets.