[PATCH] qmi-firmware-update: support USB3->USB2 mode changes during upgrade
dcbw at redhat.com
Thu Jan 25 20:19:28 UTC 2018
On Thu, 2018-01-25 at 18:26 +0000, Paul Gildea wrote:
> Yep, was fairly clear from your patch, nice! I guess that depends on
> prevalence of congruent S/N's (at least for modems where that will be
> needed, unlike your EM7565 which upgrades in SuperSpeed).
> My ports seem predictable for manual setting, and if not at least the
> can solve it with trial/error to get around the problem.
I'd be hesitant to use the serial number; this is often the same for
different devices of the same model. So if you have two of the same
modem on your system, it could become confused.
> On 25 January 2018 at 18:16, Bjørn Mork <bjorn at mork.no> wrote:
> > Paul Gildea <gildeap at tcd.ie> writes:
> > > /sys/bus/usb/devices/usb1/1-0:1.0/usb1-port1/location:0x80000001
> > ..
> > > /sys/bus/usb/devices/usb2/2-0:1.0/usb2-port2/location:0x80000010
> > Thanks. At least this explains why Linux can't figure out that
> > these
> > ports share the same physical connector.
> > What we do about that is another question. This isn't something we
> > can
> > fix. Maybe fall back to serial number matching? Or allow the user
> > to
> > manually set the expected USB port for QDL? Or all three?
> > Bjørn
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
More information about the libqmi-devel