Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: USB ports reset/restart
Date: Wed, 07 Mar 2018 20:32:58
Message-Id: fdff8f4b-0724-c1b6-997f-612f6bc4d1d8@sys-concept.com
In Reply to: [gentoo-user] Re: USB ports reset/restart by Grant Edwards
1 On 03/06/2018 01:35 PM, Grant Edwards wrote:
2 > On 2018-03-06, thelma@×××××××××××.com <thelma@×××××××××××.com> wrote:
3 >
4 >> Is there a way to reinitialize USB ports without restarting the computer?
5 >
6 >
7 > Did none of these approaches work?
8 >
9 > https://www.google.com/search?q=linux+restart+USB
10 >
11 ll /sys/bus/pci/drivers/ehci-pci/
12 total 0
13 lrwxrwxrwx 1 root root 0 Mar 6 16:35 0000:00:12.2 -> ../../../../devices/pci0000:00/0000:00:12.2
14 lrwxrwxrwx 1 root root 0 Mar 6 16:35 0000:00:13.2 -> ../../../../devices/pci0000:00/0000:00:13.2
15 lrwxrwxrwx 1 root root 0 Mar 6 16:35 0000:00:16.2 -> ../../../../devices/pci0000:00/0000:00:16.2
16
17 How to unbind these "entries" 0000:00:12.2, 0000:00:13.2, 0000:00:16.2
18
19 echo -n "0000:00:12.2" | tee /sys/bus/pci/drivers/xhci_hcd/unbind
20 0000:00:12.2tee: /sys/bus/pci/drivers/xhci_hcd/unbind: No such device
21
22 The above does not work.
23
24 --
25 Thelma