NetBSD Problem Report #52212

From www@NetBSD.org  Wed May  3 10:28:07 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 307AC7A16D
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  3 May 2017 10:28:07 +0000 (UTC)
Message-Id: <20170503102805.B8C167A2B3@mollari.NetBSD.org>
Date: Wed,  3 May 2017 10:28:05 +0000 (UTC)
From: kuehro@posteo.de
Reply-To: kuehro@posteo.de
To: gnats-bugs@NetBSD.org
Subject: Missing usbdevs entry for wifi stick TP-Link TL-WN722N v2
X-Send-Pr-Version: www-1.0

>Number:         52212
>Category:       kern
>Synopsis:       Missing usbdevs entry for wifi stick TP-Link TL-WN722N v2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jnemeth
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 03 10:30:00 +0000 2017
>Closed-Date:    Thu Aug 23 22:14:28 +0000 2018
>Last-Modified:  Thu Aug 23 22:14:28 +0000 2018
>Originator:     Kai-Uwe Eckhardt
>Release:        7.99.71
>Organization:
>Environment:
>Description:
The usb wifi stick TP-Link TL-WN722N v2, FCC ID TE7WN722NV2 is not recognized.  
>How-To-Repeat:

>Fix:
With the following patch I was able to use it with WPA-EAP for two days without problems. 


dmesg:

May  3 13:34:44 nb64 /netbsd: urtwn0 at uhub2 port 6
May  3 13:34:44 nb64 /netbsd: urtwn0: Realtek (0x2357) 802.11n NIC (0x10c), rev 2.00/0.00, addr 3
May  3 13:34:44 nb64 /netbsd: urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address 18:d6:c7:1a:16:2c
May  3 13:34:44 nb64 /netbsd: urtwn0: 1 rx pipe, 2 tx pipes
May  3 13:34:44 nb64 /netbsd: urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
May  3 13:34:44 nb64 /netbsd: urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps



--- /usr/src/sys/dev/usb/usbdevs.orig	2017-05-03 11:42:33.488663005 +0200
+++ /usr/src/sys/dev/usb/usbdevs	2017-05-03 13:32:49.578572477 +0200
@@ -3260,6 +3260,7 @@

 /* TP-Link products */
 product TPLINK RTL8192CU	0x0100	RTL8192CU
+product TPLINK RTL8188EU	0x010c	RTL8188EU

 /* Trek Technology products */
 product TREK THUMBDRIVE		0x1111	ThumbDrive
--- /usr/src/sys/dev/usb/if_urtwn.c.orig	2017-05-03 11:47:15.857658044 +0200
+++ /usr/src/sys/dev/usb/if_urtwn.c	2017-05-03 13:33:57.424820181 +0200
@@ -191,6 +191,7 @@
 	URTWN_RTL8188E_DEV(REALTEK, RTL8188ETV),
 	URTWN_RTL8188E_DEV(REALTEK, RTL8188EU),
 	URTWN_RTL8188E_DEV(ABOCOM, RTL8188EU),
+	URTWN_RTL8188E_DEV(TPLINK, RTL8188EU),

 	/* URTWN_RTL8192EU */
 	URTWN_RTL8192EU_DEV(REALTEK,	RTL8192EU),

>Release-Note:

>Audit-Trail:
From: "John Nemeth" <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52212 CVS commit: src/sys/dev/usb
Date: Wed, 3 May 2017 15:14:27 +0000

 Module Name:	src
 Committed By:	jnemeth
 Date:		Wed May  3 15:14:27 UTC 2017

 Modified Files:
 	src/sys/dev/usb: usbdevs

 Log Message:
 PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


 To generate a diff of this commit:
 cvs rdiff -u -r1.732 -r1.733 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "John Nemeth" <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52212 CVS commit: src/sys/dev/usb
Date: Wed, 3 May 2017 15:20:27 +0000

 Module Name:	src
 Committed By:	jnemeth
 Date:		Wed May  3 15:20:27 UTC 2017

 Modified Files:
 	src/sys/dev/usb: usbdevs.h usbdevs_data.h

 Log Message:
 PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


 To generate a diff of this commit:
 cvs rdiff -u -r1.723 -r1.724 src/sys/dev/usb/usbdevs.h
 cvs rdiff -u -r1.724 -r1.725 src/sys/dev/usb/usbdevs_data.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: kern-bug-people->jnemeth
Responsible-Changed-By: jnemeth@NetBSD.org
Responsible-Changed-When: Wed, 03 May 2017 15:35:05 +0000
Responsible-Changed-Why:
I handled it.


State-Changed-From-To: open->analyzed
State-Changed-By: jnemeth@NetBSD.org
State-Changed-When: Wed, 03 May 2017 15:35:05 +0000
State-Changed-Why:
Patch committed.  Need pullup.


From: "John Nemeth" <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52212 CVS commit: src/sys/dev/usb
Date: Wed, 3 May 2017 15:34:05 +0000

 Module Name:	src
 Committed By:	jnemeth
 Date:		Wed May  3 15:34:05 UTC 2017

 Modified Files:
 	src/sys/dev/usb: if_urtwn.c

 Log Message:
 PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


 To generate a diff of this commit:
 cvs rdiff -u -r1.52 -r1.53 src/sys/dev/usb/if_urtwn.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: analyzed->needs-pullups
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Fri, 04 May 2018 11:32:18 +0000
State-Changed-Why:
If it needs pullups, then needs-pullups.


State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 04 Jun 2018 09:56:16 +0000
State-Changed-Why:
pullup-7 1613


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52212 CVS commit: [netbsd-7] src/sys/dev/usb
Date: Wed, 6 Jun 2018 15:41:47 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Jun  6 15:41:47 UTC 2018

 Modified Files:
 	src/sys/dev/usb [netbsd-7]: if_urtwn.c usbdevs

 Log Message:
 Pull up following revision(s) (requested by maya in ticket #1613):

 	sys/dev/usb/if_urtwn.c: revision 1.53
 	sys/dev/usb/usbdevs: revision 1.733

 PR/52212 - Kai-Uwe Eckhardt -- add TP-Link TL-WN722N v2


 To generate a diff of this commit:
 cvs rdiff -u -r1.34.2.3 -r1.34.2.4 src/sys/dev/usb/if_urtwn.c
 cvs rdiff -u -r1.680.2.8 -r1.680.2.9 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 23 Aug 2018 22:14:28 +0000
State-Changed-Why:
pulled up .thanks for the patch!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.