- 24 Aug, 2018 4 commits
-
-
spiiroin authored
All "normal" modes ignore syfs_path and sysfs_reset_value configuration values. Remove redundant lines from sample configuration files and adjust configuration file sanity checking rules. Also fix a GKeyFile leak on error path in dynconfig_read_mode_file(). Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
Long member and key names, and interleaved debug logging makes the config parsing code difficult to read. Add whitespace to increase ease visual inspection. Move debug logging to occur after each configuration block has been parsed. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
The "softconnect" attributes were used to configure android usb specific enable/disable sysfs controls. These attributes are no longer used, and at least in theory the same config files can be used for both android usb and configfs based systems. Remove unused attributes. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
Add custom Makefile for faster smoke-test rebuilds without spending time in configure, autotools, document generation and/or rolling rpm packages. Add multiple include protection to all header files. Move function prototypes away from header files that included in the development package. Mass rename functions to have a prefix giving context for the function. For the most part the prefix is derived from the name of the compilation module containing the function. Mass normalize indentation to four spaces in all source files. Augment author lists on each source file based on git committers. Remove "inline" attributes from not-really-inlineable functions. Remove .gitignore. Remove unused modules-android.c source file. Define _GNU_SOURCE for whole build rather than in individual files. Fix resource leaks here and there. Try to avoid hard-coding android usb paths. Add configfs backend for usb cadget configuration. Probe supported backends (configfs, android usb, or kmod) on usb-moded startup and make them mutually exclusive with each other. Allow configfs and android usb control structures some time to show up if usb-moded is started during device bootup. Refactor udev event listener to utilize a state machine. Simplifies book keeping and makes pc/charger detection heuristics easier to control. Refactor mode selection to utilize three interconnected mini state machines. Allows separating logically wanted mode from mode programmed to usb and mode exposed over D-Bus. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 05 Nov, 2015 1 commit
-
-
Philippe De Swert authored
For the special android gadget modes it is sometimes useful to be able to override the vendor id temporarly. Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 05 Oct, 2015 1 commit
-
-
Philippe De Swert authored
Diag mode has become a bit more complicated, so adding support for the new interfaces. Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 15 Apr, 2015 1 commit
-
-
Slava Monich authored
Contributes to JB#15005
-
- 11 Jun, 2014 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 12 Mar, 2014 1 commit
-
-
Philippe De Swert authored
The sorting patch did sort the list, but the start pointer returned was not saved, this caused modes to go missing in case they did not get read in in an alphabetical order. Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 11 Mar, 2014 1 commit
-
-
Thomas Perl authored
-
- 10 Dec, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 30 Nov, 2013 1 commit
-
-
Philippe De Swert authored
Nat might not be needed in all usb network related modes, but the nat interface usually stays the same in the device. Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 22 Oct, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 18 Sep, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 12 Sep, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 10 Sep, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 23 Aug, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 21 Aug, 2013 1 commit
-
-
Philippe De Swert authored
* 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>
-
- 19 Jul, 2013 2 commits
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
Philippe De Swert authored
* Add extra config options (for values that are unique and only need to be set once :( ) * Add diag mode configuration Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 19 Jun, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 29 May, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 27 May, 2013 1 commit
-
-
Philippe De Swert authored
Signed-off-by:
Philippe De Swert <philippe.deswert@jollamobile.com>
-
- 16 May, 2011 1 commit
-
-
phdeswer authored
Signed-off-by:
Philippe De Swert <philippedeswert@gmail.com>
-
- 10 May, 2011 1 commit
-
-
phdeswer authored
Signed-off-by:
Philippe De Swert <philippedeswert@gmail.com>
-