Ignore:
Timestamp:
11/29/2018 07:01:07 PM (3 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
basic
Parents:
82f8b2c
Message:

Update gpm in BLFS Basic book

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/basic@20755 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/gpm.xml

    r82f8b2c rd47153e  
    7878  </sect2>
    7979
     80  <sect2 role="kernel" id='gpm-kernel'>
     81    <title>Kernel Configuration</title>
     82
     83     <para>
     84      Enable the following option in the kernel configuration and recompile the
     85      kernel if necessary:
     86     </para>
     87
     88<screen><literal>Device Drivers  ---&gt;
     89  Input device support ---&gt; [CONFIG_INPUT]
     90    &lt;*/M&gt; Mouse interface   [CONFIG_INPUT_MOUSEDEV]</literal></screen>
     91
     92     <indexterm zone="gpm gpm-kernel">
     93        <primary sortas="d-gpm">gpm</primary>
     94     </indexterm>
     95
     96  </sect2>
     97
    8098  <sect2 role="installation">
    8199    <title>Installation of GPM</title>
     100
    82101
    83102    <para>Install <application>GPM</application> by running
     
    130149
    131150    <sect3 id="gpm-init">
    132       <title>Boot Script or Systemd Unit</title>
     151      <title><phrase revision="sysv">Boot Script</phrase>
     152             <phrase revision="systemd">Systemd Unit</phrase></title>
    133153
    134154      <indexterm zone="gpm gpm-init">
     
    136156      </indexterm>
    137157
    138       <para>
    139         For System V based systems, install the
    140         <filename>/etc/rc.d/init.d/gpm</filename> init script included in the
    141         <xref linkend="bootscripts"/> package.
    142       </para>
    143 
    144       <para>
    145         For systemd based systems, to start the <command>gpm</command> daemon
    146         at boot, install the systemd unit from the <xref linkend="systemd-units"/>
     158      <para revision="sysv">Install the
     159      <filename>/etc/rc.d/init.d/gpm</filename> init script included in the
     160      <xref linkend="bootscripts"/> package.</para>
     161
     162      <para revision="systemd">
     163        To start the <command>gpm</command> daemon at boot,
     164        install the systemd unit from the <xref linkend="systemd-units"/>
    147165        package by running the following command as the
    148166        <systemitem class="username">root</systemitem> user:
     
    160178      <command>gpm-root</command> configuration files.</para>
    161179
    162       <para><filename>/etc/sysconfig/mouse</filename> (System V only):
     180      <para revision="sysv"><filename>/etc/sysconfig/mouse</filename>:
    163181      This file contains the name of your mouse device and the protocol
    164182      it uses.  To create this file, run the following as the
    165183      <systemitem class="username">root</systemitem> user:</para>
    166184
    167 <screen role="root"><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"
     185<screen role="root" revision="sysv"><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"
    168186<literal># Begin /etc/sysconfig/mouse
    169187
     
    183201      </indexterm>
    184202
    185       <indexterm zone="gpm gpm-config">
     203      <indexterm zone="gpm gpm-config" revision="sysv">
    186204        <primary sortas="e-etc-sysconfig-mouse">/etc/sysconfig/mouse</primary>
    187205      </indexterm>
     
    192210      <title>Configuration Information</title>
    193211
    194       <para>System V:Examples of values to set <envar>MDEVICE</envar>,
     212      <para revision="sysv">Examples of values to set <envar>MDEVICE</envar>,
    195213      <envar>PROTOCOL</envar>, and <envar>GPMOPTS</envar> to are:</para>
    196214
    197 <screen><literal>MDEVICE="/dev/input/mice"
     215<screen revision="sysv"><literal>MDEVICE="/dev/input/mice"
    198216PROTOCOL="imps2"
    199217GPMOPTS=""</literal></screen>
    200218
    201       <para>A list of which protocol values are known can be
     219      <para revision="sysv">A list of which protocol values are known can be
    202220      found by running
    203221      <command>gpm -m <replaceable>[device]</replaceable> -t -help</command>.
     
    209227      are needed for your hardware.</para>
    210228
    211       <para>
    212         systemd: <application>GPM</application> is by default started with
     229      <para revision="systemd">
     230        <application>GPM</application> is by default started with
    213231        the following parameters:
    214232        <parameter>-m /dev/input/mice -t imps2</parameter>. If the
     
    218236      </para>
    219237
    220 <screen role="root"><userinput>install -v -dm755 /etc/systemd/system/gpm.service.d
     238<screen role="root" revision="systemd"><userinput>install -v -dm755 /etc/systemd/system/gpm.service.d
    221239echo "ExecStart=/usr/sbin/gpm &lt;list of parameters&gt;" > /etc/systemd/system/gpm.service.d/99-user.conf</userinput></screen>
    222240
Note: See TracChangeset for help on using the changeset viewer.