On Sat, Feb 12, 2011 at 04:16:19AM +0200, Paul Irofti wrote: > On Sat, Feb 12, 2011 at 03:33:35AM +0200, Paul Irofti wrote: > > Please everyone test the following diff even if video reposting *works* > > for you at the moment. And everyone with a non-working video reposting > > card that *isn't* nvidia contact me! > > > > AGAIN! If suspend/resume doesn't work for you and its not NVIDIA, contact > > me! > > New diff including the amd64 bits which I missed in the former mail. > Also remove wbinvd() call and comment what this is trying to accomplish. > > Test on all machines, working or not! Nvidia is a don't care case.
Hi, Without your patch I can switch to/from consoles, suspend/resume and restart X without issues, without your patch; however, with your patch, while switching to/from consoles and restarting X is fine, the system powers off when resuming (that is, the lights briefly come on and then the computer completely turns itself off.) Note that this laptop has other ACPI issues, so it may not be your code that is wrong: note http://www.mail-archive.com/source-changes@openbsd.org/msg20575.html, the other messages on resume (starting at the second line beginning with 'ahci0:'), and that I need to 'disable acpitz*' to boot. I'll be happy to run some more tests for you tonight/this weekend, if you'd like some. dmesg from an official kernel (with some suspend/resumes) and ("your") Xorg.0.log below. Joachim OpenBSD 4.9-beta (GENERIC.MP) #803: Mon Feb 14 14:38:41 MST 2011 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2003517440 (1910MB) avail mem = 1936162816 (1846MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries) bios0: vendor LENOVO version "6JET83WW (1.41 )" date 09/21/2010 bios0: LENOVO 28477LG acpi0 at bios0: rev 4 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3) USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz, 6494.14 MHz cpu0: FPU,VME,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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz, 2094.75 MHz cpu1: FPU,VME,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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus 9 (P0P1) acpiprt3 at acpi0: bus 2 (RP01) acpiprt4 at acpi0: bus 3 (RP02) acpiprt5 at acpi0: bus 4 (RP03) acpiprt6 at acpi0: bus 5 (RP04) acpiprt7 at acpi0: bus 6 (RP05) acpiprt8 at acpi0: bus 8 (RP06) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpitz at acpi0 not configured acpithinkpad0 at acpi0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model "42T4751" serial 14540 type LION oem "SANYO" acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB cpu0: Enhanced SpeedStep 2094 MHz: speeds: 2101, 2100, 1600, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 inteldrm0 at vga1: apic 2 int 16 (irq 10) drm0 at inteldrm0 "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21 (irq 10) uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 19 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 19 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: apic 2 int 22 (irq 10) azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2 int 17 (irq 11) pci1 at ppb0 bus 2 "JMicron SD/MMC" rev 0x00 at pci1 dev 0 function 0 not configured sdhc0 at pci1 dev 0 function 2 "JMicron SD Host Controller" rev 0x00: apic 2 int 16 (irq 10) sdmmc0 at sdhc0 "JMicron Memory Stick" rev 0x00 at pci1 dev 0 function 3 not configured "JMicron xD" rev 0x00 at pci1 dev 0 function 4 not configured ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 2 int 16 (irq 10) pci2 at ppb1 bus 3 ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 2 int 18 (irq 10) pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: apic 2 int 19 (irq 10) pci4 at ppb3 bus 5 iwn0 at pci4 dev 0 function 0 "Intel WiFi Link 1000" rev 0x00: apic 2 int 19 (irq 10), MIMO 1T2R, BGS, address 00:1e:64:6b:9a:7c ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: apic 2 int 17 (irq 11) pci5 at ppb4 bus 6 ppb5 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2 int 16 (irq 10) pci6 at ppb5 bus 8 re0 at pci6 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 17 (irq 11), address 00:26:9e:b2:07:4f rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 23 (irq 10) uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 19 (irq 10) uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 18 (irq 10) ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 23 (irq 10) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb6 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93 pci7 at ppb6 bus 9 pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03 ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 2 int 19 (irq 10), AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, INTEL SSDSA2M080, 2CV1> SCSI3 0/direct fixed sd0: 76319MB, 512 bytes/sec, 156301488 sec total cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM GSA-T50N, RS06> ATAPI 5/cdrom removable ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 2 int 19 (irq 10) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 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 spkr0 at pcppi0 mtrr: Pentium Pro MTRR support uvideo0 at uhub1 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/82.54 addr 2 video0 at uvideo0 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root root on sd0a swap on sd0b dump on sd0b scsibus2 at softraid0: 1 targets sd1 at scsibus2 targ 0 lun 0: <OPENBSD, SR CRYPTO, 004> SCSI2 0/direct fixed sd1: 1536MB, 512 bytes/sec, 3147312 sec total scsibus3 at softraid0: 1 targets sd2 at scsibus3 targ 0 lun 0: <OPENBSD, SR CRYPTO, 004> SCSI2 0/direct fixed sd2: 24493MB, 512 bytes/sec, 50163504 sec total umass0 at uhub1 port 2 configuration 1 interface 0 "Sunplus Technology Inc. USB to Serial-ATA bridge" rev 2.00/1.03 addr 3 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: <Hitachi, HTS541616J9SA00, > SCSI2 0/direct fixed sd3: 152627MB, 512 bytes/sec, 312581808 sec total scsibus5 at softraid0: 1 targets sd4 at scsibus5 targ 0 lun 0: <OPENBSD, SR CRYPTO, 004> SCSI2 0/direct fixed sd4: 144433MB, 512 bytes/sec, 295798898 sec total sd4 detached scsibus5 detached ahci0: device on port 0 didn't come ready, TFD: 0x80<BSY> ahci0: CLO did not complete sd3 detached iwn0: RF switch: radio enabled scsibus4 detached umass0 detached umass0 at uhub1 port 2 configuration 1 interface 0 "Sunplus Technology Inc. USB to Serial-ATA bridge" rev 2.00/1.03 addr 3 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: <Hitachi, HTS541616J9SA00, > SCSI2 0/direct fixed sd3: 152627MB, 512 bytes/sec, 312581808 sec total video0 detached uvideo0 detached uvideo0 at uhub1 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/82.54 addr 2 video0 at uvideo0 [940520.325] (--) checkDevMem: using aperture driver /dev/xf86 [940520.356] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32) [940520.362] X.Org X Server 1.9.3 Release Date: 2010-12-13 [940520.362] X Protocol Version 11, Revision 0 [940520.362] Build Operating System: OpenBSD 4.9 amd64 [940520.362] Current Operating System: OpenBSD polymnia.joachimschipper.nl 4.9 GENERIC.MP#0 amd64 [940520.363] Build Date: 14 February 2011 03:16:58PM [940520.363] [940520.363] Current version of pixman: 0.20.2 [940520.363] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [940520.363] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [940520.364] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 18 10:17:23 2011 [940520.364] (==) Using config file: "/etc/X11/xorg.conf" [940520.364] (==) ServerLayout "X.org Configured" [940520.364] (**) |-->Screen "Screen0" (0) [940520.364] (**) | |-->Monitor "Monitor0" [940520.365] (**) | |-->Device "Card0" [940520.365] (**) |-->Input Device "Mouse0" [940520.365] (**) |-->Input Device "Keyboard0" [940520.365] (==) Disabling SIGIO handlers for input devices [940520.365] (==) Not automatically adding devices [940520.365] (==) Not automatically enabling devices [940520.366] (**) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/, /usr/local/share/ghostscript/fonts/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/75dpi/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/terminus/, /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [940520.366] (**) ModulePath set to "/usr/X11R6/lib/modules" [940520.366] (II) Loader magic: 0x7a1740 [940520.366] (II) Module ABI versions: [940520.366] X.Org ANSI C Emulation: 0.4 [940520.366] X.Org Video Driver: 8.0 [940520.366] X.Org XInput driver : 11.0 [940520.366] X.Org Server Extension : 4.0 [940520.366] (--) PCI:*(0:0:2:0) 8086:2a42:17aa:213a rev 7, Mem @ 0xf2400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8 [940520.366] (--) PCI: (0:0:2:1) 8086:2a43:17aa:213a rev 7, Mem @ 0xf2100000/1048576 [940520.366] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. [940520.366] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. [940520.366] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [940520.366] (II) "record" will be loaded. This was enabled by default and also specified in the config file. [940520.366] (II) "dri" will be loaded. This was enabled by default and also specified in the config file. [940520.366] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. [940520.366] (II) LoadModule: "dbe" [940520.368] (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so [940520.369] (II) Module dbe: vendor="X.Org Foundation" [940520.369] compiled for 1.9.3, module version = 1.0.0 [940520.369] Module class: X.Org Server Extension [940520.369] ABI class: X.Org Server Extension, version 4.0 [940520.369] (II) Loading extension DOUBLE-BUFFER [940520.369] (II) LoadModule: "dri" [940520.370] (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so [940520.371] (II) Module dri: vendor="X.Org Foundation" [940520.371] compiled for 1.9.3, module version = 1.0.0 [940520.371] ABI class: X.Org Server Extension, version 4.0 [940520.371] (II) Loading extension XFree86-DRI [940520.371] (II) LoadModule: "dri2" [940520.372] (II) Loading /usr/X11R6/lib/modules/extensions/libdri2.so [940520.373] (II) Module dri2: vendor="X.Org Foundation" [940520.373] compiled for 1.9.3, module version = 1.2.0 [940520.373] ABI class: X.Org Server Extension, version 4.0 [940520.373] (II) Loading extension DRI2 [940520.373] (II) LoadModule: "extmod" [940520.374] (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so [940520.375] (II) Module extmod: vendor="X.Org Foundation" [940520.375] compiled for 1.9.3, module version = 1.0.0 [940520.375] Module class: X.Org Server Extension [940520.375] ABI class: X.Org Server Extension, version 4.0 [940520.375] (II) Loading extension MIT-SCREEN-SAVER [940520.375] (II) Loading extension XFree86-VidModeExtension [940520.375] (II) Loading extension XFree86-DGA [940520.375] (II) Loading extension DPMS [940520.375] (II) Loading extension XVideo [940520.375] (II) Loading extension XVideo-MotionCompensation [940520.375] (II) Loading extension X-Resource [940520.375] (II) LoadModule: "glx" [940520.376] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [940520.377] (II) Module glx: vendor="X.Org Foundation" [940520.377] compiled for 1.9.3, module version = 1.0.0 [940520.377] ABI class: X.Org Server Extension, version 4.0 [940520.377] (==) AIGLX enabled [940520.377] (II) Loading extension GLX [940520.377] (II) LoadModule: "record" [940520.378] (II) Loading /usr/X11R6/lib/modules/extensions/librecord.so [940520.379] (II) Module record: vendor="X.Org Foundation" [940520.379] compiled for 1.9.3, module version = 1.13.0 [940520.379] Module class: X.Org Server Extension [940520.379] ABI class: X.Org Server Extension, version 4.0 [940520.379] (II) Loading extension RECORD [940520.379] (II) LoadModule: "intel" [940520.380] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so [940520.383] (II) Module intel: vendor="X.Org Foundation" [940520.383] compiled for 1.9.3, module version = 2.9.1 [940520.383] Module class: X.Org Video Driver [940520.383] ABI class: X.Org Video Driver, version 8.0 [940520.383] (II) LoadModule: "mouse" [940520.385] (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.so [940520.385] (II) Module mouse: vendor="X.Org Foundation" [940520.385] compiled for 1.9.3, module version = 1.6.0 [940520.385] Module class: X.Org XInput Driver [940520.385] ABI class: X.Org XInput driver, version 11.0 [940520.385] (II) LoadModule: "kbd" [940520.387] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so [940520.387] (II) Module kbd: vendor="X.Org Foundation" [940520.387] compiled for 1.9.3, module version = 1.5.0 [940520.388] Module class: X.Org XInput Driver [940520.388] ABI class: X.Org XInput driver, version 11.0 [940520.388] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale [940520.389] (II) Loading sub module "vgahw" [940520.389] (II) LoadModule: "vgahw" [940520.391] (II) Loading /usr/X11R6/lib/modules/libvgahw.so [940520.391] (II) Module vgahw: vendor="X.Org Foundation" [940520.391] compiled for 1.9.3, module version = 0.1.0 [940520.391] ABI class: X.Org Video Driver, version 8.0 [940520.391] (II) Loading sub module "ramdac" [940520.391] (II) LoadModule: "ramdac" [940520.391] (II) Module "ramdac" already built-in [940520.392] drmOpenDevice: node name is /dev/drm0 [940520.392] drmOpenDevice: open result is 10, (OK) [940520.392] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 [940520.392] drmOpenDevice: node name is /dev/drm0 [940520.392] drmOpenDevice: open result is 10, (OK) [940520.392] drmOpenByBusid: drmOpenMinor returns 10 [940520.392] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 [940520.392] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [940520.392] (==) intel(0): RGB weight 888 [940520.393] (==) intel(0): Default visual is TrueColor [940520.393] (II) intel(0): Integrated Graphics Chipset: Intel(R) GM45 [940520.393] (--) intel(0): Chipset: "GM45" [940520.393] (--) intel(0): Linear framebuffer at 0xD0000000 [940520.393] (--) intel(0): IO registers at addr 0xF2400000 size 4194304 [940520.393] (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB [940520.395] (II) intel(0): No SDVO device is found in VBT [940520.396] (II) intel(0): 2 display pipes available. [940520.396] (II) Loading sub module "ddc" [940520.396] (II) LoadModule: "ddc" [940520.396] (II) Module "ddc" already built-in [940520.396] (II) Loading sub module "i2c" [940520.396] (II) LoadModule: "i2c" [940520.396] (II) Module "i2c" already built-in [940520.396] (II) intel(0): Output VGA using monitor section Monitor0 [940520.396] (II) intel(0): Output LVDS has no monitor section [940520.396] (II) intel(0): I2C bus "LVDSDDC_C" initialized. [940520.396] (II) intel(0): Attempting to determine panel fixed mode. [940520.396] (II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0. [940520.474] (II) intel(0): EDID for output LVDS [940520.474] (II) intel(0): Manufacturer: LEN Model: 40b0 Serial#: 0 [940520.474] (II) intel(0): Year: 2008 Week: 0 [940520.474] (II) intel(0): EDID Version: 1.3 [940520.474] (II) intel(0): Digital Display Input [940520.474] (II) intel(0): Max Image Size [cm]: horiz.: 35 vert.: 19 [940520.474] (II) intel(0): Gamma: 2.20 [940520.474] (II) intel(0): DPMS capabilities: StandBy Suspend Off [940520.474] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [940520.474] (II) intel(0): First detailed timing is preferred mode [940520.474] (II) intel(0): redX: 0.618 redY: 0.355 greenX: 0.335 greenY: 0.584 [940520.474] (II) intel(0): blueX: 0.150 blueY: 0.102 whiteX: 0.313 whiteY: 0.329 [940520.474] (II) intel(0): Manufacturer's mask: 0 [940520.474] (II) intel(0): Supported detailed timing: [940520.475] (II) intel(0): clock: 72.3 MHz Image Size: 345 x 194 mm [940520.475] (II) intel(0): h_active: 1366 h_sync: 1414 h_sync_end 1446 h_blank_end 1526 h_border: 0 [940520.475] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 776 v_blanking: 790 v_border: 0 [940520.475] (II) intel(0): Supported detailed timing: [940520.475] (II) intel(0): clock: 60.3 MHz Image Size: 345 x 194 mm [940520.475] (II) intel(0): h_active: 1366 h_sync: 1414 h_sync_end 1446 h_blank_end 1526 h_border: 0 [940520.475] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 776 v_blanking: 790 v_border: 0 [940520.475] (II) intel(0): Unknown vendor-specific block f [940520.475] (II) intel(0): LP156WH2-TLB1 [940520.475] (II) intel(0): EDID (in hex): [940520.475] (II) intel(0): 00ffffffffffff0030aeb04000000000 [940520.475] (II) intel(0): 0012010380231378ea4e859e5b559526 [940520.475] (II) intel(0): 1a505400000001010101010101010101 [940520.475] (II) intel(0): 0101010101013e1c56a0500016303020 [940520.475] (II) intel(0): 350059c2100000198c1756a050001630 [940520.475] (II) intel(0): 3020350059c2100000190000000f008c [940520.475] (II) intel(0): 09328c092816090030e4c801000000fe [940520.475] (II) intel(0): 004c503135365748322d544c423100e3 [940520.475] (II) intel(0): EDID vendor "LEN", prod id 16560 [940520.476] xf86TokenToOptinfo: table is NULL [940520.476] (II) intel(0): I2C bus "SDVOCTRL_E for SDVOB" initialized. [940520.476] (II) intel(0): I2C device "SDVOCTRL_E for SDVOB:SDVO Controller B" registered at address 0x70. [940520.476] (II) intel(0): No SDVO device found on SDVOB [940520.476] (II) intel(0): I2C device "SDVOCTRL_E for SDVOB:SDVO Controller B" removed. [940520.476] (II) intel(0): I2C bus "SDVOCTRL_E for SDVOB" removed. [940520.477] (II) intel(0): Output HDMI-1 has no monitor section [940520.477] (II) intel(0): I2C bus "HDMIDDC_B" initialized. [940520.477] (II) intel(0): HDMI-1 output detected [940520.477] xf86TokenToOptinfo: table is NULL [940520.477] (II) intel(0): I2C bus "SDVOCTRL_E for SDVOC" initialized. [940520.477] (II) intel(0): I2C device "SDVOCTRL_E for SDVOC:SDVO Controller C" registered at address 0x72. [940520.478] (II) intel(0): No SDVO device found on SDVOC [940520.478] (II) intel(0): I2C device "SDVOCTRL_E for SDVOC:SDVO Controller C" removed. [940520.478] (II) intel(0): I2C bus "SDVOCTRL_E for SDVOC" removed. [940520.478] (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear [940520.569] (II) intel(0): EDID for output VGA [940520.644] (II) intel(0): EDID for output LVDS [940520.644] (II) intel(0): Manufacturer: LEN Model: 40b0 Serial#: 0 [940520.644] (II) intel(0): Year: 2008 Week: 0 [940520.644] (II) intel(0): EDID Version: 1.3 [940520.644] (II) intel(0): Digital Display Input [940520.644] (II) intel(0): Max Image Size [cm]: horiz.: 35 vert.: 19 [940520.644] (II) intel(0): Gamma: 2.20 [940520.644] (II) intel(0): DPMS capabilities: StandBy Suspend Off [940520.644] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [940520.644] (II) intel(0): First detailed timing is preferred mode [940520.644] (II) intel(0): GTF timings supported [940520.644] (II) intel(0): redX: 0.618 redY: 0.355 greenX: 0.335 greenY: 0.584 [940520.644] (II) intel(0): blueX: 0.150 blueY: 0.102 whiteX: 0.313 whiteY: 0.329 [940520.644] (II) intel(0): Manufacturer's mask: 0 [940520.644] (II) intel(0): Supported detailed timing: [940520.644] (II) intel(0): clock: 72.3 MHz Image Size: 345 x 194 mm [940520.644] (II) intel(0): h_active: 1366 h_sync: 1414 h_sync_end 1446 h_blank_end 1526 h_border: 0 [940520.644] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 776 v_blanking: 790 v_border: 0 [940520.644] (II) intel(0): Supported detailed timing: [940520.644] (II) intel(0): clock: 60.3 MHz Image Size: 345 x 194 mm [940520.644] (II) intel(0): h_active: 1366 h_sync: 1414 h_sync_end 1446 h_blank_end 1526 h_border: 0 [940520.645] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 776 v_blanking: 790 v_border: 0 [940520.645] (II) intel(0): Ranges: V min: 0 V max: 200 Hz, H min: 0 H max: 200 kHz, [940520.645] (II) intel(0): LP156WH2-TLB1 [940520.645] (II) intel(0): EDID (in hex): [940520.645] (II) intel(0): 00ffffffffffff0030aeb04000000000 [940520.645] (II) intel(0): 0012010380231378ea4e859e5b559526 [940520.645] (II) intel(0): 1a505400000001010101010101010101 [940520.645] (II) intel(0): 0101010101013e1c56a0500016303020 [940520.645] (II) intel(0): 350059c2100000198c1756a050001630 [940520.645] (II) intel(0): 3020350059c2100000190000000f008c [940520.645] (II) intel(0): 09328c092816090030e4c801000000fe [940520.645] (II) intel(0): 004c503135365748322d544c423100e3 [940520.645] (II) intel(0): EDID vendor "LEN", prod id 16560 [940520.645] (II) intel(0): Not using default mode "320x175" (doublescan mode not supported) [940520.645] (II) intel(0): Not using default mode "320x200" (doublescan mode not supported) [940520.645] (II) intel(0): Not using default mode "360x200" (doublescan mode not supported) [940520.645] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported) [940520.645] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported) [940520.645] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1024x768i" (interlace mode not supported) [940520.646] (II) intel(0): Not using default mode "512x384i" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1152x864" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "576x432" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1280x960" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1280x960" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1280x1024" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1600x1200" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1792x1344" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1792x1344" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1856x1392" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1856x1392" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "416x312" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1400x1050" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "1920x1440" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions) [940520.646] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported) [940520.646] (II) intel(0): Not using default mode "2048x1536" (exceeds panel dimensions) [940520.647] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported) [940520.647] (II) intel(0): Printing probed modes for output LVDS [940520.647] (II) intel(0): Modeline "1366x768"x60.0 72.30 1366 1414 1446 1526 768 771 776 790 -hsync -vsync (47.4 kHz) [940520.647] (II) intel(0): Modeline "1366x768"x50.0 60.28 1366 1414 1446 1526 768 771 776 790 -hsync -vsync (39.5 kHz) [940520.647] (II) intel(0): Modeline "1024x768"x85.0 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync (68.7 kHz) [940520.647] (II) intel(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz) [940520.647] (II) intel(0): Modeline "1024x768"x70.1 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz) [940520.647] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) [940520.647] (II) intel(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz) [940520.647] (II) intel(0): Modeline "800x600"x85.1 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync (53.7 kHz) [940520.647] (II) intel(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz) [940520.647] (II) intel(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz) [940520.647] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) [940520.647] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz) [940520.647] (II) intel(0): Modeline "640x480"x85.0 36.00 640 696 752 832 480 481 484 509 -hsync -vsync (43.3 kHz) [940520.647] (II) intel(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz) [940520.647] (II) intel(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz) [940520.647] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) [940520.647] (II) intel(0): Modeline "720x400"x85.0 35.50 720 756 828 936 400 401 404 446 -hsync +vsync (37.9 kHz) [940520.647] (II) intel(0): Modeline "640x400"x85.1 31.50 640 672 736 832 400 401 404 445 -hsync +vsync (37.9 kHz) [940520.647] (II) intel(0): Modeline "640x350"x85.1 31.50 640 672 736 832 350 382 385 445 +hsync -vsync (37.9 kHz) [940520.740] (II) intel(0): EDID for output HDMI-1 [940520.740] (II) intel(0): Output VGA disconnected [940520.740] (II) intel(0): Output LVDS connected [940520.740] (II) intel(0): Output HDMI-1 disconnected [940520.740] (II) intel(0): Using exact sizes for initial modes [940520.741] (II) intel(0): Output LVDS using initial mode 1366x768 [940520.741] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [940522.277] (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear [940522.304] (II) intel(0): detected 512 kB GTT. [940522.304] (II) intel(0): detected 131068 kB stolen memory. [940522.304] (==) intel(0): video overlay key set to 0x101fe [940522.304] (==) intel(0): DPI set to (96, 96) [940522.304] (II) Loading sub module "fb" [940522.304] (II) LoadModule: "fb" [940522.306] (II) Loading /usr/X11R6/lib/modules/libfb.so [940522.307] (II) Module fb: vendor="X.Org Foundation" [940522.307] compiled for 1.9.3, module version = 1.0.0 [940522.307] ABI class: X.Org ANSI C Emulation, version 0.4 [940522.307] (==) Depth 24 pixmap format is 32 bpp [940522.307] (II) intel(0): Kernel reported 491520 total, 0 used [940522.307] (II) intel(0): I830CheckAvailableMemory: 1966080 kB available [940522.308] (II) intel(0): [DRI2] Setup complete [940522.308] (II) intel(0): [DRI2] DRI driver: i965 [940522.308] (**) intel(0): Framebuffer compression enabled [940522.308] (**) intel(0): Tiling enabled [940522.308] (**) intel(0): SwapBuffers wait enabled [940522.316] (==) intel(0): VideoRam: 262144 KB [940522.316] (II) intel(0): Attempting memory allocation with tiled buffers. [940522.316] (II) intel(0): Tiled allocation successful. [940522.316] (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 [940522.316] (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear [940522.316] (II) UXA(0): Driver registered support for the following operations: [940522.317] (II) solid [940522.317] (II) copy [940522.317] (II) composite (RENDER acceleration) [940522.317] (II) put_image [940522.317] (II) get_image [940522.317] (==) intel(0): Backing store disabled [940522.317] (==) intel(0): Silken mouse disabled [940522.317] (II) intel(0): Initializing HW Cursor [940523.182] (II) intel(0): Fixed memory allocation layout: [940523.182] (II) intel(0): 0x00000000-0x00075fff: compressed frame buffer (472 kB, 0x0000000078000000 physical ) [940523.182] (II) intel(0): 0x00076000-0x00076fff: power context (4 kB) [940523.182] (II) intel(0): 0x07fff000: end of stolen memory [940523.182] (II) intel(0): 0x07fff000-0x0f9fefff: DRI memory manager (124928 kB) [940523.182] (II) intel(0): 0x10000000: end of aperture [940523.182] (II) intel(0): BO memory allocation layout: [940523.182] (II) intel(0): 0x07fff000: start of memory manager [940523.182] (II) intel(0): 0x08020000-0x0843ffff: front buffer (4224 kB) X tiled [940523.182] (II) intel(0): 0x08820000-0x08829fff: HW cursors (40 kB) [940523.182] (II) intel(0): 0x0f9ff000: end of memory manager [940523.764] (II) intel(0): using SSC reference clock of 96 MHz [940523.812] (II) intel(0): Selecting standard 18 bit TMDS pixel format. [940525.012] (II) intel(0): Output configuration: [940525.012] (II) intel(0): Pipe A is off [940525.012] (II) intel(0): Display plane A is now disabled and connected to pipe A. [940525.012] (II) intel(0): Pipe B is on [940525.012] (II) intel(0): Display plane B is now enabled and connected to pipe B. [940525.012] (II) intel(0): Output VGA is connected to pipe none [940525.012] (II) intel(0): Output LVDS is connected to pipe B [940525.012] (II) intel(0): Output HDMI-1 is connected to pipe none [940525.012] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. [940525.013] (==) intel(0): DPMS enabled [940525.013] (==) intel(0): Intel XvMC decoder enabled [940525.013] (II) intel(0): Set up textured video [940525.013] (II) intel(0): [XvMC] xvmc_vld driver initialized. [940525.013] (II) intel(0): direct rendering: DRI2 Enabled [940525.014] (--) RandR disabled [940525.014] (II) Initializing built-in extension Generic Event Extension [940525.014] (II) Initializing built-in extension SHAPE [940525.014] (II) Initializing built-in extension MIT-SHM [940525.014] (II) Initializing built-in extension XInputExtension [940525.014] (II) Initializing built-in extension XTEST [940525.014] (II) Initializing built-in extension BIG-REQUESTS [940525.014] (II) Initializing built-in extension SYNC [940525.014] (II) Initializing built-in extension XKEYBOARD [940525.014] (II) Initializing built-in extension XC-MISC [940525.014] (II) Initializing built-in extension XINERAMA [940525.014] (II) Initializing built-in extension XFIXES [940525.014] (II) Initializing built-in extension RENDER [940525.014] (II) Initializing built-in extension RANDR [940525.014] (II) Initializing built-in extension COMPOSITE [940525.014] (II) Initializing built-in extension DAMAGE [940525.058] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [940525.059] (II) AIGLX: enabled GLX_INTEL_swap_event [940525.059] (II) AIGLX: enabled GLX_SGI_make_current_read [940525.059] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [940525.059] (II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/i965_dri.so [940525.059] (II) GLX: Initialized DRI2 GL provider for screen 0 [940525.060] (II) intel(0): Setting screen physical size to 361 x 203 [940525.838] (**) Option "Protocol" "wsmouse" [940525.838] (**) Mouse0: Protocol: wsmouse [940525.838] (**) Option "CorePointer" [940525.838] (**) Mouse0: always reports core events [940525.838] (**) Option "Device" "/dev/wsmouse" [940526.234] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50 [940526.234] (**) Option "ZAxisMapping" "4 5 6 7" [940526.234] (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7 [940526.234] (**) Mouse0: Buttons: 11 [940526.234] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) [940526.234] (**) Mouse0: (accel) keeping acceleration scheme 1 [940526.234] (**) Mouse0: (accel) acceleration profile 0 [940526.234] (**) Mouse0: (accel) acceleration factor: 2.000 [940526.234] (**) Mouse0: (accel) acceleration threshold: 4 [940526.617] (**) Option "CoreKeyboard" [940526.617] (**) Keyboard0: always reports core events [940526.617] (**) Option "Protocol" "standard" [940526.617] (**) Keyboard0: Protocol: standard [940526.618] (--) Keyboard0: using wscons layout us [940526.618] (**) Option "XkbRules" "xorg" [940526.618] (**) Keyboard0: XkbRules: "xorg" [940526.618] (**) Option "XkbModel" "pc105" [940526.618] (**) Keyboard0: XkbModel: "pc105" [940526.618] (**) Option "XkbLayout" "us" [940526.618] (**) Keyboard0: XkbLayout: "us" [940526.618] (**) Option "CustomKeycodes" "off" [940526.618] (**) Keyboard0: CustomKeycodes disabled [940526.618] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) [940526.776] (II) intel(0): EDID vendor "LEN", prod id 16560 [940526.776] (II) intel(0): Using EDID range info for horizontal sync [940526.776] (II) intel(0): Using EDID range info for vertical refresh [940526.776] (II) intel(0): Printing DDC gathered Modelines: [940526.776] (II) intel(0): Modeline "1366x768"x0.0 72.30 1366 1414 1446 1526 768 771 776 790 -hsync -vsync (47.4 kHz) [940526.776] (II) intel(0): Modeline "1366x768"x0.0 60.28 1366 1414 1446 1526 768 771 776 790 -hsync -vsync (39.5 kHz) [940526.776] (II) intel(0): EDID vendor "LEN", prod id 16560 [940565.560] (II) 3rd Button detected: disabling emulate3Button