Can't connect fedora with Redmi Note 12 Pro

I want to access the internet with my phone via USB tethering, but it connected for seconds then disconnected. I use lsusb but can’t find my phone.
First few seconds

fangyuan@fedora ~> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 007: ID 05e3:0749 Genesys Logic, Inc. SD Card Reader and Writer
Bus 002 Device 008: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 009: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 1bcf:2d03 Sunplus Innovation Technology Inc. XiaoMi WebCam
Bus 003 Device 003: ID 27c6:589a Shenzhen Goodix Technology Co.,Ltd. FingerPrint
Bus 003 Device 004: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 003 Device 020: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 021: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 023: ID 2717:ff80 Xiaomi Inc. Mi/Redmi series (RNDIS)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

After that

fangyuan@fedora ~> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 1bcf:2d03 Sunplus Innovation Technology Inc. XiaoMi WebCam
Bus 003 Device 003: ID 27c6:589a Shenzhen Goodix Technology Co.,Ltd. FingerPrint
Bus 003 Device 004: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

However, I do can connect phone via docking station.
info

Phone: Redmi Note 12 Pro
Host: Xiaomi Book Pro 16 2022
Kernel: Linux 6.9.7-200.fc40.x86_64
Docking Station: UGREEN

Does your Phone Carrier support Tethering, Hotspot ?

This is a pain point for me, I have to be on a particular plan on my carrier to have access to the features, on months where I am not on that plan, i cannot have the feature, even if I had bought up enough Bandwidth to cover it.

So i would check with your Phone Carrier as this could be something happeining on their end as they kick you off.

Actully I do can connect the phone via docking station.
The problem is I can’t even connect the fedora directly through USB-C, in other words, lsusb can’t detect my phone at all.

1 Like

Can you try :

dmesg | grep USB

You can also use this command to monitor real-time USB events as you connect and disconnect your phone

dmesg --follow | grep USB

I don’t know why…:cry:

[131923.933686] usb 3-2: new high-speed USB device number 58 using xhci_hcd
[131924.061170] usb 3-2: New USB device found, idVendor=2717, idProduct=ff88, bcdDevice= 2.23
[131924.061178] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[131924.428471] usb 3-2: USB disconnect, device number 58
1 Like

This final message indicates that the USB device connected to port 3-2 and assigned device number 58 was disconnected.

  • Checking the USB cable
  • Enabling USB debugging on your phone
  • Keep monitoring dmesg for any further messages when connecting your device while trying these steps. I have a Pixel6PRO and when I connect I get the prompt to either charge or choose the file transfer ( I rsync My device ).
    • Sometimes the conncetion is slow, and I have to click on the mount in Nautilus/Files and then go into Internal Storage for it to work. Connect it and check your settings to make sure you have it on USB Tethering.