source: x/installing/x7driver-vmmouse.xml@ 9638ed8b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9638ed8b was 9638ed8b, checked in by Pierre Labastie <pieere@…>, 9 years ago

fix detection of VMMouse under a Qemu environment in the vmmouse
Xorg driver

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15613 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xorg-vmmouse-driver-version "13.0.0">
8
9 <!ENTITY xorg-vmmouse-driver-download-http "&xorg-download-http;/driver/xf86-input-vmmouse-&xorg-vmmouse-driver-version;.tar.bz2">
10 <!ENTITY xorg-vmmouse-driver-download-ftp "&xorg-download-ftp;/driver/xf86-input-vmmouse-&xorg-vmmouse-driver-version;.tar.bz2">
11 <!ENTITY xorg-vmmouse-driver-md5sum "34f9f64ee6a1a51fc8266a9af24e1e07">
12 <!ENTITY xorg-vmmouse-driver-size "308 KB">
13 <!ENTITY xorg-vmmouse-driver-buildsize "2.9 MB">
14 <!ENTITY xorg-vmmouse-driver-time "less than 0.1 SBU">
15]>
16
17 <!-- Begin Xorg VMMouse Driver -->
18 <sect2 id="xorg-vmmouse-driver" xreflabel="Xorg VMMouse Driver-&xorg-vmmouse-driver-version;">
19
20 <title>Xorg VMMouse Driver-&xorg-vmmouse-driver-version;</title>
21
22 <indexterm zone="xorg-vmmouse-driver">
23 <primary sortas="a-xorg-vmmouse-driver">xorg-vmmouse-driver</primary>
24 </indexterm>
25
26 <sect3 role="package">
27 <title>Introduction to Xorg VMMouse Driver</title>
28
29 <para>
30 The <application>Xorg VMMouse Driver</application> package contains the
31 VMMouse input driver for the Xorg X server. The VMMouse driver enables
32 support for the special VMMouse protocol that is provided by VMware
33 virtual machines to give absolute pointer positioning. It can be used
34 with <application>Qemu</application>, too.
35 </para>
36
37 &lfs77_checked;
38
39 <bridgehead renderas="sect4">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&xorg-vmmouse-driver-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&xorg-vmmouse-driver-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &xorg-vmmouse-driver-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &xorg-vmmouse-driver-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &xorg-vmmouse-driver-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &xorg-vmmouse-driver-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect4">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Required patch:
78 <ulink url="&patch-root;/xf86-input-vmmouse-&xorg-vmmouse-driver-version;-build_fix-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect4">Xorg VMMouse Driver Dependencies</bridgehead>
84
85 <bridgehead renderas="sect5">Required</bridgehead>
86 <para role="required">
87 <xref linkend="xorg-server"/>
88 </para>
89
90 <para condition="html" role="usernotes">
91 User Notes: <ulink url="&blfs-wiki;/xorg-vmmouse-driver"/>
92 </para>
93 </sect3>
94
95 <sect3 role="installation">
96 <title>Installation of Xorg VMMouse Driver</title>
97
98 <para>
99 Install <application>Xorg VMMouse Driver</application> by running the
100 following commands:
101 </para>
102
103<screen><userinput>patch -Np1 -i ../xf86-input-vmmouse-&xorg-vmmouse-driver-version;-build_fix-1.patch &amp;&amp;
104sed -i -e '/__i386__/a iopl(3);' tools/vmmouse_detect.c &amp;&amp;
105./configure $XORG_CONFIG \
106 --without-hal-fdi-dir \
107 --without-hal-callouts-dir \
108 --with-udev-rules-dir=/lib/udev/rules.d &amp;&amp;
109make</userinput></screen>
110
111 <para>
112 This package does not come with a test suite.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120 </sect3>
121
122 <sect3>
123 <title>Command Explanations</title>
124
125 <para>
126 <command>sed -i -e '/__i386__/a iopl(3);' ...</command>: This command
127 allows <command>vmmouse_detect</command> to detect the VMMouse protocol
128 in a <application>Qemu</application> virtual machine.
129 </para>
130
131 <para>
132 <parameter>--with-udev-rules-dir=/lib/udev/rules.d</parameter>:
133 This switch specifies where udev rules should be installed.
134 </para>
135
136 <para>
137 <option>--without-hal-*-dir</option>: These switches disable
138 installation of the <application>HAL</application> components
139 which are not needed on Linux.
140 </para>
141
142 </sect3>
143
144 <sect3 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Program</segtitle>
149 <segtitle>Installed Xorg Drivers</segtitle>
150
151 <seglistitem>
152 <seg>
153 vmmouse_detect
154 </seg>
155 <seg>
156 vmmouse_drv.so
157 </seg>
158 </seglistitem>
159 </segmentedlist>
160
161 <variablelist>
162 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
165
166 <varlistentry id="vmmouse_detect">
167 <term><command>vmmouse_detect</command></term>
168 <listitem>
169 <para>
170 is a tool for detecting if running in a VMware environment where
171 vmmouse is used.
172 </para>
173 <indexterm zone="xorg-vmmouse-driver vmmouse_detect">
174 <primary sortas="b-vmmouse_detect">vmmouse_detect</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="vmmouse_drv">
180 <term><filename class="libraryfile">vmmouse_drv.so</filename></term>
181 <listitem>
182 <para>
183 is an Xorg input driver for VMware Mouse.
184 </para>
185 <indexterm zone="xorg-vmmouse-driver vmmouse_drv">
186 <primary sortas="c-vmmouse_drv">vmmouse_drv.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect3>
194
195 </sect2>
196 <!-- End Xorg VMMouse Driver -->
Note: See TracBrowser for help on using the repository browser.