Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#919656: usb - surface dock - ethernet - fix included

83 views
Skip to first unread message

-

unread,
Jan 18, 2019, 5:50:02 AM1/18/19
to
Package: linux-image-4.19.0-1-amd64
Severity: important

Device: Surface Go

Debian Version: Buster with latest updates

Summary:

The Surface Dock is working fine, hot-plugging and suspend (even with
S3) are working, just the Ethernet port does not get an IP address. It
is recognized, but not working.

There is a quirk available for the powermanagement, see https://github.
com/jakeday/linux-surface/issues/259 for more information and https://g
ithub.com/jakeday/linux-
surface/pull/325/commits/2dd7c642990602cb7f873d4b151098876e80ddb2 for
the patch.

If more informations are needed, please let me know.

best regards

Christian Höffer

wayne wayne

unread,
Jan 18, 2019, 6:00:04 AM1/18/19
to
after connecting the Surface Dock I get the following output:

[ 1548.069549] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 1548.095899] usb 2-2: New USB device found, idVendor=045e, idProduct=0900, bcdDevice=47.53
[ 1548.095904] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1548.095908] usb 2-2: Product: Surface Dock USB3Hub
[ 1548.095911] usb 2-2: Manufacturer: Microsoft
[ 1548.098453] hub 2-2:1.0: USB hub found
[ 1548.098818] hub 2-2:1.0: 2 ports detected
[ 1548.217553] usb 1-2: new high-speed USB device number 4 using xhci_hcd
[ 1548.376872] usb 1-2: New USB device found, idVendor=045e, idProduct=0901, bcdDevice=47.53
[ 1548.376879] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1548.376883] usb 1-2: Product: Surface Dock USB2Hub
[ 1548.376887] usb 1-2: Manufacturer: Microsoft
[ 1548.379165] hub 1-2:1.0: USB hub found
[ 1548.380351] hub 1-2:1.0: 4 ports detected
[ 1548.449617] usb 2-2.2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 1548.470222] usb 2-2.2: New USB device found, idVendor=045e, idProduct=07c6, bcdDevice=30.00
[ 1548.470228] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1548.470231] usb 2-2.2: Product: Surface Dock GigE
[ 1548.470234] usb 2-2.2: Manufacturer: Microsoft
[ 1548.470237] usb 2-2.2: SerialNumber: 000001000000
[ 1548.681433] usb 1-2.1: new high-speed USB device number 5 using xhci_hcd
[ 1548.794992] usb 1-2.1: New USB device found, idVendor=045e, idProduct=0903, bcdDevice=47.54
[ 1548.794999] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1548.795003] usb 1-2.1: Product: Surface Dock USB2Hub
[ 1548.795006] usb 1-2.1: Manufacturer: Microsoft
[ 1548.799435] hub 1-2.1:1.0: USB hub found
[ 1548.800957] hub 1-2.1:1.0: 4 ports detected
[ 1548.865765] usb 2-2.1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[ 1548.889499] usb 2-2.1: New USB device found, idVendor=045e, idProduct=0902, bcdDevice=47.54
[ 1548.889506] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1548.889510] usb 2-2.1: Product: Surface Dock USB3Hub
[ 1548.889513] usb 2-2.1: Manufacturer: Microsoft
[ 1548.893042] hub 2-2.1:1.0: USB hub found
[ 1548.893412] hub 2-2.1:1.0: 4 ports detected
[ 1548.920332] usbcore: registered new interface driver r8152
[ 1548.927851] usbcore: registered new interface driver cdc_ether
[ 1548.965452] usb 1-2.3: new full-speed USB device number 6 using xhci_hcd
[ 1549.068526] usb 1-2.3: New USB device found, idVendor=045e, idProduct=0904, bcdDevice=70.07
[ 1549.068533] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1549.068537] usb 1-2.3: Product: Surface Dock Extender
[ 1549.068540] usb 1-2.3: Manufacturer: Microsoft
[ 1549.077740] hid-generic 0003:045E:0904.0008: hiddev3,hidraw5: USB HID v1.11 Device [Microsoft Surface Dock Extender] on usb-0000:00:14.0-2.3/input0
[ 1549.149663] usb 2-2.2: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 1549.206651] r8152 2-2.2:1.0 eth0: v1.09.9
[ 1549.226930] r8152 2-2.2:1.0 enxc49dedebff2f: renamed from eth0
[ 1549.264720] IPv6: ADDRCONF(NETDEV_UP): enxc49dedebff2f: link is not ready
[ 1557.800266] IPv6: ADDRCONF(NETDEV_UP): enxc49dedebff2f: link is not ready
[ 1557.818696] r8152 2-2.2:1.0 enxc49dedebff2f: Stop submitting intr, status -71

-

unread,
Jan 20, 2019, 2:30:02 PM1/20/19
to
A temporary solution (or to test this patch) is to use a kernel
parameter in grub2.

https://www.kernel.org/doc/html/v4.19/admin-guide/kernel-parameters.htm
l

In line "linux" before "quiet" add

"usbcore.quirks=045e:07c6:k"

(means -> VendorID:ProductID:Flags)

and after booting the docks Ethernet is working fine. I do not know if
using this quirk is a good solution, but because the quirk is bound to
a specific VendorID and ProductID it should not conflict with other usb
devices.

-

unread,
Jan 20, 2019, 3:30:02 PM1/20/19
to
https://github.com/torvalds/linux/blob/v4.19/drivers/net/usb/cdc_ether.c
Intersting to mention is that the ProductID 0x07c6 is blacklisted in
the cdc_ether driver and the proper belonging r8152 is used.

The above ProductID can be found in
https://github.com/torvalds/linux/blob/v4.19/drivers/net/usb/r8152.c

As long as the ProductID is blacklisted in cdc_ether and explicitly
listed in r8152 it should be safe to use the quirk, because the proper
r8152 driver will be used and it seems just to be a powermanagement
issue. 
And because it is a dock and conncted to the power grid proper power
saving is not neccessary.

So it should be safe to add this quirk here https://github.com/torvalds
/linux/blob/v4.19/drivers/usb/core/quirks.c

Salvatore Bonaccorso

unread,
Apr 18, 2021, 11:40:03 AM4/18/21
to
Source: linux
Source-Version: 4.19.67-1

Hi,

On Fri, Jan 18, 2019 at 11:43:16AM +0100, - wrote:
> Package: linux-image-4.19.0-1-amd64
> Severity: important
>
> Device: Surface Go
>
> Debian Version: Buster with latest updates
>
> Summary:
>
> The Surface Dock is working fine, hot-plugging and suspend (even with
> S3) are working, just the Ethernet port does not get an IP address. It
> is recognized, but not working.
>
> There is a quirk available for the powermanagement, see https://github.
> com/jakeday/linux-surface/issues/259 for more information and https://g
> ithub.com/jakeday/linux-
> surface/pull/325/commits/2dd7c642990602cb7f873d4b151098876e80ddb2 for
> the patch.

The quirk patch landed afaics in 4.19.49 "USB: Add LPM quirk for
Surface Dock GigE adapter".

Regards,
Salvatore

Debian Bug Tracking System

unread,
Apr 18, 2021, 11:40:03 AM4/18/21
to
Your message dated Sun, 18 Apr 2021 17:31:06 +0200
with message-id <YHxQuoWd...@eldamar.lan>
and subject line Re: Bug#919656: usb - surface dock - ethernet - fix included
has caused the Debian Bug report #919656,
regarding usb - surface dock - ethernet - fix included
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


--
919656: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919656
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
0 new messages