LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 06-01-2004, 04:29 PM   #1
wswartz
Member
 
Registered: Nov 2003
Posts: 56

Rep: Reputation: 15
Need help with my xorg.conf


Just loaded FC2 on my IBM T30. Finally got the guts to blow away my WinXP partition which I've only booted to 4 times in the last 6 months!

Several minor issues with the new OS though. First is with my video/mouse setup. I'd like to use my laptop's LCD display when on the road, but when in the office, I have a port replicator with a regular monitor and mouse. The LCD and touchpad work but when I'm docked, the monitor wiggs out and I can use it. I played around with my xorg.conf and was able to get a configuration that works for docked and one for undocked but how can I make it seamless? Before, with my FC1 install, I simply came in the office and plugged in. I've never seen an X configuration file before today.

Here is my xorg config as it stands now. Any help would be great.

BS

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
# Screen 0 "Screen0" 0 0 #<== for use with LCD
Screen 1 "Screen1" 0 0 #<== for use with external monitor
# InputDevice "Mouse1" "CorePointer" #<== for laptop touchpad
InputDevice "Mouse0" "CorePointer" #<== for external mouse
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is 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.
# 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.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
Load "synaptics"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "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:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
# Option "Device" "/dev/psaux"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "synaptics"
# Option "Device" "/dev/psaux"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Dell"
ModelName "D1025HT"
HorizSync 30.0 - 85.0
VertRefresh 48.0 - 150.0
# Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility 7500"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 12-21-2004, 08:05 AM   #2
emel
LQ Newbie
 
Registered: Feb 2004
Distribution: RH 9 and Fedora Core 3
Posts: 3

Rep: Reputation: 0
What ever happened with your xrog.conf?

I have a similar problem with my Dell Latitude:
NeoMagic MagicGraph256AV
Dell 1024x768 LCD Panel
Daewoo CMC1703B CRT

I use the laptop as my main computer - LCD when I'm out of the office, docking station with CRT, network, power, real keyboard, trackball, etc etc when I'm in.

Fedora FC3 looks great on the LCD, but the CRT is all jittery and sawtoothed, probably a sync problem. I've started working through the obscurely documented xorg.conf configuration. I suspect that I need monitor0 and monitor1 much like yours The monitor/screen/device sections of my xorg.conf:

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Daewoo CMC-1703B"
DisplaySize 330 240
HorizSync 30.0 - 64.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "neomagic"
VendorName "Videocard vendor"
BoardName "NeoMagic MagicMedia 256AV (laptop/notebook)"
Option "externDisp" ""
Option "internDisp" ""
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection



Unfortunately, I have to sneak Linux puzzles like this in as 'hobby time' around grad school and real, paid, consulting gigs, so it could take a while for me to get it working.

I suspect that I can fix the problem by configuring xorg.conf. The graphical config utility bundled with FC3 doesn't seem to address the problem of docked and undocked configurations. So, I'll appreciate suggestions on how to get this to work.

Thanks!
 
Old 12-22-2004, 12:34 PM   #3
emel
LQ Newbie
 
Registered: Feb 2004
Distribution: RH 9 and Fedora Core 3
Posts: 3

Rep: Reputation: 0
Eureka!

Sort of.

After a good bit of googling, I suspected that having internDisp and externDisp might make it try to run the LCD and the CRT at the same time, and fail. That seemed consistent with the CRT monitor showing that it was running at a very low refresh rate (using the little buttons on the CRT bezel). So, I commented out the internDisp option in my xorg.conf:

Section "Device"
Identifier "Videocard0"
Driver "neomagic"
VendorName "Videocard vendor"
BoardName "NeoMagic MagicMedia 256AV+ (laptop/notebook)"
Option "externDisp" ""
# Option "internDisp" ""
EndSection

Rebooted in the docking station. Got a crisp, clear display. No wiggles. No sawtooths.

Shut down. Undocked. Rebooted. Lots of disk activity. No display on the LCD. Hit fn-f8. Fedora boot sequence pops up on the LCD. I lost the display a few more times during boot, but fn-f8 brought it back for good once I had completed the boot.

Shut down again. Back in the dock. Booted up. Display still worked.

We'll see how it behaves when I hook it up to a projector sometime.

So, a bit inelegant, but functional. Also got the NTFS RPM installed so that I can see my Windows files from Linux. Life is good.
 
Old 12-26-2004, 08:38 PM   #4
wswartz
Member
 
Registered: Nov 2003
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the reply. After receiving no response from this and another site I posted this question on back in June, I went back to using FC1. I've got some down time here for the holidays and I downloaded FC3 and was thinking of an upgrade. Then again, boy, my FC1 sure works great...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf Talen04 SUSE / openSUSE 3 05-18-2005 05:58 AM
xorg.conf Duo Slackware 4 01-07-2005 08:57 PM
xorg.conf jcombs_31 Slackware 1 01-07-2005 03:07 PM
Where is xorg.conf? Royle Linux - General 5 11-07-2004 03:40 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration