You are not logged in.

#1 2023-10-30 12:52:11

yashasnadigsyn
Member
Registered: 2023-10-30
Posts: 7

[SOLVED]lsusb and dmesg detects usb but not lsblk even after rebooting

Hello everyone,

My usb is good and works on windows. But, on Arch, whenever, I connect my android phone via usb , It doesn't detect.

What I tried:
1) I updated my laptop and rebooted my laptop.
2) I shutdown it and waited for sometime and switched on my laptop.
3) Tried to put usb on three different ports, none of them worked.

I have linux-lts:

[yashasnadigsyn@archlinux ~]$ uname -a
Linux archlinux 6.1.60-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 25 Oct 2023 11:10:15 +0000 x86_64 GNU/Linux

I have seen so many similar threads in this forum, but for many, It just worked after a reboot. For me, it is not.

My dmesg output:

[  610.079445] usb 1-2: New USB device found, idVendor=2717, idProduct=ff40, bcdDevice= 4.19
[  610.079467] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  610.079478] usb 1-2: Product: Redmi 10
[  610.079486] usb 1-2: Manufacturer: Xiaomi
[  610.079493] usb 1-2: SerialNumber: 89c2f72

My lsusb output:

[yashasnadigsyn@archlinux ~]$ sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:5769 Realtek Semiconductor Corp. [unknown]
Bus 001 Device 003: ID 0cf3:e007 Qualcomm Atheros Communications [unknown]
Bus 001 Device 011: ID 2717:ff40 Xiaomi Inc. Mi/Redmi series (MTP)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

My lsblk output:

[yashasnadigsyn@archlinux ~]$ sudo lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 238.5G  0 disk 
├─sda1   8:1    0 230.5G  0 part /
└─sda2   8:2    0     8G  0 part [SWAP]

What should i do?

Last edited by yashasnadigsyn (2023-10-30 16:37:25)

Offline

#2 2023-10-30 13:11:06

yashasnadigsyn
Member
Registered: 2023-10-30
Posts: 7

Re: [SOLVED]lsusb and dmesg detects usb but not lsblk even after rebooting

I am getting these error now again after rebooting when i run dmesg:

[  465.910409] ath10k_pci 0000:03:00.0: AER:   Error of this Agent is reported first
[  465.910428] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:03:00.0
[  465.944985] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:03:00.0
[  465.945145] ath10k_pci 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  465.945156] ath10k_pci 0000:03:00.0:   device [168c:003e] error status/mask=00000081/00006000
[  465.945168] ath10k_pci 0000:03:00.0:    [ 0] RxErr                  (First)
[  465.945178] ath10k_pci 0000:03:00.0:    [ 7] BadDLLP               
[  471.519724] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:03:00.0
[  471.519811] ath10k_pci 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  471.519822] ath10k_pci 0000:03:00.0:   device [168c:003e] error status/mask=00000081/00006000
[  471.519836] ath10k_pci 0000:03:00.0:    [ 0] RxErr                  (First)
[  471.519847] ath10k_pci 0000:03:00.0:    [ 7] BadDLLP               
[  473.581137] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:03:00.0
[  473.581270] ath10k_pci 0000:03:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  473.581281] ath10k_pci 0000:03:00.0:   device [168c:003e] error status/mask=00000081/00006000
[  473.581295] ath10k_pci 0000:03:00.0:    [ 0] RxErr                  (First)
[  473.581306] ath10k_pci 0000:03:00.0:    [ 7] BadDLLP               

Offline

#3 2023-10-30 14:51:43

just4arch
Member
Registered: 2023-01-07
Posts: 122

Re: [SOLVED]lsusb and dmesg detects usb but not lsblk even after rebooting

Do you expect a block device?
It looks like you want to check out MTP.
PCI errors don't look related, you could mask them with pci=noaer (on kernel command line), they'll still be there but won't spam your log.

Edit:
seth recommended https://aur.archlinux.org/packages/simple-mtpfs

Edit2:
sorry, edit overlapped

Last edited by just4arch (2023-10-30 15:20:22)

Offline

#4 2023-10-30 14:56:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]lsusb and dmesg detects usb but not lsblk even after rebooting

My usb is good and works on windows

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Xiaomi Inc. Mi/Redmi series (MTP)

Because it's not a block device.
https://wiki.archlinux.org/title/Mtp - they all suck, imho https://wiki.archlinux.org/title/Media_ … MPLE-MTPFS sucks least.

Edit: fuck.

Last edited by seth (2023-10-30 14:56:49)

Offline

#5 2023-10-30 16:35:34

yashasnadigsyn
Member
Registered: 2023-10-30
Posts: 7

Re: [SOLVED]lsusb and dmesg detects usb but not lsblk even after rebooting

Thanks, I have to use mtp.

Offline

Board footer

Powered by FluxBB