You are not logged in.

#1 2021-04-10 06:33:14

Kaguro
Member
Registered: 2020-10-25
Posts: 50

Asus Vivobook USB drive not working

Hello All.

My laptop is ASUS Vivobook 15. My USB drives are not getting recognized. I have had this problem before, here:
https://bbs.archlinux.org/viewtopic.php?id=260179

I fixed it last time by disabling USB autosuspend in /etc/tlp.conf

It worked pretty well for quite a while, now suddenly I see that no USB drive is getting recognized...(even android phones).

The output from dmesg is the same:

[  297.427692] xhci_hcd 0000:02:00.3: refused to change power state from D3hot to D0
[  297.444355] xhci_hcd 0000:02:00.3: refused to change power state from D3hot to D0
[  297.444381] xhci_hcd 0000:02:00.3: Controller not ready at resume -19
[  297.444386] xhci_hcd 0000:02:00.3: PCI post-resume error -19!
[  297.444389] xhci_hcd 0000:02:00.3: HC died; cleaning up
[  297.444405] usb 1-5: USB disconnect, device number 2
[  302.613169] xhci_hcd 0000:02:00.3: xHCI host controller not responding, assume dead
[  302.613190] xhci_hcd 0000:02:00.3: HC died; cleaning up
[  302.613255] xhci_hcd 0000:02:00.3: Timeout while waiting for configure endpoint command
[  302.613508] usb 1-6: USB disconnect, device number 3
[  302.613514] usb 1-6.1: USB disconnect, device number 4
[  302.614174] usb 1-6.2: USB disconnect, device number 5
[  302.680829] usb 1-6.3: USB disconnect, device number 6
[  314.722859] audit: type=1101 audit(1618035144.518:115): pid=1591 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="kaguro" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[  314.724113] audit: type=1110 audit(1618035144.521:116): pid=1591 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[  314.727584] audit: type=1105 audit(1618035144.525:117): pid=1591 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[  314.744926] audit: type=1106 audit(1618035144.541:118): pid=1591 uid=1000 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[  314.745003] audit: type=1104 audit(1618035144.541:119): pid=1591 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

and lspci is:

[kaguro@Thorin ~]$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Zeppelin Switch Upstream (PCIE SW.US)
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c4)
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
02:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
02:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven2 USB 3.1
02:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor
02:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
03:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)

I don't know why this problem appeared again. Please help.

Offline

#2 2021-04-10 13:43:05

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: Asus Vivobook USB drive not working

This

[  297.427692] xhci_hcd 0000:02:00.3: refused to change power state from D3hot to D0

and this

02:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven2 USB 3.1

pointing to the same iommu address of 02:00:3 suggests power issues. I don't have the answer but could be hardware.
If the devices you're trying to connect can be powered externally perhaps it will work. Also check BIOS if there are switches to power USB.

Offline

#3 2021-04-10 16:27:56

Kaguro
Member
Registered: 2020-10-25
Posts: 50

Re: Asus Vivobook USB drive not working

But how is it a hardware issue? I have Windows in dual boot and USB drives run fine on that. Also everything was fine for so many month on Arch... some update must have broken something.

Offline

#4 2021-04-10 16:38:59

Kaguro
Member
Registered: 2020-10-25
Posts: 50

Re: Asus Vivobook USB drive not working

And there's nothing in BIOS. There were couple of things like disable USB interface etc, but those were alright(unlocked.) And I didn't touch BIOS for months, so I definitely didn't change any settings there.

Offline

#5 2021-04-10 21:24:53

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: Asus Vivobook USB drive not working

Perhaps tlp with some acpi changes got on the way. Perhaps delete tlp it and all configurations?

Offline

#6 2021-04-11 15:17:06

Kaguro
Member
Registered: 2020-10-25
Posts: 50

Re: Asus Vivobook USB drive not working

So I removed TLP and bingo! USB drives are being recongnized.
Then I reinstalled TLP and again they stopped getting recognized.

So tlp is the culprit! sad

I edited the /etc/tlp.conf file again to stop USB autosuspend. Nothing works. TLP sucks.

But my laptop battery is not that great, I would have liked TLP to keep saving my power.

Offline

#7 2021-04-11 16:59:05

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: Asus Vivobook USB drive not working

TLP works well with some laptops but not with others. It tends to work well with Thinkpads.
You can just see if your DM, if you're using one, has some power saving scheme.

Offline

#8 2021-04-11 18:15:47

Kaguro
Member
Registered: 2020-10-25
Posts: 50

Re: Asus Vivobook USB drive not working

I use GNOME. Their website just says basic tips like dimming the screen, turning off Wifi when not in use,etc..
No problem I'll just charge more often.

Anyways,
Thank you very much for your suggestion to remove TLP.

Offline

Board footer

Powered by FluxBB