All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Proposal for flight mode
@ 2010-04-22 14:49 Pekka Pessi
  2010-04-22 14:49 ` [RFC][PATCH] Add: online method to isimodem Pekka Pessi
  0 siblings, 1 reply; 5+ messages in thread
From: Pekka Pessi @ 2010-04-22 14:49 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

Hello all,

Here is the first step in adding proper flight mode to ofono. The patch
adds a boolean property "Online" to modem; if that is false, modem is in
flight mode and it has killed its cellular radio.

If the modem driver does not implement online method, the value of the
property is initially true. This feature is intended as temporary. It just
makes the new property as non-intrusive as possible.

There is also a watch list for online/offline state.

The second patch adds the online method to isimodem. The online property of
the isimodem follows the online/offline state of Nokia modems (however, this
has only been tested with N95).

In the next phase, I'll add separate atom lists for flight and online modes.
The old-fashioned post_sim will become post_online. The new method
post_sim_flight will request modem driver to add flight-mode atoms.

--Pekka

BTW, if you have applied the patch I sent earlier today, "usbpnmodem:
configure usbpn interfaces automatically", you can actually try Nokia phones
via USB. They should just work provided you have kernel 2.6.31 or newer
without any manual configuration. Select the "PC suite mode" from the phone
when you connect the USB cable.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-23 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 14:49 [RFC] Proposal for flight mode Pekka Pessi
2010-04-22 14:49 ` [RFC][PATCH] Add: online method to isimodem Pekka Pessi
2010-04-23  1:25   ` Denis Kenzior
2010-04-23 13:46     ` Pekka Pessi
2010-04-23 15:18       ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.