Selecting External Monitor with xf86-video-intel-1.9.94

Ken Mandelberg km at mathcs.emory.edu
Mon Apr 16 21:24:24 PDT 2007


Keith Packard wrote:
> On Sun, 2007-04-15 at 13:18 -0400, Ken Mandelberg wrote:
>
>   
>> Can I force the VGA output from xorg.conf?
>>     
>
> The current code only enables outputs at startup if they are connected
> to a monitor.
>   
My external monitor is connected  at startup, still it connects the 
pipes to the LCD and the TV outputs.
> The older server will re-detect monitors each time you query the mode
> list with xrandr, and enable them when the size is changed.
>
>   
xrandr only shows one list of modes, all for the LCD. Changing modes 
with xrandr changes it for the LCD, but thats all.

$ DISPLAY=:0.0 xrandr
 SZ:    Pixels          Physical       Refresh
*0   1024 x 768    ( 342mm x 271mm )  *60   85   75   70 
 1    832 x 624    ( 342mm x 271mm )   75 
 2    800 x 600    ( 342mm x 271mm )   85   72   75   60   56 
 3    640 x 480    ( 342mm x 271mm )   85   73   75   60 
 4    720 x 400    ( 342mm x 271mm )   85 
 5    640 x 400    ( 342mm x 271mm )   85 
 6    640 x 350    ( 342mm x 271mm )   85 
 7   1600 x 1600   ( 342mm x 271mm )   60 
Current rotation - normal
Current reflection - none
Rotations possible - normal left inverted right
Reflections possible - none
$ DISPLAY=:0.0 xrandr  --size 1
$  DISPLAY=:0.0 xrandr
 SZ:    Pixels          Physical       Refresh
 0   1024 x 768    ( 342mm x 271mm )   60   85   75   70 
*1    832 x 624    ( 342mm x 271mm )  *75 
 2    800 x 600    ( 342mm x 271mm )   85   72   75   60   56 
 3    640 x 480    ( 342mm x 271mm )   85   73   75   60 
 4    720 x 400    ( 342mm x 271mm )   85 
 5    640 x 400    ( 342mm x 271mm )   85 
 6    640 x 350    ( 342mm x 271mm )   85 
 7   1600 x 1600   ( 342mm x 271mm )   75 
Current rotation - normal
Current reflection - none
Rotations possible - normal left inverted right
Reflections possible - none



The OS certainly has detected the external monitor. control-alt-f1 turns 
off the LCD and shifts me to a virtual terminal on the external monitor.

Perhaps my xorg.conf is causing the confusion. I'm using the same one as 
on the mac mini that has no lcd. (I'm literally booting of the same usb 
disk). I'm aware that it has redundant and misleading info in it, which 
didn't matter on the Mac. Perhaps it does since the laptop has an LCD.

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "7"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Apple USB Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  DisplaySize  340 270
  HorizSync    30-80
  Identifier   "Monitor[0]"
  ModelName    "LCD MULTI-MED IA DISPLAY"
  Option       "DPMS"
  VendorName   "DMI"
  VertRefresh  43-80
  UseModes     "Modes[0]"
EndSection

Section "Monitor"
  DisplaySize  340 270
  HorizSync    30-80
  Identifier   "MyVgaMonitorSection"
  ModelName    "LCD MULTI-MED IA DISPLAY"
  Option       "DPMS"
  VendorName   "DMI"
  VertRefresh  43-80
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  ModeLine      "1280x720" 74.25 1280 1320 1376 1650 720 722 728 750
  Modeline       "1280x768" 79.464 1280 1360 1488 1664 768 771 778 798 
-hsync +vsync
  Modeline      "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
  Modeline      "1280x1024" 86.25 1280 1328 1360 1440 1024 1027 1034 
1052 +HSync -Vsync
  Modeline      "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
  Modeline      "1024x768" 55.00 1024 1072 1104 1184 768 771 775 790 
+HSync -Vsync
  Modeline      "800x600" 38.22 800 832 912 1024 600 601 604 622
  Modeline      "800x600" 34.75 800 848 880 960 600 603 607 617 +HSync 
-Vsync
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1280x720" "1280x1024" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x720" "1280x1024" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x720" "1280x1024" "1024x768" "800x600"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x720" "1280x1024" "1024x768" "800x600"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "945 GM"
  BusID        "0:2:0"
  Driver       "i810"
  Identifier   "Device[0]"
  Option       "NoDDC"
#  Option       "LinearAlloc" "12288"
#  Option       "CacheLines"    "512
#  VideoRam     65536
  VendorName   "Intel"
  Option "monitor-VGA" "MyVgaMonitorSection"
  Option "MonitorLayout" "CRT"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection










More information about the xorg mailing list