Code Monkey home page Code Monkey logo

Comments (5)

bb-qq avatar bb-qq commented on September 22, 2024 1

If you insert the USB 3.0 connector slowly, it will be recognized as a USB 2.0 device. It sounds like a lie, but it is true. Your case may be related to this.

Since your problem seems to be solved and I have added this issue to the troubleshooting page, I am closing this issue.

from r8152.

chvvkumar avatar chvvkumar commented on September 22, 2024

Just did some testing to rule out my cabling as the cable goes through two different keystones and three different cable segments.

Herei s my original layout:

Desktop <-> Keystone Wall jack <-> Rack Patch Panel <-> DS416Play

Testing with my RaspberryPi

Desktop <-> Keystone Wall jack <-> Rack Patch Panel <-> RPi
pi@pihole:[~]: sudo ethtool eth1
Settings for eth1:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Half 1000baseT/Full
	                        2500baseT/Full
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full
	                                     100baseT/Half 100baseT/Full
	                                     1000baseT/Full
	                                     2500baseT/Full
	Link partner advertised pause frame use: Symmetric Receive-only
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 32
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00007fff (32767)
			       drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
	Link detected: yes

I noticed between the two ethtool outputs
On the NAS: the advertised speeds of the partner (desktop) do not show 2.5G speeds
On the Pi: advertised speed now shows 2.5g but it still connects at 1g.

from r8152.

bb-qq avatar bb-qq commented on September 22, 2024

CAC-1420 only detected as USB2 device on any USB port.

This symptom is strange.

  • If you connect CAC-1420 to your PC will it be recognized as a USB 3.0 device?
  • If you connect other USB 3.0 devices such as HDDs to the DS416Play, will they be recognized as USB 3.0 devices?

from r8152.

chvvkumar avatar chvvkumar commented on September 22, 2024
  • If you connect CAC-1420 to your PC will it be recognized as a USB 3.0 device?

Yes, it is recognized as a SuperSpeed device on my Windows desktop using USB Device Tree Viewer:
https://www.uwe-sieber.de/usbtreeview_e.html

    =========================== USB Port1 ===========================

Connection Status        : 0x01 (Device is connected)
Port Chain               : 1-24-1
Properties               : 0x01
 IsUserConnectable       : yes
 PortIsDebugCapable      : no
 PortHasMultiCompanions  : no
 PortConnectorIsTypeC    : no
ConnectionIndex          : 0x01 (Port 1)
CompanionIndex           : 0
 CompanionHubSymLnk      : USB#VID_174C&PID_2074#5&2a6ec909&0&8#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
 CompanionPortNumber     : 0x01 (Port 1)
 -> CompanionPortChain   : 1-8-1

      ========================== Summary =========================
Vendor ID                : 0x0BDA (Realtek Semiconductor Corp.)
Product ID               : 0x8156
USB Version              : 3.2 Gen 1
Port maximum Speed       : SuperSpeed
Device maximum Speed     : SuperSpeed
Device Connection Speed  : SuperSpeed
Self powered             : no
Demanded Current         : 256 mA
Used Endpoints           : 4

      ======================== USB Device ========================

        +++++++++++++++++ Device Information ++++++++++++++++++
Friendly Name            : Realtek Gaming USB 2.5GbE Family Controller
Device Description       : Realtek Gaming USB 2.5GbE Family Controller
Device Path 1            : \\?\USB#VID_0BDA&PID_8156#401000001#{a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Device Path 2            : \\?\USB#VID_0BDA&PID_8156#401000001#{cac88484-7515-4c03-82e6-71a87abac361}\{57ca6c7e-ace0-4c17-bcbf-e060e7798639} (GUID_DEVINTERFACE_NET)
Device Path 3            : \\?\USB#VID_0BDA&PID_8156#401000001#{ad498944-762f-11d0-8dcb-00c04fc3358c}\{57ca6c7e-ace0-4c17-bcbf-e060e7798639} (GUID_NDIS_LAN_CLASS)
Kernel Name              : \Device\USBPDO-18
Device ID                : USB\VID_0BDA&PID_8156\401000001
Hardware IDs             : USB\VID_0BDA&PID_8156&REV_3104 USB\VID_0BDA&PID_8156
Driver KeyName           : {4d36e972-e325-11ce-bfc1-08002be10318}\0016 (GUID_DEVCLASS_NET)
Driver                   : \SystemRoot\System32\DriverStore\FileRepository\rtucx21x64.inf_amd64_0fee41a4ed424d5a\rtucx21x64.sys (Version: 11.1.621.2021  Date: 2022-05-07)
Driver Inf               : C:\Windows\inf\rtucx21x64.inf
Legacy BusType           : PNPBus
Class                    : Net
Class GUID               : {4d36e972-e325-11ce-bfc1-08002be10318} (GUID_DEVCLASS_NET)
Service                  : rtucx21x64
Enumerator               : USB
Location Info            : Port_#0001.Hub_#0003
Location IDs             : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(24)#USB(1), ACPI(_SB_)#ACPI(PC00)#ACPI(XHCI)#ACPI(RHUB)#ACPI(SS08)#ACPI(EP01)
Container ID             : {d180beb6-017a-5986-8625-5465a523528c}
Manufacturer Info        : Realtek
Capabilities             : 0x94 (Removable, UniqueID, SurpriseRemovalOK)
Status                   : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code             : 0
WakeFromSleepState       : 1
Power State              : D0 (supported: D0, D1, D2, D3, wake from D0, wake from D1, wake from D2)

        +++++++++++++++++ Registry USB Flags +++++++++++++++++
HKEY_LOCAL_MACHINE
\SYSTEM\CurrentControlSet\Control\usbflags\0BDA81563104
 osvc                    : REG_BINARY 00 00

USB Info.txt

  • If you connect other USB 3.0 devices such as HDDs to the DS416Play, will they be recognized as USB 3.0 devices?

Yes, I connected a SanDisk flash drive and it is recognized properly:

chvvkumar@diskstation:~$ lsusb
|__usb1          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (xhci_hcd 0000:00:14.0) hub
  |__1-5         f400:f400:0100 00  2.00  480MBit/s 200mA 1IF  (Synology DiskStation 6500739E2DE41647)
|__usb2          1d6b:0003:0310 09  3.00 5000MBit/s 0mA 1IF  (xhci_hcd 0000:00:14.0) hub
  |__2-2         0781:5583:0100 00  3.20 5000MBit/s 896mA 1IF  ( USB  SanDisk 3.2Gen1 0101635bf66043cccf033f652a345b35e7e201d84c96d249a4ec2e69e80d17cc01b900000000000000000000d5bd05e5ff17460083558107bf2d509b)
|__usb3          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (Linux 3.10.108 etxhci_hcd-170202 Etron xHCI Host Controller 0000:04:00.0) hub
  |__3-2         051d:0002:0101 00  1.10  1.5MBit/s 2mA 1IF  (American Power Conversion Back-UPS ES 750G FW:908.W4 .D USB FW:W4  4B1614P44143  )
|__usb4          1d6b:0003:0310 09  3.00 5000MBit/s 0mA 1IF  (Linux 3.10.108 etxhci_hcd-170202 Etron xHCI Host Controller 0000:04:00.0) hub

from r8152.

chvvkumar avatar chvvkumar commented on September 22, 2024

Actually, not sure what happened but after I removed the USB Flash drive and reinstalled the USB NIC, it started working fine!

Only difference I can see is, for some reason the first time around the adapter was hosted on usb3 hub but this time it is on usb2. You can see this if you compare the lsusb output from my first post and from below. In both instances the front USB3 port was used.

Here's the relavent output from dmesg, ethtool and ifconfig:

[180935.423945] usb 2-2: new SuperSpeed USB device number 3 using xhci_hcd
[180935.442022] usb 2-2: Parent hub missing LPM exit latency info.  Power management will be impacted.
[180935.578117] usb 2-2: reset SuperSpeed USB device number 3 using xhci_hcd
[180935.596038] usb 2-2: Parent hub missing LPM exit latency info.  Power management will be impacted.
[180935.613427] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88010eebfc80
[180935.623690] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88010eebfcc0
[180935.633981] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88010eebfd00
[180935.716873] r8152 2-2:1.0 eth2: v2.17.1 (2023/06/13)
[180935.722554] r8152 2-2:1.0 eth2: This product is covered by one or more of the following patents:
                		US6,570,884, US6,115,776, and US6,327,625.
[180935.740355] r8152 2-2:1.0 eth2: chip rev 14
[180935.745172] r8152 2-2:1.0 eth2: rx_buf_sz will be overridden to 16384

chvvkumar@diskstation:~$ lsusb
|__usb1          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (xhci_hcd 0000:00:14.0) hub
  |__1-5         f400:f400:0100 00  2.00  480MBit/s 200mA 1IF  (Synology DiskStation 6500739E2DE41647)
|__usb2          1d6b:0003:0310 09  3.00 5000MBit/s 0mA 1IF  (xhci_hcd 0000:00:14.0) hub
  |__2-2         0bda:8156:3104 00  3.20 5000MBit/s 256mA 1IF  (Realtek USB 10/100/1G/2.5G LAN 401000001)
|__usb3          1d6b:0002:0310 09  2.00  480MBit/s 0mA 1IF  (Linux 3.10.108 etxhci_hcd-170202 Etron xHCI Host Controller 0000:04:00.0) hub
  |__3-2         051d:0002:0101 00  1.10  1.5MBit/s 2mA 1IF  (American Power Conversion Back-UPS ES 750G FW:908.W4 .D USB FW:W4  4B1614P44143  )
|__usb4          1d6b:0003:0310 09  3.00 5000MBit/s 0mA 1IF  (Linux 3.10.108 etxhci_hcd-170202 Etron xHCI Host Controller 0000:04:00.0) hub

chvvkumar@diskstation:~$ sudo ethtool eth2
Settings for eth2:
	Supported ports: [ MII ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	                        2500baseX/Full
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	                        2500baseX/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full
	                                     100baseT/Half 100baseT/Full
	                                     1000baseT/Full
	Link partner advertised pause frame use: No
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 2500Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 32
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00007fff (32767)
			       drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
	Link detected: yes

from r8152.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.