Lenovo Thinkpad T43p won't do external VGA output properly

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Lenovo Thinkpad T43p won't do external VGA output properly

Jonathan Thornburg
Hi,

I'm running OpenBSD 3.9-stable on a Lenovo (formerly IBM) Thinkpad T43p.
X (X.org 6.9.0) works fine either
(a) without any /etc/X11/xorg.conf, or
(b) using the /etc/X11/xorg.conf from http://www.enting.se/T43/xorg.conf
   (which is linked from the T43 entry in
     http://www.openbsd.org/i386-laptop.html).
All the behavior I describe below is identical for (a) and (b).

The built-in LCD display works fine at 1600x1200.
My problem is that I can't get external video output properly.  There
seem to be two cases (neither one of which fits my definition of "properly"):
* If, in the BIOS setup, I set "Boot Display Device" to "LCD", then
  I can get 1600x1200 VGA output when booting and before I start X,
  but I get no external video output at all once I start X.
* If, in the BIOS setup, I set "Boot Display Device" to "VGA+LCD" or
  "VGA+DVI+LCD", then I get no external video output when booting and
  before I start X, but when I start X I get only 640x480 resolution
  (and matching external video output).

Does anyone know how to get a T43p to simultaneously
* run X,
* use a decent screen resolution (minimum 1024x768, prefer 1280x1024
  and/or 1600x1200)
* send this video to the external VGA connector so I can display things
  on a video projector

Here are my dmesg and the /etc/X11/xorg.conf from (b) above:

=== begin dmesg ===
OpenBSD 3.9-stable (GENERIC) #9: Tue Jan  9 16:30:11 CET 2007
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 2.13GHz ("GenuineIntel" 686-class) 2.13 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 1600 MHz (1356 mV): speeds: 2130, 1800, 1600, 1400, 1200, 1000, 800, 600 MHz
real mem  = 2145886208 (2095592K)
avail mem = 1951961088 (1906212K)
using 4278 buffers containing 107397120 bytes (104880K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(8d) BIOS, date 09/15/05, BIOS32 rev. 0 @ 0xfd760
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 97%
apm0: AC on, battery charge high
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0x10000 0xd0000/0x1600 0xd1800/0x1000 0xdc000/0x4000! 0xe0000/0x10000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI FireGL V3200" rev 0x80
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:01:6c:e9:50:d0
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
pci4 at ppb3 bus 4
cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
ath0 at pci4 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11
ath0: AR5213 5.9 phy 4.3 rf5112 3.6, WOR2W, address 00:14:a4:5c:7f:a5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 11, ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
"Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <HTS721010G9AT00>
wd0: 16-sector PIO, LBA, 95396MB, 195371568 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: <MATSHITA, DVD-RAM UJ-822S, 1.61> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11
iic0 at ichiic0
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
lpt2 at isa0 port 0x3bc/4: polled
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask efed netmask efed ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
=== end dmesg ===

=== begin /etc/X11/xorg.conf ===
# $Id: xorg.conf,v 1.1 2006/02/10 12:37:54 root Exp root $

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

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/mscorefonts"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option    "XkbRules" "xorg"
        Option    "XkbModel" "thinkpad"
## Option    "XkbLayout" "se"
## Option    "XkbOptions" "ctrl:ctrl_aa,eurosign:5"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option    "Protocol" "wsmouse"
        Option    "Device" "/dev/wsmouse"
## Option    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"             # [<bool>]
        #Option     "SWcursor"           # [<bool>]
        #Option     "Dac6Bit"             # [<bool>]
        #Option     "Dac8Bit"             # [<bool>]
        #Option     "PanelOff"           # [<bool>]
        #Option     "DDCMode"             # [<bool>]
        #Option     "MonitorLayout"       # [<str>]
        #Option     "IgnoreEDID"         # [<bool>]
        #Option     "UseFBDev"           # [<bool>]
        #Option     "MergedFB"           # [<bool>]
        #Option     "CRT2HSync"           # [<str>]
        #Option     "CRT2VRefresh"       # [<str>]
        #Option     "CRT2Position"       # [<str>]
        #Option     "MetaModes"           # [<str>]
        #Option     "MergedDPI"           # [<str>]
        #Option     "MergedXinerama"     # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0" # [<bool>]
        #Option     "MergedNonRectangular" # [<bool>]
        #Option     "MergedMouseRestriction" # [<bool>]
        #Option     "DisplayPriority"     # [<str>]
        #Option     "PanelSize"           # [<str>]
        #Option     "ForceMinDotClock"   # <freq>
        #Option     "ColorTiling"         # [<bool>]
        #Option     "VideoKey"           # <i>
        #Option     "RageTheatreCrystal" # <i>
        #Option     "RageTheatreTunerPort" # <i>
        #Option     "RageTheatreCompositePort" # <i>
        #Option     "RageTheatreSVideoPort" # <i>
        #Option     "TunerType"           # <i>
        #Option     "RageTheatreMicrocPath" # <str>
        #Option     "RageTheatreMicrocType" # <str>
        #Option     "RenderAccel"         # [<bool>]
        #Option     "SubPixelOrder"       # [<str>]
        #Option     "ShowCache"           # [<bool>]
        #Option     "DynamicClocks"       # [<bool>]
        #Option     "BIOSHotkeys"         # [<bool>]
        #Option     "VGAAccess"           # [<bool>]
        #Option     "ReverseDDC"         # [<bool>]
        #Option     "LVDSProbePLL"       # [<bool>]
        #Option     "AccelMethod"         # <str>
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "M22 [Radeon Mobility M300]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Group        0
EndSection

# $Log: xorg.conf,v $
# Revision 1.1  2006/02/10 12:37:54  root
# Initial revision
#


=== end /etc/X11/xorg.conf ===

ciao,

--
-- "Jonathan Thornburg -- remove -animal to reply" <[hidden email]>
   Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
   Golm, Germany, "Old Europe"     http://www.aei.mpg.de/~jthorn/home.html     
   "Washing one's hands of the conflict between the powerful and the
    powerless means to side with the powerful, not to be neutral."
                                      -- quote by Freire / poster by Oxfam

Reply | Threaded
Open this post in threaded view
|

Re: Lenovo Thinkpad T43p won't do external VGA output properly

Matt Rowley
Interesting.  I hadn't tried using the external VGA output on my laptop.
I'm seeing pretty much what you describe, only I find that if I set the
Boot Display Device in the BIOS to VGA+LCD, then I get external video
output on the monitor.  There's output in X, too.  Even the Fn-F7
toggling seems to work.

--Matt

--On Wednesday, January 10, 2007 03:46:59 PM +0100 Jonathan Thornburg
<[hidden email]> wrote:

> Hi,
>
> I'm running OpenBSD 3.9-stable on a Lenovo (formerly IBM) Thinkpad T43p.
> X (X.org 6.9.0) works fine either
> (a) without any /etc/X11/xorg.conf, or
> (b) using the /etc/X11/xorg.conf from http://www.enting.se/T43/xorg.conf
>    (which is linked from the T43 entry in
>      http://www.openbsd.org/i386-laptop.html).
> All the behavior I describe below is identical for (a) and (b).
>
> The built-in LCD display works fine at 1600x1200.
> My problem is that I can't get external video output properly.  There
> seem to be two cases (neither one of which fits my definition of
> "properly"): * If, in the BIOS setup, I set "Boot Display Device" to
> "LCD", then   I can get 1600x1200 VGA output when booting and before I
> start X,   but I get no external video output at all once I start X.
> * If, in the BIOS setup, I set "Boot Display Device" to "VGA+LCD" or
>   "VGA+DVI+LCD", then I get no external video output when booting and
>   before I start X, but when I start X I get only 640x480 resolution
>   (and matching external video output).
>
> Does anyone know how to get a T43p to simultaneously
> * run X,
> * use a decent screen resolution (minimum 1024x768, prefer 1280x1024
>   and/or 1600x1200)
> * send this video to the external VGA connector so I can display things
>   on a video projector
>
> Here are my dmesg and the /etc/X11/xorg.conf from (b) above:
>
> === begin dmesg ===
> OpenBSD 3.9-stable (GENERIC) #9: Tue Jan  9 16:30:11 CET 2007
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) M processor 2.13GHz ("GenuineIntel"
> 686-class) 2.13 GHz cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUS
> H,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2 cpu0: Enhanced SpeedStep
> 1600 MHz (1356 mV): speeds: 2130, 1800, 1600, 1400, 1200, 1000, 800,
> 600 MHz real mem  = 2145886208 (2095592K)
> avail mem = 1951961088 (1906212K)
> using 4278 buffers containing 107397120 bytes (104880K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(8d) BIOS, date 09/15/05, BIOS32 rev. 0 @
> 0xfd760 apm0 at bios0: Power Management spec V1.2
> apm0: battery life expectancy 97%
> apm0: AC on, battery charge high
> apm0: flags 30102 dobusy 0 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev
> 0x00) pcibios0: PCI bus #5 is the last bus
> bios0: ROM list: 0xc0000/0x10000 0xd0000/0x1600 0xd1800/0x1000
> 0xdc000/0x4000! 0xe0000/0x10000 cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI FireGL V3200" rev 0x80
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
> pci2 at ppb1 bus 2
> bge0 at pci2 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1
> (0x4101): irq 11, address 00:01:6c:e9:50:d0 brgphy0 at bge0 phy 1:
> BCM5750 10/100/1000baseT PHY, rev. 0
> ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03
> pci3 at ppb2 bus 3
> uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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
> uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
> usb3 at uhci3: USB revision 1.0
> uhub3 at usb3
> uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
> usb4 at ehci0: USB revision 2.0
> uhub4 at usb4
> uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
> uhub4: 8 ports with 8 removable, self powered
> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
> pci4 at ppb3 bus 4
> cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
> ath0 at pci4 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01:
> irq 11 ath0: AR5213 5.9 phy 4.3 rf5112 3.6, WOR2W, address
> 00:14:a4:5c:7f:a5 cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
> pcmcia0 at cardslot0
> auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 11,
> ICH6 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> "Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM
> disabled pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev
> 0x03: DMA, channel 0 wired to compatibility, channel 1 wired to
> compatibility wd0 at pciide0 channel 0 drive 0: <HTS721010G9AT00>
> wd0: 16-sector PIO, LBA, 95396MB, 195371568 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: <MATSHITA, DVD-RAM UJ-822S, 1.61> SCSI0
> 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11
> iic0 at ichiic0
> 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
> lpt2 at isa0 port 0x3bc/4: polled
> aps0 at isa0 port 0x1600/31
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> biomask efed netmask efed ttymask ffef
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: wd0 matches BIOS drive 0x80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> === end dmesg ===
>
> === begin /etc/X11/xorg.conf ===
># $Id: xorg.conf,v 1.1 2006/02/10 12:37:54 root Exp root $
>
> Section "ServerLayout"
> Identifier     "X.org Configured"
> Screen      0  "Screen0" 0 0
> InputDevice    "Mouse0" "CorePointer"
> InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> RgbPath      "/usr/X11R6/lib/X11/rgb"
> ModulePath   "/usr/X11R6/lib/modules"
> FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
> FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
> FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
> FontPath     "/usr/local/lib/X11/fonts/mscorefonts"
> EndSection
>
> Section "Module"
> Load  "dbe"
> Load  "extmod"
> Load  "glx"
> Load  "record"
> Load  "xtrap"
> Load  "freetype"
> Load  "type1"
> EndSection
>
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver      "kbd"
> Option    "XkbRules" "xorg"
> Option    "XkbModel" "thinkpad"
>## Option    "XkbLayout" "se"
>## Option    "XkbOptions" "ctrl:ctrl_aa,eurosign:5"
> EndSection
>
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver      "mouse"
> Option    "Protocol" "wsmouse"
> Option    "Device" "/dev/wsmouse"
>## Option    "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
> Identifier   "Monitor0"
> VendorName   "Monitor Vendor"
> ModelName    "Monitor Model"
> EndSection
>
> Section "Device"
>
>         ### Available Driver options are:-
>         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "NoAccel"             # [<bool>]
>         #Option     "SWcursor"           # [<bool>]
>         #Option     "Dac6Bit"             # [<bool>]
>         #Option     "Dac8Bit"             # [<bool>]
>         #Option     "PanelOff"           # [<bool>]
>         #Option     "DDCMode"             # [<bool>]
>         #Option     "MonitorLayout"       # [<str>]
>         #Option     "IgnoreEDID"         # [<bool>]
>         #Option     "UseFBDev"           # [<bool>]
>         #Option     "MergedFB"           # [<bool>]
>         #Option     "CRT2HSync"           # [<str>]
>         #Option     "CRT2VRefresh"       # [<str>]
>         #Option     "CRT2Position"       # [<str>]
>         #Option     "MetaModes"           # [<str>]
>         #Option     "MergedDPI"           # [<str>]
>         #Option     "MergedXinerama"     # [<bool>]
>         #Option     "MergedXineramaCRT2IsScreen0" # [<bool>]
>         #Option     "MergedNonRectangular" # [<bool>]
>         #Option     "MergedMouseRestriction" # [<bool>]
>         #Option     "DisplayPriority"     # [<str>]
>         #Option     "PanelSize"           # [<str>]
>         #Option     "ForceMinDotClock"   # <freq>
>         #Option     "ColorTiling"         # [<bool>]
>         #Option     "VideoKey"           # <i>
>         #Option     "RageTheatreCrystal" # <i>
>         #Option     "RageTheatreTunerPort" # <i>
>         #Option     "RageTheatreCompositePort" # <i>
>         #Option     "RageTheatreSVideoPort" # <i>
>         #Option     "TunerType"           # <i>
>         #Option     "RageTheatreMicrocPath" # <str>
>         #Option     "RageTheatreMicrocType" # <str>
>         #Option     "RenderAccel"         # [<bool>]
>         #Option     "SubPixelOrder"       # [<str>]
>         #Option     "ShowCache"           # [<bool>]
>         #Option     "DynamicClocks"       # [<bool>]
>         #Option     "BIOSHotkeys"         # [<bool>]
>         #Option     "VGAAccess"           # [<bool>]
>         #Option     "ReverseDDC"         # [<bool>]
>         #Option     "LVDSProbePLL"       # [<bool>]
>         #Option     "AccelMethod"         # <str>
> Identifier  "Card0"
> Driver      "ati"
> VendorName  "ATI Technologies Inc"
> BoardName   "M22 [Radeon Mobility M300]"
> BusID       "PCI:1:0:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device     "Card0"
> Monitor    "Monitor0"
> SubSection "Display"
> Viewport   0 0
> Depth     1
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     4
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     8
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     15
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     16
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     24
> EndSubSection
> EndSection
>
> Section "DRI"
> Group        0
> EndSection
>
># $Log: xorg.conf,v $
># Revision 1.1  2006/02/10 12:37:54  root
># Initial revision
>#
>
>
> === end /etc/X11/xorg.conf ===
>
> ciao,
>
> --
> -- "Jonathan Thornburg -- remove -animal to reply"
> <[hidden email]>    Max-Planck-Institut fuer
> Gravitationsphysik (Albert-Einstein-Institut),    Golm, Germany, "Old
> Europe"     http://www.aei.mpg.de/~jthorn/home.html          "Washing
> one's hands of the conflict between the powerful and the     powerless
> means to side with the powerful, not to be neutral."
> -- quote by Freire / poster by Oxfam

Reply | Threaded
Open this post in threaded view
|

Re: Lenovo Thinkpad T43p won't do external VGA output properly

Niall O'Higgins
In reply to this post by Jonathan Thornburg
I run -current on my T43.  Have used external VGA out for the past 6
months.  I don't have any xorg.conf and I get 1280x1024.  It looks like
you have a different video chip though.


On Wed, Jan 10, 2007 at 03:46:59PM +0100, Jonathan Thornburg wrote:

> Hi,
>
> I'm running OpenBSD 3.9-stable on a Lenovo (formerly IBM) Thinkpad T43p.
> X (X.org 6.9.0) works fine either
> (a) without any /etc/X11/xorg.conf, or
> (b) using the /etc/X11/xorg.conf from http://www.enting.se/T43/xorg.conf
>    (which is linked from the T43 entry in
>      http://www.openbsd.org/i386-laptop.html).
> All the behavior I describe below is identical for (a) and (b).
>
> The built-in LCD display works fine at 1600x1200.
> My problem is that I can't get external video output properly.  There
> seem to be two cases (neither one of which fits my definition of "properly"):
> * If, in the BIOS setup, I set "Boot Display Device" to "LCD", then
>   I can get 1600x1200 VGA output when booting and before I start X,
>   but I get no external video output at all once I start X.
> * If, in the BIOS setup, I set "Boot Display Device" to "VGA+LCD" or
>   "VGA+DVI+LCD", then I get no external video output when booting and
>   before I start X, but when I start X I get only 640x480 resolution
>   (and matching external video output).
>
> Does anyone know how to get a T43p to simultaneously
> * run X,
> * use a decent screen resolution (minimum 1024x768, prefer 1280x1024
>   and/or 1600x1200)
> * send this video to the external VGA connector so I can display things
>   on a video projector
>
> Here are my dmesg and the /etc/X11/xorg.conf from (b) above:
>
> === begin dmesg ===
> OpenBSD 3.9-stable (GENERIC) #9: Tue Jan  9 16:30:11 CET 2007
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) M processor 2.13GHz ("GenuineIntel" 686-class) 2.13 GHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
> cpu0: Enhanced SpeedStep 1600 MHz (1356 mV): speeds: 2130, 1800, 1600, 1400, 1200, 1000, 800, 600 MHz
> real mem  = 2145886208 (2095592K)
> avail mem = 1951961088 (1906212K)
> using 4278 buffers containing 107397120 bytes (104880K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(8d) BIOS, date 09/15/05, BIOS32 rev. 0 @ 0xfd760
> apm0 at bios0: Power Management spec V1.2
> apm0: battery life expectancy 97%
> apm0: AC on, battery charge high
> apm0: flags 30102 dobusy 0 doidle 1
> pcibios0 at bios0: rev 2.1 @ 0xfd6f0/0x910
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
> pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
> pcibios0: PCI bus #5 is the last bus
> bios0: ROM list: 0xc0000/0x10000 0xd0000/0x1600 0xd1800/0x1000 0xdc000/0x4000! 0xe0000/0x10000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82915GM/PM/GMS Host" rev 0x03
> ppb0 at pci0 dev 1 function 0 "Intel 82915PM/GM PCIE" rev 0x03
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI FireGL V3200" rev 0x80
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
> pci2 at ppb1 bus 2
> bge0 at pci2 dev 0 function 0 "Broadcom BCM5751M" rev 0x11, BCM5750 B1 (0x4101): irq 11, address 00:01:6c:e9:50:d0
> brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
> ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03
> pci3 at ppb2 bus 3
> uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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 82801FB USB" rev 0x03: 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
> uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
> usb3 at uhci3: USB revision 1.0
> uhub3 at usb3
> uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: irq 11
> usb4 at ehci0: USB revision 2.0
> uhub4 at usb4
> uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
> uhub4: 8 ports with 8 removable, self powered
> ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3
> pci4 at ppb3 bus 4
> cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0x8d: irq 11
> ath0 at pci4 dev 2 function 0 "Atheros AR5212 (IBM MiniPCI)" rev 0x01: irq 11
> ath0: AR5213 5.9 phy 4.3 rf5112 3.6, WOR2W, address 00:14:a4:5c:7f:a5
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 5 device 0 cacheline 0x0, lattimer 0xb0
> pcmcia0 at cardslot0
> auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: irq 11, ICH6 AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> "Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled
> pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <HTS721010G9AT00>
> wd0: 16-sector PIO, LBA, 95396MB, 195371568 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: <MATSHITA, DVD-RAM UJ-822S, 1.61> SCSI0 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 11
> iic0 at ichiic0
> 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
> lpt2 at isa0 port 0x3bc/4: polled
> aps0 at isa0 port 0x1600/31
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> biomask efed netmask efed ttymask ffef
> pctr: 686-class user-level performance counters enabled
> mtrr: Pentium Pro MTRR support
> dkcsum: wd0 matches BIOS drive 0x80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> === end dmesg ===
>
> === begin /etc/X11/xorg.conf ===
> # $Id: xorg.conf,v 1.1 2006/02/10 12:37:54 root Exp root $
>
> Section "ServerLayout"
> Identifier     "X.org Configured"
> Screen      0  "Screen0" 0 0
> InputDevice    "Mouse0" "CorePointer"
> InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> RgbPath      "/usr/X11R6/lib/X11/rgb"
> ModulePath   "/usr/X11R6/lib/modules"
> FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
> FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
> FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
> FontPath     "/usr/local/lib/X11/fonts/mscorefonts"
> EndSection
>
> Section "Module"
> Load  "dbe"
> Load  "extmod"
> Load  "glx"
> Load  "record"
> Load  "xtrap"
> Load  "freetype"
> Load  "type1"
> EndSection
>
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver      "kbd"
> Option    "XkbRules" "xorg"
> Option    "XkbModel" "thinkpad"
> ## Option    "XkbLayout" "se"
> ## Option    "XkbOptions" "ctrl:ctrl_aa,eurosign:5"
> EndSection
>
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver      "mouse"
> Option    "Protocol" "wsmouse"
> Option    "Device" "/dev/wsmouse"
> ## Option    "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
> Identifier   "Monitor0"
> VendorName   "Monitor Vendor"
> ModelName    "Monitor Model"
> EndSection
>
> Section "Device"
>
>         ### Available Driver options are:-
>         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "NoAccel"             # [<bool>]
>         #Option     "SWcursor"           # [<bool>]
>         #Option     "Dac6Bit"             # [<bool>]
>         #Option     "Dac8Bit"             # [<bool>]
>         #Option     "PanelOff"           # [<bool>]
>         #Option     "DDCMode"             # [<bool>]
>         #Option     "MonitorLayout"       # [<str>]
>         #Option     "IgnoreEDID"         # [<bool>]
>         #Option     "UseFBDev"           # [<bool>]
>         #Option     "MergedFB"           # [<bool>]
>         #Option     "CRT2HSync"           # [<str>]
>         #Option     "CRT2VRefresh"       # [<str>]
>         #Option     "CRT2Position"       # [<str>]
>         #Option     "MetaModes"           # [<str>]
>         #Option     "MergedDPI"           # [<str>]
>         #Option     "MergedXinerama"     # [<bool>]
>         #Option     "MergedXineramaCRT2IsScreen0" # [<bool>]
>         #Option     "MergedNonRectangular" # [<bool>]
>         #Option     "MergedMouseRestriction" # [<bool>]
>         #Option     "DisplayPriority"     # [<str>]
>         #Option     "PanelSize"           # [<str>]
>         #Option     "ForceMinDotClock"   # <freq>
>         #Option     "ColorTiling"         # [<bool>]
>         #Option     "VideoKey"           # <i>
>         #Option     "RageTheatreCrystal" # <i>
>         #Option     "RageTheatreTunerPort" # <i>
>         #Option     "RageTheatreCompositePort" # <i>
>         #Option     "RageTheatreSVideoPort" # <i>
>         #Option     "TunerType"           # <i>
>         #Option     "RageTheatreMicrocPath" # <str>
>         #Option     "RageTheatreMicrocType" # <str>
>         #Option     "RenderAccel"         # [<bool>]
>         #Option     "SubPixelOrder"       # [<str>]
>         #Option     "ShowCache"           # [<bool>]
>         #Option     "DynamicClocks"       # [<bool>]
>         #Option     "BIOSHotkeys"         # [<bool>]
>         #Option     "VGAAccess"           # [<bool>]
>         #Option     "ReverseDDC"         # [<bool>]
>         #Option     "LVDSProbePLL"       # [<bool>]
>         #Option     "AccelMethod"         # <str>
> Identifier  "Card0"
> Driver      "ati"
> VendorName  "ATI Technologies Inc"
> BoardName   "M22 [Radeon Mobility M300]"
> BusID       "PCI:1:0:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device     "Card0"
> Monitor    "Monitor0"
> SubSection "Display"
> Viewport   0 0
> Depth     1
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     4
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     8
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     15
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     16
> EndSubSection
> SubSection "Display"
> Viewport   0 0
> Depth     24
> EndSubSection
> EndSection
>
> Section "DRI"
> Group        0
> EndSection
>
> # $Log: xorg.conf,v $
> # Revision 1.1  2006/02/10 12:37:54  root
> # Initial revision
> #
>
>
> === end /etc/X11/xorg.conf ===
>
> ciao,
>
> --
> -- "Jonathan Thornburg -- remove -animal to reply" <[hidden email]>
>    Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
>    Golm, Germany, "Old Europe"     http://www.aei.mpg.de/~jthorn/home.html     
>    "Washing one's hands of the conflict between the powerful and the
>     powerless means to side with the powerful, not to be neutral."
>                                       -- quote by Freire / poster by Oxfam

Reply | Threaded
Open this post in threaded view
|

Re: Lenovo Thinkpad T43p won't do external VGA output properly

Laurence Tratt
In reply to this post by Jonathan Thornburg
On Wed, Jan 10, 2007 at 03:46:59PM +0100, Jonathan Thornburg wrote:

> The built-in LCD display works fine at 1600x1200.
> My problem is that I can't get external video output properly.  There
> seem to be two cases (neither one of which fits my definition of "properly"):
> * If, in the BIOS setup, I set "Boot Display Device" to "LCD", then
>   I can get 1600x1200 VGA output when booting and before I start X,
>   but I get no external video output at all once I start X.
> * If, in the BIOS setup, I set "Boot Display Device" to "VGA+LCD" or
>   "VGA+DVI+LCD", then I get no external video output when booting and
>   before I start X, but when I start X I get only 640x480 resolution
>   (and matching external video output).

I'm not sure exactly when, but at some point something appears to have
changed, presumably in X, since X now seems to use 640x480 whenever it's
unsure about the output device (previously I'm fairly sure it always used
whatever resolution you told it to). That seems to be coupled with the fact
that my T43 (which I know has a different graphics card from your T43p, but
there again you seem to be having the same problems) plays funny buggers
with the external output.

On a handful of data projectors, I've got the correct 1024x768; on most I
get 640x480; and I get occasional oddities like "clipped" 1024x768 (missing
20-30 pixels on all edges). Nothing I've tried thus far has persuaded X to
use a sensible resolution in such cases.


Laurie
--
http://tratt.net/laurie/    -- Personal
http://convergepl.org/      -- The Converge programming language
http://sosym.dcs.kcl.ac.uk/ -- Software and Systems Modelling Team