B
B
bob_meister2018-06-25 07:25:05
linux
bob_meister, 2018-06-25 07:25:05

How to restart USB ports on Linux?

Hello. USB 2.0 ports are not working on my laptop. Only 2 USB 3.0 ports work, and then with failures. In short, these USB 3.0 ports only work with USB 3.0 devices. With flash drives 2.0, with a mouse, etc. ports are not working. In the manager, all ports, including 3.0, are marked as "Unknown USB device (device descriptor request failed)". In order for USB 3.0 ports to work with 2.0 devices, I restart the “USB Root Hub (USB 3.0)” in the manager. After restarting, everything works. I have had this problem for a long time, I tried everything, something burned out inside. and the masters here are not trusted.So I'm going to put Linux on this laptop.How can I do the same in Linux so that the ports work with 2.0 devices?Just googling, tried modprobe in the terminal, does not help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
t_q_l, 2018-07-05
@bob_meister

Try the methods described here:
other.
It seems to me that in bash the easiest way is:

for i in /sys/bus/pci/drivers/[uoex]hci_hcd/*:*; do
  echo "${i##*/}" > "${i%/*}/unbind"
  echo "${i##*/}" > "${i%/*}/bind"
done

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question