Bug 246417 - [patch] attach rtwn driver to TP-Link TL-WN727N v5.21
Summary: [patch] attach rtwn driver to TP-Link TL-WN727N v5.21
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Many People
Assignee: Mark Johnston
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 14:08 UTC by Viktor G.
Modified: 2020-05-19 03:26 UTC (History)
1 user (show)

See Also:


Attachments
patch (873 bytes, patch)
2020-05-12 14:08 UTC, Viktor G.
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor G. 2020-05-12 14:08:32 UTC
Created attachment 214414 [details]
patch

TP-Link TL-WN727N v5.21 (RTL8188EUS) able to work with urtwn(4) driver.

see https://forums.freebsd.org/threads/tp-link-tl-wn727n-v5-21-works-successfully.75375/

# usbconfig -u 1 -a 2 dump_device_desc
ugen1.2: <Realtek 802.11n NIC> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x2357 
  idProduct = 0x0111 
  bcdDevice = 0x0000 
  iManufacturer = 0x0001  <Realtek>
  iProduct = 0x0002  <802.11n NIC>
  iSerialNumber = 0x0003  <00E04C0001>
  bNumConfigurations = 0x0001


patch included
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-05-12 16:11:11 UTC
A commit references this bug:

Author: markj
Date: Tue May 12 16:10:08 UTC 2020
New revision: 360966
URL: https://svnweb.freebsd.org/changeset/base/360966

Log:
  rtwn: Add a USB ID for the TP-Link TL-WN727N.

  PR:		246417
  Submitted by:	Viktor G. <viktor@netgate.com>
  MFC after:	1 week

Changes:
  head/share/man/man4/rtwn_usb.4
  head/sys/dev/rtwn/usb/rtwn_usb_attach.h
  head/sys/dev/usb/usbdevs
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-05-19 03:25:18 UTC
A commit references this bug:

Author: markj
Date: Tue May 19 03:24:46 UTC 2020
New revision: 361240
URL: https://svnweb.freebsd.org/changeset/base/361240

Log:
  MFC r360966:
  rtwn: Add a USB ID for the TP-Link TL-WN727N.

  PR:	246417

Changes:
_U  stable/12/
  stable/12/share/man/man4/rtwn_usb.4
  stable/12/sys/dev/rtwn/usb/rtwn_usb_attach.h
  stable/12/sys/dev/usb/usbdevs
Comment 3 Mark Johnston freebsd_committer freebsd_triage 2020-05-19 03:26:14 UTC
Thanks for the patch.