Linux内核模块相关
https://www.cnblogs.com/sztom/p/11107485.html
https://szosoft.blogspot.com/2019/06/linux-kernel-module.html
https://www.cnblogs.com/sztom/p/11129737.html
https://szosoft.blogspot.com/2019/07/compile-kernel-module.html
https://www.cnblogs.com/sztom/p/11120364.html
https://szosoft.blogspot.com/2019/07/linux-initramfs.html
https://szosoft.blogspot.com/2019/06/linux-kernel-module.html
https://www.cnblogs.com/sztom/p/11129737.html
https://szosoft.blogspot.com/2019/07/compile-kernel-module.html
https://www.cnblogs.com/sztom/p/11120364.html
https://szosoft.blogspot.com/2019/07/linux-initramfs.html
使用命令:
- lsmod 显示Linux系统当前加载的模块
- modinfo 显示模块信息
1. HP 6520s 笔记本电脑 列出当前加载的模块:
Module | Size | Used | by | $ modinfo -d … description | cn | 补充 |
ccm | 20480 | Counter with CBC MAC | 计数器,CBC-MAC | 打开无线激活... | ||
nft_reject_inet | 16384 | 1 | nft | |||
nf_reject_ipv4 | 16384 | 1 | nft_reject_inet | nft | ||
nf_reject_ipv6 | 20480 | 1 | nft_reject_inet | nft | ||
nft_reject | 16384 | 1 | nft_reject_inet | nft | ||
nft_ct | 20480 | 2 | nft | |||
nf_conntrack | 172032 | 1 | nft_ct | nft | ||
nf_defrag_ipv6 | 24576 | 1 | nf_conntrack | nft | ||
nf_defrag_ipv4 | 16384 | 1 | nf_conntrack | nft | ||
libcrc32c | 16384 | 1 | nf_conntrack | CRC32c (Castagnoli) calculations | CRC32c(Castagnoli)计算 | |
nf_tables_set | 49152 | 1 | nft | |||
nf_tables | 184320 | 27 | nft_ct,nft_reject_inet,nf_tables_set,nft_reject | nft | ||
nfnetlink | 16384 | 1 | nf_tables | nft | ||
fuse | 139264 | 3 | Filesystem in Userspace | 用户空间中的文件系统 | fuse | |
joydev | 28672 | 0 | Joystick device interfaces | 游戏杆设备接口 | game | |
mousedev | 24576 | 0 | Mouse (ExplorerPS/2) device interfaces | 鼠标(ExplorerPS / 2)设备接口 | Ps/2 | |
i915 | 2519040 | 5 | Intel Graphics | 英特尔显卡 | GPU | |
iwl3945 | 126976 | 0 | intel无线网卡 | |||
iwlegacy | 151552 | 1 | iwl3945 | intel无线网卡 | ||
mac80211 | 1024000 | 2 | iwl3945,iwlegacy | intel无线网卡 | ||
iTCO_wdt | 16384 | 0 | Intel TCO WatchDog Timer Driver | 英特尔TCO WatchDog计时器驱动程序 | ||
iTCO_vendor_support | 16384 | 1 | iTCO_wdt | Intel TCO Vendor Specific WatchDog Timer Driver Support | 英特尔TCO供应商特定的WatchDog计时器驱动程序支持 | |
wmi_bmof | 16384 | 0 | WMI embedded Binary MOF driver | WMI嵌入式二进制MOF驱动程序 | ||
hp_wmi | 20480 | 0 | HP laptop WMI hotkeys driver | HP笔记本电脑WMI热键驱动程序 | ||
sparse_keymap | 16384 | 1 | hp_wmi | Generic support for sparse keymaps | 对稀疏键映射的通用支持 | |
coretemp | 20480 | 0 | Intel Core temperature monitor | 英特尔酷睿温度监控器 | cpu | |
kvm_intel | 331776 | 0 | ||||
kvm | 827392 | 1 | kvm_intel | |||
cfg80211 | 888832 | 3 | iwl3945,iwlegacy,mac80211 | wireless configuration support | 无线配置支持 | Network w s |
i2c_algo_bit | 16384 | 1 | i915 | I2C-Bus bit-banging algorithm | I2C-Bus比特冲击算法 | |
snd_hda_codec_analog | 20480 | 1 | Analog Devices HD-audio codec | ADI公司高清音频编解码器 | audio | |
snd_hda_codec_generic | 98304 | 1 snd_hda_codec_analog | Generic HD-audio codec parser | 通用高清音频编解码器解析器 | audio | |
ledtrig_audio | 16384 | 1 | snd_hda_codec_generic | LED trigger for audio mute control | LED触发器用于音频静音控制 | audio |
drm_kms_helper | 249856 | 1 | i915 | DRM KMS helper | DRM KMS助手 | |
snd_hda_intel | 57344 | 3 | Intel HDA driver | 英特尔HDA驱动程序 | ||
snd_intel_dspcfg | 28672 | 1 | snd_hda_intel | Intel DSP config driver | 英特尔DSP配置驱动程序 | |
snd_hda_codec | 167936 | 3 | snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_analog | HDA codec core | HDA编解码器内核 | |
snd_hda_core | 106496 | 4 | snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec | HD-audio bus | 高清音频总线 | |
snd_hwdep | 16384 | 1 | snd_hda_codec | Hardware dependent layer | 硬件相关层 | |
irqbypass | 16384 | 1 | kvm | IRQ bypass manager utility module | IRQ旁路管理器实用程序模块 | |
snd_pcm | 147456 | 3 | snd_hda_intel,snd_hda_codec,snd_hda_core | Midlevel PCM code for ALSA. | ALSA的中级PCM代码。 | |
e1000e | 299008 | 0 | Intel(R) PRO/1000 Network Driver | 英特尔(R)PRO / 1000网络驱动程序 | Network e | |
cec | 65536 | 2 | drm_kms_helper,i915 | Device node registration for cec drivers | CEC驱动程序的设备节点注册 | |
psmouse | 184320 | 0 | PS/2 mouse driver | PS / 2鼠标驱动程序 | PS/2 | |
pcspkr | 16384 | 0 | PC Speaker beeper driver | PC Speaker蜂鸣器驱动程序 | ||
snd_timer | 45056 | 1 | snd_pcm | ALSA timer interface | ALSA计时器接口 | |
input_leds | 16384 | 0 | Input -> LEDs Bridge | 输入-> LED桥 | ||
rc_core | 57344 | 1 | cec | |||
syscopyarea | 16384 | 1 | drm_kms_helper | Generic copyarea (sys-to-sys) | 通用复制区(sys-to-sys) | |
snd | 114688 | 13 | snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec,snd_timer,snd_pcm | Advanced Linux Sound Architecture driver for soundcards. | 声卡的高级Linux声音体系结构驱动程序。 | Sound |
sysfillrect | 16384 | 1 | drm_kms_helper | Generic fill rectangle (sys-to-sys) | 通用填充矩形(sys-to-sys) | |
lpc_ich | 28672 | 0 | LPC interface for Intel ICH | 适用于Intel ICH的LPC接口 | ||
intel_agp | 24576 | 0 | ||||
sysimgblt | 16384 | 1 | drm_kms_helper | 1-bit/8-bit to 1-32 bit color expansion (sys-to-sys) | 1位/ 8位至1-32位色彩扩展(sys-to-sys) | |
rfkill | 28672 | 2 | hp_wmi,cfg80211 | RF switch support | 射频开关支持 | |
libarc4 | 16384 | 1 | mac80211 | |||
fb_sys_fops | 16384 | 1 | drm_kms_helper | Generic file read (fb in system RAM) | 读取通用文件(系统RAM中的fb) | |
soundcore | 16384 | 1 | snd | Core sound module | 核心声音模块 | Sound |
intel_gtt | 24576 | 2 | intel_agp,i915 | |||
battery | 20480 | 0 | ACPI Battery Driver | ACPI电池驱动器 | ||
wmi | 36864 | 2 | hp_wmi,wmi_bmof | ACPI-WMI Mapping Driver | ACPI-WMI映射驱动程序 | |
evdev | 28672 | 12 | Input driver event char devices | 输入驱动程序事件字符设备 | ||
mac_hid | 16384 | 0 | ||||
ac | 16384 | 0 | ACPI AC Adapter Driver | ACPI交流适配器驱动程序 | ||
acpi_cpufreq | 28672 | 1 | ACPI Processor P-States Driver | ACPI处理器P状态驱动程序 | ||
vboxnetflt | 32768 | 0 | Oracle VM VirtualBox Network Filter Driver | Oracle VM VirtualBox网络过滤器驱动程序 | VirtualBox | |
vboxnetadp | 28672 | 0 | Oracle VM VirtualBox Network Adapter Driver | Oracle VM VirtualBox网络适配器驱动程序 | VirtualBox | |
drm | 573440 | 5 | drm_kms_helper,i915 | DRM shared core routines | DRM共享核心例程 | |
vboxdrv | 524288 | 2 | vboxnetadp,vboxnetflt | Oracle VM VirtualBox Support Driver | Oracle VM VirtualBox支持驱动程序 | VirtualBox |
agpgart | 53248 | 3 | intel_agp,intel_gtt,drm | AGP GART driver | AGP GART驱动程序 | AGP |
ip_tables | 36864 | 0 | IPv4 packet filter | IPv4数据包过滤器 | IP | |
x_tables | 53248 | 1 | ip_tables | {ip,ip6,arp,eb}_tables backend module | {ip,ip6,arp,eb} _tables后端模块 | IP |
ext4 | 798720 | 2 | Fourth Extended Filesystem | 第四扩展文件系统 | ||
crc32c_generic | 16384 | 4 | CRC32c (Castagnoli) calculations wrapper for lib/crc32c | lib / crc32c的CRC32c(Castagnoli)计算包装器 | CRC32 | |
crc16 | 16384 | 1 | ext4 | CRC16 calculations | CRC16计算 | CRC16 |
mbcache | 16384 | 1 | ext4 | Meta block cache (for extended attributes) | 元块缓存(用于扩展属性) | |
jbd2 | 139264 | 1 | ext4 | |||
ata_generic | 16384 | 0 | low-level driver for generic ATA | 通用ATA的低级驱动程序 | ATA | |
pata_acpi | 16384 | 0 | SCSI low-level driver for ATA in ACPI mode | ACPI模式下用于ATA的SCSI低级驱动程序 | ATA | |
serio_raw | 20480 | 0 | Raw serio driver | 原始的Serio驱动程序 | ||
atkbd | 36864 | 0 | AT and PS/2 keyboard driver | AT和PS / 2键盘驱动程序 | PS/2 | |
libps2 | 20480 | 2 | atkbd,psmouse | PS/2 driver library | PS / 2驱动程序库 | PS/2 |
uhci_hcd | 53248 | 0 | USB Universal Host Controller Interface driver | USB通用主机控制器接口驱动程序 | USB | |
ata_piix | 36864 | 2 | SCSI low-level driver for Intel PIIX/ICH ATA controllers | 适用于Intel PIIX / ICH ATA控制器的SCSI低级驱动程序 | ATA | |
ehci_pci | 20480 | 0 | EHCI PCI platform driver | EHCI PCI平台驱动程序 | ||
ehci_hcd | 98304 | 1 | ehci_pci | USB 2.0 'Enhanced' Host Controller (EHCI) Driver | USB 2.0“增强型”主机控制器(EHCI)驱动程序 | USB |
i8042 | 32768 | 0 | i8042 keyboard and mouse controller driver | i8042键盘和鼠标控制器驱动程序 | ||
serio | 28672 | 9 | serio_raw,atkbd,psmouse,i8042 | Serio abstraction core | Serio抽象核心 |
2. 其他模块:
2.1 Pcmcia: Express Card: Necxg 奇熊电子 T718(54mm) USB3.0 card
xhci_hcd | 286720 | 1 | xhci_pci | 'eXtensible' Host Controller (xHC) Driver | “可扩展”主机控制器(xHC)驱动程序 |
xhci_pci | 20480 | 0 | xHCI PCI Host Controller Driver | xHCI PCI主机控制器驱动程序 |
2.2 FAST FW150US 2.0 USB无线网卡
lib80211 | 16384 | r8188eu | common routines for IEEE802.11 drivers | IEEE802.11驱动程序的通用例程 | |
r8188eu | 491520 | Realtek Wireless Lan Driver | Realtek无线局域网驱动程序 |
2.3 Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux
iwl3945 | 126976 | 0 | Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux | 英特尔(R)PRO /无线3945ABG / BG网络连接驱动程序,用于Linux | |
iwlegacy | 151552 | 1 | iwl3945 | iwl-legacy: common functions for 3945 and 4965 | iwl-legacy:3945和4965的常用功能 |
libarc4 | 16384 | 1 | mac80211 | ||
mac80211 | 1024000 | 2 | iwl3945,iwlegacy | IEEE 802.11 subsystem | IEEE 802.11子系统 |
ccm | 20480 | * 打开无线激活... | Counter with CBC MAC | 计数器,CBC-MAC |