Linux USB
 help / color / mirror / Atom feed
From: WGH <da-wgh@ya.ru>
To: oliver@neukum.org, andrew+netdev@lunn.ch, davem@davemloft.net,
	edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
	linux-usb@vger.kernel.org, netdev@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: cdc_ncm doesn't detect link unless ethtool is run (ASIX AX88179B)
Date: Sat, 15 Nov 2025 11:58:23 +0300	[thread overview]
Message-ID: <1c3f0582-4c92-41b3-a3db-5158661d4e1a@ya.ru> (raw)

Hello.

I'm running Linux 6.17.7, and recently obtained a UGREEN 6 in 1 hub containing an AX88179B chip.

By default, it uses the generic cdc_ncm driver, and it works mostly okay.

The annoying problem I have is that most of the time the kernel doesn't notice that the link is up. ip link reports NO-CARRIER, network management daemon doesn't configure the interface, and so on.

The workaround I found is to run ethtool enp6s0f4u1u2c2. As soon as I do that, NO-CARRIER disappears, and network connection configures normally.

There are no interesting dmesg messages. No link status reports, just a couple of messages just after driver initiialization.

Nov 14 12:51:47 sixty-four kernel: usb 5-1.2: new SuperSpeed USB device number 19 using xhci_hcd
Nov 14 12:51:47 sixty-four kernel: usb 5-1.2: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
Nov 14 12:51:47 sixty-four kernel: usb 5-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 14 12:51:47 sixty-four kernel: usb 5-1.2: Product: AX88179B
Nov 14 12:51:47 sixty-four kernel: usb 5-1.2: Manufacturer: ASIX
Nov 14 12:51:47 sixty-four kernel: usb 5-1.2: SerialNumber: 0000000000BE7F
Nov 14 12:51:47 sixty-four kernel: cdc_ncm 5-1.2:2.0: MAC-Address: XX:XX:XX:XX:XX:XX
Nov 14 12:51:47 sixty-four kernel: cdc_ncm 5-1.2:2.0: setting rx_max = 16384
Nov 14 12:51:47 sixty-four kernel: cdc_ncm 5-1.2:2.0: setting tx_max = 16384
Nov 14 12:51:47 sixty-four kernel: cdc_ncm 5-1.2:2.0 eth0: register 'cdc_ncm' at usb-0000:06:00.4-1.2, CDC NCM (NO ZLP), XX:XX:XX:XX:XX:XX
Nov 14 12:51:47 sixty-four kernel: cdc_ncm 5-1.2:2.0 enp6s0f4u1u2c2: renamed from eth0


             reply	other threads:[~2025-11-15  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-15  8:58 WGH [this message]
2025-11-15 12:33 ` cdc_ncm doesn't detect link unless ethtool is run (ASIX AX88179B) Oliver Neukum
2025-11-17 12:44   ` WGH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c3f0582-4c92-41b3-a3db-5158661d4e1a@ya.ru \
    --to=da-wgh@ya.ru \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox