I want to install a hardware driver in OpenWRT, but not sure how to proceed after researching the host and adapter hardware. Is there any hope of finding a pre-compiled binary and using it? I do not have a cross-compilation environment set up, nor do I want to do so.
Having driven myself crazy for the last few hours, it seems just as reasonable to post this request and see what happens. I have an Edimax EW-7811UTC dual band WI-FI adapter plugged into the USB port of my GL-AR300M. The hardware is seen (complete lsusb results below).
If I find the binary drivers, I am also not clear on what to do with them (how to install?). After that I can concentrate on the luxury of config files which seem to be reasonably well documented and examples exist on other threads.
Any help, will be much appreciated.
Hardware/OS Specs
GL-AR300M: MIPS 24K WiSOC, chip QCA9532 (Honey Bee), shared with TP-Link Tl-MR22U, WR810N and WR902AC, and Netgear WNR2000v5
OpenWRT release: Chaos Calmer 15.05 (Release r46767), GLI v2.25, Linux Kernel 3.18
Edimax EW-7811UTC: USB Wifi adapter (600AC 300/300), Model 7392:a811, chip RealTek TRL8811AU, support at
lsusb results as follows:
root@GL-AR300M:~# lsusb
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”>Bus 001 Device 003:
ID 7392:a811 Edimax Technology Co., Ltd</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”>Bus 001 Device 001:
ID 1d6b:0002 Linux Foundation 2.0 root hub</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”></p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”>root@GL-AR300M:~ lsusb -vv -s 003</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”></p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”>Bus 001 Device 003:
ID 7392:a811 Edimax Technology Co., Ltd</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”>Device Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 18</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 1</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bcdUSB 2.10</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDeviceClass 0 (Defined at Interface level)</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDeviceSubClass 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDeviceProtocol 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bMaxPacketSize0 64</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> idVendor 0x7392 Edimax Technology Co., Ltd</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> idProduct 0xa811</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bcdDevice 2.00</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> iManufacturer 1 Realtek</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> iProduct 2 802.11n WLAN Adapter</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> iSerial 3 00e04c000001</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bNumConfigurations 1</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Configuration Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 9</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wTotalLength 60</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bNumInterfaces 1</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bConfigurationValue 1</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> iConfiguration 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 0xe0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Self Powered</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Remote Wakeup</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> MaxPower 500mA</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Interface Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 9</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 4</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterfaceNumber 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bAlternateSetting 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bNumEndpoints 6</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterfaceClass 255 Vendor Specific Class</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterfaceSubClass 255 Vendor Specific Subclass</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterfaceProtocol 255 Vendor Specific Protocol</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> iInterface 2 802.11n WLAN Adapter</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Endpoint Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 7</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 5</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bEndpointAddress 0x84
EP 4 IN</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Transfer Type Bulk</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Synch Type None</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Usage Type Data</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wMaxPacketSize 0x0200
1x 512 bytes</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterval 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Endpoint Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 7</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 5</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bEndpointAddress 0x05
EP 5 OUT</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Transfer Type Bulk</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Synch Type None</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Usage Type Data</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wMaxPacketSize 0x0200
1x 512 bytes</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterval 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Endpoint Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 7</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 5</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bEndpointAddress 0x06
EP 6 OUT</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Transfer Type Bulk</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Synch Type None</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Usage Type Data</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wMaxPacketSize 0x0200
1x 512 bytes</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterval 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Endpoint Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 7</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 5</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bEndpointAddress 0x87
EP 7 IN</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 3</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Transfer Type Interrupt</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Synch Type None</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Usage Type Data</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wMaxPacketSize 0x0040
1x 64 bytes</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterval 3</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Endpoint Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 7</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 5</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bEndpointAddress 0x08
EP 8 OUT</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Transfer Type Bulk</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Synch Type None</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Usage Type Data</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wMaxPacketSize 0x0200
1x 512 bytes</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterval 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Endpoint Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 7</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 5</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bEndpointAddress 0x09
EP 9 OUT</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Transfer Type Bulk</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Synch Type None</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Usage Type Data</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wMaxPacketSize 0x0200
1x 512 bytes</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bInterval 0</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”>Binary Object Store
Descriptor:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 5</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 15</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wTotalLength 22</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bNumDeviceCaps 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> USB 2.0 Extension Device Capability:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 7</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 16</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDevCapabilityType 2</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 0x00000002</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Link Power Management (LPM) Supported</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> SuperSpeed USB Device Capability:</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bLength 10</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDescriptorType 16</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bDevCapabilityType 3</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bmAttributes 0x00</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> wSpeedsSupported 0x000e</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Device can operate at Full Speed (12Mbps)</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Device can operate at High Speed
(480Mbps)</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Device can operate at SuperSpeed (5Gbps)</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bFunctionalitySupport 1</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Lowest fully-functional device speed is
Full Speed (12Mbps)</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bU1DevExitLat 10 micro seconds</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> bU2DevExitLat 1023 micro seconds</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”>Device Status: 0x0001</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”> Self Powered (lies!)</p>
<p style=“margin: 0in; font-family: Calibri; font-size: 11.0pt;”></p>