modinfo, einige Module haben Probleme mit dem Verständnis der Parameter

modinfo, einige Module haben Probleme mit dem Verständnis der Parameter

Beispiel aus

modinfo i915 | fgrep parm
force_probe:Force probe the driver for specified devices. See                               
CONFIG_DRM_I915_FORCE_PROBE for details. (charp) 

was bedeutet (charp)? wahr/falsch oder irgendeine Nr. Oder etwas anderes?

grep CONFIG_DRM_I915_FORCE_PROBE /boot/config-5.4.0-47-generic 
CONFIG_DRM_I915_FORCE_PROBE=""

sagt mir nichts.

Antwort1

Beschreibung finden Sie inlinux/treiber/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.

Es handelt sich also offensichtlich um eine Zeichenfolge. In diesem Fall gehe ich davon aus, dasskarpfenbedeutetZeichenzeiger.

verwandte Informationen