4 Configuring X for Your Hardware

Contents of this section

The XF86Config file tells the X server what kind of monitor, video card and mouse you have. You must create it to tell the server what specific hardware you have.

XFree86 3.1 uses a new configuration file format. Consult the XF86Config man page and the general INSTALL file for instructions.

If you have a Xconfig file for XFree86 2.x, use reconfig to translate part of it into the new format:

 # reconfig <Xconfig >XF86Config

and complete the rest according to the XF86Config man page and the XF86Config.sample file as a template.

In order to protect your hardware from damage, the server no longer will read XF86Config files from a user's home directory, but requires that it be in /etc/XF86Config, /usr/X11R6/lib/X11/XF86Config.hostname or /usr/X11R6/lib/X11/XF86Config.

You'll need info on your hardware:

The easiest way to find which device your mouse is plugged into is to use ``cat'' or ``kermit'' to look at the output of the mouse. Connect to it and just make sure that it generates output when the mouse is moved or clicked:

 % cat < /dev/tty00

If you can't find the right mouse device then use ``dmesg|grep sio'' to get a list of devices that were detected upon booting:

 % dmesg|grep sio
 sio0 at 0x3f8-0x3ff irq 4 on isa

Then double check the /dev entries corresponding to these devices. Use the script /dev/MAKEDEV to create entries if they don't already exist:

 % cd /dev
 % sh MAKEDEV tty00

If you plan to fine tune the screen size or position on your monitor you'll need the specs for sync frequencies from your monitor's manual.

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter