Changeset 6dd40f9


Ignore:
Timestamp:
03/01/2015 11:23:05 AM (9 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
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
Children:
8b59876
Parents:
c60a17aa
Message:

Patch the modesetting video driver for 32 bit machine and software
mouse pointer

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rc60a17aa r6dd40f9  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "28">                   <!-- Always 2 digits -->
    4 <!ENTITY month        "02">                   <!-- Always 2 digits -->
     3<!ENTITY day          "01">                   <!-- Always 2 digits -->
     4<!ENTITY month        "03">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2015">
    66<!ENTITY copyrightdate "2001-&year;">
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "February 28th, &year;">
     9<!ENTITY releasedate  "March 1st, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    rc60a17aa r6dd40f9  
    4444
    4545-->
     46
     47    <listitem>
     48      <para>March 1st, 2015</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[pierre] - Apply a patch to the modesetting driver
     52          code in Xorg-server, to allow running on 32 bit machine, and
     53          on cards which do not support hardware cursor.</para>
     54        </listitem>
     55      </itemizedlist>
     56    </listitem>
    4657
    4758    <listitem>
  • x/installing/xorg-server.xml

    rc60a17aa r6dd40f9  
    7777          Optional patch:
    7878          <ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-1.patch"/>
     79        </para>
     80      </listitem>
     81      <listitem>
     82        <para>
     83          Optional patch:
     84          <ulink url="&patch-root;/xorg-server-&xorg-server-version;-fix_modesetting-1.patch"/>
    7985        </para>
    8086      </listitem>
     
    121127
    122128    <para>
    123       If you have downloaded the optional patch, apply it by running
     129      If you have downloaded the first optional patch, apply it by running
    124130      the following command:
    125131    </para>
     
    128134
    129135    <para>
    130       The <application>modesetting</application> driver is now included in
    131       the tarball (since version 1.17). It needs to be fixed for 32-bit
    132       machines (first command below), and for cards which do not support
    133       the mouse pointer in hardware (second command below):
    134     </para>
    135 
    136 <screen><userinput>sed -e '/\*\//a #define _FILE_OFFSET_BITS 64' \
    137     -i hw/xfree86/drivers/modesetting/dumb_bo.c
    138 sed -e 's/ == -EINVAL//' \
    139     -i hw/xfree86/drivers/modesetting/drmmode_display.c</userinput></screen>
     136      The <application>modesetting</application> video driver is now included
     137      in the tarball (since version 1.17). It needs to be fixed for 32-bit
     138      machines and for cards which do not support  an hardware mouse pointer.
     139      If you plan to use the modesetting video driver, run the
     140      following command:
     141    </para>
     142
     143<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-fix_modesetting-1.patch</userinput></screen>
    140144
    141145    <para>
     
    181185
    182186    <para>
    183       <parameter>--enable-install-setuid</parameter>: The Xorg binary must run as
    184       the root user. This switch ensures that the binary is installed
     187      <parameter>--enable-install-setuid</parameter>: The Xorg binary must run
     188      as the root user. This switch ensures that the binary is installed
    185189      setuid when <command>make</command> is run by an unprivileged user.
    186190    </para>
Note: See TracChangeset for help on using the changeset viewer.