162306a36Sopenharmony_ciThe /sys/module tree consists of the following structure: 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciWhat: /sys/module/<MODULENAME> 462306a36Sopenharmony_ciDescription: 562306a36Sopenharmony_ci The name of the module that is in the kernel. This 662306a36Sopenharmony_ci module name will always show up if the module is loaded as a 762306a36Sopenharmony_ci dynamic module. If it is built directly into the kernel, it 862306a36Sopenharmony_ci will only show up if it has a version or at least one 962306a36Sopenharmony_ci parameter. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci Note: The conditions of creation in the built-in case are not 1262306a36Sopenharmony_ci by design and may be removed in the future. 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciWhat: /sys/module/<MODULENAME>/parameters 1562306a36Sopenharmony_ciDescription: 1662306a36Sopenharmony_ci This directory contains individual files that are each 1762306a36Sopenharmony_ci individual parameters of the module that are able to be 1862306a36Sopenharmony_ci changed at runtime. See the individual module 1962306a36Sopenharmony_ci documentation as to the contents of these parameters and 2062306a36Sopenharmony_ci what they accomplish. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci Note: The individual parameter names and values are not 2362306a36Sopenharmony_ci considered stable, only the fact that they will be 2462306a36Sopenharmony_ci placed in this location within sysfs. See the 2562306a36Sopenharmony_ci individual driver documentation for details as to the 2662306a36Sopenharmony_ci stability of the different parameters. 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ciWhat: /sys/module/<MODULENAME>/refcnt 2962306a36Sopenharmony_ciDescription: 3062306a36Sopenharmony_ci If the module is able to be unloaded from the kernel, this file 3162306a36Sopenharmony_ci will contain the current reference count of the module. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci Note: If the module is built into the kernel, or if the 3462306a36Sopenharmony_ci CONFIG_MODULE_UNLOAD kernel configuration value is not enabled, 3562306a36Sopenharmony_ci this file will not be present. 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ciWhat: /sys/module/<MODULENAME>/srcversion 3862306a36Sopenharmony_ciDate: Jun 2005 3962306a36Sopenharmony_ciDescription: 4062306a36Sopenharmony_ci If the module source has MODULE_VERSION, this file will contain 4162306a36Sopenharmony_ci the checksum of the source code. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ciWhat: /sys/module/<MODULENAME>/version 4462306a36Sopenharmony_ciDate: Jun 2005 4562306a36Sopenharmony_ciDescription: 4662306a36Sopenharmony_ci If the module source has MODULE_VERSION, this file will contain 4762306a36Sopenharmony_ci the version of the source code. 48