EM7565 failing if host reboots whithout power cycling the modem

Bjørn Mork bjorn at mork.no
Mon Mar 20 15:11:05 UTC 2023


Peter Naulls <peter at chocky.org> writes:

> On my setup, we have to both power cycle the modem and also cycle the USB
> hub to regain proper control.

OK, thanks for the information. It should not be like that, but I'm not
surprised.

> This latter step might be the key here - you
> can use uhubctl.

uhubctl is nice, but I believe it doesn't work with root hubs? 

root at wrt1900ac-1:/# lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 2: Dev 2, If 0, Class=, Driver=qcserial, 5000M
    |__ Port 2: Dev 2, If 1, Class=, Driver=usbfs, 5000M
    |__ Port 2: Dev 2, If 2, Class=, Driver=qcserial, 5000M
    |__ Port 2: Dev 2, If 3, Class=, Driver=qcserial, 5000M
    |__ Port 2: Dev 2, If 12, Class=, Driver=cdc_mbim, 5000M
    |__ Port 2: Dev 2, If 13, Class=, Driver=cdc_mbim, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=, Driver=io_edgeport, 12M

root at wrt1900ac-1:/# uhubctl 
Current status for hub 2 [1d6b:0002 Linux 5.15.102 xhci-hcd xHCI Host Controller 0000:01:00.0, USB 2.00, 2 ports, ppps]
  Port 1: 0100 power
  Port 2: 0100 power
Current status for hub 1 [1d6b:0002 Linux 5.15.102 ehci_hcd EHCI Host Controller f1050000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0103 power enable connect [1608:0001 Inside Out Networks Edgeport/4 V13408648]
Current status for hub 3 [1d6b:0003 Linux 5.15.102 xhci-hcd xHCI Host Controller 0000:01:00.0, USB 3.00, 2 ports, ppps]
  Port 1: 02a0 power 5gbps Rx.Detect
  Port 2: 0203 power 5gbps U0 enable connect [1199:9091 Sierra Wireless, Incorporated EM7565 UF74248655040633]

root at wrt1900ac-1:/# uhubctl -l 3 -p 2 -a off
No compatible devices detected at location 3!
Run with -h to get usage info.



Bjørn


More information about the ModemManager-devel mailing list