Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1184

What is the difference between driver name and kernel module name for lshw?

$
0
0

Using lshw to query my WiFi USB adapter shows the following:

$ lshw -C network  *-network                        description: Wireless interface       physical id: 12       bus info: usb@3:7       logical name: ...       serial: ...       capabilities: ethernet physical wireless       configuration: broadcast=yes driver=rtw_8822bu driverversion=6.5.0-28-generic firmware=N/A ip=... link=yes multicast=yes wireless=IEEE 802.11

The adapter works fine. However, I am confused by driver=rtw_8822bu. As far as I can tell there is no kernel model called rtw_8822bu.ko on my system, instead, I have rtw88_8822bu.ko,

/usr/lib/modules/6.5.0-28-generic/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8822bu.ko

which also shows up using lsmod:

$ lsmod | grep rtwrtw88_8822bu           12288  0rtw88_usb              24576  1 rtw88_8822burtw88_8822b           229376  1 rtw88_8822burtw88_core            356352  2 rtw88_usb,rtw88_8822bmac80211             1720320  3 rtw88_core,rtw88_usb,rtl8xxxucfg80211             1323008  3 rtw88_core,mac80211,rtl8xxxu

Question: Why does lshw show driver=rtw_8822bu when the kernel module in the system is named rtw88_8822bu. Where is the former name coming from?


Viewing all articles
Browse latest Browse all 1184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>