usb/170688: patch][usbdevs][wlan] Patch for ASUS Black Diamond USB-N53

2012-08-16 Thread Thomas V. Crimi

>Number: 170688
>Category:   usb
>Synopsis:   patch][usbdevs][wlan] Patch for ASUS Black Diamond USB-N53
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-usb
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 17 03:10:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Thomas V. Crimi
>Release:FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD eco 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Thu Aug 16 
22:20:39 EDT 2012 
>Description:
  I bought an Asus Black Diamond Dual Band (2.4Ghz / 5Ghz) Wireless-N USB 
Adapter (USB-N53).  It didn't initially work but once I added it to usbdevs and 
the if_run driver and now it works.  I was inspired by Zahemszky at FreeBSD.org.

  Only caveat is the driver is only work in 802.11g mode.  It seems that the 
run driver does not support 802.11n yet.

usbconfig dump:

ugen2.5: <802.11 n WLAN Ralink> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0b05 
  idProduct = 0x179d 
  bcdDevice = 0x0101 
  iManufacturer = 0x0001  
  iProduct = 0x0002  <802.11 n WLAN>
  iSerialNumber = 0x0003  <1.0>
  bNumConfigurations = 0x0001 
>How-To-Repeat:

>Fix:
Patch attached

Patch attached with submission follows:

diff -ru sys.orig/dev/usb/usbdevs sys/dev/usb/usbdevs
--- sys.orig/dev/usb/usbdevs2012-07-05 11:35:59.0 -0400
+++ sys/dev/usb/usbdevs 2012-08-16 22:44:53.0 -0400
@@ -1074,6 +1074,7 @@
 product ASUS P535  0x420f  ASUS P535 PDA
 productASUS GMSC   0x422f  ASUS Generic Mass Storage
 product ASUS RT25700x1706  RT2500USB Wireless Adapter
+product ASUS USB_N53   0x179d  ASUS Black Diamond Dual Band USB-N53 
 
 /* ATen products */
 product ATEN UC12840x2001  Parallel printer
diff -ru sys.orig/dev/usb/wlan/if_run.c sys/dev/usb/wlan/if_run.c
--- sys.orig/dev/usb/wlan/if_run.c  2012-06-11 13:23:24.0 -0400
+++ sys/dev/usb/wlan/if_run.c   2012-08-16 22:45:57.0 -0400
@@ -136,6 +136,7 @@
 RUN_DEV(ASUS,  RT2870_5),
 RUN_DEV(ASUS,  USBN13),
 RUN_DEV(ASUS,  RT3070_1),
+RUN_DEV(ASUS,  USB_N53),
 RUN_DEV(ASUS2, USBN11),
 RUN_DEV(AZUREWAVE, RT2870_1),
 RUN_DEV(AZUREWAVE, RT2870_2),


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: usb/156726: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open

2012-08-16 Thread Hans Petter Selasky
The following reply was made to PR usb/156726; it has been noted by GNATS.

From: Hans Petter Selasky 
To: freebsd-usb@freebsd.org,
 freebsd-gnats-sub...@freebsd.org
Cc: ga...@freebsd.org,
 freebsd-multime...@freebsd.org
Subject: Re: usb/156726: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer 
is open
Date: Thu, 16 Aug 2012 20:22:40 +0200

 On Thursday 16 August 2012 14:54:00 ga...@freebsd.org wrote:
 > Synopsis: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open
 > 
 > Responsible-Changed-From-To: freebsd-multimedia->freebsd-usb
 > Responsible-Changed-By: gavin
 > Responsible-Changed-When: Thu Aug 16 12:53:15 UTC 2012
 > Responsible-Changed-Why:
 > This sounds potentially like a USB stack issue to me.
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=156726
 
 This is not a USB stack problem, but a sound system issue.
 
 This is a known issue.
 
 --HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: usb/156726: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open

2012-08-16 Thread Hans Petter Selasky
On Thursday 16 August 2012 14:54:00 ga...@freebsd.org wrote:
> Synopsis: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open
> 
> Responsible-Changed-From-To: freebsd-multimedia->freebsd-usb
> Responsible-Changed-By: gavin
> Responsible-Changed-When: Thu Aug 16 12:53:15 UTC 2012
> Responsible-Changed-Why:
> This sounds potentially like a USB stack issue to me.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=156726

This is not a USB stack problem, but a sound system issue.

This is a known issue.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: usb/156726: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open

2012-08-16 Thread gavin
Synopsis: [snd_uaudio]: snd_uaudio(4) fails to detach when mixer is open

Responsible-Changed-From-To: freebsd-multimedia->freebsd-usb
Responsible-Changed-By: gavin
Responsible-Changed-When: Thu Aug 16 12:53:15 UTC 2012
Responsible-Changed-Why: 
This sounds potentially like a USB stack issue to me.

http://www.freebsd.org/cgi/query-pr.cgi?pr=156726
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"