Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 05:07:09 GMT
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/182505: patch to update usb driver if_urtwn.c for new device
Message-ID:  <201309300507.r8U579RF095958@oldred.freebsd.org>
Resent-Message-ID: <201309300510.r8U5A0La056086@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182505
>Category:       usb
>Synopsis:       patch to update usb driver if_urtwn.c for new device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 30 05:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alfred Perlstein
>Release:        current
>Organization:
ixsystems
>Environment:
System: Darwin Alfreds-MacBook-Pro-9.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386

>Description:
need new device id.

>How-To-Repeat:
insert nifty usb dongle, nothing happens, not even Adria Richards notices.

>Fix:
https://github.com/alfredperlstein/freebsd/commit/7b4e2bb91b3b14436a92cd90802873f7356b31bd

commit 7b4e2bb91b3b14436a92cd90802873f7356b31bd
Author: Alfred Perlstein <alfred@freebsd.org>
Date:   Sun Sep 29 20:31:39 2013 -0700

   Add device ID for 'Sanoxy 802.11N' usb

diff --git a/sys/dev/usb/wlan/if_urtwn.c b/sys/dev/usb/wlan/if_urtwn.c
index 5f61cde..9d342b8 100644
--- a/sys/dev/usb/wlan/if_urtwn.c
+++ b/sys/dev/usb/wlan/if_urtwn.c
@@ -138,6 +138,7 @@ static const STRUCT_USB_HOST_ID urtwn_devs[] = {
       URTWN_DEV(REALTEK,      RTL8191CU),
       URTWN_DEV(REALTEK,      RTL8192CE),
       URTWN_DEV(REALTEK,      RTL8192CU),
+       URTWN_DEV(REALTEK,      RTL8188CU_0),
       URTWN_DEV(SITECOMEU,    RTL8188CU_1),
       URTWN_DEV(SITECOMEU,    RTL8188CU_2),
       URTWN_DEV(SITECOMEU,    RTL8192CU),


Patch attached with submission follows:

commit 7b4e2bb91b3b14436a92cd90802873f7356b31bd
Author: Alfred Perlstein <alfred@freebsd.org>
Date:   Sun Sep 29 20:31:39 2013 -0700

    Add device ID for 'Sanoxy 802.11N' usb

diff --git a/sys/dev/usb/wlan/if_urtwn.c b/sys/dev/usb/wlan/if_urtwn.c
index 5f61cde..9d342b8 100644
--- a/sys/dev/usb/wlan/if_urtwn.c
+++ b/sys/dev/usb/wlan/if_urtwn.c
@@ -138,6 +138,7 @@ static const STRUCT_USB_HOST_ID urtwn_devs[] = {
 	URTWN_DEV(REALTEK,	RTL8191CU),
 	URTWN_DEV(REALTEK,	RTL8192CE),
 	URTWN_DEV(REALTEK,	RTL8192CU),
+	URTWN_DEV(REALTEK, 	RTL8188CU_0),
 	URTWN_DEV(SITECOMEU,	RTL8188CU_1),
 	URTWN_DEV(SITECOMEU,	RTL8188CU_2),
 	URTWN_DEV(SITECOMEU,	RTL8192CU),


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309300507.r8U579RF095958>