From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <199905162253.AAA00308@denx.muc.de> To: linuxppc-dev@lists.linuxppc.org Cc: dev@kernel.crashing.org From: Wolfgang Denk Subject: LinuxPPC-DR-1.0: X11 config for Powerbook G3 series? Mime-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Date: Mon, 17 May 1999 00:53:44 +0200 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Hi, I cannot get X11 running on my G3 series; I'm using `fbset' as documented, and get: Mode "name" # D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz DotClock 100.001 HTimings 1024 1040 1048 1064 VTimings 768 784 792 808 Flags "-HSync" "-VSync" EndMode However, the Xserver complains ... (--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted. (**) FontPath set to "unix/:-1" (**) FBDev: Using XF86Config video mode database Fatal server error: No valid modes found. What am I missing? [Full logs attached below.] Wolfgang -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de "How is this place run - is it an anarchy?" "No, I wouldn't say so; it is not that well organised..." ... [root@luke X11]# fbset -xres 1024 -yres 768 -depth 16 [root@luke X11]# fbset -x Mode "name" # D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz DotClock 100.001 HTimings 1024 1040 1048 1064 VTimings 768 784 792 808 Flags "-HSync" "-VSync" EndMode [root@luke X11]# cat XF86Config # File generated by XConfigurator. # ********************************************************************** # Refer to the XF86Config(4/5) man page for details about the format of # this file. # ********************************************************************** # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. RgbPath "/usr/X11R6/lib/X11/rgb" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection # ********************************************************************** # Server flags section. # ********************************************************************** Section "ServerFlags" # Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging #NoTrapSignals # Uncomment this to disable the server abort sequence # This allows clients to receive this key event. #DontZap # Uncomment this to disable the / mode switching # sequences. This allows clients to receive these key events. #DontZoom EndSection # ********************************************************************** # Input devices # ********************************************************************** # ********************************************************************** # Keyboard section # ********************************************************************** Section "Keyboard" Protocol "Standard" # when using XQUEUE, comment out the above line, and uncomment the # following line #Protocol "Xqueue" AutoRepeat 500 5 # Let the server do the NumLock processing. This should only be # required when using pre-R6 clients #ServerNumLock # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) #Xleds 1 2 3 #To set the LeftAlt to Meta, RightAlt key to ModeShift, #RightCtl key to Compose, and ScrollLock key to ModeLock: LeftAlt Meta RightAlt Meta ScrollLock Compose RightCtl Control # To disable the XKEYBOARD extension, uncomment XkbDisable. # XkbDisable # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # XkbModel "pc102" # If you have a US Microsoft Natural keyboard, you can use: # XkbModel "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # XkbLayout "de" # or: # XkbLayout "de" # XkbVariant "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # XkbOptions "ctrl:swapcaps" # These are the default XKB settings for XFree86 # XkbRules "xfree86" # XkbModel "pc101" # XkbLayout "us" # XkbVariant "" # XkbOptions "" XkbKeycodes "macintosh" XkbTypes "default" XkbCompat "default" XkbSymbols "macintosh/us" XkbGeometry "macintosh" XkbRules "xfree86" XkbModel "pc101" EndSection # ********************************************************************** # Pointer section # ********************************************************************** Section "Pointer" Protocol "BusMouse" Device "/dev/mouse" # When using XQUEUE, comment out the above two lines, and uncomment # the following line. # Protocol "Xqueue" # Baudrate and SampleRate are only for some Logitech mice # BaudRate 9600 # SampleRate 150 # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) Emulate3Buttons Emulate3Timeout 50 # ChordMiddle is an option for some 3-button Logitech mice # ChordMiddle EndSection # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "Apple PowerBook G3" VendorName "Apple" ModelName "Powerbook G3 Series" # HorizSync is in kHz unless units are specified. # HorizSync may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. HorizSync 119 # VertRefresh is in Hz unless units are specified. # VertRefresh may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. VertRefresh 196 # Modes can be specified in two formats. A compact one-line format, or # a multi-line format. # These two are equivalent # ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace # Mode "1024x768i" # DotClock 45 # HTimings 1024 1048 1208 1264 # VTimings 768 776 784 817 # Flags "Interlace" # EndMode # Apple PowerBook G3 Mode "1024x768" # D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz DotClock 100.001 HTimings 1024 1040 1048 1064 VTimings 768 784 792 808 Flags "-HSync" "-VSync" EndMode ### Modeline "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync EndSection # ********************************************************************** # Graphics device section # ********************************************************************** # Any number of graphics device sections may be present Section "Device" Identifier "Generic VGA" VendorName "Unknown" BoardName "Unknown" Chipset "generic" # VideoRam 256 # Clocks 25.2 28.3 EndSection # Device configured by Xconfigurator: Section "Device" Identifier "OFfb ATY,RageLT" VendorName "Unknown" BoardName "Unknown" #VideoRam 3145 # Insert Clocks lines here if appropriate EndSection # ********************************************************************** # Screen sections # ********************************************************************** Section "Screen" Driver "fbdev" Device "OFfb ATY,RageLT" Monitor "Apple PowerBook G3" Subsection "Display" Depth 8 Modes "1024x768" ViewPort 0 0 Virtual 1024 768 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" ViewPort 0 0 Virtual 1024 768 EndSubsection EndSection [root@luke X11]# startx XFree86 Version 3.3.3.1 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: January 4 1999 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (see http://www.XFree86.Org/FAQ) Operating System: Linux 2.2.6-15apmac ppc [ELF] Configured drivers: FBDev: Server for frame buffer device (Patchlevel 10): mfb, afb, cfb8, cfb16, cfb32, NCR 77C32BLT (accel), ATI Mach64 (accel), IMS TwinTurbo (accel) (using VT number 7) XF86Config: /usr/X11R6/lib/X11/XF86Config (**) stands for supplied, (--) stands for probed/default values (**) XKB: keycodes: "macintosh" (**) XKB: types: "default" (**) XKB: compat: "default" (**) XKB: symbols: "macintosh/us" (**) XKB: geometry: "macintosh" (**) XKB: rules: "xfree86" (**) XKB: model: "pc101" (**) Mouse: type: BusMouse, device: /dev/mouse, buttons: 3 (**) Mouse: 3 button emulation (timeout: 50ms) (**) FBDev: Graphics device ID: "OFfb ATY,RageLT" (**) FBDev: Monitor ID: "Apple PowerBook G3" (--) FBDev: Mode "1024x768" needs hsync freq of 93.99 kHz. Deleted. (**) FontPath set to "unix/:-1" (**) FBDev: Using XF86Config video mode database Fatal server error: No valid modes found. When reporting a problem related to a server crash, please send the full server output, not just the last messages X connection to :0.0 broken (explicit kill or server shutdown). [[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]] [[ and http://www.linuxppc.org/ for useful information before posting. ]]