I'm *relatively* knowledgeable on basic linux, but when it comes to some of these advanced things, most of my answers are obtained from Google. Only today, it seems that I've gotten too far ahead of everything, and am the one on the cutting edge, and to be honest, I'm a little lost.
See, today, I picked up an ASUS USB-AC56 wireless adapter, so I could use it on my RasPi. And of course, plugging it in, did not see the expected wlan0 interface appear, thus telling me there's probably a driver issue.
The first question I expect is, what are the results of "lsusb", so here they are:
Code: Select all
root@kismethead /home/pi/src # lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0b05:17d2 ASUSTek Computer, Inc.
root@kismethead /home/pi/src # lsusb -s 1:4 -v
Bus 001 Device 004: ID 0b05:17d2 ASUSTek Computer, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0b05 ASUSTek Computer, Inc.
idProduct 0x17d2
bcdDevice 0.00
iManufacturer 1 Realtek
iProduct 2 802.11n NIC
iSerial 3 123456
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 53
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 5
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
And this is where I've discovered that apparently I'm the first person to try to make this adapter work on a RasPi because trying to google the combinations of raspi with either the ASUS product name, or the RealTek chip ID come back with practically nothing whatsoever. Aw geez.
So here's the error(s) I'm getting. Any idea on how to resolve would be greatly appreciated.
Code: Select all
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/3.10.25+/build M=/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_ 8821AU_linux_v4.2.2_7502.20130517 modules
make[1]: Entering directory `/home/pi/src/linux'
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_cmd.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_security.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_debug.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_io.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ioctl_query.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ioctl_set.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ieee80211.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_mlme.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_mlme_ext.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_wlan_util.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_vht.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_pwrctrl.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_rf.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_recv.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_sta_mgt.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ap.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_xmit.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_p2p.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_tdls.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_br_ext.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_iol.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_sreset.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/efuse/rtw_efuse.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/osdep_service.o
CC [M] /tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.o
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c: In function 'rtw_proc_init_one':
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:352:3: error: implicit declaration of fun ction 'create_proc_entry' [-Werror=implicit-function-declaration]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:352:11: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:359:3: error: implicit declaration of fun ction 'create_proc_read_entry' [-Werror=implicit-function-declaration]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:359:9: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:370:21: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:401:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:407:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:409:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:415:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:418:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:426:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:434:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:442:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:449:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:456:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:463:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:470:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:477:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:484:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:491:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:498:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:505:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:512:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:519:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:526:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:533:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:542:9: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:549:9: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:559:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:577:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:585:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:591:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:593:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:599:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:601:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:607:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:609:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:615:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:617:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:623:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:626:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:629:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:635:7: error: dereferencing pointer to in complete type
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:647:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:653:7: error: dereferencing pointer to in complete type
cc1: some warnings being treated as errors
make[2]: *** [/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.o] Error 1
make[1]: *** [_module_/tmp/RTL8812AU_8821AU_linux_v4.2.2_7502.20130517/driver/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517] Error 2
make[1]: Leaving directory `/home/pi/src/linux'
make: *** [modules] Error 2