<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://crancho.com/w/index.php?action=history&amp;feed=atom&amp;title=Linux_Commands</id>
	<title>Linux Commands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://crancho.com/w/index.php?action=history&amp;feed=atom&amp;title=Linux_Commands"/>
	<link rel="alternate" type="text/html" href="https://crancho.com/w/index.php?title=Linux_Commands&amp;action=history"/>
	<updated>2026-05-02T05:43:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://crancho.com/w/index.php?title=Linux_Commands&amp;diff=1163&amp;oldid=prev</id>
		<title>Ohayden: /* Control Volume from CLI */</title>
		<link rel="alternate" type="text/html" href="https://crancho.com/w/index.php?title=Linux_Commands&amp;diff=1163&amp;oldid=prev"/>
		<updated>2011-02-24T13:16:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Control Volume from CLI&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Get Modems Serial Port # ==&lt;br /&gt;
This finds the tty port for the modem by trying to find the irq used by the modem and then looking it up in either dmesg or /proc/tty/driver/serial&lt;br /&gt;
=== Normal User ===&lt;br /&gt;
  dmesg | grep &amp;quot;irq = `lspci  | grep Communication | awk &amp;#039;{print $1}&amp;#039; | xargs -n1 -i lspci -v -s {} | grep IRQ | awk -FIRQ\  &amp;#039;{print $2}&amp;#039;`&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Root ===&lt;br /&gt;
  lspci  | grep Communication | awk &amp;#039;{print $1}&amp;#039; | xargs -n1 -i lspci -v -s {} | grep IRQ | awk -FIRQ\  &amp;#039;{print $2}&amp;#039; | xargs -n1 -i grep {} /proc/tty/driver/serial&lt;br /&gt;
&lt;br /&gt;
== Setup Power Management for Monitor ==&lt;br /&gt;
* Edit /etc/X11/xorg.conf&lt;br /&gt;
* Add the following to the &amp;quot;ServerLayout&amp;quot; section:&lt;br /&gt;
    Option         &amp;quot;BlankTime&amp;quot;     &amp;quot;3&amp;quot;&lt;br /&gt;
    Option         &amp;quot;StandbyTime&amp;quot;   &amp;quot;0&amp;quot;&lt;br /&gt;
    Option         &amp;quot;SuspendTime&amp;quot;   &amp;quot;0&amp;quot;&lt;br /&gt;
    Option         &amp;quot;OffTime&amp;quot;       &amp;quot;4&amp;quot;&lt;br /&gt;
* Add the following to the &amp;quot;Monitor&amp;quot; section:&lt;br /&gt;
    Option         &amp;quot;DPMS&amp;quot;&lt;br /&gt;
== Power off Monitor ==&lt;br /&gt;
  xset dpms force off&lt;br /&gt;
&lt;br /&gt;
== Control Volume from CLI ==&lt;br /&gt;
This is useful for setting the volume for alarms in a bash script / command line.&amp;lt;br&amp;gt;Syntax: amixer sset Master,0 &amp;lt;LEFT%&amp;gt;,&amp;lt;RIGHT%&amp;gt;&lt;br /&gt;
  amixer sset Master,0 unmute&lt;br /&gt;
  amixer sset Master,0 100%,100%&lt;br /&gt;
&lt;br /&gt;
== Get Info on System Hardware from BIOS ==&lt;br /&gt;
Dmidecode reports information about your system&amp;#039;s hardware as described in your system BIOS according to the SMBIOS/DMI standard.&lt;br /&gt;
  dmidecode&lt;/div&gt;</summary>
		<author><name>Ohayden</name></author>
	</entry>
</feed>