Article 6HGYM Why can the module �r8152� still be loaded after the driver �r8152.ko� was deleted?

Why can the module �r8152� still be loaded after the driver �r8152.ko� was deleted?

by
Matthew Wai
from LinuxQuestions.org on (#6HGYM)
I have a USB RTL8152 network adapter, which uses the ir8152i driver.
I just did the following test:

(1) I deleted "/var/lib/dkms/backport-ethernet/1.0.4/5.10.0-amd64-desktop/x86_64/module/r8152.ko"
(2) I deleted "/var/lib/dkms/backport-ethernet/original_module/5.10.0-amd64-desktop/x86_64/r8152.ko"
(3) I rebooted the PC.
(4) Now, I can still access the Internet via the RTL8152 adapter because ir8152i has been loaded as per the output of ilsmodi.

Does anyone know why ir8152i can still be loaded after ir8152.koi was deleted? I have never installed "r8152" since I installed UnionTech OS.
Code:Matthew_Wai@My-PC:~$ lsmod | grep 8152
r8152 245760 0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments