Re: [PATCH] udevng: Add OFONO_PATHNAME property to set modem dbus path name

2018-02-15 Thread Christophe Ronco
Hi Pau, hi Denis, On 02/14/2018 09:31 PM, Denis Kenzior wrote: Hi Pau, As far as I understand the IMEI is available in org.ofono.Modem.GetProperties "Serial" property. To be able to access this information, I need to previously power on the modem (SetProperty Powered true), otherwise it

Re: [PATCH] udevng: Add OFONO_PATHNAME property to set modem dbus path name

2018-02-14 Thread Denis Kenzior
Hi Pau, As far as I understand the IMEI is available in org.ofono.Modem.GetProperties "Serial" property. To be able to access this information, I need to previously power on the modem (SetProperty Powered true), otherwise it doesn't show up. Which means that for an ofono user, it is a

Re: [PATCH] udevng: Add OFONO_PATHNAME property to set modem dbus path name

2018-02-14 Thread Pau Espin Pedrol
Hi Denis, On 14/02/18 18:04, Denis Kenzior wrote: This sounds like a very specific non-real world usecase, right?  I mean why don't you simply compare the IMEI if you really care? First of all, I like thinking that I'm part of the real world! As far as I understand the IMEI is available in

Re: [PATCH] udevng: Add OFONO_PATHNAME property to set modem dbus path name

2018-02-14 Thread Denis Kenzior
Hi Pau, On 02/13/2018 01:53 PM, Pau Espin Pedrol wrote: The current udevng.c implementation sets dbus path names for modems based on type and a number incremented seuqntially for each new modem found. As a result, the dbus path for a given device is non deterministic, since it depends on the

[PATCH] udevng: Add OFONO_PATHNAME property to set modem dbus path name

2018-02-13 Thread Pau Espin Pedrol
The current udevng.c implementation sets dbus path names for modems based on type and a number incremented seuqntially for each new modem found. As a result, the dbus path for a given device is non deterministic, since it depends on the devices available during ofono startup. Furthermore, if a