Am Dienstag, den 23.05.2017, 11:23 +0200 schrieb Daniel Duris: > Sorry about that, -v output here: > Hi, sorry about the delay. Could you apply the attached debugging patch, raise logging level and report the result? Regards Oliver
From 96ab31dc4870f9104b77a40e26052d062b923a73 Mon Sep 17 00:00:00 2001 From: Oliver Neukum <oneukum@xxxxxxxx> Date: Mon, 12 Jun 2017 13:52:15 +0200 Subject: [PATCH] r8152: give the device version Getting the device version out of the driver really aids debugging. Signed-off-by: Oliver Neukum <oneukum@xxxxxxxx> --- drivers/net/usb/r8152.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index ddc62cb69be8..1a419a45e2a2 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -4368,6 +4368,8 @@ static u8 rtl_get_version(struct usb_interface *intf) break; } + dev_dbg(&intf->dev, "Detected version 0x%04x\n", version); + return version; } -- 2.12.3