Hi!

I guess the same tweaking is required for the Lenovo ThinkPad USB-C Dock
Gen2 (USB-C Dock Ethernet has VID 0x17ef, PID 0xa387).

Adding this to rtl8152_probe in r8152.c

        if (le16_to_cpu(udev->descriptor.idVendor) == VENDOR_ID_LENOVO &&
            ((le16_to_cpu(udev->descriptor.idProduct) == 0x3082) ||
             (le16_to_cpu(udev->descriptor.idProduct) == 0xa387)))
                set_bit(LENOVO_MACPASSTHRU, &tp->flags);

works for me.

Regards,
Christian

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827961

Title:
  Lenovo dock MAC Address pass through doesn't work in Ubuntu

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to