From owner-freebsd-usb@FreeBSD.ORG Mon Oct 4 07:00:18 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C87F81065695 for ; Mon, 4 Oct 2010 07:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3728FC1C for ; Mon, 4 Oct 2010 07:00:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9470Ijb077098 for ; Mon, 4 Oct 2010 07:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9470Icc077072; Mon, 4 Oct 2010 07:00:18 GMT (envelope-from gnats) Date: Mon, 4 Oct 2010 07:00:18 GMT Message-Id: <201010040700.o9470Icc077072@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: TAKANO Yuji Cc: Subject: Re: usb/151043: Please add USB device MELCO WLR-UC-G X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: TAKANO Yuji List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 07:00:19 -0000 The following reply was made to PR usb/151043; it has been noted by GNATS. From: TAKANO Yuji To: hselasky@c2i.net Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org, takachan@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 さん > 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@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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@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: 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 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 2. WLR-UC-G-AOSS (AP Mode) # usbconfig -d 2.2 dump_device_desc ugen2.2: 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 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Thanking you in advance.