AsahiLinux / linux

Linux kernel source tree
Other
2.17k stars 84 forks source link

USB Ports Not Working #245

Open monomycelium opened 6 months ago

monomycelium commented 6 months ago

Hello. I greatly appreciate your hard work toward this project!

A few months ago, my Apple MacBook Air (M1, 2020) was exposed to some water near the USB-C ports. After thorough drying, one of the two ports seemed to be working fine on macOS. However, when I use the Fedora Asahi Remix on the Mac, USB storage devices plugged into the working port occasionally do not show up in the output when executing lsblk. Most of the time, a reboot helped solve the problem. Recently, I found out that I could use lsusb with the -t flag to show the USB tree. Much to my disappointment, the output was empty!

My frequent suspension of the Mac may be the culprit, so I will keep you posted after some tests. While the loss of the first port has brought me down, I know that the demise of the last great MacBook port is even harder to deal with!

monomycelium commented 6 months ago

Update: upower shows that the battery is charging when the charger is connected on either port.

monomycelium commented 6 months ago

Update: lsusb -t still does not output anything after a restart!

Some information that may help:

# dmesg | grep usb
[    0.018856] usbcore: registered new interface driver usbfs
[    0.018860] usbcore: registered new interface driver hub
[    0.018864] usbcore: registered new device driver usb
[    0.659399] usbcore: registered new interface driver usbserial_generic
[    0.659667] usbserial: USB Serial support registered for generic
[    0.662515] usbcore: registered new interface driver usbhid
[    0.662523] usbhid: USB HID core driver
[    2.396142] dwc3 382280000.usb: Adding to iommu group 4
[    2.940841] dwc3 502280000.usb: Adding to iommu group 5
[    4.490360] usbcore: registered new interface driver brcmfmac
[  672.610148] usbcore: registered new interface driver usb-storage
# lsmod | grep usb
usb_storage           131072  0