Date: Thu, 11 Nov 2010 17:56:53 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Emanuel Haupt <ehaupt@freebsd.org> Cc: freebsd-usb@freebsd.org Subject: Re: Motorola TER/GUSB3-E Ralink Wireless USB Message-ID: <201011111756.54050.hselasky@c2i.net> In-Reply-To: <20101111173638.65c9a185.ehaupt@FreeBSD.org> References: <20101111170000.7a265dc3.ehaupt@FreeBSD.org> <201011111706.56225.hselasky@c2i.net> <20101111173638.65c9a185.ehaupt@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 11 November 2010 17:36:38 Emanuel Haupt wrote: > Hans Petter Selasky <hselasky@c2i.net> wrote: > > On Thursday 11 November 2010 17:00:00 Emanuel Haupt wrote: > > > I've got a Motorola TER/GUSB3-E Wireless USB stick that identifies > > > itself as: > > > > > > # /var/log/messages > > > > > > Nov 11 13:40:07 wiggles kernel: ugen1.3: <Ralink> at usbus1 > > > Nov 11 13:40:07 wiggles kernel: umass0: <Ralink 802.11 bg WLAN, > > > class 0/0, rev 2.00/0.01, addr 3> on usbus1 Nov 11 13:40:09 wiggles > > > kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 > > > 0 Nov 11 13:40:09 wiggles kernel: (probe0:umass-sim0:0:0:0): CAM > > > status: SCSI Status Error Nov 11 13:40:09 wiggles kernel: > > > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Nov 11 > > > 13:40:09 wiggles kernel: (probe0:umass-sim0:0:0:0): SCSI sense: NOT > > > READY asc:3a,0 (Medium not present) Nov 11 13:40:09 wiggles kernel: > > > cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0 Nov 11 13:40:09 > > > wiggles kernel: cd1: <Motorola USB Card > Removable CD-ROM SCSI-0 > > > device Nov 11 13:40:09 wiggles kernel: cd1: 40.000MB/s transfers > > > Nov 11 13:40:09 wiggles kernel: cd1: Attempt to query device size > > > failed: NOT READY, Medium not present > > > > > > # usbconfig -u 1 -a 3 dump_curr_config_desc > > > ugen1.3: <802.11 bg WLAN Ralink> at usbus1, cfg=0 md=HOST spd=HIGH > > > (480Mbps) pwr=ON > > > > > > Configuration index 0 > > > > > > bLength = 0x0009 > > > bDescriptorType = 0x0002 > > > wTotalLength = 0x0020 > > > bNumInterfaces = 0x0001 > > > bConfigurationValue = 0x0001 > > > iConfiguration = 0x0000 <no string> > > > bmAttributes = 0x0080 > > > bMaxPower = 0x00c8 > > > > > > Interface 0 > > > > > > bLength = 0x0009 > > > bDescriptorType = 0x0004 > > > bInterfaceNumber = 0x0000 > > > bAlternateSetting = 0x0000 > > > bNumEndpoints = 0x0002 > > > bInterfaceClass = 0x0008 > > > bInterfaceSubClass = 0x0006 > > > bInterfaceProtocol = 0x0050 > > > iInterface = 0x0000 <no string> > > > > > > Endpoint 0 > > > > > > bLength = 0x0007 > > > bDescriptorType = 0x0005 > > > bEndpointAddress = 0x0081 <IN> > > > bmAttributes = 0x0002 <BULK> > > > wMaxPacketSize = 0x0200 > > > bInterval = 0x0000 > > > bRefresh = 0x0000 > > > bSynchAddress = 0x0000 > > > > > > Endpoint 1 > > > > > > bLength = 0x0007 > > > bDescriptorType = 0x0005 > > > bEndpointAddress = 0x0001 <OUT> > > > bmAttributes = 0x0002 <BULK> > > > wMaxPacketSize = 0x0200 > > > bInterval = 0x0000 > > > bRefresh = 0x0000 > > > bSynchAddress = 0x0000 > > > > > > Unfortunately it's not recognized by the ural driver. Has anyone an > > > idea what I could try? Add a usb device ID somewhere? > > > > Hi, > > > > If you use the "dump_device_desc" command you get the idVendor and > > idProduct you need for the ID-table in sys/dev/usb/wlan/if_ural.c . > > > > --HPS > > It's: > > ugen1.3: <802.11 bg WLAN Ralink> at usbus1, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0040 > idVendor = " > idProduct = 0x2578 > bcdDevice = 0x0001 > iManufacturer = 0x0001 <Ralink> > iProduct = 0x0002 <802.11 bg WLAN> > iSerialNumber = 0x0003 <retrieving string failed> > bNumConfigurations = 0x0001 > > I guess I'll have to fit "0x148f" in there somewhere - not sure exactly > where to add though. Any help would be appreciated. > > Emanuel I guess you can: grep -rE "RALINK.*RT2573" /sys/dev/usb/ And duplicate one of those entries. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011111756.54050.hselasky>