语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -3,9 +3,9 @@
<h2 id="补充说明">补充说明</h2>
<p><strong>setpci命令</strong> 是一个查询和配置PCI设备的使用工具。</p>
<h3 id="语法">语法</h3>
<pre><code>setpci(选项)(参数)</code></pre>
<pre><code class="language-bash">setpci(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-v显示指令执行的细节信息
<pre><code class="language-bash">-v显示指令执行的细节信息
-f当没有任何操作需要完成时不显示任何信息
-D测试模式并不真正将配置信息写入寄存器
-d仅显示给定厂商和设备的信息
@@ -18,7 +18,7 @@
<h3 id="实例">实例</h3>
<p>Linux下调节笔记本屏幕亮度方法</p>
<p>首先进入终端输入lspci命令列出各种设备的地址</p>
<pre><code>lspci
<pre><code class="language-bash">lspci
00:00.0 host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
@@ -27,7 +27,7 @@
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
......</code></pre>
<p>发现00:02.0是VGA设备于是我们修改它的属性</p>
<pre><code>sudo setpci -s 00:02.0 F4.B=FF</code></pre>
<pre><code class="language-bash">sudo setpci -s 00:02.0 F4.B=FF</code></pre>
<p>解释一下:</p>
<ul>
<li><strong>setpci</strong> 是修改设备属性的命令。</li>
@@ -38,5 +38,5 @@
<li><strong>=FF</strong> 要修改的值(可以改)。</li>
</ul>
<p>我这里00是最暗FF是最亮不同的电脑可能不一样。比如说我嫌FF太闪眼了我就可以</p>
<pre><code>sudo setpci -s 00:02.0 F4.B=CC</code></pre>
<pre><code class="language-bash">sudo setpci -s 00:02.0 F4.B=CC</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->