d-link dwa-125 up

Вячеслав Агапов agapov.slava at gmail.com
Sat Dec 22 18:30:35 UTC 2012


I found my mistake. Now it worked.
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




2012/12/22 Вячеслав Агапов <agapov.slava at gmail.com>

> Hello.
>
> Help me up wifi router dlink dwa-125.
> My system.
> uname -a
> FreeBSD 9-stable
>
> kldload if_run
> kldload runfw
>
> kldstat
>  8    1 0xffffffff82628000 12a70    if_run.ko
>  9    1 0xffffffff8263b000 216c     runfw.ko
>
> After insert usb
> dmesg
> ugen5.2: <Ralink> at usbus5
>
> /var/log/messages
> root: Unknown USB device: vendor 0x2001 product 0x3c1e bus uhub5
>
> I try this
> http://lists.freebsd.org/pipermail/freebsd-usb/2011-October/010707.html
> only got error
> in /usr/src/sys/dev/usb/usbdevs added
> product DLINK DWL125        0x3c1e    DWL-125
>
> in /usr/src/sys/dev/usb/usbdevs added
>  RUN_DEV(DLINK,        DWA125),
>
> error
> /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:175:5:
> error: use of undeclared identifier 'USB_PRODUCT_DLINK_DWA125'
>     RUN_DEV(DLINK,              DWA125),
>     ^
> /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:100:47:
> note: expanded from macro 'RUN_DEV'
> #define RUN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) }
>                                               ^
> <scratch space>:148:1: note: expanded from macro 'USB_PRODUCT_'
> USB_PRODUCT_DLINK_DWA125
> ^
> @/dev/usb/usbdi.h:316:33: note: expanded from macro 'USB_VP'
>   USB_VENDOR(vend), USB_PRODUCT(prod)
>                                 ^
> @/dev/usb/usbdi.h:313:42: note: expanded from macro 'USB_PRODUCT'
>   .match_flag_product = 1, .idProduct = (prod)
>                                          ^
> /usr/src_head/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:547:48:
> error: invalid application of 'sizeof' to an incomplete type 'const struct
> usb_device_id []'
>         return (usbd_lookup_id_by_uaa(run_devs, sizeof(run_devs), uaa));
>                                                       ^~~~~~~~~~
> 2 errors generated.
> *** [if_run.o] Error code 1
>
> How i cat start d-link dwa 125?
> Thanks
>


More information about the freebsd-questions mailing list