Created attachment 167290 [details] urtwn: add entry for AboCom 802.11n usb device Hi there, I bought a 802.11n stick and it wasn't working out of the box on FreeBSD. Here is a very straightforward patch to add a USB entry so that urtwn picks it up correctly. It has been tested on 10.2-RELEASE, and I confirm this hasn't been fixed in latest CURRENT series either. Here's the dmesg log when I load the driver: ``` urtwn0: <Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 2> on usbus0 urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R ``` I'm currently using this adapter to watch Youtube and write this issue. You can also view the patch on github: https://github.com/sinetek/freebsd/tree/user/sinetek/urtwn Would appreciate if you can pull it in. Thanks, -- Philippe Michaud-Boudreault <sinetek> 0001-urtwn-add-entry-for-AboCom-802.11n-usb-device.patch ==================================================== From fe491adcb4fddc383c83878ecd38862867248ad8 Mon Sep 17 00:00:00 2001 From: sinetek <pitwuu@gmail.com> Date: Mon, 22 Feb 2016 17:26:01 +0700 Subject: [PATCH] urtwn: add entry for AboCom 802.11n usb device --- sys/dev/usb/usbdevs | 1 + sys/dev/usb/wlan/if_urtwn.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index e4dfd37..85de31b 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -833,6 +833,7 @@ product ABOCOM RT2573_4 0xb21e RT2573 product ABOCOM RTL8188CU_1 0x8188 RTL8188CU product ABOCOM RTL8188CU_2 0x8189 RTL8188CU product ABOCOM RTL8192CU 0x8178 RTL8192CU +product ABOCOM RTL8188EU 0x8179 RTL8188EU product ABOCOM WUG2700 0xb21f WUG2700 /* Acton Research Corp. */ diff --git a/sys/dev/usb/wlan/if_urtwn.c b/sys/dev/usb/wlan/if_urtwn.c index 2475727..ff4b9ce 100644 --- a/sys/dev/usb/wlan/if_urtwn.c +++ b/sys/dev/usb/wlan/if_urtwn.c @@ -155,6 +155,7 @@ static const STRUCT_USB_HOST_ID urtwn_devs[] = { URTWN_RTL8188E_DEV(DLINK, DWA125D1), URTWN_RTL8188E_DEV(REALTEK, RTL8188ETV), URTWN_RTL8188E_DEV(REALTEK, RTL8188EU), + URTWN_RTL8188E_DEV(ABOCOM, RTL8188EU), #undef URTWN_RTL8188E_DEV #undef URTWN_DEV }; -- 2.4.6
A commit references this bug: Author: kevlo Date: Tue Feb 23 01:56:58 UTC 2016 New revision: 295907 URL: https://svnweb.freebsd.org/changeset/base/295907 Log: Add device ID for 'AboCom 802.11n' usb. PR: 207412 Submitted by: Philippe Michaud-Boudreault <pitwuu at gmail dot com> Changes: head/sys/dev/usb/usbdevs head/sys/dev/usb/wlan/if_urtwn.c