I am trying to find an appropriate driver for a USB WiFi adapter that is reported by
0bda:a811 Realtek Semiconductor Corp.
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
which would contain the correct vendor ID (
0BDA) and the correct product ID (
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
-- the device ID is ok, but the vendor ID does not match. Does it mean that this driver will not work with this device?