From owner-freebsd-usb@FreeBSD.ORG Mon Oct 4 06:50:44 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47E1A106564A; Mon, 4 Oct 2010 06:50:44 +0000 (UTC) (envelope-from takachan@running-dog.net) Received: from www1027.sakura.ne.jp (www1027.sakura.ne.jp [219.94.129.37]) by mx1.freebsd.org (Postfix) with ESMTP id EAAA68FC1A; Mon, 4 Oct 2010 06:50:43 +0000 (UTC) Received: from www1027.sakura.ne.jp (ksav11.sakura.ne.jp [210.224.165.45]) by www1027.sakura.ne.jp (8.14.3/8.14.3) with ESMTP id o9461VmH032964; Mon, 4 Oct 2010 15:01:31 +0900 (JST) (envelope-from takachan@running-dog.net) X-Nat-Received: from [219.94.129.37]:52936 [ident-empty] by smtp-proxy.isp with TPROXY id 1286172091.21248 Received: from mail.running-dog.net (x239049.ppp.asahi-net.or.jp [122.249.239.49]) (authenticated bits=0) by www1027.sakura.ne.jp (8.14.3/8.14.3) with ESMTP id o9461RlM032949; Mon, 4 Oct 2010 15:01:30 +0900 (JST) (envelope-from takachan@running-dog.net) Date: Mon, 04 Oct 2010 15:01:27 +0900 (JST) Message-Id: <20101004.150127.2222536696766454807.takachan@running-dog.net> To: hselasky@c2i.net From: TAKANO Yuji In-Reply-To: <201009291159.34054.hselasky@c2i.net> References: <201009290151.o8T1pAX4076640@www.freebsd.org> <201009291159.34054.hselasky@c2i.net> X-Mailer: Mew version 7.0.50 on Emacs 23.2 / Mule 6.0 =?iso-2022-jp?B?KBskQjJWOzZOJBsoQik=?= X-Face: eat%|YBNv.@HDTro$1f+Kxp"N1C>75Ph~a; %UoNP'VPsk^-)}'RY[MD{y@M{b]|9twYu|3? )FuCzVmt8O?uRq$>LMwi=LLP^MRJDD50aZ=w~MIc"NiQLai,-UkQ@](.; @}o-vrjPH/eXW$; )u.%GU I4SW{fv2kAdS!k|Fd2lCR}f(.DSJtf3do0e3!X Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.44/RELEASE, bases: 03102010 #4282816, status: clean Cc: takachan@running-dog.net, freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org 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 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 06:50:44 -0000 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.