From
https://lore.kernel.org/netdev/1e6d7b8c3af444ae900fd4248f2a9...@realtek.com/

There are three configurations for RTL8156.
        config #1: vendor mode (r8152)
        config #2: NCM mode (cdc_ncm)
        config #3: ECM mode (cdc_ether)

The USB core selects config #2 for default, so cdc_ncm is loaded.
If you plan to use vendor mode, you have to switch the configuration
to config #1. For example,

        echo 1 > /sys/bus/usb/devices/2-7/bConfigurationValue

So this does not seem to be considered a kernel bug.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2000805

Title:
  rtl8156B loaded with wrong driver and not working

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I have a 2.5G USB Ethernet dongle that use the Realtek 8156B chipset.
  The default driver being loaded are cdc_mbim and cdc_ncm, but this
  driver (cdc_ncm) is an incorrect driver that does not work with the
  chip.  Instead, I have to manually load the r8152 driver to make it
  work;  I cannot blacklist cdc_ncm as I am also using it with other
  devices.

  Current Platform: Ubuntu 22.04.1, kernel 5.15.0-56-lowlatency
  Reproducible: always
  Expects: plugging in the USB dongle will have correct driver loaded, and just 
work

  Steps to fix:
  -----------------------------------
  rmmod cdc_mbim
  rmmod cdc_ncm
  rmmod cdc_ether
  modprobe r8152
  echo 0bda 8156 > /sys/bus/usb/drivers/r8152/new_id
  -----------------------------------

  reference links:
  
https://forum.manjaro.org/t/no-carrier-network-link-problem-with-usb-2-5-gbit-lan-adapter-realtek-rtl8156b-on-x86-64/97195
  
https://lore.kernel.org/netdev/20211227182124.5cbc0...@kicinski-fedora-pc1c0hjn.hsd1.ca.comcast.net/#t

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2000805/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to