usb d-link dwa-125
Вячеслав Агапов
agapov.slava at gmail.com
Sat Dec 22 19:19:02 UTC 2012
Hello all.
I use usb wi-fi d-link dwa-125
What I do:
1. insert usb
2. ugen2.2: <Ralink> at usbus2
3. usbconfig -d 2.2 dump_device_desc
ugen2.2: <11n Adapter Ralink> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x2001
[b] idProduct = 0x3c1e [/b]
bcdDevice = 0x0101
iManufacturer = 0x0001 <Ralink>
iProduct = 0x0002 <11n Adapter>
iSerialNumber = 0x0003 <1.0>
bNumConfigurations = 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: <Ralink 11n Adapter, class 0/0, rev 2.00/1.01, addr 2> 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=2, set address failed! (USB_ERR_STALLED,
ignored)
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED,
ignored)
ugen2.2: <Ralink> at usbus2 (disconnected)
Help me with this, please.
More information about the freebsd-usb
mailing list