README for XFree86 3.3.2 on LynxOS : Building on microSPARC and PowerPC : Console driver patch for microSPARC
Previous: Building on microSPARC and PowerPC
Next: Known Bug of the microSPARC server

## 7.1. Console driver patch for microSPARC

Before building on the microSPARC you should install the patch for the console driver supplied in `xc/programs/Xserver/hw/sunLynx/patch.Console`. (`xc/programs/Xserver/hw/sunLynx/patch.Console-2.4.0` for LynxOS revisions earlier than 2.5.0). The patch fixes minor problems in the original LynxOS driver and adds functionalities to detect the keyboard type and control the key click. To create a backup of the original driver and install the patch issue the commands

> `

>      # cd /
>      # tar cf /sys/drivers/console.tar /sys/drivers/console
>      # patch -p -E < xc/programs/Xserver/hw/sunLynx/patch.Console
>      # cd /sys/drivers/console
>      # make install
>      # cd /sys/lynx.os
>      # make install
>      # reboot -a

> `

If you opt not to install the patch you must edit `xc/config/cf/lynx.cf` and change the definition of `SparcConsoleDefines`

> `from

>            #define SparcConsoleDefines    -DPATCHED_CONSOLE

> to

>            #define SparcConsoleDefines    /* -DPATCHED_CONSOLE */

> `

README for XFree86 3.3.2 on LynxOS : Building on microSPARC and PowerPC : Console driver patch for microSPARC
Previous: Building on microSPARC and PowerPC
Next: Known Bug of the microSPARC server