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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to