From owner-freebsd-usb@FreeBSD.ORG Sat Dec 22 19:27:14 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0EA1502 for ; Sat, 22 Dec 2012 19:27:14 +0000 (UTC) (envelope-from agapov.slava@gmail.com) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by mx1.freebsd.org (Postfix) with ESMTP id 7D0088FC12 for ; Sat, 22 Dec 2012 19:27:14 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id uo13so5734012obb.36 for ; Sat, 22 Dec 2012 11:27:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YGpgkk9AfBvZUGvbkOStuUXlJUFZifPFnfo0fNACCb4=; b=I8J63qsF8TjuwBWlj4M5zgGyeX3HFrPGH54o30GkpT8LMtPnKSMApAH0+QqCYzETrA 0Vo2St9WF7x7Qu6Se5inM32ei+e5pNwJ8YR2hCUHEfHb9S8DIgIBY4qUIm84LXPsPxMe +yw054GUUbx0Fl5m0hy4OtvZ5AcDBwcV6rg7LxEpsImGLwmx2aZmZyF2nUDig6JygHCn FNbP3GlrQr31u2zstufcjubMKfgykEreUhrpp0zY6jYxaUubk2CcfDWCJlZ7VAVbkvPz EGqGq9VWe+U8T1QzKUqTCahksh5dCe5APG5bfmZlZilo3s0SmpN3Ak1bzKoXK7JtCaTq TiZA== MIME-Version: 1.0 Received: by 10.182.52.100 with SMTP id s4mr13992625obo.70.1356204433865; Sat, 22 Dec 2012 11:27:13 -0800 (PST) Received: by 10.182.112.193 with HTTP; Sat, 22 Dec 2012 11:27:13 -0800 (PST) In-Reply-To: References: Date: Sat, 22 Dec 2012 22:27:13 +0300 Message-ID: Subject: Re: usb d-link dwa-125 From: =?KOI8-R?B?99HexdPMwdcg4cfB0M/X?= To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 19:27:14 -0000 i forgot uname -a FreeBSD 10.0-CURRENT #0 r244586: 2012/12/22 =F7=D1=DE=C5=D3=CC=C1=D7 =E1=C7=C1=D0=CF=D7 > Hello all. > > I use usb wi-fi d-link dwa-125 > What I do: > 1. insert usb > 2. ugen2.2: at usbus2 > 3. usbconfig -d 2.2 dump_device_desc > ugen2.2: <11n Adapter Ralink> at usbus5, cfg=3D0 md=3DHOST spd=3DHIGH (48= 0Mbps) > pwr=3DON > > bLength =3D 0x0012 > bDescriptorType =3D 0x0001 > bcdUSB =3D 0x0200 > bDeviceClass =3D 0x0000 > bDeviceSubClass =3D 0x0000 > bDeviceProtocol =3D 0x0000 > bMaxPacketSize0 =3D 0x0040 > idVendor =3D 0x2001 > [b] idProduct =3D 0x3c1e [/b] > bcdDevice =3D 0x0101 > iManufacturer =3D 0x0001 > iProduct =3D 0x0002 <11n Adapter> > iSerialNumber =3D 0x0003 <1.0> > bNumConfigurations =3D 0x0001 > 4. > in /usr/src/sys/dev/usb/usbdevs added > product DLINK DWA125 0x3c1e DWA-125 > in /usr/src/sys/dev/usb/usbdevs added > RUN_DEV(DLINK, DWA125), > and then > cd /usr/src/sys/modules/usb/run > make > 5. load new kernel module > kldload ./if_run.ko > > 6. dmesg > run0: on usbus2 > run0: MAC/BBP RT5390 (rev 0x0503), RF unknown (MIMO 1T1R), address > bc:f6:85:f8:d1:90 > > 7. ifconfig wlan0 create wlandev run0 wlanmode hostap > ifconfig wlan0 create wlandev run0 wlanmode hostap > > 8. After this, my usb is crashed > in dmesg > wlan0: Ethernet address: bc:f6:85:f8:d1:90 > run0: firmware RT3071 ver. 0.236 loaded > wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost > run0: at uhub2, port 4, addr 2 (disconnected) > usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_STALLED, > ignored) > usbd_req_re_enumerate: addr=3D2, set address failed! (USB_ERR_STALLED, > ignored) > ugen2.2: at usbus2 (disconnected) > > Help me with this, please. > >