Re: USB_NET_AX8817X dependency on AX88796B_PHY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 16, 2023 at 1:29 AM Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxx> 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.

No, the dmesg was actually from a (probably clean-ish 6.4-ish) debian
kernel on my laptop,
where the device enumerates and works in one of the 2 usb-c ports.

As I mentioned the hardware that actually runs 5.10 is having issues
even detecting my test device.
(and while that 5.10 is far from clean mainline, the usb and network
driver portions are more or less untouched)

> 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/drivers/net/usb/asix_devices.c?h=v6.6-rc6
>
> and some from here too:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/net/usb/usbnet.c?h=v6.6-rc6

I think this basically means the answer is "if you want this to work
upgrade to a newer kernel".
Which of course won't make any users happy, but oh well...

> Regards,
> Oleksij
> --
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux