r8152

Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters

GPL-2.0 License

Stars
2K

Bot releases are hidden (Show)

r8152 - 2.18.1-1 Latest Release

Published by bb-qq 4 months ago

  • The base code has been updated to version 2.18.1 which includes the following changes:
    • 🥳Added support for new chip RTL8157 (5Gbps) 🤩
      • However, the author has not been able to obtain a product with this chip, so it has not been confirmed that it works.
    • Comply with the kernel's new network driver interface, and many refactorings.
    • Many error handling improvements and additional workarounds, possibly stability improvements
    • ..And microcode updates
  • Drivers are no longer released for the following platforms for DSM6.2/7.1 since Realtek has discontinued support for older kernels:
    • evansport, comcerto2k, armadaxp, armada370, armada375
  • Confirming stability is still in progress.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Selecting a proper version is needed depending on your DSM version.
    • DSM 7.2 and above
      • use packages with the suffix _7.2.
    • DSM 7.0 and DSM 7.1
      • use packages with the suffix _7.1.
    • DSM 6.2.x
      • use packages with the suffix _6.2.
r8152 - 2.17.1-2

Published by bb-qq 8 months ago

  • Improved performance especially on older platforms. (beta)
    • In an earlier version, the size of the RX buffer was reduced to improve stability on older platforms.
    • Since that time, the Realtek base driver and firmware have been updated, so I reverted this change at this time.
    • Please let me know if stability has decreased significantly since this release. I will change to reduce the RX buffer only for that platform again.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Selecting a proper version is needed depending on your DSM version.
    • DSM 7.2 and above
      • use packages with the suffix _7.2.
    • DSM 7.0 and DSM 7.1
      • use packages with the suffix _7.1.
    • DSM 6.2.x
      • use packages with the suffix _6.2.
r8152 - 2.17.1-1

Published by bb-qq over 1 year ago

  • The base code has been updated to version 2.17.1 which includes the following changes:
    • fix the autosuspend doesn't work
    • move setting r8153b_rx_agg_chg_indicate()
    • fix the poor throughput for 2.5G devices
    • fix flow control issue of RTL8156A
    • Add __GFP_NOWARN to big allocations
      • Suppresses unnecessary logs in low memory environments
    • reduce the control transfer of rtl8152_get_version()
    • r8152: avoid to change cfg for all devices
    • ..And microcode updates

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Selecting a proper version is needed depending on your DSM version.
    • DSM 7.2 and above
      • use packages with the suffix _7.2.
    • DSM 7.0 and DSM 7.1
      • use packages with the suffix _7.1.
    • DSM 6.2.x
      • use packages with the suffix _6.2.
r8152 - 2.16.3-4

Published by bb-qq over 1 year ago

  • Improved error handling for loading settings when using DHCP.
  • Added experimental support of DSM 7.2beta. (not tested)
  • Added experimental support of DSM 6.2 again for limited platforms. (not tested)

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Selecting a proper version is needed depending on your DSM version.
    • DSM 7.2 and above
      • use packages with the suffix _7.2.
    • DSM 7.0 and DSM 7.1
      • use packages with the suffix _7.1.
    • DSM 6.2.x
      • use packages with the suffix _6.2.
r8152 - 2.16.3-3 DSM7.x (reuploaded)

Published by bb-qq almost 2 years ago

  • Improved the workaround for the issue of not restoring IP configuration on boot introduced in DSM 7.1.1.
    • This change also fixes the issue of the "need to repair loop" occurring in some environments.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.16.3-2 DSM7.x

Published by bb-qq about 2 years ago

  • Fixed the issue that IP settings are not restored on boot introduced in DSM 7.1.1.
    • Reboot and run the command sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su again may be required to upgrade in some environments
  • Disabled USB autosuspend by default to improve stability for some platforms.
  • Logs are now stored under /var/packages/r8152/var/log.
  • Changed to skip creating an OVS interface when the target interface was already configured.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.16.3-1 DSM7.x

Published by bb-qq about 2 years ago

Updated the base driver codes to v2.16.3 supplied by Realtek that include the following changes:

  • Updated firmware/microcode for some chip revisions
  • Implemented recovery procedure without interface down for Rx status -71 error.
  • Supported configuring 'pause' parameters by ethtool --pause/--show-pause as well as Rx parameter (not tested)

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-10 DSM7.x

Published by bb-qq about 2 years ago

  • Fixed the issue when bond and other devices exist.
  • Improved handling of hotplug events.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-9 DSM7.x

Published by bb-qq about 2 years ago

  • Fixed install-udev-rules.
  • Added support for the new variant of TUC-ET2G(=2.0R).

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-8 DSM7.x

Published by bb-qq about 2 years ago

  • (beta) Supported hot plug.
    • To enable the hot plug feature, After successful installation of the driver, execute the following command: sudo bash /var/packages/r8152/scripts/install-udev-rules
    • Installation of udev rules might resolve the issue that the device is recognized as Mass Storage Class devices.
  • Changed storage location of IP addresses to etc in the package home directory.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-7 DSM7.x

Published by bb-qq over 2 years ago

  • Added support of D-Link DUB-E250 and more.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • If you encounter a performance issue, please try 2.14.0-6.
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-6 DSM7.x

Published by bb-qq over 2 years ago

  • Decreased RX buffer size of URB.
    • This change is expected to improve stability on models with low memory.
    • If you encounter a performance issue, please try 2.14.0-6.
  • Added support of EDC-QUA3C-B.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-5 DSM7.x

Published by bb-qq almost 3 years ago

  • Init support of openvswitch. by @riverscn in https://github.com/bb-qq/r8152/pull/134
  • Improved wait procedure for device detection. This change is expected to fix the issue device is not detected at DSM startup.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
  • Not work properly on some older models or models with less memory(<2GB). Please check the issues.
r8152 - 2.15.0-4 DSM7.0

Published by bb-qq about 3 years ago

Added support of ASUS USB-C2500.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-3 DSM7

Published by bb-qq over 3 years ago

Fixed a issue that prevented installation on ARM-based platforms.

Note:

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use past releases.
r8152 - 2.15.0-2 DSM7.0

Published by bb-qq over 3 years ago

Added support for DSM7.

  • The installation will fail the first time. After that, run the following command from the SSH terminal:
    sudo install -m 4755 -o root -D /var/packages/r8152/target/r8152/spk_su /opt/sbin/spk_su
  • Users of DSM 6.2 should use the previous version.
r8152 - 2.15.0-1

Published by bb-qq over 3 years ago

This release seems to include following changes:

  • Support the new chip revision RTL_VER_15
  • Support for MTU over 9k in some chip revisions
  • Some changes regarding power management
  • New firmwares / microcode patches

NOTE: These are just built, not verified to work.

r8152 - 2.14.0-3

Published by bb-qq over 3 years ago

  • Fixed the DHCP issue
  • Added the log to print the chip revision of a device.
r8152 - 2.14.0-2

Published by bb-qq almost 4 years ago

Supported old platforms.

NOTE:

  • Some users reported stability/performance of connection issues on old platforms. Please do not get your hopes up when using old platforms.
r8152 - 2.12.0-3_test

Published by bb-qq almost 4 years ago

Applied the patch described in this thread: https://bugzilla.kernel.org/show_bug.cgi?id=205923