Author: Tony Lindgren Date: To: Sebastian Reichel CC: Merlijn Wajer, Pavel Machek, maemo-leste, nekit1000, martin_rysavy, mpartap, Ivan J. Subject: Re: [maemo-leste] Grand plan to get make phones... phone (for
Motorola Droid 4)
* Sebastian Reichel <sre@???> [200510 15:56]: > Hi,
>
> On Sun, May 10, 2020 at 08:24:07AM -0700, Tony Lindgren wrote:
> > * Merlijn Wajer <merlijn@???> [200510 10:48]:
> > > On 10/05/2020 05:41, Tony Lindgren wrote:
> > > > Should we just rename the old ofono hacks to something like ofono-motmdm
> > > > until it's no longer needed with the v5.6 kernel? There's probably no
> > > > reason to try to support both the old and new interfaces in ofono as the
> > > > old interface won't get merged upstream for kernel or for ofono.
> > >
> > > I think there is no reason to support the old code if we have something
> > > that we want to use going forward, so I would build the latest ofono
> > > with patches, and the kernel linked below, and push that to -devel. Once
> > > we're happy with that, we can push that to non-devel as well.
> >
> > OK
> >
> > > > Also there are changes are needed for udev to set the permissions,
> > > > I'm using these now, not sure if there's a better way for these
> > > > individual gsmtty* entries:
> > > >
> > > > KERNEL=="gsmtty1", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty3", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty5", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty6", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty7", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty8", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty9", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty10", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty11", GROUP="dialout", MODE="0660"
> > > > KERNEL=="gsmtty12", GROUP="dialout", MODE="0660"
>
> You should be able to just write this:
>
> KERNEL=="gsmtty[0-9]*", GROUP="dialout", MODE="0660"
Oh OK great. Yeah there should be no need to filter out the dlci
for the udev rule for devices that don't show up under
/dev/gsmtty* :)