Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #63098 > unrolled thread
| Started by | - <choeffer@mailbox.org> |
|---|---|
| First post | 2019-01-18 11:50 +0100 |
| Last post | 2019-01-20 21:30 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.debian.kernel
Bug#919656: usb - surface dock - ethernet - fix included - <choeffer@mailbox.org> - 2019-01-18 11:50 +0100
Bug#919656: dmesg output wayne wayne <choeffer@mailbox.org> - 2019-01-18 12:00 +0100
Bug#919656: Acknowledgement (usb - surface dock - ethernet - fix included) - <choeffer@mailbox.org> - 2019-01-20 20:30 +0100
Bug#919656: Acknowledgement (usb - surface dock - ethernet - fix included) - <choeffer@mailbox.org> - 2019-01-20 21:30 +0100
| From | - <choeffer@mailbox.org> |
|---|---|
| Date | 2019-01-18 11:50 +0100 |
| Subject | Bug#919656: usb - surface dock - ethernet - fix included |
| Message-ID | <xhzSN-84Q-5@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | wayne wayne <choeffer@mailbox.org> |
|---|---|
| Date | 2019-01-18 12:00 +0100 |
| Subject | Bug#919656: dmesg output |
| Message-ID | <xhA2t-88k-1@gated-at.bofh.it> |
| In reply to | #63098 |
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
[toc] | [prev] | [next] | [standalone]
| From | - <choeffer@mailbox.org> |
|---|---|
| Date | 2019-01-20 20:30 +0100 |
| Subject | Bug#919656: Acknowledgement (usb - surface dock - ethernet - fix included) |
| Message-ID | <xiqX7-7l6-1@gated-at.bofh.it> |
| In reply to | #63098 |
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.
[toc] | [prev] | [next] | [standalone]
| From | - <choeffer@mailbox.org> |
|---|---|
| Date | 2019-01-20 21:30 +0100 |
| Subject | Bug#919656: Acknowledgement (usb - surface dock - ethernet - fix included) |
| Message-ID | <xirTc-7UR-3@gated-at.bofh.it> |
| In reply to | #63098 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web