Merge pull request #5 from Vesuri/master

[usb-moded] Communicate with the Lipstick device lock implementation
Fix devicelock to work with lipstick
* Add more sysfs path and values for android gadget.
* Update android diag mode by adding AT command support

[usb-moded] AT command support in diag mode. Fixes: JB#7992

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Merge pull request #6 from rainisto/master

Fix devicelock to work with lipstick
Fix warnings

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] Release 0.67

 * Add devicelock support for lipstick
 * Support more sysfs paths for android (for composite gadgets with several functions)

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Refactor devicelock related boot state query, and move it all
to its own dedicated file.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Use mass_storage also as fake charging mode with android gadget

Seems an empty android gadget only enumerates if some configuration had
been used before. Fix this by using mass_storage to make a similar fake
mass_storage device as used with normal modules.

[usb-moded] Use fake mass_storage for android gadget charging mode. Fixes: JB#8277

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] Minor release 0.67.1

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Enable setting idProduct per mode

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Remove old style global softconnect

The old softconnect was not flexible enough and has been superceded anyway
with the dynamic softconnect in the mode definition.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Update the documentation

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Update android diag config as diag_mdm port is not usually used + type in softconnect info

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Add dbus method to query network settings.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Add network setting/querying to usb_moded_util

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] Release 0.68

* Add network querying over dbus
* Network setting/querying added to usb_moded_util
* Set per mode idProduct for android
* Documentation update to reflect the current mode config

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
usb_moded_util: Always return a value in network querying/setting.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
usb_moded_util: more verbose documentation in -h

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Always return correct network interface when queried (only valid when connected though!)

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Add support for diagnostic mode

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>