I am trying to find an appropriate driver for a USB WiFi adapter that is reported by lsusb
as
0bda:a811 Realtek Semiconductor Corp.
On WikiDevi it is described as "Realtek RTL8811AU Wireless 802.11ac 1x1 USB 2.0".
There are multiple repositories that seem to provide drivers for RTL8811AU, for example this one (it is based on this one that claims to support rtl8811AU). However, I would like to check the compiled module if it supports the device before trying to install it into the kernel (it is someone else's system that I am trying to mess with).
From searching online I concluded that it should be enough that the output of modinfo
command for the driver module return a line of the kind
alias: usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
which would contain the correct vendor ID (0BDA
) and the correct product ID (A811
).
How reliable is this method of checking compatibility of drivers with devices? Is this how the kernel selects the driver?
Is the exact match of both vendor and device IDs necessary? For example, I tried first installing rtl8812au-dkms
package with apt-get
(on Ubuntu). However, the output of modinfo 8812au | grep A811
was
alias: usb:v7392pA811d*dc*dsc*dp*ic*isc*ip*in*
-- the device ID is ok, but the vendor ID does not match. Does it mean that this driver will not work with this device?
modprobe -rv 8812au
thenmodprobe -v 8812au
does the module load correctly? – GAD3R Feb 17 '18 at 19:19rtl8812au-dkms
? I tried these commands, there were no messages except "insmod /lib/modules/4.13.0-32-generic/updates/dkms/8812au.ko
". – Alexey Feb 17 '18 at 20:23