On Fri, Mar 27, 2009 at 5:38 AM, Kamil Monticolo
<k.montic...@gadu-gadu.pl>wrote:

> Hi folks.
> I have 4.5 GENERIC.MP on my machine and I'd like to have it dual-head.
> My dmesg is at the bottom, if you want more information or output, I'll
> give that.
> I tried to setup new xorg.conf with two screens but without any luck.
> I also googled for any idea, but it also fails.
> It works on linux with modified config, but I don't want it on my machines.
> Every idea or question is welcome. Thanks.


Someone already mentioned xrandr . . .

Well, I just finished setting up a dual head set-up using xrandr. Below is
my xorg.conf (which was a slight variation of the generic one provided by *X
-configure*). I also consulted
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2and it's manpage for basic
commands.

I'm still practicing moving around in such an environment, but it works and,
given this is my first dual head set-up/configuration, it was quite
painless.

Good Luck!

 1 Section "ServerLayout"
  2         Identifier     "X.org Configured"
  3         Screen      0  "Screen0" 0 0
  4         InputDevice    "Mouse0" "CorePointer"
  5         InputDevice    "Keyboard0" "CoreKeyboard"
  6 EndSection
  7
  8 Section "Files"
  9         ModulePath   "/usr/X11R6/lib/modules"
 10         FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
 11         FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
 12         FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
 13         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
 14         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
 15         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
 16 EndSection
 17
 18 Section "Module"
 19         Load  "GLcore"
 20         Load  "dbe"
 21         Load  "dri"
 22         Load  "extmod"
 23         Load  "glx"
 24         Load  "record"
 25         Load  "xtrap"
 26         Load  "freetype"
 27         Load  "type1"
 28 EndSection
 29
 30 Section "InputDevice"
 31         Identifier  "Keyboard0"
 32         Driver      "kbd"
 33 EndSection
 34
 35 Section "InputDevice"
 36         Identifier  "Mouse0"
 37         Driver      "mouse"
 38         Option      "Protocol" "wsmouse"
 39         Option      "Device" "/dev/wsmouse"
 40         Option      "ZAxisMapping" "4 5 6 7"
 41 EndSection
 42
 43 Section "Monitor"
 44         Identifier   "Monitor0"
 45         VendorName   "Lenove"
 46         ModelName    "T400"
 47 EndSection
 48
 49 Section "Monitor"
 50         Identifier   "Monitor1"
 51         VendorName   "LG"
 52         ModelName    "Flatron"
 53         Option       "DPMS"
 54 EndSection
 55
 56 Section "Device"
 57         ### Available Driver options are:-
 58         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
 59         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
 60         ### [arg]: arg optional
 61         #Option     "NoAccel"                   # [ 67
#Option     "NoDDC"                     # [<bool>]
 68         #Option     "ShowCache"                 # [<bool>]
 69         #Option     "XvMCSurfaces"              # <i>
 70         #Option     "PageFlip"                  # [<bool>]
 71         Identifier  "Card0"
 72         Driver      "intel"
 73         VendorName  "Intel"
 74         BoardName   "GM45 Video"
 75         BusID       "PCI:0:2:0"
 76         Option      "monitor-T400" "Monitor0"
 77         Option      "monitor-LG"   "Monitor1"
 78 EndSection
 79
 80 Section "Screen"
 81         Identifier "Screen0"
 82         Device     "Card0"
 83         #Monitor    "Monitor0"
 84         SubSection "Display"
 85                 Viewport   0 0
 86                 Depth     1
 87         EndSubSection
 88         SubSection "Display"
 89                 Viewport   0 0
 90                 Depth     4
 91         EndSubSection
 92         SubSection "Display"
 93                 Viewport   0 0
 94                 Depth     8
 95         EndSubSection
 96         SubSection "Display"
 97                 Viewport   0 0
 98                 Depth     15
 99         EndSubSection
100         SubSection "Display"
101                 Viewport   0 0
102                 Depth     16
103         EndSubSection
104         SubSection "Display"
105                 Virtual   2880 900
106                 Viewport   0 0
107                 Depth     24
108         EndSubSection
109 EndSection


>
> OpenBSD 4.5-beta (GENERIC.MP) #63: Tue Feb 10 07:57:12 MST 2009
>    t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Pentium(R) D CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,
> SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
> real mem  = 2146988032 (2047MB)
> avail mem = 2067771392 (1971MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 11/08/05, BIOS32 rev. 0 @ 0xfac20,
> SMBIOS rev. 2.3 @ 0xf0100 (39 entries)
> bios0: vendor Award Software International, Inc. version "F6" date
> 11/08/2005
> bios0: Gigabyte Technology Co., Ltd. 8I945GMF
> acpi0 at bios0: rev 0
> acpi0: tables DSDT FACP MCFG APIC
> acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5)
> HUB0(S5) USB0(S1) USB1(S1) USB2(S1) USB3(S1) USBE
> (S1) AC97(S5) MC97(S5) AZAL(S5) PCI0(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Pentium(R) D CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
> cpu1:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,
> SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (PEX0)
> acpiprt2 at acpi0: bus 3 (PEX1)
> acpiprt3 at acpi0: bus -1 (PEX2)
> acpiprt4 at acpi0: bus -1 (PEX3)
> acpiprt5 at acpi0: bus -1 (PEX4)
> acpiprt6 at acpi0: bus -1 (PEX5)
> acpiprt7 at acpi0: bus 4 (HUB0)
> acpicpu0 at acpi0
> acpicpu1 at acpi0
> acpibtn0 at acpi0: PWRB
> bios0: ROM list: 0xc0000/0xda00
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
> ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 2 int 16
> (irq 12)
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 7300 GT" rev 0xa1
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: apic 2
> int 16 (irq 12)
> azalia0: RIRB time out
> azalia0: codecs: Realtek ALC882
> audio0 at azalia0
> ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 int 16
> (irq 12)
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 2 int 17
> (irq 10)
> pci3 at ppb2 bus 3
> mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x19, Yukon-2 EC
> rev. A2 (0x1): apic 2 int 17 (irq 10)
> msk0 at mskc0 port A: address 00:14:85:e3:0f:c7
> eephy0 at msk0 phy 0: 88E1111 Gigabit PHY, rev. 2
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23
> (irq 5)
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19
> (irq 11)
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18
> (irq 9)
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16
> (irq 12)
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23
> (irq 5)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
> pci4 at ppb3 bus 4
> "TI TSB43AB23 FireWire" rev 0x00 at pci4 dev 7 function 0 not configured
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM
> disabled
> pciide0 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA,
> channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <WDC WD5001ABYS-01YNA0>
> wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets, initiator 7
> cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, DVD-ROM SH-D162C, TS03> ATAPI
> 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2
> int 19 (irq 11)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-4200CL5
> spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-4200CL5
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2
> int 19 (irq 11)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-4200CL5
> spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-4200CL5
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> it0 at isa0 port 0x2e/2: IT8712F rev 7, EC port 0x290
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> mtrr: Pentium Pro MTRR support
> uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech USB Optical
> Mouse" rev 2.00/43.01 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhub5 at uhub4 port 2 "ALCOR Generic USB Hub" rev 1.10/3.12 addr 3
> uhidev1 at uhub5 port 4 configuration 1 interface 0 " USB Keyboard" rev
> 1.10/3.10 addr 4
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev2 at uhub5 port 4 configuration 1 interface 1 " USB Keyboard" rev
> 1.10/3.10 addr 4
> uhidev2: iclass 3/0, 2 report ids
> uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0
> uhid1 at uhidev2 reportid 2: input=3, output=0, feature=0
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b
>
> --
> Kamil Monticolo
>
>


-- 
www.nealhogan.net          www.lambdaserver.com

Reply via email to