From owner-freebsd-mobile Sat Aug 28 10:30:13 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from spork.cs.unm.edu (mail.cs.unm.edu [198.59.151.21]) by hub.freebsd.org (Postfix) with ESMTP id E150E15058 for ; Sat, 28 Aug 1999 10:30:09 -0700 (PDT) (envelope-from colinj@cs.unm.edu) Received: from nobby.cs.unm.edu ([198.59.151.103] ident=mail) by spork.cs.unm.edu with esmtp (Exim 2.12 #3) id 11KmGS-0007jB-00 for freebsd-mobile@freebsd.org; Sat, 28 Aug 1999 11:27:40 -0600 Received: from colinj by nobby.cs.unm.edu with local-esmtp (Exim 2.05 #1 (Debian)) id 11KmGS-0000j8-00; Sat, 28 Aug 1999 11:27:40 -0600 Date: Sat, 28 Aug 1999 11:27:40 -0600 (MDT) From: Colin Eric Johnson To: freebsd-mobile@freebsd.org Subject: adjusting X for LCD/external use Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I know that this isn't *EXACTLY* the right place to ask this question, pointers to the correct place are appreciated. I'm trying to get my X display to work with both the LCD and the external video connector on my laptop. I'm not sure what I need to do to tweak the XF86Config file to make this happen. Here's the behavior I get now: If I attempt to switch the display from the internal LCD to the external video when X is running the screen goes all swimmy and unreadable (like some psychedelic screen saver gone wrong) and the only way to get back to what I need is to kill X and then restart it. (this also happens when I close the lid or suspend when X is running). I'm assuming that this isn't a known bug with my laptop (Dell Lattitude CPi 266) but rather something that I need to configure in X. Attached is my X configuration as it stands right now. Does anyone have any insight on tweaking X to work with both the internal and external displays. trurl 1 % uname -a FreeBSD trurl 3.2-STABLE FreeBSD 3.2-STABLE #5: Mon Jul 12 16:51:19 MDT 1999 root@:/usr/src/sys/compile/TRURL i386 vga0: rev 0x01 int a irq 11 on pci0.2.0 Dell Lattitude CPi 266 Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/ ". . .so I simply point to where I keep the soul I have, right by the exit, just next to the blues." --Nick Hornby _High_Fidelity_ # XF86Config auto-generated by XF86Setup # # Copyright (c) 1996 by The XFree86 Project, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Except as contained in this notice, the name of the XFree86 Project shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from the # XFree86 Project. # # See 'man XF86Config' for info on the format of this file Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" 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/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/local" EndSection Section "ServerFlags" EndSection Section "Keyboard" Protocol "Standard" XkbRules "xfree86" XkbModel "pc104" XkbLayout "us" EndSection Section "Pointer" Protocol "Microsoft" Device "/dev/psm0" BaudRate 1200 Emulate3Timeout 50 Resolution 100 Buttons 3 Emulate3Buttons EndSection Section "Monitor" Identifier "Primary Monitor" VendorName "Unknown" ModelName "Unknown" HorizSync 31.5-57.0 VertRefresh 50-90 Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync EndSection Section "Device" Identifier "Primary Card" VendorName "Unknown" BoardName "NeoMagic (laptop/notebook)" # Chipset "NM2160" # IOBase 0xfea00000 # MemBase 0xfd000000 # VideoRam 2048 # DacSpeed 90 # Option "linear" # Option "nolinear" # Option "sw_cursor" # Option "hw_cursor" # Option "no_accel" Option "intern_disp" Option "extern_disp" # Option "mmio" # Option "no_mmio" # Option "lcd_center" # Option "no_stretch" EndSection Section "Screen" Driver "Accel" Device "Primary Card" Monitor "Primary Monitor" DefaultColorDepth 16 SubSection "Display" Depth 8 Modes "1024x768" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection SubSection "Display" Depth 32 Modes "1024x768" EndSubSection EndSection Section "Screen" Driver "SVGA" Device "Primary Card" Monitor "Primary Monitor" DefaultColorDepth 16 SubSection "Display" Depth 8 Modes "1024x768" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection SubSection "Display" Depth 32 Modes "1024x768" EndSubSection EndSection Section "Screen" Driver "VGA16" Device "Primary Card" Monitor "Primary Monitor" SubSection "Display" Depth 4 Modes "1024x768" EndSubSection EndSection Section "Screen" Driver "VGA2" Device "Primary Card" Monitor "Primary Monitor" SubSection "Display" Depth 1 Modes "1024x768" EndSubSection EndSection Section "Screen" Driver "Mono" Device "Primary Card" Monitor "Primary Monitor" SubSection "Display" Depth 1 Modes "1024x768" EndSubSection EndSection To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message