got a new monitor recently and have managed to put together an xorg.conf that displays to a laptop LCD (1024x768) and the external LCD (1680x1050). the associated xorg.conf modifications and dmesg are listed below and do not use MergedFB or Xinerama. the problem is that when i run my favorite WM, ion3, the external LCD only has one workspace associated with it so i can't cycle workspaces using Alt+<number>. cycling workspaces only works on the laptop LCD which has the usual "[ <date> <time || <load> ]" line at the bottom (unlike the external LCD).

have already tried making the exchange of Screen0 and Screen1 in the ServerLayout section but then i get "No screens found" when starting ion3. would be nice to cycle workspaces in both LCDs, but just doing this in the external LCD is good enough for now. am running ion-20070203 package.

there is some stuff about using MergedFB or Xinerama i've seen with regard to ion3 and multiple monitors, none of which pushes me towards a definitive solution. anyone familiar with this setup is welcome to make a suggestion on the best way to do this so i don't have to turn knobs ad nauseum. thx to everybody who posted useful stuff about gtf, etc, that i've already gleaned from the archives.

cheers,
jake

dmesg:

OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1400MHz ("GenuineIntel" 686-class) 1.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 536104960 (523540K)
avail mem = 481464320 (470180K)
using 4278 buffers containing 26927104 bytes (26296K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 01/26/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf8c90 (62 entries)
bios0: Dell Computer Corporation Latitude D600
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc580/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371 ISA and IDE" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0x10000
acpi at mainbus0 not configured
cpu0 at mainbus0
cpu0: Enhanced SpeedStep 1400 MHz (1484 mV): speeds: 1400, 1200, 1000, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855PE Hub" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82855PE AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M9 Lf" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5705M" rev 0x01, BCM5705 A1 (0x3001): irq 11, address 00:11:43:3c:06:5b
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 1
cbb0 at pci2 dev 1 function 0 "O2 Micro OZ711EC1 SmartCardBus" rev 0x20: irq 11 cbb1 at pci2 dev 1 function 1 "O2 Micro OZ711EC1 SmartCardBus" rev 0x20: irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4032GAX>
wd0: 16-sector PIO, LBA48, 38154MB, 78140160 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
cd0 at scsibus0 targ 0 lun 0: <TEAC, DVD-ROM DV-28E-C, D.4B> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11, ICH4 AC97
ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
"Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
"O2Micro, SmartCardBus Reader, V1.0" at pcmcia1 function 0 not configured
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
uhub4 at uhub0 port 1
uhub4: PI Engineering Kinesis Keyboard Hub, rev 1.10/3.20, addr 2
uhub4: 4 ports with 2 removable, bus powered
uhidev0 at uhub4 port 2 configuration 1 interface 0
uhidev0: P.I. Engineering product 0x0007, rev 1.10/3.20, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub4 port 2 configuration 1 interface 1
uhidev1: P.I. Engineering product 0x0007, rev 1.10/3.20, addr 3, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub4 port 3 configuration 1 interface 0
uhidev2: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 4, iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0

xorg.conf:

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

Section "Monitor"
 Identifier   "Monitor1"
 VendorName   "Acer"
 ModelName    "2216W"
 HorizSync    31.5 - 79.0
 VertRefresh  50.0 - 70.0
 # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
ModeLine "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
 # 1680x1050 @ 70.00 Hz (GTF) hsync: 76.51 kHz; pclk: 173.83 MHz
#ModeLine "1680x1050" 173.83 1680 1792 1976 2272 1050 1051 1054 1093 -HSync +Vsync
 # 1680x1050 @ 74.00 Hz (GTF) hsync: 81.10 kHz; pclk: 184.27 MHz
#ModeLine "1680x1050" 184.27 1680 1792 1976 2272 1050 1051 1054 1096 -HSync +Vsync
 Option      "dpms"
EndSection

Section "Device"
 Identifier "Videocard0"
 Driver "radeon"
 VendorName "Videocard vendor"
 BoardName "ATI Radeon Mobility M9"
 Option "AGPMode" "4"
 BusID "PCI:01:00:0"
 Screen 0
EndSection

Section "Device"
 Identifier "Videocard1"
 Driver "radeon"
 VendorName "Videocard Vendor"
 BoardName "ATI Radeon Mobility M9"
 BusID "1:0:0"
 Option "AGPMode" "4"
 BusID "PCI:01:00:0"
 Screen 1
EndSection

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

Section "Screen"
 Identifier "Screen1"
 Device     "Videocard1"
 Monitor    "Monitor1"
 DefaultDepth     24
 SubSection "Display"
     Viewport   0 0
     Depth     24
     Modes    "1680x1050" "1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier     "Multihead Layout"
 Screen 0 "Screen0" 0 0
 Screen 1 "Screen1" RightOf "Screen0"
 InputDevice    "Mouse1" "CorePointer"
 #InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

--

Reply via email to