Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2012 20:48:43 +0300
From:      =?KOI8-R?B?99HexdPMwdcg4cfB0M/X?= <agapov.slava@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   d-link dwa-125 up
Message-ID:  <CAAVBhRAf1joJaoeGvcU7YUK72EXdDZsyuTdTsS6=4pPe9F2LCg@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAVBhRAf1joJaoeGvcU7YUK72EXdDZsyuTdTsS6=4pPe9F2LCg>