Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- exec 2>/dev/null
- R=0
- for M; do
- D=/sys/module/$M/parameters
- test -d "$D" || continue
- cd "$D"
- test "$R" = 1 && echo
- for P in $(find ./ -xdev -type f -printf '%P\n' | sort -n); do
- V=$(cat "$P")
- echo "$M.$P=$V"
- done
- R=1
- done
- #### example: `ath9k' and `i915' are loaded modules, and `athwtf' is nonexistent module
- #>> $ sudo mi.sh ath9k athwtf i915
- #>> ath9k.blink=0
- #>> ath9k.bt_ant_diversity=0
- #>> ath9k.btcoex_enable=0
- #>> ath9k.nohwcrypt=0
- #>> ath9k.ps_enable=0
- #>> ath9k.use_chanctx=0
- #>>
- #>> i915.disable_display=N
- #>> i915.disable_power_well=1
- #>> i915.disable_vtd_wa=N
- #>> i915.enable_cmd_parser=1
- #>> i915.enable_execlists=1
- #>> i915.enable_fbc=-1
- #>> i915.enable_hangcheck=Y
- #>> i915.enable_ips=1
- #>> i915.enable_ppgtt=2
- #>> i915.enable_psr=0
- #>> i915.enable_rc6=1
- #>> i915.fastboot=N
- #>> i915.invert_brightness=0
- #>> i915.lvds_channel_mode=0
- #>> i915.lvds_downclock=0
- #>> i915.lvds_use_ssc=-1
- #>> i915.mmio_debug=N
- #>> i915.modeset=-1
- #>> i915.nuclear_pageflip=N
- #>> i915.panel_ignore_lid=1
- #>> i915.powersave=1
- #>> i915.prefault_disable=N
- #>> i915.preliminary_hw_support=1
- #>> i915.reset=Y
- #>> i915.semaphores=-1
- #>> i915.use_mmio_flip=0
- #>> i915.vbt_sdvo_panel_type=-1
- #>> i915.verbose_state_checks=Y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement