Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LCD / Monitor Switching
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
the-Jer
n00b
n00b


Joined: 02 Dec 2003
Posts: 14
Location: Columbus, OH

PostPosted: Mon Dec 08, 2003 11:11 pm    Post subject: LCD / Monitor Switching Reply with quote

I've been having a problem with XFree switching to my LCD.

My setup is, when I'm at home I have the laptop plugged into my monitor. XFree, however, likes to swtich back to the LCD as soon as it starts up. Then I have open the laptop and use the function keys to switch the display back to the monitor.

Now if I get into XFree and then Crtl-Alt-Backspace out of it, when it comes back to the console it will go back to diplaying on the monitor.

Is there a way to make XFree use the monitor if it's hooked up?

I hope all that made sense.

TIA!
_________________
Jeremy Wood
Back to top
View user's profile Send private message
steel300
Veteran
Veteran


Joined: 10 Jul 2003
Posts: 1155

PostPosted: Tue Dec 09, 2003 1:46 am    Post subject: Reply with quote

You could just have X use both by default. It will send data to both, but if the monitor isn't hooked up, no signal will be sent. Granted, X will show up on both monitors, but it sounds like that will solve your problem.
_________________
Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it.
Back to top
View user's profile Send private message
the-Jer
n00b
n00b


Joined: 02 Dec 2003
Posts: 14
Location: Columbus, OH

PostPosted: Tue Dec 09, 2003 9:54 pm    Post subject: Reply with quote

OK. That sounds reasonable.

Is there a place in the X config I can tell it to do this? or do I need to RTFM?
_________________
Jeremy Wood
Back to top
View user's profile Send private message
steel300
Veteran
Veteran


Joined: 10 Jul 2003
Posts: 1155

PostPosted: Wed Dec 10, 2003 7:08 pm    Post subject: Reply with quote

Code:
Section "Module"
    Load        "dbe"     # Double buffer extension
    SubSection "extmod"
#   Option  "omit xfree86-dga"
    EndSubSection
    Load        "freetype"
    Load        "type1"
    Load        "speedo"
    Load        "glx"
    Load   "dri"
    Load   "drm"
EndSection

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/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/truetype"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/share/fonts/afms/adobe"
    FontPath   "/usr/share/fonts/artwiz"
    FontPath   "/usr/share/fonts/corefonts"
    FontPath   "/usr/share/fonts/msfonts"
    FontPath   "/usr/share/fonts/ttf-bitstream-vera"
EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"   "us"
EndSection

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "Resolution" "300"
    Option "ZAxisMapping"   "4 5"
EndSection

Section "Monitor"
    Identifier  "LCD"
    HorizSync   31.5 - 57.0
    VertRefresh 50-70
EndSection

Section "Monitor"
    Identifier "TV"
    HorizSync 30-50
    VertRefresh 60
EndSection

Section "Device"
    Identifier  "NVIDIA GeForceFX 5600"
    Driver      "nvidia"
    VideoRam    262144
    Option "DPMS"
    Option "NoLogo" "1"
    Option "RenderAccel" "1"
    Option "UseEdidFreqs" "1"
    Option "PageFlip" "on"
    Option "NoBandWidthTest" "1"
    Option "DigitalVibrance" "3"
    Option "NvAGP" "1"
    Option "CursorShadow" "1"
    Option "CursorShadowAlpha" "64"
    Screen 0
    BusID "PCI:01:00:0"
EndSection

Section "Device"
    Identifier "NVIDIA GeForce FX 5600 - TV"
    Driver "nvidia"
    Option "ConnectedMonitor" "TV"
    Option "TVStandard" "NTSC-M"
    Screen 1
    BusID "PCI:01:00:0"
EndSection

Section "Screen"
    Identifier  "Screen 0"
    Device      "NVIDIA GeForceFX 5600"
    Monitor     "LCD"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier "Screen 1"
    Device "NVIDIA GeForce FX 5600 - TV"
    Monitor "TV"
    DefaultDepth 24
 
    Subsection "Display"
        Depth 24
        Modes "1024x768"
        ViewPort 0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen 0 "Screen 0"
    Screen 1 "Screen 1" rightOf "Screen 0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Here's my config file. It should get you started.
_________________
Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum