Re: Linux device driver for USB WIFI needs integrating

From: Anders Larsen
Date: Fri Apr 24 2015 - 08:25:52 EST

On 2015-04-24 13:59, Chris Ward wrote:
lsusb shows
Bus 003 Device 024: ID 0b05:17ba ASUSTek Computer, Inc.

OK, thanks

I've just built the OpenSUSE kernel from source, it has that CONFIG=m .
I think ASUS have changed the chip set.

only the USB id AFAICT - 0b05:17ab is supported

Do we have to wait for ASUS to debug their driver ? Supposedly it worked
with an older kernel (up to 3.10 I think)

does the attached trivial patch help?
(it should make the in-tree driver recognise your ASUS device)

Anders=46rom 2d7ede77347f9e2f00b248839961b3da311a27fa Mon Sep 17 00:00:00 2001
From: Anders Larsen <al@xxxxxxxxxxx>
Date: Fri, 24 Apr 2015 14:17:33 +0200
Subject: [PATCH] rtlwifi/rtl8192cu: Add USB id for ASUS USB-N10 NANO

"ASUS USB-N10 NANO" wifi adapter USB id: 0b05:17ba

Signed-off-by: Anders Larsen <al@xxxxxxxxxxx>
drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
index 1ac6383..77c4b62 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
@@ -364,6 +364,7 @@ static struct usb_device_id rtl8192c_usb_ids[] = {
{RTL_USB_DEVICE(0x0846, 0x9021, rtl92cu_hal_cfg)}, /*Netgear-Sercomm*/
{RTL_USB_DEVICE(0x0846, 0xf001, rtl92cu_hal_cfg)}, /*On Netwrks N300MA*/
{RTL_USB_DEVICE(0x0b05, 0x17ab, rtl92cu_hal_cfg)}, /*ASUS-Edimax*/
+ {RTL_USB_DEVICE(0x0b05, 0x17ba, rtl92cu_hal_cfg)}, /*ASUS-Edimax N10 nano*/
{RTL_USB_DEVICE(0x0bda, 0x8186, rtl92cu_hal_cfg)}, /*Realtek 92CE-VAU*/
{RTL_USB_DEVICE(0x0df6, 0x0061, rtl92cu_hal_cfg)}, /*Sitecom-Edimax*/
{RTL_USB_DEVICE(0x0e66, 0x0019, rtl92cu_hal_cfg)}, /*Hawking-Edimax*/