[PATCH 04/10] api: new ReportKernelEvent() api method to report kernel device addition/removals

2016-08-06 Thread Aleksander Morgado
The implementation allows different parameters being reported in the kernel event, but only 3 of them are mandatory: 'action', 'name' and 'subsystem'. Once these three parameters are received, ModemManager will load the remaining kernel device information directly from sysfs. E.g.: $ sudo mmcl

Re: [PATCH 04/10] api: new ReportKernelEvent() api method to report kernel device addition/removals

2016-08-29 Thread Aleksander Morgado
On Fri, Aug 19, 2016 at 9:55 PM, Dan Williams wrote: > On Sat, 2016-08-06 at 15:03 +0200, Aleksander Morgado wrote: >> The implementation allows different parameters being reported in the >> kernel >> event, but only 3 of them are mandatory: 'action', 'name' and >> 'subsystem'. Once >> these three

Re: [PATCH 04/10] api: new ReportKernelEvent() api method to report kernel device addition/removals

2016-09-14 Thread Aleksander Morgado
On Mon, Aug 29, 2016 at 11:25 AM, Aleksander Morgado wrote: >> In the API docs it talks about USB vid/pid, but MM does support at >> least one PCI-native device; the Option Nozomi. SDIO also uses 16-bit >> vid/pid, though I'm not sure why anyone would use SDIO to hook up a >> WWAN modem :) Maybe