<div dir="ltr">Hi,<br><div class="gmail_quote"><div dir="ltr"><div><div><div><div><br></div>I noticed that my old mouse didn't work all the time, and figured it was time to replace the mouse. Then I had trouble programming some Arduinos, and figured I had a bad Arduino. It wasn't until my system failed to see a thumb drive that I finally realized the common element here: After waking from suspend, no devices plugged in to the USB ports are recognized.</div><div><br></div><div>$ uname -a<br>Linux x1 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux</div><div><br></div><div>Hardware details are at the end of this mail.<br></div><div><br></div><div>Here is the system in its failed state:</div><div><br></div><div>$ lsusb<br>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br><br>$ lspci -nnk | grep -A2 USB<br>00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)<br> Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller [17aa:2238]<br> Kernel driver in use: xhci_hcd<br>00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP<br><br>$ lsmod | grep usb<br>btusb 45056 0<br>btrtl 16384 1 btusb<br>btbcm 16384 1 btusb<br>btintel 16384 1 btusb<br>bluetooth 540672 14 btrtl,btintel,bnep,btbcm,rfcom<wbr>m,btusb<br>usbhid 49152 0<br>hid 118784 4 hid_sensor_hub,hid_generic,usb<wbr>hid,intel_ishtp_hid</div><div><br></div><div>After a reboot, when USB devices are recognized, the same commands look like this:</div><div><br></div><div>$ lsusb<br>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 001 Device 004: ID 138a:0090 Validity Sensors, Inc. <br>Bus 001 Device 003: ID 04f2:b5c1 Chicony Electronics Co., Ltd <br>Bus 001 Device 002: ID 8087:0a2b Intel Corp. <br>Bus 001 Device 006: ID 046d:c404 Logitech, Inc. TrackMan Wheel<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div><div><br></div><div>$ lspci -nnk | grep -A2 USB<br>00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)<br> Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller [17aa:2238]<br> Kernel driver in use: xhci_hcd<br>00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP</div><div><br></div><div>$ lsmod | grep usb<br>usbhid 49152 0<br>btusb 45056 0<br>btrtl 16384 1 btusb<br>btbcm 16384 1 btusb<br>btintel 16384 1 btusb<br>bluetooth 540672 31 btrtl,btintel,bnep,btbcm,<wbr>rfcomm,btusb<br>hid 118784 4 hid_sensor_hub,hid_generic,<wbr>usbhid,intel_ishtp_hid<br><br></div><div><br></div><div><br></div>I'm not much of an expert with USB and udev, so I did a bit of reading and learned about udevadm. After a reboot, when USB is working, <br><br>$ sudo apt-get install udevadm<br><br></div>shows activity when I plug or unplug a USB device. After a suspend, nothing. <br><br></div>I googled expressions like "usb not recognized after wake from suspend" and didn't find anything useful.<br><div><br>I don't know enough about this part of the system to know where to look next. What do you suggest I do next in order to determine where the problem might be?</div><div><br></div><div>System info below.</div><div><br></div><div>Thanks in advance for any guidance,</div><div>Michael</div><div><br></div><div>$ inxi -Fx<br>System: Host: x1 Kernel: 4.13.0-16-generic x86_64 bits: 64 gcc: 7.2.0<br> Desktop: Gnome 3.26.2 (Gtk 3.22.25-0ubuntu1)<br> Distro: Ubuntu Bionic Beaver (development branch)<br>Machine: Device: laptop System: LENOVO product: 20FBCTO1WW v: ThinkPad X1 Carbon 4th serial: N/A<br> Mobo: LENOVO model: 20FBCTO1WW v: SDK0J40709 WIN serial: N/A<br> UEFI: LENOVO v: N1FET44W (1.18 ) date: 09/01/2016<br>Battery BAT0: charge: 40.9 Wh 85.1% condition: 48.0/52.1 Wh (92%)<br> model: SMP 00HW029 status: Charging<br>CPU: Dual core Intel Core i7-6600U (-HT-MCP-) <br> arch: Skylake rev.3 cache: 4096 KB<br> flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11232<br> clock speeds: max: 3400 MHz 1: 2800 MHz 2: 2800 MHz 3: 2800 MHz<br> 4: 2800 MHz<br>Graphics: Card: Intel HD Graphics 520 bus-ID: 00:02.0<br> Display Server: wayland (X.Org 1.19.5 )<br> drivers: modesetting (unloaded: fbdev,vesa)<br> Resolution: 1920x1080@59.96hz<br> OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)<br> version: 4.5 Mesa 17.2.2 Direct Render: Yes<br>Audio: Card Intel Sunrise Point-LP HD Audio<br> driver: snd_hda_intel bus-ID: 00:1f.3<br> Sound: Advanced Linux Sound Architecture v: k4.13.0-16-generic<br>Network: Card-1: Intel Ethernet Connection I219-LM<br> driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6<br> IF: enp0s31f6 state: down mac: 54:ee:75:c2:96:f3<br> Card-2: Intel Wireless 8260 driver: iwlwifi bus-ID: 04:00.0<br> IF: wlp4s0 state: up mac: f4:8c:50:5d:a8:6d<br>Drives: HDD Total Size: 128.0GB (51.5% used)<br> ID-1: /dev/nvme0n1 model: INTEL_SSDPEKKW128G7 size: 128.0GB<br>Partition: ID-1: / size: 101G used: 47G (49%) fs: ext4 dev: /dev/nvme0n1p2<br> ID-2: swap-1 size: 17.04GB used: 0.00GB (0%)<br> fs: swap dev: /dev/nvme0n1p3<br>RAID: No RAID devices: /proc/mdstat, md_mod kernel module present<br>Sensors: System Temperatures: cpu: 45.0C mobo: N/A<br> Fan Speeds (in rpm): cpu: 0<br>Info: Processes: 229 Uptime: 11 min Memory: 1785.4/15911.4MB<br> Init: systemd runlevel: 5 Gcc sys: 7.2.0<br> Client: Shell (bash 4.4.121) inxi: 2.3.40 <br><br></div></div>
</div><br></div>