usb/151043: Please add USB device MELCO WLR-UC-G

TAKANO Yuji takachan at running-dog.net
Mon Oct 4 07:00:19 UTC 2010


The following reply was made to PR usb/151043; it has been noted by GNATS.

From: TAKANO Yuji <takachan at running-dog.net>
To: hselasky at c2i.net
Cc: freebsd-usb at freebsd.org, freebsd-gnats-submit at freebsd.org,
        takachan at running-dog.net
Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G
Date: Mon, 04 Oct 2010 15:01:27 +0900 (JST)

 Hi.
 
 From: Hans Petter Selasky <hselasky at c2i.net>さん
 > On Wednesday 29 September 2010 03:51:10 TAKANO Yuji wrote:
 > > >Number:         151043
 > > >Category:       usb
 > > >Synopsis:       Please add USB device MELCO WLR-UC-G
 > > >Confidential:   no
 > > >Severity:       non-critical
 > > >Priority:       medium
 > > >Responsible:    freebsd-usb
 > > >State:          open
 > > >Quarter:
 > > >Keywords:
 > > >Date-Required:
 > > >Class:          change-request
 > > >Submitter-Id:   current-users
 > > >Arrival-Date:   Wed Sep 29 02:00:11 UTC 2010
 > > >Closed-Date:
 > > >Last-Modified:
 > > >Originator:     TAKANO Yuji
 > > >Release:        FreeBSD 8.1-STABLE amd64
 > > >Organization:
 > > 
 > > >Environment:
 > > FreeBSD rocky.running-dog.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Sep 26
 > > 16:58:40 JST 2010    
 > > takachan at rocky.running-dog.net:/usr/obj/usr/src/sys/Rocky_8.1-STABLE_AMD64
 > > _SMP_Kernel  amd64
 > > 
 > > >Description:
 > > I give it a patch.
 > > 
 > > >How-To-Repeat:
 > > 
 > > >Fix:
 > > I give it a patch.
 > > 
 > > 
 > > 
 > > Patch attached with submission follows:
 > > 
 > > diff -urN ./usb.orig/usbdevs ./usb/usbdevs
 > > --- ./usb.orig/usbdevs	2010-09-29 10:07:46.000000000 +0900
 > > +++ ./usb/usbdevs	2010-09-29 02:35:38.000000000 +0900
 > > @@ -2096,6 +2096,8 @@
 > >  product MELCO KG54L		0x00da	WLI-U2-KG54L
 > >  product MELCO WLIUCG300N	0x00e8	WLI-UC-G300N
 > >  product MELCO SG54HG		0x00f4	WLI-U2-SG54HG
 > > +product MELCO WLRUCG		0x0116	WLR-UC-G
 > > +product MELCO WLRUCGAOSS	0x0119	WLR-UC-G-AOSS
 > >  product MELCO WLIUCAG300N	0x012e	WLI-UC-AG300N
 > >  product MELCO RT2870_1		0x0148	RT2870
 > >  product MELCO RT2870_2		0x0150	RT2870
 > > diff -urN ./usb.orig/wlan/if_rum.c ./usb/wlan/if_rum.c
 > > --- ./usb.orig/wlan/if_rum.c	2010-09-01 10:41:33.000000000 +0900
 > > +++ ./usb/wlan/if_rum.c	2010-09-29 02:39:28.000000000 +0900
 > > @@ -118,6 +118,8 @@
 > >      RUM_DEV(HUAWEI3COM, WUB320G),
 > >      RUM_DEV(MELCO, G54HP),
 > >      RUM_DEV(MELCO, SG54HP),
 > > +    RUM_DEV(MELCO, WLRUCG),
 > > +    RUM_DEV(MELCO, WLRUCGAOSS),
 > >      RUM_DEV(MSI, RT2573_1),
 > >      RUM_DEV(MSI, RT2573_2),
 > >      RUM_DEV(MSI, RT2573_3),
 > > 
 > > >Release-Note:
 > > >Audit-Trail:
 > > 
 > > >Unformatted:
 > > _______________________________________________
 > > freebsd-usb at freebsd.org mailing list
 > > http://lists.freebsd.org/mailman/listinfo/freebsd-usb
 > > To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"
 > 
 > Can you send output from:
 > 
 > usbconfig -d X.Y dump_device_desc
 > 
 > where X and Y are the numbers after "ugen"
 > 
 > ?
 
 There is two fashion to this device(MELCO WLR-UC-G).
 
 The one is a client mode.
 The one is already an access point mode.
 
 Two modes change it with dipswitch.
 
 
 1. WLR-UC-G (Client Mode)
 # usbconfig -d 2.2 dump_device_desc
 ugen2.2: <WLR-UC-G Buffalo> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
 
   bLength = 0x0012 
   bDescriptorType = 0x0001 
   bcdUSB = 0x0200 
   bDeviceClass = 0x0000 
   bDeviceSubClass = 0x0000 
   bDeviceProtocol = 0x0000 
   bMaxPacketSize0 = 0x0040 
   idVendor = 0x0411 
   idProduct = 0x0116 
   bcdDevice = 0x0001 
   iManufacturer = 0x0001  <Buffalo>
   iProduct = 0x0002  <WLR-UC-G>
   iSerialNumber = 0x0000  <no string>
   bNumConfigurations = 0x0001 
 
 
 2. WLR-UC-G-AOSS (AP Mode)
 # usbconfig -d 2.2 dump_device_desc
 ugen2.2: <WLR-UC-G Buffalo> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
 
   bLength = 0x0012 
   bDescriptorType = 0x0001 
   bcdUSB = 0x0200 
   bDeviceClass = 0x0000 
   bDeviceSubClass = 0x0000 
   bDeviceProtocol = 0x0000 
   bMaxPacketSize0 = 0x0040 
   idVendor = 0x0411 
   idProduct = 0x0119 
   bcdDevice = 0x0001 
   iManufacturer = 0x0001  <Buffalo>
   iProduct = 0x0002  <WLR-UC-G>
   iSerialNumber = 0x0000  <no string>
   bNumConfigurations = 0x0001 
 
 
 Thanking you in advance.


More information about the freebsd-usb mailing list