
範例來自
modinfo i915 | fgrep parm
force_probe:Force probe the driver for specified devices. See
CONFIG_DRM_I915_FORCE_PROBE for details. (charp)
(charp)是什麼意思?真/假或一些編號。還是其他東西?
grep CONFIG_DRM_I915_FORCE_PROBE /boot/config-5.4.0-47-generic
CONFIG_DRM_I915_FORCE_PROBE=""
對我什麼也沒說。
答案1
說明可以在linux/驅動程式/gpu/drm/i915/Kconfig:
config DRM_I915_FORCE_PROBE
string "Force probe driver for selected new Intel hardware"
depends on DRM_I915
help
This is the default value for the i915.force_probe module
parameter. Using the module parameter overrides this option.
Force probe the driver for new Intel graphics devices that are
recognized but not properly supported by this kernel version. It is
recommended to upgrade to a kernel version with proper support as soon
as it is available.
Use "" to disable force probe. If in doubt, use this.
Use "<pci-id>[,<pci-id>,...]" to force probe the driver for listed
devices. For example, "4500" or "4500,4571".
Use "*" to force probe the driver for all known devices.
顯然它是一個字串,在這種情況下我假設夏普方法字元指針。