mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-20 18:45:52 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -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/ -->
|
||||
|
||||
Reference in New Issue
Block a user