LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   External Monitor (TFT) on an Dell Latitude D600 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/external-monitor-tft-on-an-dell-latitude-d600-641903/)

leon22 05-13-2008 10:07 AM

External Monitor (TFT) on an Dell Latitude D600
 
Hi all !

Following problem:

I am not able to use my external Samsung SyncMaster 245B 24" Monitor (connected at vga slot on the laptop backside) at the correct resolution (have Laptop TFT with 1024x768 and unfortunately the same on Samsung) !

I would only use the external TFT with 1920x1200 (no clone mode) and no signal on the Laptop TFT !
(use the radeon driver on my ATI R250 )

lspci -v

Code:

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 [Mobility FireGL 9000] (rev 01) (prog-if 00 [VGA])
        Subsystem: Dell Unknown device 011d
        Flags: bus master, VGA palette snoop, stepping, 66MHz, medium devsel, latency 32, IRQ 11
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        I/O ports at c000 [size=256]
        Memory at fcff0000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at fc000000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
        Capabilities: [50] Power Management version 2

my xorg.conf (runs perfectly only at my laptop TFT)

Code:

Section "Files"
        RgbPath      "/usr/X11/lib/X11/rgb"
#        ModulePath  "/usr/X11/lib/modules"
        FontPath    "/usr/X11/lib/X11/fonts/TrueType/"
        FontPath    "/usr/X11/lib/X11/fonts/Type1/"
        FontPath    "/usr/X11/lib/X11/fonts/Type1/sun/"
        FontPath    "/usr/X11/lib/X11/fonts/F3bitmaps/"
        FontPath    "/usr/X11/lib/X11/fonts/misc/"
        FontPath    "/usr/X11/lib/X11/fonts/100dpi/"
        FontPath    "/usr/X11/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "Xst"
        Load  "dbe"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "bitstream"
        Load  "type1"
        Load  "dri"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
        Option      "XkbOptions" "altwin:super_win"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
    Identifier "Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "SHMConfig" "on"
EndSection

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen        "Screen0" 0 0
        InputDevice    "Mouse0" "SendCoreEvents"
        InputDevice    "TouchPad" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Monitor"
        #DisplaySize          280  210        # mm
        Identifier  "Monitor0"
        VendorName  "QDS"
        ModelName    "6"
 ### Uncomment if you don't want to default to DDC:
#        HorizSync    0.0 - 0.0
#        HorizSync    2.0 - 0.0
#        VertRefresh  909259584.0 - 0.0
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName  "Radeon R250 Lf [Radeon Mobility 9000 M9]"
        BusID      "PCI:1:0:0"
        Screen      0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1024x768" "800x600"
        EndSubSection
EndSection

Section "dri"
            Mode 0666
EndSection

output of xrandr -q (detects only the laptop TFT)

Code:

Screen 0: minimum 320 x 175, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
  1024x768      60.0*
  960x720        60.0 
  960x600        60.0 
  928x696        60.0 
  896x672        60.0 
  840x525        60.0 
  832x624        60.0 
  800x600        60.0 
  800x512        60.0 
  720x450        60.0 
  720x400        60.0 
  700x525        60.0 
  640x512        60.0 
  640x480        60.0 
  640x400        60.0 
  640x384        60.0 
  640x350        60.0 
  576x432        60.0 
  576x384        60.0 
  512x384        60.0 
  416x312        60.0 
  400x300        60.0 
  360x200        60.0 
  320x240        60.0 
  320x200        60.0 
  320x175        60.0


I used Debian SID Linux with kernel 2.6.24.4 !

Can anybody help me or have an correct xorg.conf for that device !?

Thanks !

leon22

GrapefruiTgirl 05-13-2008 10:34 AM

Very basically (to use only ONE of the two monitors):

1) Have a 'Monitor' section for each monitor, so that you can specify which to use. Let's say 'Monitor0' and 'Monitor1', where 'Monitor1' will be the external one for the sake of discussion. Configure each monitor section accordingly with the specs of the display (ie horiz & vert frequencies).

2) Have a 'Device' section for each of the ports on the video card (the internal port, plus the external VGA connector) so let's say 'Card0' and 'Card1'. The Device sections are otherwise identical.

3) In your 'Screen0' section, use the 'Monitor#' and 'Card#' identifiers that you associated with the external monitor and external VGA port, ie 'Monitor1' and 'Card1' in this discussion. Also add or put the desired resolution(s) you want to use on the external monitor, with the modes line, like so:

Modes "1912x1200" "1024x768" "800x600"

You may need to add another option somewhere, such as what type of monitor is connected if it is not recognized or is recognized incorrectly, to satisfy the ATI driver, but this is the basic idea.

Best of luck!

Sasha

leon22 05-13-2008 04:14 PM

Thank you, but I have already tested many of these xorg configurations but no one worked fine with my device !

Have anybody a worked xorg.conf for me !???

Thanks !

leon22

esteeven 05-13-2008 04:27 PM

Hello. I had a similar issue with my Dell D600. Try inputting this at the command line as user (with the external monitor plugged in) :

$ xrandr --output LVDS --off --below VGA-0 --auto

Please report back with your results. Good luck!!

GrapefruiTgirl 05-13-2008 04:45 PM

Is it possible that the video device you are using will not make a display of that resolution?

I Googled for "ATI R250 maximum resolution" and got a lot of threads about problems achieving displays larger than 1280x1024, and in some cases 1400x-something..

Sorry I can't help.

SVA

PS - Do let us know how you make out with esteevens suggestion above ;)

leon22 05-13-2008 05:06 PM

With

$ xrandr --output LVDS --off --below VGA-0 --auto

I have a signal on the ext TFT, but only with 800x600 ! (could you post your xorg.conf esteeven?! )


Thanks, leon22

Should I use ati instead of radeon driver ???!

esteeven 05-13-2008 05:10 PM

I am not at my D600 but I suggest you try the ati driver

leon22 05-13-2008 05:13 PM

esteeven, maybe it is possible to post your xorg.conf when you are on the d600 ?! (will try the ati driver)

greets leon22

esteeven 05-13-2008 05:15 PM

I will post it tomorrow afternoon ....... but it's a stock kubuntu xorg.conf so not sure you'll learn anything.
:D

leon22 05-13-2008 05:28 PM

OK, thank you !

leon22

biophysics 05-14-2008 01:50 PM

I think this the only line you need to add to the stock kubuntu xorg.conf file.

Virtual 2048 2048

Code:

Section "Files"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc105"
        Option                "XkbLayout"        "de"
        Option                "XkbOptions"        "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "ImPS/2"
        Option                "ZAxisMapping"                "4 5"
        Option                "Emulate3Buttons"        "true"
EndSection

Section "InputDevice"
        Identifier        "Synaptics Touchpad"
        Driver                "synaptics"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "auto-dev"
        Option                "HorizEdgeScroll"        "0"
EndSection

Section "InputDevice"
        Driver                "wacom"
        Identifier        "stylus"
        Option                "Device"        "/dev/input/wacom"
        Option                "Type"                "stylus"
        Option                "ForceDevice"        "ISDV4"                # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver                "wacom"
        Identifier        "eraser"
        Option                "Device"        "/dev/input/wacom"
        Option                "Type"                "eraser"
        Option                "ForceDevice"        "ISDV4"                # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver                "wacom"
        Identifier        "cursor"
        Option                "Device"        "/dev/input/wacom"
        Option                "Type"                "cursor"
        Option                "ForceDevice"        "ISDV4"                # Tablet PC ONLY
EndSection

Section "Device"
        Identifier        "ATI Technologies Inc Radeon R250 [Mobility FireGL 9000]"
        Driver                "ati"
        BusID                "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        Option                "DPMS"
        HorizSync        28-50
        VertRefresh        43-75
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "ATI Technologies Inc Radeon R250 [Mobility FireGL 9000]"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Modes                "1280x800"
Virtual                2048 2048
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"

# Uncomment if you have a wacom tablet
#        InputDevice    "stylus"        "SendCoreEvents"
#        InputDevice    "cursor"        "SendCoreEvents"
#        InputDevice    "eraser"        "SendCoreEvents"
        InputDevice        "Synaptics Touchpad"
EndSection



Then, xrandr -q

use xrandr to switch off both and reenable it .
Code:

xrandr --output LVDS --off --output VGA-0 --off && sleep 3 && xrandr --output VGA-0 --fb 1920x1200
Issue the above command in a single line.

leon22 05-15-2008 05:31 AM

Thank you for your suggestion !

The problem after inserting the virtual line is that I have 2048x2048 in a box on Laptop TFT and external TFT !

Your command did not correct the resolution to 1920x1200 (always have a signal on Laptop and ext TFT) !

Maybe some tiny failures in my actual xorg.conf ?!


Code:

Section "Files"
        RgbPath      "/usr/X11/lib/X11/rgb"
#        ModulePath  "/usr/X11/lib/modules"
        FontPath    "/usr/X11/lib/X11/fonts/TrueType/"
        FontPath    "/usr/X11/lib/X11/fonts/Type1/"
        FontPath    "/usr/X11/lib/X11/fonts/Type1/sun/"
        FontPath    "/usr/X11/lib/X11/fonts/F3bitmaps/"
        FontPath    "/usr/X11/lib/X11/fonts/misc/"
        FontPath    "/usr/X11/lib/X11/fonts/100dpi/"
        FontPath    "/usr/X11/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "Xst"
        Load  "dbe"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "bitstream"
        Load  "type1"
        Load  "dri"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
        Option      "XkbOptions" "altwin:super_win"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
    Identifier "Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "SHMConfig" "on"
EndSection

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen        "Screen0" 0 0
        InputDevice    "Mouse0" "SendCoreEvents"
        InputDevice    "TouchPad" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Monitor" # Laptop TFT
        Identifier  "Monitor0"
        VendorName  "QDS"
        ModelName    "6"
EndSection

Section "Monitor" # External TFT
        Identifier  "Monitor1"
        VendorName  "Samsung"
        Option            "DPMS"
        HorizSync    30-81
        VertRefresh  56-75

EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName  "Radeon R250 Lf [Radeon Mobility 9000 M9]"
        BusID      "PCI:1:0:0"
        Screen      0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1024x768" "800x600"
                Virtual  2048 2048
        EndSubSection
EndSection

Section "dri"
            Mode 0666
EndSection

When I used monitor1 -> same result ! I think the problem is that my card have a maximum resolution of 2048x2048 but it's not able to handle both screens (Laptop and TFT) !

The command unfurtunately don't switch the signal only to the external TFT !

Any further suggestion !?

Thank you !

leon22

leon22 05-16-2008 08:10 AM

It seems the problem is that the system don't recognize the external VGA-0 output !

Code:

xrandr | awk '/connected/ {print($1)}'
return only default

output of xrandr -q

Code:

Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1920 x 1200
default connected 1024x768+0+0 0mm x 0mm
  1024x768      303.0*
  960x720      303.0 
  960x600      303.0 
  928x696      303.0 
  896x672      303.0 
  840x525      303.0 
  832x624      303.0 
  800x600      303.0 
  800x512      303.0 
  720x480      303.0 
  700x525      303.0 
  640x512      303.0 
  640x480      303.0 
  1920x1200    303.0  # the virtual resolution

But I know Linux is able to recognize the other outputs (I have tested it with Ubuntu Live CD 8.04) ! (where is the default xorg.conf in the live cd system - not in /etc/X11/xorg.conf )

Any suggestions !?

Thank you !

Greets, leon22

leon22 05-29-2008 05:41 AM

Hi !

Here is the solution:

1) Install the newest Ubuntu (8.04)
2) xrand -q will show the connected VGA-0 monitor
3) adjust xorg.conf

relevant parts:

Code:

Section "Monitor"
        Identifier        "Configured Monitor"
EndSection

Section "Monitor"
        Identifier        "MonitorSamsung"
        DisplaySize          518 323
        HorizSync            30-81
        VertRefresh          56-75 # 56-
        Option                "DPMS"
        Option                "DDC" "false"
        ModeLine        "1024x512" 41.3 1024 1056 1160 1296 512 513 516 531
        ModeLine        "1280x800R" 71.0 1280 1328 1360 1440 800 803 809 823 +hsync -vsync
        ModeLine        "1440x1050" 126.2 1440 1536 1688 1936 1050 1051 1054 1087
        Modeline        "1920x1200" 154.0 1920 1968 2000 2080 1200 1203 1209 1235
        Option              "DPI" "96x96"
EndSection

Section "Screen"
        Identifier        "Default Screen"
#        Monitor                "Configured Monitor"
        Monitor                "MonitorSamsung"
        Device                "Configured Video Device"
        SubSection "Display"
                Depth        24
                Modes        "1920x1200" "1600x1024" "1280x800R" "1024x768" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Synaptics Touchpad"
EndSection

4) restart X (now login screen on both monitors)
5) login (TFT screen goes off and you get the xrandr auto resolution on the external screen)
6) maybe it's possible to install grandr and switch to 1920x1200@60 (3rd entry in the list - the first two don't work)

Hope I can help somebody with this description !

greets leon22


All times are GMT -5. The time now is 02:48 PM.