Commit Graph

1978 Commits

Author SHA1 Message Date
Aleksander Morgado
93e4c8625b plugin: don't match generic plugin by name 2020-04-08 17:53:42 +02:00
Aleksander Morgado
4b058872a0 plugins: don't add plugin name in log message explicitly 2020-04-08 17:53:42 +02:00
Aleksander Morgado
8722215f7e plugins: use logging module name as plugin name 2020-04-08 17:53:42 +02:00
Aleksander Morgado
997e2cefb8 log: define per-module logging for shared utils and plugins 2020-04-08 17:53:42 +02:00
Aleksander Morgado
e956bac47b log: common logging method definition for all testers and helpers 2020-04-08 17:53:42 +02:00
Aleksander Morgado
4508c11796 zte: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
35554aaeed xmm: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
9c9e531130 x22x: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
ab47b56573 wavecom: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
c891595e3f via: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
ccd0f6de5a ublox: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
e04aa0ea5d tplink: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
94a1559751 thuraya: no logging in plugin 2020-04-08 16:35:10 +02:00
Aleksander Morgado
98631e140e thuraya: return GError in custom CPMS parser 2020-04-08 16:35:10 +02:00
Aleksander Morgado
078c638165 telit: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
9dbc346f93 simtech: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
d15da9cf60 sierra: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado
aed9f46443 samsung: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
e623a54d27 quectel: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
d25163cca1 pantech: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
662f8afc56 option,hso: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
4e0a9b1985 novatel: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
793fc1c51a nokia: no logging in plugin 2020-04-08 16:35:09 +02:00
Aleksander Morgado
63955ce52d mtk: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
1edd4bb101 mbm: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
64ac1c19ff longcheer: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
62033b1b6e linktop: no logging in plugin 2020-04-08 16:35:09 +02:00
Aleksander Morgado
2da417c7a2 iridium: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
fe78612d6d icera: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
1cb39536e9 huawei: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
59e6e3b141 haier: no logging in plugin 2020-04-08 16:35:09 +02:00
Aleksander Morgado
fb85b5cbf9 generic: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
a5df49c5f4 foxconn: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
77080d5f26 fibocom: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
b3e56bc576 dlink: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
784fd9b740 dell: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
261ba90d08 cinterion: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
fe4b8f6817 anydata: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
f5ce4a722a altair: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
a2b57474dc error-helpers: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
ecd766796a modem-helpers: port cesq response parser to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
39dd4c166d modem-helpers: port clcc list parser to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
0f708daf0b modem-helpers: port supported modes filtering to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado
9bcadea172 log: new object logging support
So that we can provide the specific object id in every log associated
to a given object.
2020-04-08 16:35:08 +02:00
mozzwald
a309b089c9 quectel: add port type hints for EC25/EG25 #194 2020-03-25 12:35:41 -05:00
Aleksander Morgado
6eabfd27bf huawei: only tag GETPORTMODE supported if it was really used
E.g. do nothing if the response is empty:

 <debug> (ttyUSB1): -->'AT^GETPORTMODE<CR>'
 <debug> (ttyUSB1): <--'<CR><LF>^GETPORTMODE: TYPE: WCDMA: Huawei Technologies Co.,Ltd.,<CR><LF><CR><LF>OK<CR><LF>'
2020-03-03 17:23:07 +00:00
Aleksander Morgado
353e27065d huawei: try to read port type hints from interface descriptions
So far, we're really only interested in the "modem" and "pcui" ports.

  root@9d52738:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4# find . -name interface|sort
  ./1-1.4:2.0/interface
  ./1-1.4:2.1/interface
  ./1-1.4:2.2/interface
  ./1-1.4:2.3/interface
  ./1-1.4:2.4/interface
  ./1-1.4:2.5/interface
  ./1-1.4:2.6/interface

  root@9d52738:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4# find . -name interface|sort|xargs cat
  CDC Ethernet Control Model (ECM)
  CDC Ethernet Data
  Huawei Mobile Connect - Modem
  Huawei Mobile Connect - Application
  Huawei Mobile Connect - Pcui
  Huawei Mobile Connect - Ctrl
  Huawei Mobile Connect - Serial B

Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/170
2020-03-03 17:23:07 +00:00
Aleksander Morgado
5da33df35b huawei: avoid attempting to complete GTask twice 2020-02-26 13:12:20 +01:00
Aleksander Morgado
00dc961cad iface-modem-location: common helper code to test raw gps 2020-02-07 14:42:16 +00:00
Aleksander Morgado
bdd1874f17 tests,keyfiles: add dummy test to avoid -Wunused-function warnings
If none of the plugins enabled in the build has custom keyfiles, the
common_test() method would be unused. Avoid this just by adding a new
dummy test which is always available in the keyfiles tester.
2020-02-03 16:08:40 +01:00