From owner-freebsd-bugs@freebsd.org Wed May 23 10:28:45 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7703EF84E0 for ; Wed, 23 May 2018 10:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6E93382C3F for ; Wed, 23 May 2018 10:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 285CFEF84DF; Wed, 23 May 2018 10:28:44 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCD79EF84DE for ; Wed, 23 May 2018 10:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7346E82C3D for ; Wed, 23 May 2018 10:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9A27C1C2D9 for ; Wed, 23 May 2018 10:28:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4NASgBw088460 for ; Wed, 23 May 2018 10:28:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4NASgM0088457 for bugs@FreeBSD.org; Wed, 23 May 2018 10:28:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228436] add tp-link usb ethernet device quirk Date: Wed, 23 May 2018 10:28:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: axel.scheepers76+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 10:28:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228436 Bug ID: 228436 Summary: add tp-link usb ethernet device quirk Product: Base System Version: 11.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: axel.scheepers76+freebsd@gmail.com Dear maintainer, I have two tp-link usb ethernet adapters which require set_config 1 to work= , it would be nice if these could be added to the kernel. % sudo usbconfig -d ugen0.4 dump_device_desc ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (4= 80Mbps) pwr=3DON (100mA) bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0210=20 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000=20 bDeviceProtocol =3D 0x0000=20 bMaxPacketSize0 =3D 0x0040=20 idVendor =3D 0x2357=20 idProduct =3D 0x0602=20 bcdDevice =3D 0x2000=20 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0003 <98DED0139A56> bNumConfigurations =3D 0x0002=20 % sudo usbconfig -d ugen0.4 set_config 1 % ifconfig ue0 ue0: flags=3D8802 metric 0 mtu 1500 ether 98:de:d0:13:9a:56 hwaddr 98:de:d0:13:9a:56 nd6 options=3D29 and the gigabit variant: % sudo usbconfig -d ugen0.4 dump_device_desc ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DSUP= ER (5.0Gbps) pwr=3DON (64mA) bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0300=20 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000=20 bDeviceProtocol =3D 0x0000=20 bMaxPacketSize0 =3D 0x0009=20 idVendor =3D 0x2357=20 idProduct =3D 0x0601=20 bcdDevice =3D 0x3000=20 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0006 <000001000000> bNumConfigurations =3D 0x0002 % sudo usbconfig -d ugen0.4 set_config 1 % ifconfig ue0 ue0: flags=3D8802 metric 0 mtu 1500 ether d4:6e:0e:1f:a6:40 hwaddr d4:6e:0e:1f:a6:40 nd6 options=3D29 Kind regards, Axel Scheepers --=20 You are receiving this mail because: You are the assignee for the bug.=