Date: Sat, 19 Nov 2016 16:50:29 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 205477] urtwn(4) USB wireless driver fails to initialize RTL8188CUS Message-ID: <bug-205477-17-5DxcBCr5c5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-205477-17@https.bugs.freebsd.org/bugzilla/> References: <bug-205477-17@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205477 --- Comment #12 from eimar.koort@gmail.com --- (In reply to Andriy Voskoboinyk from comment #11) Sry. I don't know how to add attachment (if even). So here is another long error list from 'rtwn_usb': root@rpi2:~/rtwn-master/sys/modules/rtwn_usb # make depend && make CONF_CFLAGS=3D-march=3Darmv7a && make install machine -> /usr/src/sys/arm/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h :> opt_bus.h :> opt_usb.h echo "#define IEEE80211_DEBUG 1" > opt_wlan.h echo "#define IEEE80211_AMPDU_AGE 1" >> opt_wlan.h echo "#define IEEE80211_SUPPORT_MESH 1" >> opt_wlan.h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h Warning: Object directory not changed from original /root/rtwn-master/sys/modules/rtwn_usb cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc=20 -I/root/rtwn-master/sys/modules/rtwn_usb/../.. -I. -I/usr/src/sys -fno-comm= on=20 -funwind-tables -march=3Darmv7a -MD -MF.depend.rtwn_usb_attach.o -MTrtwn_usb_attach.o -ffreestanding -fwrapv -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kpr= intf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-movt -mfpu=3D= none=20 -std=3Diso9899:1999 -c /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= -o rtwn_usb_attach.o In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :117:2: error: use of undeclared identifier 'USB_PRODUCT_ASUS_USBAC56' RTWN_RTL8812AU_DEV(ASUS, USBAC56), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_ASUS_USBAC56 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :118:2: error: use of undeclared identifier 'USB_PRODUCT_CISCOLINKSYS_WUSB6300' RTWN_RTL8812AU_DEV(CISCOLINKSYS, WUSB6300), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_CISCOLINKSYS_WUSB6300 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :121:2: error: use of undeclared identifier 'USB_PRODUCT_EDIMAX_EW7822UAC' RTWN_RTL8812AU_DEV(EDIMAX, EW7822UAC), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_EDIMAX_EW7822UAC ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :122:2: error: use of undeclared identifier 'USB_PRODUCT_IODATA_WNAC867U' RTWN_RTL8812AU_DEV(IODATA, WNAC867U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_IODATA_WNAC867U ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :123:2: error: use of undeclared identifier 'USB_PRODUCT_MELCO_WIU3866D' RTWN_RTL8812AU_DEV(MELCO, WIU3866D), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_MELCO_WIU3866D ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :124:2: error: use of undeclared identifier 'USB_PRODUCT_NEC_WL900U' RTWN_RTL8812AU_DEV(NEC, WL900U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_NEC_WL900U ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :125:2: error: use of undeclared identifier 'USB_PRODUCT_PLANEX2_GW900D' RTWN_RTL8812AU_DEV(PLANEX2, GW900D), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_PLANEX2_GW900D ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :126:2: error: use of undeclared identifier 'USB_PRODUCT_SENAO_EUB1200AC' RTWN_RTL8812AU_DEV(SENAO, EUB1200AC), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_SENAO_EUB1200AC ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :127:2: error: use of undeclared identifier 'USB_PRODUCT_SITECOMEU_WLA7100' RTWN_RTL8812AU_DEV(SITECOMEU, WLA7100), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_SITECOMEU_WLA7100 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :128:2: error: use of undeclared identifier 'USB_VENDOR_TPLINK' RTWN_RTL8812AU_DEV(TPLINK, T4U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:12: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_VENDOR_TPLINK ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :129:2: error: use of undeclared identifier 'USB_PRODUCT_TRENDNET_TEW805UB' RTWN_RTL8812AU_DEV(TRENDNET, TEW805UB), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_TRENDNET_TEW805UB ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :130:2: error: use of undeclared identifier 'USB_PRODUCT_ZYXEL_NWD6605' RTWN_RTL8812AU_DEV(ZYXEL, NWD6605), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_ZYXEL_NWD6605 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :138:2: error: use of undeclared identifier 'USB_PRODUCT_EDIMAX_EW7811UTC_1' RTWN_RTL8821AU_DEV(EDIMAX, EW7811UTC_1), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_EDIMAX_EW7811UTC_1 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :139:2: error: use of undeclared identifier 'USB_PRODUCT_EDIMAX_EW7811UTC_2' RTWN_RTL8821AU_DEV(EDIMAX, EW7811UTC_2), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_EDIMAX_EW7811UTC_2 ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :140:2: error: use of undeclared identifier 'USB_PRODUCT_HAWKING_HD65U' RTWN_RTL8821AU_DEV(HAWKING, HD65U), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_HAWKING_HD65U ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :141:2: error: use of undeclared identifier 'USB_PRODUCT_MELCO_WIU2433DM' RTWN_RTL8821AU_DEV(MELCO, WIU2433DM), ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_MELCO_WIU2433DM ^ In file included from /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :55: /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :142:2: error: use of undeclared identifier 'USB_PRODUCT_NETGEAR_A6100' RTWN_RTL8821AU_DEV(NETGEAR, A6100) ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h= :135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV' { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821A= U) } ^ <scratch space>:52:1: note: expanded from here USB_PRODUCT_NETGEAR_A6100 ^ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :102:49: error: invalid application of 'sizeof' to an incomplete type 'const struct usb_device_id []' return (usbd_lookup_id_by_uaa(rtwn_devs, sizeof(rtwn_devs), uaa)); ^~~~~~~~~~~ /root/rtwn-master/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c= :441:1: error: invalid application of 'sizeof' to an incomplete type 'const struct usb_device_id []' USB_PNP_HOST_INFO(rtwn_devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/dev/usb/usbdi.h:344:12: note: expanded from macro 'USB_PNP_HOST_INFO' sizeof(table) / sizeof(table[0])) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/module.h:178:16: note: expanded from macro 'MODULE_PNP_INF= O' .num_entry =3D n \ ^ 19 errors generated. *** Error code 1 Stop. make: stopped in /root/rtwn-master/sys/modules/rtwn_usb root@rpi2:~/rtwn-master/sys/modules/rtwn_usb # --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205477-17-5DxcBCr5c5>