Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2010 17:06:56 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: Motorola TER/GUSB3-E Ralink Wireless USB
Message-ID:  <201011111706.56225.hselasky@c2i.net>
In-Reply-To: <20101111170000.7a265dc3.ehaupt@FreeBSD.org>
References:  <20101111170000.7a265dc3.ehaupt@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011111706.56225.hselasky>