Gentoo Archives: gentoo-user

From: R0b0t1 <r030t1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB ports reset/restart
Date: Tue, 06 Mar 2018 04:55:49
Message-Id: CAAD4mYiY84PDJTcNd1vZQOH34OaOXBWk4mB5OYwLo80aiL+ftw@mail.gmail.com
In Reply to: Re: [gentoo-user] USB ports reset/restart by thelma@sys-concept.com
1 On Mon, Mar 5, 2018 at 10:44 PM, <thelma@×××××××××××.com> wrote:
2 > On 03/05/2018 09:33 PM, R0b0t1 wrote:
3 >> On Mon, Mar 5, 2018 at 9:41 PM, <thelma@×××××××××××.com> wrote:
4 >>> On 03/05/2018 07:33 PM, R0b0t1 wrote:
5 >>>> On Mon, Mar 5, 2018 at 7:40 PM, <thelma@×××××××××××.com> wrote:
6 >>>>> Is there a way to reinitialize USB ports without restarting the computer?
7 >>>>>
8 >>>>> Two of my USB 3 ports stop working.
9 >>>>>
10 >>>>> lsusb -t
11 >>>>> /: Bus 11.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
12 >>>>> /: Bus 10.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
13 >>>>> /: Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
14 >>>>> /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
15 >>>>> /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M
16 >>>>> /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
17 >>>>> /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
18 >>>>> |__ Port 3: Dev 13, If 0, Class=Human Interface Device,
19 >>>>> Driver=usbhid, 12M
20 >>>>> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
21 >>>>> |__ Port 4: Dev 2, If 0, Class=Human Interface Device,
22 >>>>> Driver=usbhid, 12M
23 >>>>> |__ Port 4: Dev 2, If 1, Class=Human Interface Device,
24 >>>>> Driver=usbhid, 12M
25 >>>>> |__ Port 4: Dev 2, If 2, Class=Human Interface Device,
26 >>>>> Driver=usbhid, 12M
27 >>>>> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M
28 >>>>> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
29 >>>>> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
30 >>>>>
31 >>>>
32 >>>> How do you know they've stopped working? Are there notices in dmesg?
33 >>>> Some devices do not work well on USB3 ports.
34 >>>>
35 >>>> Cheers,
36 >>>> R0b0t1
37 >>>
38 >>> dmesg is not showing anything.
39 >>> I have an usb extension cord pluged-in to the back of the computer "blue
40 >>> usb port" (I think the color blue designates USB-3), there are two of
41 >>> them.
42 >>> My usb stick was working OK on one, but it stopped. I pluged the USB
43 >>> extension cord to the other port; so it was working for a while. Now
44 >>> the second one stop working as well.
45 >>>
46 >>> When I connect my USB stick to the extension cable the "dmesg" is not
47 >>> showing any output.
48 >>>
49 >>
50 >> I've had this happen, but it wasn't reproducible. Is the drive
51 >> (sd[a-z]) still left on your filesystem?
52 >
53 > df -h
54 > Filesystem Size Used Avail Use% Mounted on
55 > /dev/sda3 74G 17G 54G 24% /
56 > tmpfs 1.6G 1.4M 1.6G 1% /run
57 > dev 10M 0 10M 0% /dev
58 > shm 7.9G 36M 7.8G 1% /dev/shm
59 > cgroup_root 10M 0 10M 0% /sys/fs/cgroup
60 > /dev/sda4 925G 409G 469G 47% /home
61 > /dev/sda5 828G 620G 166G 79% /home2
62 > /dev/sda1 30M 23M 6.0M 79% /boot
63 > none 7.9G 0 7.9G 0% /run/user/1000
64 >
65
66 Sorry, I meant under /dev - is the last drive you plugged in still
67 there despite having been removed?