Andreas Fett <andreas.f...@secunet.com> writes: > On 11/03/16 12:16, Bjørn Mork wrote: >> I went back to your lsusb output to see if I could see anything strange >> wrt the LPM settings, but the whole dump was strange.. Did you use a >> very old lsusb version? The device says >> >> bcdUSB 2.10 >> >> so it must have a BOS descriptor. And AFAICS, BOS descriptor dump for >> USB 2.1 was added in usbutils v006. The MBIM functional descriptors >> weren't decoded either, but that wasn't added before v007. > Sorry about that, but yes the lsusb version is ancient. I attached a new > log using v007 (can't use v008 because of libudev). > >> Do you see any *lpm* attributes in the USB device power sysfs group? >> What's the output of >> >> grep . /sys/bus/usb/devices/1-3/power/* > /sys/bus/usb/devices/1-3/power/active_duration:189447 > /sys/bus/usb/devices/1-3/power/async:enabled > /sys/bus/usb/devices/1-3/power/autosuspend:2 > /sys/bus/usb/devices/1-3/power/autosuspend_delay_ms:2000 > /sys/bus/usb/devices/1-3/power/connected_duration:189447 > /sys/bus/usb/devices/1-3/power/control:on > /sys/bus/usb/devices/1-3/power/level:on > /sys/bus/usb/devices/1-3/power/persist:1 > /sys/bus/usb/devices/1-3/power/runtime_active_kids:0 > /sys/bus/usb/devices/1-3/power/runtime_active_time:189130 > /sys/bus/usb/devices/1-3/power/runtime_enabled:forbidden > /sys/bus/usb/devices/1-3/power/runtime_status:active > /sys/bus/usb/devices/1-3/power/runtime_suspended_time:0 > /sys/bus/usb/devices/1-3/power/runtime_usage:1 > /sys/bus/usb/devices/1-3/power/usb2_hardware_lpm:disabled > /sys/bus/usb/devices/1-3/power/usb2_lpm_besl:4 > /sys/bus/usb/devices/1-3/power/usb2_lpm_l1_timeout:512 > /sys/bus/usb/devices/1-3/power/wakeup:disabled
So this is with both autosuspend and usb2_hardware_lpm disabled. Is that the setting that works? How about enabling just one of them? Hoping you can find some pattern for the work/non-work case. Don't know what elso to do right now. > Bus 001 Device 002: ID 12d1:15c1 Huawei Technologies Co., Ltd. > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.10 .. > Binary Object Store Descriptor: > bLength 5 > bDescriptorType 15 > wTotalLength 22 > bNumDeviceCaps 2 > USB 2.0 Extension Device Capability: > bLength 7 > bDescriptorType 16 > bDevCapabilityType 2 > bmAttributes 0x00000002 > Link Power Management (LPM) Supported > SuperSpeed USB Device Capability: > bLength 10 > bDescriptorType 16 > bDevCapabilityType 3 > bmAttributes 0x00 > wSpeedsSupported 0x000f > Device can operate at Low Speed (1Mbps) > Device can operate at Full Speed (12Mbps) > Device can operate at High Speed (480Mbps) > Device can operate at SuperSpeed (5Gbps) > bFunctionalitySupport 1 > Lowest fully-functional device speed is Full Speed (12Mbps) > bU1DevExitLat 1 micro seconds > bU2DevExitLat 500 micro seconds > Device Status: 0x0001 > Self Powered Thanks. Looks good to me, but I don't understand much of this. Like: The device support SS and is internally connected to an xhci controller via an m.2 slot, but still runs in HS mode? Didn't they connect the SS lanes or what? I am way over my head here... I think I'll go prepare the "NDP to end" quirk for cdc_mbim. That I know how to do. Bjørn _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel