From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7790738241734102765==" MIME-Version: 1.0 From: Clement Viel Subject: Re: [PATCH 3/3] sim800: add udev detection. Date: Mon, 12 Nov 2018 15:21:51 +0100 Message-ID: <20181112142151.GB5978@turing> In-Reply-To: <334c45c5-065c-dca1-d4bc-2f7c75cfae8f@gmail.com> List-Id: To: ofono@ofono.org --===============7790738241734102765== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thu, Nov 08, 2018 at 10:59:30AM -0600, Denis Kenzior wrote: > Hi Clement, > >>>+ { "sim800", setup_serial_modem }, > I think I must keep this line > >>>because the udev rule added by the user > will specify that modem is "OFONO_DRIVER=3Dsim800" so udevng.c must know = what > to do with that. > This is kind of weird that we have a driver line for a modem driver that > doesn't exist. We never do things this way. Why don't you just modify t= he > driver instructions to have OFONO_DRIVER=3Dsim900 instead? > = > Also, we could simply rename the sim900 driver into sim_x00 or simcom_ser= ial > or something too. That could make things a bit more clear. > = > Regards, > -Denis Moreover if we go for the OFONO_DRIVER=3Dsim900 solution, plugins/udevng.c = will stay = the same. --===============7790738241734102765==--