<div dir="ltr"><span style="font-size:12.8px">Somewhat intuitively there was no peer port found in verbose mode:</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div><font face="monospace, monospace">qmi-firmware-update --update --verbose -w /dev/cdc-wdm6 /jffs2/flash/SWI9X30C_02.24.<wbr>05.06.cwe /jffs2/flash/SWI9X30C_02.24.<wbr>05.06_VERIZON_002.034_000.nvu</font></div><div><font face="monospace, monospace">[23 Jan 2018, 18:35:09] [Debug] [qfu-udev] sysfs path for 'cdc-wdm6' found: /sys/devices/pci0000:00/0000:<wbr>00:14.0/usb2/2-2</font></div><div><font face="monospace, monospace">[23 Jan 2018, 18:35:09] [Debug] [qfu-utils] couldn't ping ModemManager: GDBus.Error:org.freedesktop.<wbr>DBus.Error.NameHasNoOwner: Name "org.freedesktop.<wbr>ModemManager1" does not exist</font></div><div><font face="monospace, monospace">[23 Jan 2018, 18:35:09] [Debug] [qfu-image] loading file info...</font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 January 2018 at 17:33, Paul Gildea <span dir="ltr"><<a href="mailto:gildeap@tcd.ie" target="_blank">gildeap@tcd.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Whoops, when I sent the last email and there was a <i>'peer' </i>link inside port link, it pointed at <span style="font-family:monospace,monospace;font-size:12.8px"> -> ../../../usb4/4-0:1.0/usb4-</span><span style="font-family:monospace,monospace;font-size:12.8px">por<wbr>t3/) so I think I ended up in USB path 3-3 instead of 2-2 at some point.</span><div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Checking 2-2 there is no such peer file inside port for some reason.</font></span></div></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">--<br>Paul</font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 23 January 2018 at 17:04, Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe that is how it is supposed to look. But is there a 'peer'<br>
link in the /sys/bus/usb/devices/2-2/port directory? And does it point<br>
to usb1/1-0:1.0/usb1-port1?<br>
<br>
I think I have to read up on these peer ports too... So far I've just<br>
observed and made assumptions, which might very well be completely<br>
bogus.<br>
<span><br>
<br>
Bjørn<br>
<br>
Paul Gildea <<a href="mailto:gildeap@tcd.ie" target="_blank">gildeap@tcd.ie</a>> writes:<br>
<br>
</span>> Looking through the directory, there is a peer symlink called *peer* inside<br>
> the symlink *port@ *<br>
<div class="m_-4530423578960870263HOEnZb"><div class="m_-4530423578960870263h5">><br>
> [root]# ls -al port<br>
> lrwxrwxrwx 1 root root 0 Jan 23 16:58 port -><br>
> ../3-0:1.0/usb3-port3/<br>
><br>
> [root]# ls -al port/peer<br>
> lrwxrwxrwx 1 root root 0 Jan 23 17:03 port/peer -><br>
> ../../../usb4/4-0:1.0/usb4-por<wbr>t3/<br>
><br>
> --<br>
> Paul<br>
><br>
><br>
><br>
> On 23 January 2018 at 15:17, Paul Gildea <<a href="mailto:gildeap@tcd.ie" target="_blank">gildeap@tcd.ie</a>> wrote:<br>
><br>
>> Hi Bjørn,<br>
>><br>
>> Checked that now and no peer file exists in /sys/bus/usb/devices/2-2/. I<br>
>> don't know what a peer port is so need to look into that.<br>
>><br>
>><br>
>> 2-2:1.0/ bMaxPacketSize0 devpath quirks<br>
>><br>
>> 2-2:1.10/ bMaxPower driver@ removable<br>
>><br>
>> 2-2:1.2/ bNumConfigurations ep_00/ remove<br>
>><br>
>> 2-2:1.3/ bNumInterfaces idProduct serial<br>
>><br>
>> 2-2:1.8/ bcdDevice idVendor speed<br>
>><br>
>> authorized bmAttributes ltm_capable subsystem@<br>
>><br>
>> avoid_reset_quirk busnum manufacturer uevent<br>
>><br>
>> bConfigurationValue configuration maxchild urbnum<br>
>><br>
>> bDeviceClass descriptors port@ version<br>
>><br>
>> bDeviceProtocol dev power/<br>
>><br>
>> bDeviceSubClass devnum product<br>
>><br>
>><br>
>><br>
>> --<br>
>> Paul<br>
>><br>
>> On 23 January 2018 at 15:02, Bjørn Mork <<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>> wrote:<br>
>><br>
>>> Ouch. Do you have a<br>
>>><br>
>>> /sys/bus/usb/devices/2-2/port/<wbr>peer<br>
>>><br>
>>> symlink when the modem is running normally?<br>
>>><br>
>>><br>
>>><br>
>>> Bjørn<br>
>>><br>
>>> Paul Gildea <<a href="mailto:gildeap@tcd.ie" target="_blank">gildeap@tcd.ie</a>> writes:<br>
>>><br>
>>> > Hi Aleksander,<br>
>>> ><br>
>>> > Sorry about the delay being able to test this. I saw you applied Bjørn's<br>
>>> > patch to 1.18.2 and 1.20.0. I tested 1.18.2 now and unfortunately it<br>
>>> didn't<br>
>>> > work. Same result as before with the applicationnot recognising the USB2<br>
>>> > port, rebooting and recognising USB3 port.<br>
>>> ><br>
>>> > [23 Jan 2018, 15:34:09] [Debug] [qfu,utils] operating mode set<br>
>>> >> successfully...<br>
>>> >> [23 Jan 2018, 15:34:09] [Debug] [qfu-updater] reset requested<br>
>>> >> successfully...<br>
>>> >> [23 Jan 2018, 15:34:09] [Debug] [qfu-updater] cleaning up QMI device...<br>
>>> >> [23 Jan 2018, 15:34:09] [Debug] [/dev/cdc-wdm6] Releasing 'dms' client<br>
>>> >> with flags 'none'...<br>
>>> >> [23 Jan 2018, 15:34:09] [Debug] [/dev/cdc-wdm6] Unregistered 'dms'<br>
>>> client<br>
>>> >> with ID '2'<br>
>>> >> rebooting in download mode...<br>
>>> >> [23 Jan 2018, 15:34:09] [Debug] [qfu-updater] reset requested, now<br>
>>> waiting<br>
>>> >> for TTY device...<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove ttyUSB10<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove ttyUSB11<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove 2-2:1.0<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove 2-2:1.2<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove ttyUSB12<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove 2-2:1.3<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove wwan6<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove cdc-wdm6<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove 2-2:1.8<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove wwan7<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove cdc-wdm7<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove 2-2:1.10<br>
>>> >> [23 Jan 2018, 15:34:27] [Debug] [qfu-udev] event: remove 2-2<br>
>>> >> [23 Jan 2018, 15:34:28] [Debug] [qfu-udev] event: add 1-1<br>
>>> >> [23 Jan 2018, 15:34:28] [Debug] [qfu-udev] event: add 1-1:1.0<br>
>>> >><br>
>>> >> *[23 Jan 2018, 15:34:28] [Debug] [qfu-udev] event: add ttyUSB10[23 Jan<br>
>>> >> 2018, 15:34:58] [Debug] [qfu-udev] event: remove ttyUSB10*<br>
>>> >> [23 Jan 2018, 15:34:58] [Debug] [qfu-udev] event: remove 1-1:1.0<br>
>>> >> [23 Jan 2018, 15:34:58] [Debug] [qfu-udev] event: remove 1-1<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add 2-2<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add 2-2:1.3<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add 2-2:1.8<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add 2-2:1.2<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add cdc-wdm6<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add 2-2:1.0<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add 2-2:1.10<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add cdc-wdm7<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] event: add ttyUSB12<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-udev] waiting device (tty)<br>
>>> matched:<br>
>>> >> ttyUSB12<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-updater] TTY device found:<br>
>>> >> /dev/ttyUSB12<br>
>>> >> download mode detected<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-qdl-device] opening TTY:<br>
>>> /dev/ttyUSB12<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-qdl-device] setting terminal in<br>
>>> raw<br>
>>> >> mode...<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu,dload-message] sent sdp:<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-qdl-device] >> 70:00:00 [3,<br>
>>> unframed]<br>
>>> >> [23 Jan 2018, 15:35:07] [Debug] [qfu-qdl-device] >><br>
>>> 7E:70:00:00:14:46:7E<br>
>>> >> [7]<br>
>>> >> error: error creating device: timed out waiting for the response<br>
>>> >> [23 Jan 2018, 15:35:15] [Debug] [qfu-udev] event: add ttyUSB10<br>
>>> >> [23 Jan 2018, 15:35:15] [Debug] [qfu-udev] event: add wwan6<br>
>>> >> [23 Jan 2018, 15:35:15] [Debug] [qfu-udev] event: add ttyUSB11<br>
>>> >> [23 Jan 2018, 15:35:15] [Debug] [qfu-udev] event: add wwan7<br>
>>> >> [root@Desk /]#<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > [ 794.874702] usb 2-2: USB disconnect, device number 8<br>
>>> >> [ 794.874986] qcserial ttyUSB10: Qualcomm USB modem converter now<br>
>>> >> disconnected from ttyUSB10<br>
>>> >> [ 794.874999] qcserial 2-2:1.0: device disconnected<br>
>>> >> [ 794.875190] qcserial ttyUSB11: Qualcomm USB modem converter now<br>
>>> >> disconnected from ttyUSB11<br>
>>> >> [ 794.875203] qcserial 2-2:1.2: device disconnected<br>
>>> >> [ 794.875571] qcserial ttyUSB12: Qualcomm USB modem converter now<br>
>>> >> disconnected from ttyUSB12<br>
>>> >> [ 794.875581] qcserial 2-2:1.3: device disconnected<br>
>>> >> [ 794.875652] qmi_wwan 2-2:1.8 wwan6: unregister 'qmi_wwan'<br>
>>> >> usb-0000:00:14.0-2, WWAN/QMI device<br>
>>> >> [ 794.882022] qmi_wwan 2-2:1.10 wwan7: unregister 'qmi_wwan'<br>
>>> >> usb-0000:00:14.0-2, WWAN/QMI device<br>
>>> >> [ 795.579657] usb 1-1: new high-speed USB device number 7 using<br>
>>> xhci_hcd<br>
>>> >> [ 795.744560] usb 1-1: New USB device found, idVendor=1199,<br>
>>> idProduct=9070<br>
>>> >> [ 795.744564] usb 1-1: New USB device strings: Mfr=1, Product=2,<br>
>>> >> SerialNumber=3<br>
>>> >> [ 795.744566] usb 1-1: Product: Sierra Wireless MC7455 Qualcomm<br>
>>> >> [ 795.744568] usb 1-1: Manufacturer: Sierra Wireless, Incorporated<br>
>>> >> [ 795.744570] usb 1-1: SerialNumber: LQ71474252031020<br>
>>> >> [ 795.745059] qcserial 1-1:1.0: Qualcomm USB modem converter detected<br>
>>> >><br>
>>> >><br>
>>> >> *[ 795.745136] usb 1-1: Qualcomm USB modem converter now attached to<br>
>>> >> ttyUSB10[ 825.374390] usb 1-1: USB disconnect, device number 7[<br>
>>> >> 825.374668] qcserial ttyUSB10: Qualcomm USB modem converter now<br>
>>> >> disconnected from ttyUSB10*<br>
>>> >> [ 825.374680] qcserial 1-1:1.0: device disconnected<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > Regards,<br>
>>> ><br>
>>> > --<br>
>>> > Paul<br>
>>> ><br>
>>> > On 17 January 2018 at 16:59, Paul Gildea <<a href="mailto:gildeap@tcd.ie" target="_blank">gildeap@tcd.ie</a>> wrote:<br>
>>> ><br>
>>> >> Hi Aleksander,<br>
>>> >><br>
>>> >> Sure thing, I'll get back to you with the results when I can.<br>
>>> >><br>
>>> >> Looks good! Thanks guys,<br>
>>> >><br>
>>> >> --<br>
>>> >> Paul<br>
>>> >><br>
>>> >> On 17 January 2018 at 16:45, Aleksander Morgado <<br>
>>> <a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>><br>
>>> >> wrote:<br>
>>> >><br>
>>> >>> Hey Paul,<br>
>>> >>><br>
>>> >>> On Wed, Jan 17, 2018 at 3:02 PM, Bjørn Mork <<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>> wrote:<br>
>>> >>> > Modems operating in USB3 SuperSpeed mode may change to<br>
>>> >>> > USB2 HighSpeed mode while in boot-and-hold. This changes<br>
>>> >>> > the USB port name, causing device matching failure.<br>
>>> >>> ><br>
>>> >>> > Fix by accepting matches on both the original USB(3) port and<br>
>>> >>> > the "peer" USB(2) port.<br>
>>> >>> ><br>
>>> >>><br>
>>> >>> Any chance you can give this patch a try?<br>
>>> >>><br>
>>> >>> --<br>
>>> >>> Aleksander<br>
>>> >>> <a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
>>> >>><br>
>>> >><br>
>>> >><br>
>>><br>
>><br>
>><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>