Author: pierre
Date: Fri Feb 27 04:05:45 2015
New Revision: 15577

Log:
add two seds in xorg-server instructions:
- allows the modesetting driver to start on i686
- prevents the mouse pointer to disappear on 32 and 64 bit machine, with
the modesetting driver

Modified:
   trunk/BOOK/x/installing/xorg-server.xml

Modified: trunk/BOOK/x/installing/xorg-server.xml
==============================================================================
--- trunk/BOOK/x/installing/xorg-server.xml     Thu Feb 26 20:16:43 2015        
(r15576)
+++ trunk/BOOK/x/installing/xorg-server.xml     Fri Feb 27 04:05:45 2015        
(r15577)
@@ -127,6 +127,18 @@
 <screen><userinput>patch -Np1 -i 
../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>
 
     <para>
+      The <application>modesetting</application> driver is now included in
+      the tarball (since version 1.17). It needs to be fixed for 32-bit
+      machines (first command below), and for cards which do not support
+      the mouse pointer in hardware (second command below):
+    </para>
+
+<screen><userinput>sed -e '/\*\//a #define _FILE_OFFSET_BITS 64' \
+    -i hw/xfree86/drivers/modesetting/dumb_bo.c
+sed -e 's/ == -EINVAL//' \
+    -i hw/xfree86/drivers/modesetting/drmmode_display.c</userinput></screen>
+
+    <para>
       Install the server by running the following commands:
     </para>
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to