LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-12-2003, 09:19 PM   #16
healfdeane
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Check, check, and check...


OK, I have now made all the changes in pico (I am assuming I can just type them in as long as they are lined up) and the screen is waiting. This time I am just going to leave it on untill I am ready for the next step because I tried both the reboot options you suggested but it still did the same thing, so I had to reinstall it anyway. (I needed the practice!) So what is the next step? Copy the file to /etc/X11/XF86Config?

Yes, I do have dial-up and I have CompuServe however I think I have narrowed it down to Earthlink, Patriot, and NetZero, but I have a feeling my USB modem is not going to play in the sand box very well.

Actually shep, I had decided today to hunt down the local used book stores to see what I could find. I thought that since Red Hat was a well known distro that it would have more documentation with it (I guess in a way that is one thing Windows and Linux, or at least Red Hat Linux, have in common) but I can't find much on the disk or the paper manual.

Last edited by healfdeane; 09-12-2003 at 09:30 PM.
 
Old 09-14-2003, 02:03 AM   #17
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Some USB modems work... whew, okay, X first. Since you re-installed, I take it you got X working right on 1 head? First lets avoid a mistake I asked you to make the first time and backup the X file RH created for you.

cp /etc/X11/XF86Config /root/XF86Config.stable

now take the new and hacked up one over:

cp /root/XF86Config.net /etc/X11/XF86Config

You'll have to restart X to see if it worked.

Now, the modem, let's see if it got recognized, give me a good solid chunk of "dmesg", just type it in on a Konsole and it'll splatter goop all accross the screen, if the usb modem driver loaded and bound right, it'll be near the bottom... or...

/sbin/lsusb

Or... just type:

/sbin/lsmod

and see if the module "acm" is loaded. There's a USB modem standard which a lot of them conform to, this is the only type of usb modem supported by the kernel. If it isn't loaded, try loading it:

/sbin/modprobe acm

If it loads (it'll hork errors if it doesn't), check the end of "dmesg" for what you see... Most of it will be gobbledy gook, but you're looking for some along the lines of a /dev/stty0 or somesuch.

Cheers,

Finegan
 
Old 09-20-2003, 02:59 PM   #18
allofitsik
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Rep: Reputation: 0
I hope you guys dont mind me posting on this thread.

strange things are going on in the world...

I might not be considered a newbie to linux, however, I am by no means any sort of advanced user. I have RH9 running on a laptop with an ATI Radeon M9 card. I want to be able to use the dual head capability of the card. I have spent A LOT of time trying to figure this out and I finally have it to the point where there are two screens that the desktop displays. however, i get a duplication of the first screen on the second. in other words... I have the same thing on both screens, but I am two screens wide. that is probably the best i can explain it. when something is only on the second screen it disappears into the background unless i alt-tab it or <move> it. this means i dont have any desktop icons. if you guys think you could help me out... or point me in a direction where to go, i would be ecstatic. thx.

i have posted my XF86Config file(s) at this address:
http://www.engr.ucsb.edu/~wcsmith/X11/
XF86Config is the one I am currently testing and *.dual is its previous version.

Last edited by allofitsik; 09-20-2003 at 03:14 PM.
 
Old 09-20-2003, 06:51 PM   #19
allofitsik
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Rep: Reputation: 0
okay, so i got it working... although i dont think any one read the original post yet... if anyway wants to see how to get the RADEON M9 working on a laptop with dual heads... you can check the link above... i found on an unrelated thread on an unrelated site that setting the videoram is a bad thing to do with xinerama. so i am now using the exact same config files as before with just the videoram lines (both) commented out.

hope some poor soul finds this as useful as i did. ta.
 
Old 09-26-2003, 11:42 AM   #20
Neomaster
Member
 
Registered: May 2003
Location: Digital world
Posts: 113

Rep: Reputation: 15
I have the Matrox G450 i download the 2 drivers they had.I just someone lost littie.
 
Old 09-29-2003, 01:13 PM   #21
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Ok guys n galz,

I'm now having to return to the "dual head" problem.
I'm using Slack9. The system is the same one I'd used SuSE8.0 on for about 1 yr. I had the dual heads working just fine with it.

I've gone thru the xinerama pages time and again. I've been thru these message boards time and again reading all the different problems.
I'me having the exact same problems and no matter what I try it doesn't seem to work.
Below is the xf86config file. I've used one of the examples posted and plugged in my specific info as needed.
*******************************
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
# This loads the GLX module
# Load "glx"
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/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "ServerFlags"
Option "Xinerama" "true"
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 "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5-50
VertRefresh 50-90
EndSection

Section "Monitor"
Identifier "My Monitor2"
HorizSync 31.5 - 50
VertRefresh 50-90
EndSection

# Video Card , Matrox G450 Dual Head
Section "Device"
Identifier "Matrox"
Driver "mga"
VideoRam 4192
EndSection

Section "Screen"
Identifier "Screen 1"
Device "Matrox"
Monitor "My Monitor"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1024x768/60Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen 2"
Device "Matrox"
Monitor "My Monitor2"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1024x768/60Hz" "800x600" "640x480"
Virtual 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
Screen "Screen 2" Rightof "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
**********************************

Im confused about the following:
1) Virtual 0 0 (as set up by X itself upon Slack Install) vs. ViewPort 0 0???
2) The reference from the "My Monitor" to "Matrox" vs "My Monitor2" to "Matrox"???
3) Both monitors are exactly identical.

With this config, I can still startx fine, but only with one display.
Any ideas? or need more info?

Tnx

L8rz
 
Old 09-29-2003, 02:09 PM   #22
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
There's only one card declaration, here's one of my old G550 files:

Code:
Section "ServerLayout"
        Identifier     "Matrox PowerDesk configured."
        Screen      0  "Display Merged" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "xinerama" "on"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        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/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"
        Identifier   "Display 1"
        VendorName   "MAG"
        ModelName    "986FS"
        HorizSync    30.0 - 86.0
        VertRefresh  50.0 - 160.0
        ModeLine     "1280x1024@60Hz:0" 108.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
        Option       "DPMS"
EndSection

Section "Monitor"
        Identifier   "Display 2"
        VendorName   "GWY"
        ModelName    "1b5b"
        HorizSync    31.0 - 69.0
        VertRefresh  50.0 - 160.0
        ModeLine     "1280x1024@75Hz:1" 135.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
        Option       "DPMS"
EndSection

Section "Monitor"
        Identifier   "Display Merged"
        VendorName   "GWY"
        ModelName    "1b5b"
        HorizSync    31.0 - 69.0
        VertRefresh  50.0 - 160.0
        ModeLine     "1280x1024@60Hz:0" 108.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
        Identifier  "MATROX CARD 1"
        Driver      "mga"
        VendorName  "Matrox"
        BoardName   "MGA G550 AGP"
        Option      "hw cursor" "off"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "MATROX CARD 2"
        Driver      "mga"
        VendorName  "Matrox"
        BoardName   "MGA G550 AGP"
        Option      "hw cursor" "off"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection

Section "Screen"
        Identifier "Display 1"
        Device     "MATROX CARD 1"
        Monitor    "Display 1"
        DefaultDepth     24
        DefaultFbBPP     32
        SubSection "Display"
                Depth     16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1280x1024"
        EndSubSection
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1280x1024"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Display 2"
        Device     "MATROX CARD 2"
        Monitor    "Display 2"
        DefaultDepth     24
        DefaultFbBPP     32
        SubSection "Display"
                Depth     16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1280x1024"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Display Merged"
        Device     "MATROX CARD 1"
        Monitor    "Display Merged"
        DefaultDepth     24
        DefaultFbBPP     32
        Option      "Monitor2Position" "RightOf"
        Option      "MergedFB"
        Option      "MetaModes" "1280x1024-1280x1024 1280x1024 "
        Option      "Monitor2HSync" "31.0-69.0 "
        SubSection "Display"
                Virtual   2560 1024
                Depth     24
                Modes    "1280x1024"
        EndSubSection
EndSection
That's set up for merged framebuffering, but the idea is the same, each card declaration has to have a screen declaration and a monitor declaration, so the beginning of your XF log when it maps cards to monitors should have something like this:

Code:
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20 i686 [ELF]
Build Date: 01 March 2003
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep 23 17:30:46 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "Monitor1"
(**) |   |-->Device "Card1"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
which is just X parsing the XF86Config file, long before whether it succeeds or fails to do what you told it to.

Offhand, the above XF86Config was created by MGApdesk, using the Matrox drivers, which makes for much better DRI with one head and a much snappier X over two.

Cheers,

Finegan
 
Old 09-30-2003, 07:09 AM   #23
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Tnx Finegan. I used your example but came across a glitch still. I'm attempting two ways at once. Manually, and trying to get the mgapdesk proggie to work.
I used the mgadesk with SuSE8.0 and it worked like a charm.
I can't get it to compile d/t dependencies such as:
*****************
root@tut:/# rpm -ivh ./mgapdesk-1_00-7beta_i386.rpm
error: failed dependencies:
ld-linux.so.2
libc.so.6
libdl.so.2
libgdk-1.2.so.0
libglib-1.2.so.0
libgmodule-1.2.so.0
libgtk-1.2.so.0
libm.so.6
libX11.so.6
libXext.so.6
libXi.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.0)
*************************
I'm running Slack9. Full install. I would have thought that Slack9 already had these libs. plz correct me if I'm wrong.

I'm going back to the manual way for now to see what exactly I can pick apart. Will post as necessary.

Tnx alot for your help.

L8rz
 
Old 09-30-2003, 10:42 AM   #24
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Ok. Here is the XF86Config file i'm currently working on.
**************************
Section "ServerLayout"
Identifier "Matrox Manual Configuration."
Screen 0 "Display Merged" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "xinerama" "on"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
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/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "Display 1"
VendorName "SAMTRON"
ModelName "77V"
HorizSync 31.5-50
VertRefresh 40.0 - 90.0
# ModeLine "1280x1024@60Hz:0" 108.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Display 2"
VendorName "SAMTRON"
ModelName "77V"
HorizSync 31.5 - 50
VertRefresh 40.0 - 90.0
# ModeLine "1280x1024@75Hz:1" 135.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Display Merged"
VendorName "SAMTRON"
ModelName "77V"
HorizSync 31.50 - 50.0
VertRefresh 40.0 - 90.0
# ModeLine "1280x1024@60Hz:0" 108.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
Identifier "Matrox Card 1"
Driver "mga"
VendorName "Matrox"
BoardName "MGA G450 AGP"
Option "hw cursor" "off"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Matrox Card 2"
Driver "mga"
VendorName "Matrox"
BoardName "MGA G450 AGP"
Option "hw cursor" "off"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Display 1"
Device "Matrox Card 1"
Monitor "Display 1"
DefaultDepth 24
DefaultFbBPP 32
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "Screen"
Identifier "Display 2"
Device "Matrox Card 2"
Monitor "Display 2"
DefaultDepth 24
DefaultFbBPP 32
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "Screen"
Identifier "Display Merged"
Device "Matrox Card 1"
Monitor "Display Merged"
DefaultDepth 24
DefaultFbBPP 32
Option "Monitor2Position" "RightOf"
Option "MergedFB"
Option "MetaModes" "1280x1024-1280x1024 1280x1024 "
Option "Monitor2HSync" "31.0-69.0 "
SubSection "Display"
Virtual 2560 1024
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
**********************
I ran:
XFree86 -xf86config /etc/X11/XF86Config.newest
It will start up the base X with the greyish grid w/mouse support. But only 1 screen.
After I Ctrl & Alt & BKspc to kill the X, it says:
-------------
(++) Using config file: "/etc/X11/XF86Config.newest"
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(EE) MGA(0): "Merged Framebuffer" mode only supported on G450 and G500 boards.
(EE) MGA(0): [drm] DRIScreenInit failed. Disabling DRI.
-------------

Ideas?

Tnx.

L8rz
 
Old 09-30-2003, 02:24 PM   #25
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
You're still using the modules from XFree86, there's one from Matrox that are kinda required for some of these options to work:

http://www.matrox.com/mga/support/dr...les/lnx_30.cfm

this file:

mgadrivers-3.0.tgz

For Mgapdesk, grab the source tarball:

mgapdesk-1_00-7beta_src.tgz
tar xvzf mgapdesk-1_00-7mgapdesk-1_00-7beta_src.tgz
cd mgapdesk-1_00-7beta_src
./autogen.sh

yeah... autogen.sh, not ./configure, weird eh?

anyway;

make && make install

Then you should have a /usr/X11/bin/mgapdesk that'll do nearly as good a job at creating a whopping XF file as its Nvidia counterpart.

Cheers,

Finegan
 
Old 10-02-2003, 09:28 AM   #26
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Dude,

You rok! I had already dl'd the mgadrivers. When I had dl'd the mgapdesk, I tried the rpm and src.
First the rpm, but that said I had a dependency problem... go figure.
So I dl'd the src and same problem... until I used the ./autogeh.sh.

I should have guessed that before... same as glade projects. Don't know why I didn't try it.

Anywho, tnx alot for ur time && help. It's all up and running now.

L8rz
 
Old 10-02-2003, 10:55 PM   #27
chipset815
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Dear__ friend....
I would_ greatly_ appreciate any help anyone
can give me with my XF86Config,
I am run_ RedHat_ Linux_ 9.0,,
and have something wrong with message,,,
as follow_ my system information.
_
Master_ Onboard:CLE266__vga______
Slave__ PCI Card:ATI Radeon__ M6
Dual display_ *2
_
_
when startx_ xwindow,,,but cann't into xwindows.
and appear error...as follow....
_
<EE>_ RADEON <I>_:cannot read V_BIOS
<EE>_ RADEON <I>: NOvalid_ Mode_ found for CRTC2__ Clone
VIAScreenInit:V4L__ Enable :FD2=9
....
.
..,,if_ I_ test single_ screen,,it 's_ok.(ati & cle266 vga),
but__run dual_ display_ has fail,so, i hope anyone can give me
with solution. tks..
_
My XFree86Config_ Configure_ as follow:

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" LeftOf "Screen0"

# The Xinerama option allows one desktop across
# multiple screens.

Option "Xinerama" "on"

InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
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"
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 "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Generic Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection


Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Generic Non-Interlaced SVGA,800x600 @ 72 Hz"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection





Section "Device"
Identifier "Videocard0"
Driver "via"
VendorName "via"
BoardName "via"
VideoRam 65536
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "redeon"
VendorName "ati
BoardName "ati
VideoRam 16000
BusID "PCI::19:0"
EndSection

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


Section "Screen"
Identifier "Screen1
Device "Videocard1
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
EndSection


Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 10-03-2003, 12:05 AM   #28
chipset815
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Dear__ friend....
I would_ greatly_ appreciate any help anyone
can give me with my XF86Config,
I am run_ RedHat_ Linux_ 9.0,,
and have something wrong with message,,,
as follow_ my system information.
_
Master_ Onboard:CLE266__vga______
Slave__ PCI Card:ATI Radeon__ M6
Dual display_ *2
_
_
when startx_ xwindow,,,but cann't into xwindows.
and appear error...as follow....
_
<EE>_ RADEON <I>_:cannot read V_BIOS
<EE>_ RADEON <I>: NOvalid_ Mode_ found for CRTC2__ Clone
VIAScreenInit:V4L__ Enable :FD2=9
....
.
..,,if_ I_ test single_ screen,,it 's_ok.(ati & cle266 vga),
but__run dual_ display_ has fail,so, i hope anyone can give me
with solution. tks..
_
My XFree86Config_ Configure_ as follow:

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" LeftOf "Screen0"

# The Xinerama option allows one desktop across
# multiple screens.

Option "Xinerama" "on"

InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
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"
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 "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Generic Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection


Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Generic Non-Interlaced SVGA,800x600 @ 72 Hz"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection





Section "Device"
Identifier "Videocard0"
Driver "via"
VendorName "via"
BoardName "via"
VideoRam 65536
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "redeon"
VendorName "ati
BoardName "ati
VideoRam 16000
BusID "PCI::19:0"
EndSection

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


Section "Screen"
Identifier "Screen1
Device "Videocard1
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
EndSection


Section "DRI"
Group 0
Mode 0666
EndSection




my email as follow :william_peng@protech.com.tw
 
Old 01-24-2004, 10:10 AM   #29
leemoreau
Member
 
Registered: Jan 2004
Posts: 48

Rep: Reputation: 15
I was having the same problem and just read through this post and solved it in 5 minutes, both monitors now work. You guys are great and so helpful.
 
Old 04-06-2004, 10:16 PM   #30
oddiofile
Member
 
Registered: Sep 2003
Location: Victoria, BC
Distribution: Kubuntu
Posts: 45

Rep: Reputation: 15
DualHead G550 on Knoppix

I was trying to follow some of these instructions, but I am a little confused.

I'm using Knoppix 3.3, a Debian Distro.

Tt is currently displaying the same contents on both screens, so I assume that means the driver is working, right?

I have a couple of questions then -

First, what is the relationship between XF86Config-4 and XF86Config?
If I edit one, does that affect the other? They seem to have some
common sections. Does one of the files
"override" the other?

Second question - I did an X -configure and it created an XF86Config.new
file, but it only generated information about screen0, card0, and monitor0 -
It correctly detected my card as a Matrox G550 though - it just it didn't seem to detect a second screen or monitor. Am I supposed to cut'n' paste and create my own entries for XF86Config for Screen1 and Monitor1?
 
  


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
default monitor on nvidia / dual monitor setup fenderog SUSE / openSUSE 3 05-01-2009 05:36 PM
need help with dual monitor setup babag Mandriva 7 12-14-2005 10:52 AM
Dual Monitor Setup enemy_z Linux - Hardware 16 11-16-2005 10:20 PM
dual monitor setup CuriouserAndCur Linux - Hardware 3 10-25-2004 02:39 PM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:23 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