[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Closing/opening laptop lid results in distortion



Today I managed to get X.Org 6.8.2 running on my Dell Latitude C840 laptop (3.7-CURRENT). However, whenever I close the lid and re-open it, the display is distorted (appears to go split screen through the middle in a different resolution causing stretching). I have disabled power management in the BIOS and enabled apmd with "-q" in rc.conf. I can get back to my original state by changing virtul consoles first to Ctrl+Alt+F4 then back to Ctrl+Alt+F5 - The correct resolution then returns. When I press Fn+Esc (Suspend) the system suspends fine and wakes up OK too.

dmesg and xorg.conf follows.

Many thanks in advance for any help.

Nick


DMESG
==========
OpenBSD 3.7-current (GENERIC) #0: Mon Apr 4 13:08:55 BST 2005
nick_(_at_)_osiris2_(_dot_)_internal_(_dot_)_lan:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem = 267894784 (261616K)
avail mem = 237658112 (232088K)
using 3295 buffers containing 13496320 bytes (13180K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 05/16/03, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 99%
apm0: AC on, battery charge high, charging, estimated 2:34 hours
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbb90/208 (11 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/0xf800 0xcf800/0x800!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia GeForce4 440 Go" rev 0xa3
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 2 "Intel 82801CA/CAM USB" rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x42
pci2 at ppb1 bus 2
xl0 at pci2 dev 0 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 11, address 00:0d:56:33:3e:96
exphy0 at xl0 phy 24: 3Com internal media interface
cbb0 at pci2 dev 1 function 0 "Texas Instruments PCI4451 CardBus" rev 0x00: irq 11
cbb1 at pci2 dev 1 function 1 "Texas Instruments PCI4451 CardBus" rev 0x00: irq 11
"Texas Instruments PCI4451 FireWire" rev 0x00 at pci2 dev 1 function 2 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801CAM LPC" rev 0x02: SpeedStep
pciide0 at pci0 dev 31 function 1 "Intel 82801CAM IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <HTS548040M9AT00>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, CDRW/DVD UJDA740, 1.03> SCSI0 5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97" rev 0x02: irq 11, ICH3 AC97
ac97: codec id 0x4352595b (Cirrus Logic CS4205 rev 3)
ac97: codec features mic channel, tone, simulated stereo, bass boost, 20 bit DAC, 18 bit ADC, SRS 3D
audio0 at auich0
"Intel 82801CA/CAM Modem" rev 0x02 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 (mux 1 ignored for console): 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>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
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
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef6d netmask ef6d ttymask ffef
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



xorg.conf =============== Section "Module"

# This loads the DBE extension module.

   Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
   SubSection  "extmod"
     Option    "omit xfree86-dga"   # don't initialise the DGA extension
   EndSubSection

# This loads the font modules
   Load        "type1"
#    Load        "speedo"
   Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

   RgbPath     "/usr/X11R6/lib/X11/rgb"

   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/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

   Identifier  "Keyboard1"
   Driver      "kbd"
   Option      "AutoRepeat"    "500 30"
   Option      "XkbRules"      "xorg"
   Option      "XkbModel"      "pc105"
   Option      "XkbLayout"     "gb"

EndSection


# ********************************************************************** # Core Pointer's InputDevice section # **********************************************************************

Section "InputDevice"

# Identifier and driver

   Identifier  "Mouse1"
   Driver      "mouse"
   Option      "Protocol"              "wsmouse"
   Option      "Device"                "/dev/wsmouse"
   Option      "Emulate3Buttons"
#    Option     "Emulate3Timeout"       "50"
   Option      "ZAxisMapping"          "4 5"

EndSection


# ********************************************************************** # Monitor section # **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

   Identifier  "Dell"
   HorizSync   31.5 - 90.0
   VertRefresh 59.0 - 85.0
   DisplaySize 303 228

EndSection


# ********************************************************************** # Graphics device section # **********************************************************************

Section "Device"
   Identifier  "GEForce4 GO 440"
   Driver      "nv"
EndSection


# ********************************************************************** # Screen sections # **********************************************************************

Section "Screen"
   Identifier  "Screen 1"
   Device      "GEForce4 GO 440"
   Monitor     "Dell"
   DefaultDepth 24

   Subsection "Display"
       Depth       24
       Modes       "1600x1200"
   EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

   Identifier  "Simple Layout"
   Screen      "Screen 1"
   InputDevice "Mouse1"        "CorePointer"
   InputDevice "Keyboard1"     "CoreKeyboard"

EndSection

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger




Visit your host, monkey.org