From owner-freebsd-usb@freebsd.org Mon Nov 13 23:50:26 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DE26DDA2E4 for ; Mon, 13 Nov 2017 23:50:26 +0000 (UTC) (envelope-from netsick@gmail.com) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24C223B11; Mon, 13 Nov 2017 23:50:26 +0000 (UTC) (envelope-from netsick@gmail.com) Received: by mail-qk0-x229.google.com with SMTP id a142so21995539qkb.5; Mon, 13 Nov 2017 15:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LbiabU1L/9EhwlGz3sq0l/YJThnld4f0fwKrHp0rDSE=; b=Ty3xMyoBwJxRZH70CDhsOQtVD+kqWv314mZZurqk4YWgBMkO9KZ+rG+FG+pzzuc1L8 I3YIQnDNyar0UUKPiF+R/6li+aB494Ge+nq06S1EZR4iGat7JfptObquC5yqalnCbVUG XHWLClrkfiA5PMHakpIe1HXaqULcgAKlNsxJXxF3wtAsqFH1If1v1Ywl6iKAG2yiE5ao ekktJKpU6FNZPUQm1jbfnHWAHqflt2Gu3vh9UppJ6yfndPdsJFVizIRPNdQnoLKt+lgz sUau07QsuKA7W2wBIMrE1jUMNVSDr9rCVodGKhDTHKCQ/MLCAhbwVoZ0L6qaWQMicu3V VE1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LbiabU1L/9EhwlGz3sq0l/YJThnld4f0fwKrHp0rDSE=; b=gAmT6UekEJ5kssfx9WrDJZZ5FcHTG+PAByx5rbwts34mQfkVhzFoB/gebjqG59+Xm/ fI+FBh+Tp+AFin/UHOi9GvGp/Lzj2iwVCwLTi2j7U+Jbc2LrnnyL9In9LEVbgMjG5oiZ fcfUwCTiU8X04J04D8Nc+8CmxNvV8qkwBYrL/BUKQmV4v3n3ffaWH94liydEHATu3Rsf kmQ0JRZDHM5KNL4EWVfORx/tTqOcPVOi2BFVdk7CzMtws+iW2ayzdkuDMehNb4UySYqr t6shq9mk7PeUi3q855mT6hEcdpu/OlZtPyJ3Lr5AFYjDVijjt7W6k5m9aWkGEA+4F0HO gy+A== X-Gm-Message-State: AJaThX5MDQeXnolmWeMhgqDYDjJb8Lzp3b9Ye6p2P3W6o7nhASILQtkt A+jpBmnCSPh2wsNAGTCdRdfZodn1IhTePfIGUnZRGw== X-Google-Smtp-Source: AGs4zMZbl3ptn+VoLFJJRH+R9AsYZY8YcnGbz+Dky9McH5yL57ry4UCNzpt0+EZDm3/+XIYKUVQC0ZgvJHo641hHRwg= X-Received: by 10.55.212.213 with SMTP id s82mr10122065qks.274.1510617025217; Mon, 13 Nov 2017 15:50:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.60.84 with HTTP; Mon, 13 Nov 2017 15:50:24 -0800 (PST) In-Reply-To: <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> References: <51a971f6-2ddc-6a52-c0de-60f37a9207f1@selasky.org> <32f842c9-5bd0-98d7-3129-8a709552af9d@selasky.org> <20171113135445.GA15267@ns.kevlo.org> <965daf95-5596-ca74-e0eb-701797f85326@selasky.org> From: Kris G Date: Tue, 14 Nov 2017 09:50:24 +1000 Message-ID: Subject: Re: usb quirks for ugen0.2: at usbus0 To: Hans Petter Selasky Cc: Kevin Lo , freebsd-usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 23:50:26 -0000 It doesn't use "ure" it makes use of "rue" ure - RealTek RTL8152 USB to Fast Ethernet controller driver rue - RealTek RTL8150 USB to Fast Ethernet controller driver The TP-LINK USB 3.0 NIC is RTL8153 chipset - http://www.tp-link.com/us/products/details/cat-5523_TL-UE300.html#specifications I don't even have ure in my kernel.. the only lines I had to add was.. device cdce device rue /var/log/dmesg.today:ue0: on cdce0 /var/log/dmesg.today:ue0: Ethernet address: d4:6e:0e:0c:67:c5 I am now confused as to what you would like me to patch and test...? On Tue, Nov 14, 2017 at 1:01 AM, Hans Petter Selasky wrote: > On 11/13/17 14:54, Kevin Lo wrote: > >> On Fri, Nov 10, 2017 at 08:42:45AM +0100, Hans Petter Selasky wrote: >> >>> >>> On 11/10/17 02:59, Kris G wrote: >>> >>>> USB_QUIRK(TPLINK, RTL8153, 0x0000, 0xffff, UQ_CFG_INDEX_1), >>>> >>> >>> Thank you for your quirk: >>> >>> https://svnweb.freebsd.org/changeset/base/325630 >>> >> >> Err, that's incorrect. The quirk is not necessary and you should add >> vid/pid >> to ure(4) instead. >> >> > Hi Kris, > > Can you make a new patch for ure(4) and test? > > --HPS > >