[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: working xfree86 4.1.0?



On Sat, Jan 19, 2002 at 01:33:30PM +0000, Alan Hourihane wrote:
> I basically copied the PPC code and tested it on my Amiga 040
> (WarpEngine) and it worked fine. I guessed as much that the icache
> flushing wouldn't work for other machines though.

Thanks a lot for doing that, Alan.  It's very important to Debian's
ability to support m68k that XFree86 4.x works.  :)

> PS. Attached is my XF86Config file that works on my 040'

This looks very similar to a config file that can be autogenerated by
the debconf scripts in the xserver-xfree86 package.  (Debian users will
care about that. :) )

I only have a couple of questions about it:

Is the explicit modeline in your monitor section necessary?

    Mode "640x480"
        DotClock	25.175
        HTimings	640 664 760 800
        VTimings	480 491 493 525
    EndMode

How about the use of "rgb bits" and forcing the StaticColor visual?

    SubSection "Display"
	Depth		8
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection

If neither of the above are strictly necessary, then my configuration
scripts should support machines like yours well, which will be good news
for m68k users of my packages.

****************

Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath	"/usr/X11R6/lib/X11/fonts/local/"
    FontPath	"/usr/X11R6/lib/X11/fonts/misc/"
    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath	"/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath	"/usr/X11R6/lib/X11/fonts/CID/"
    FontPath	"/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
    Load	"dbe"
    SubSection	"extmod"
	Option	"omit xfree86-dga"
    EndSubSection
    Load	"type1"
    Load	"freetype"
EndSection

Section "ServerFlags"
    Option	"blank time"	"10"	# 10 minutes
    Option	"standby time"	"20"
    Option	"suspend time"	"30"
    Option	"off time"	"60"
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"keyboard"
    Option	"AutoRepeat"	"500 5"
EndSection

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option	"Protocol"	"mousesystems"
    Option	"Device"	"/dev/amigamouse"
EndSection

Section "Monitor"
    Identifier	"Generic Monitor"
    Mode "640x480"
        DotClock	25.175
        HTimings	640 664 760 800
        VTimings	480 491 493 525
    EndMode
EndSection

Section "Device"
    Identifier	"Generic VGA"
    Driver	"vga"
EndSection

Section "Device"
    Identifier	"any supported Trident chip"
    Driver	"trident"
EndSection

Section "Device"
    Identifier	"Amiga"
    Driver	"fbdev"
EndSection

Section "Screen"
    Identifier	"Screen 1"
    Device	"Generic VGA"
    Monitor	"Generic Monitor"
    DefaultDepth 8
    SubSection "Display"
        Depth		8
        Modes		"640x480"
        ViewPort	0 0
        Virtual 	800 600
    EndSubsection
    SubSection "Display"
	Depth		4
        Modes		"640x480"
    EndSubSection
    SubSection "Display"
	Depth		1
        Modes		"640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier		"Screen AMIGA1"
    Device		"Amiga"
    Monitor		"Generic Monitor"
    Option		"no accel"
    DefaultDepth	16
    SubSection "Display"
	Depth		8
	Modes		"1280x1024"
	Option		"rgb bits" "8"
	Visual		"StaticColor"
    EndSubSection
    SubSection "Display"
	Depth		16
	Modes		"1024x768"
    EndSubSection
    SubSection "Display"
	Depth		24
	Modes		"1280x1024"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier	"Main Layout"
    Screen	"Screen AMIGA1"
    InputDevice	"Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier	"another layout"
    Screen	"Screen 1"
    Screen	"Screen AMIGA1"
    InputDevice	"Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier	"simple layout"
    Screen	"Screen 1"
    InputDevice	"Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

-- 
G. Branden Robinson                |      To stay young requires unceasing
Debian GNU/Linux                   |      cultivation of the ability to
branden@debian.org                 |      unlearn old falsehoods.
http://people.debian.org/~branden/ |      -- Robert Heinlein

Attachment: pgp1314D1OIBW.pgp
Description: PGP signature


Reply to: