On Sun, Oct 15, 2023 at 03:13:26PM -0700, Maciej Żenczykowski wrote:
On Sun, Oct 15, 2023 at 2:55 PM Maciej Żenczykowski maze@google.com wrote: And actually looking longer at the logs:
usb 1-5: new high-speed USB device number 9 using xhci_hcd usb 1-5: New USB device found, idVendor=0b95, idProduct=772b, bcdDevice= 0.02 usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-5: Product: AX88772C usb 1-5: Manufacturer: ASIX Elec. Corp. usb 1-5: SerialNumber: 000002 asix 1-5:1.0 (unnamed net_device) (uninitialized): PHY [usb-001:009:10] driver [Asix Electronics AX88772C] (irq=POLL) Asix Electronics AX88772C usb-001:009:10: attached PHY driver (mii_bus:phy_addr=usb-001:009:10, irq=POLL) asix 1-5:1.0 eth0: register 'asix' at usb-0000:00:14.0-5, ASIX AX88772B USB 2.0 Ethernet, 14:ae:85:70:44:29 asix 1-5:1.0 enx14ae85704429: renamed from eth0 asix 1-5:1.0 enx14ae85704429: configuring for phy/internal link mode usb 1-5: USB disconnect, device number 9 asix 1-5:1.0 enx14ae85704429: unregister 'asix' usb-0000:00:14.0-5, ASIX AX88772B USB 2.0 Ethernet
It looks like the rest of that patch is needed too, since it is a AX88772C phy.
This means even with the option manually enabled, we'd still need to cherrypick dde25846925765a88df8964080098174495c1f10 "net: usb/phy: asix: add support for ax88772A/C PHYs" since apparently this is simply new(ish) hardware with built-in x88772C PHY.
As far as I see, you are not using clean mainline stable kernel. All changes which make your kernel to need an external PHY driver are _not_ in v5.10.198.
You will need to cherrypick at least 28 last patches from this stack: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drive...
and some from here too: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drive...
Regards, Oleksij