Linux-USB Archive on lore.kernel.org
 help / color / Atom feed
From: "Schmid, Carsten" <Carsten_Schmid@mentor.com>
To: "f.fainelli@gmail.com" <f.fainelli@gmail.com>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Strange behaviour of D-Link DUB-1312 USB 3.0 Adapters
Date: Wed, 14 Aug 2019 08:17:08 +0000
Message-ID: <db0e8930ea94408ca7a38192ddfd203f@SVR-IES-MBX-03.mgc.mentorg.com> (raw)

[Resend - had mailer errors ]

Hi Florian,

today i have seen a strange behaviour of two D-Link DUB-1312 adapters (same Revision A1).
Plugging them into the same port (!) on my device one of them is recognized as SuperSpeed, the other as high speed ???
(working on 4.14.129 LTS)

From dmesg, the "faulty" one:
[  530.585871] usb 1-2: new high-speed USB device number 4 using xhci_hcd   <<<<<<<<< HUH ????
[  530.718872] usb 1-2: New USB device found, idVendor=2001, idProduct=4a00
[  530.718880] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  530.718885] usb 1-2: Product: D-Link DUB-1312
[  530.718889] usb 1-2: Manufacturer: D-Link Elec. Corp.
[  530.718893] usb 1-2: SerialNumber: 000000000024B9
[  531.055104] ax88179_178a 1-2:1.0 eth0: register 'ax88179_178a' at usb-0000:00:15.0-2, D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter, f4:8c:eb:4b:49:4e
[ 1151.424860] usb 1-2: USB disconnect, device number 4

And here comes the "good" one:
[ 1151.425110] ax88179_178a 1-2:1.0 eth0: unregister 'ax88179_178a' usb-0000:00:15.0-2, D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter
[ 1157.886447] usb 2-2: new SuperSpeed USB device number 4 using xhci_hcd <<<<<<<<<<< FINE !!!!
[ 1157.905885] usb 2-2: New USB device found, idVendor=2001, idProduct=4a00
[ 1157.905893] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1157.905898] usb 2-2: Product: D-Link DUB-1312
[ 1157.905902] usb 2-2: Manufacturer: D-Link Elec. Corp.
[ 1157.905906] usb 2-2: SerialNumber: 00000000000AF2
[ 1158.246076] ax88179_178a 2-2:1.0 eth0: register 'ax88179_178a' at usb-0000:00:15.0-2, D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter, 40:9b:cd:73:f1:f3

As you can see, same Vendor and Product ID.
(And really: it is the same connector i plugged it in!)

I had a look at the driver code of ax88179, but that one didn't change much in the past up to v5.2.
Nothing that explains what i can see here.

What can i do to dig deeper why this happens?

Best regards
Carsten

             reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-14  8:17 Schmid, Carsten [this message]
2019-08-14  8:31 ` Oliver Neukum
2019-08-14  8:56   ` AW: " Schmid, Carsten
2019-08-14 10:22     ` Schmid, Carsten
2019-08-14 13:07     ` Oliver Neukum
2019-08-15 12:02       ` AW: " Schmid, Carsten
2019-08-16 11:56         ` Schmid, Carsten
2019-08-19 12:11         ` Oliver Neukum
2019-08-19 12:27           ` AW: " Schmid, Carsten

Reply instructions:

You may reply publically 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=db0e8930ea94408ca7a38192ddfd203f@SVR-IES-MBX-03.mgc.mentorg.com \
    --to=carsten_schmid@mentor.com \
    --cc=f.fainelli@gmail.com \
    --cc=linux-usb@vger.kernel.org \
    /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

Linux-USB Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-usb/0 linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ https://lore.kernel.org/linux-usb \
		linux-usb@vger.kernel.org linux-usb@archiver.kernel.org
	public-inbox-index linux-usb

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-usb


AGPL code for this site: git clone https://public-inbox.org/ public-inbox