Open ekeyser opened 7 years ago
According to https://wikidevi.com/wiki/0bda, the 0bda:0811
is a Realtek RTL8811AU device.
Note that it says 8811, not 8812.
When looking in os_dep/linux/usb_intf.c
I See the 0x0811
device identifier in the CONFIG_RTL8821A
list, not CONFIG_RTL8812A
.
And that would indeed explain the shorter alias list.
(I'm not a C coder either ;-))
Is this not the alias expected?
# modinfo 8812au | grep alias | grep 0BDA | grep A811
alias: usb:v0BDApA811d * dc * dsc * dp * ic * isc * ip * in *
Sorry for the multiple greps... was just walking the list. Did this against driver module I found from a different source... 'install-wifi' solution, from FARS Robotics, i.e. http://www.fars-robotics.net/install-wifi
that looks to be 0xA811
not 0x0811
.
There are 2 other possible issues at play here:
1) different driver versions support different (single/multiple) chipsets
2) it looks like I expanded the driver ID list for one version, but not all of them
Previously I have been able to compile, install and bring up 8812AU adapters on raspberry pi devices. Recently I purchased an Odroid XU4 and tried to perform the same procedure. Compile works just fine but I've noticed that modinfo lists a smaller set of aliases which presumably doesn't trigger activation of the adapter.
Specifically, I was expecting modinfo to indicate 0bda:0811 as an alias. That's what shows up when I run modinfo on my raspberry pi. lsusb is Bus 003 Device 005 for this device (below).
Now, I realize maybe that this isn't the right place for posting but maybe it is. I'm not really a C coder but I plan on digging into the code a little today (I see some interesting stuff in os_dep/linux/usb_intf.c) but thought I'd also post here in the meantime. I've got some output below as reference. Wondering if you happen to know why an alias would not show up or under what circumstances a compiler would decide not to include an alias. Like I said I plan on looking at the code and digging into device driver stuff to try to figure this out on my own - and if I do I'll paste my findings :-)
Thanks for the work you do.
ref:
insertion of device on USB: