zzz, /dev/wsmouse1: read error Input/output error

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

zzz, /dev/wsmouse1: read error Input/output error

Mike Burns
Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
from suspend my Xorg.0.log is flooded with:

  (EE) ws: /dev/wsmouse1: read error Input/output error

In my dmesg:

  wsmouse1: can't attach mux (error=5)

Attached are four files: the dmesg before zzz, Xorg.0.log before zzz,
dmesg added after zzz, Xorg.0.log added after zzz.

Is this fixed on -current? Is there a workaround? Something I need to
configure? More information needed?

-Mike
OpenBSD 5.5-stable (GENERIC.MP) #0: Sat Jul 12 23:07:41 CEST 2014
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255762432 (7873MB)
avail mem = 8027381760 (7655MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
bios0: LENOVO 3444CUU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.04 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 200 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 7 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
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 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi, MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct fixed naa.5001517803db5380
sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
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
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
uhidev0: iclass 3/1, 7 report ids
uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
ums0 at uhidev0 reportid 6: 1 button, tip
wsmouse1 at ums0 mux 0
ums1 at uhidev0 reportid 7
ums1: mouse has no X report
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 227906MB, 512 bytes/sector, 466751982 sectors
root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
ehci_idone: ex=0xffff800000cd8a00 is done!
uhid0 detached
uhid1 detached
uhid2 detached
wsmouse1: can't attach mux (error=5)
wsmouse1 detached
ums0 detached
ums1 detached
uhidev0 detached
uhub3 detached
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
uhidev0: iclass 3/1, 7 report ids
uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
ums0 at uhidev0 reportid 6: 1 button, tip
wsmouse1 at ums0 mux 0
ums1 at uhidev0 reportid 7
ums1: mouse has no X report
[    18.762] (--) checkDevMem: using aperture driver /dev/xf86
[    18.785] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
[    18.817]
X.Org X Server 1.14.5
Release Date: 2013-12-12
[    18.818] X Protocol Version 11, Revision 0
[    18.818] Build Operating System: OpenBSD 5.5 amd64
[    18.818] Current Operating System: OpenBSD bellifortis.my.domain 5.5 GENERIC.MP#0 amd64
[    18.818] Build Date: 26 February 2014  09:16:04PM
[    18.818]  
[    18.818] Current version of pixman: 0.32.4
[    18.818] Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    18.818] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.819] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 13 22:04:58 2014
[    18.823] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[    18.825] (==) No Layout section.  Using the first Screen section.
[    18.825] (==) No screen section available. Using defaults.
[    18.825] (**) |-->Screen "Default Screen Section" (0)
[    18.825] (**) |   |-->Monitor "<default monitor>"
[    18.826] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    18.826] (==) Disabling SIGIO handlers for input devices
[    18.826] (==) Automatically adding devices
[    18.826] (==) Automatically enabling devices
[    18.826] (==) Not automatically adding GPU devices
[    18.836] (==) 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/
[    18.836] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    18.836] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[    18.837] (II) Loader magic: 0x1b525b8ec040
[    18.837] (II) Module ABI versions:
[    18.837] X.Org ANSI C Emulation: 0.4
[    18.837] X.Org Video Driver: 14.1
[    18.837] X.Org XInput driver : 19.1
[    18.837] X.Org Server Extension : 7.0
[    18.837] (--) PCI:*(0:0:2:0) 8086:0166:17aa:21f9 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[    18.838] Initializing built-in extension Generic Event Extension
[    18.838] Initializing built-in extension SHAPE
[    18.838] Initializing built-in extension MIT-SHM
[    18.838] Initializing built-in extension XInputExtension
[    18.838] Initializing built-in extension XTEST
[    18.838] Initializing built-in extension BIG-REQUESTS
[    18.838] Initializing built-in extension SYNC
[    18.838] Initializing built-in extension XKEYBOARD
[    18.838] Initializing built-in extension XC-MISC
[    18.838] Initializing built-in extension SECURITY
[    18.838] Initializing built-in extension XINERAMA
[    18.838] Initializing built-in extension XFIXES
[    18.838] Initializing built-in extension RENDER
[    18.838] Initializing built-in extension RANDR
[    18.838] Initializing built-in extension COMPOSITE
[    18.838] Initializing built-in extension DAMAGE
[    18.838] Initializing built-in extension MIT-SCREEN-SAVER
[    18.838] Initializing built-in extension DOUBLE-BUFFER
[    18.838] Initializing built-in extension RECORD
[    18.838] Initializing built-in extension DPMS
[    18.838] Initializing built-in extension X-Resource
[    18.838] Initializing built-in extension XVideo
[    18.838] Initializing built-in extension XVideo-MotionCompensation
[    18.838] Initializing built-in extension XFree86-VidModeExtension
[    18.838] Initializing built-in extension XFree86-DGA
[    18.838] Initializing built-in extension XFree86-DRI
[    18.838] Initializing built-in extension DRI2
[    18.838] (II) LoadModule: "glx"
[    18.844] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[    18.848] (II) Module glx: vendor="X.Org Foundation"
[    18.848] compiled for 1.14.5, module version = 1.0.0
[    18.848] ABI class: X.Org Server Extension, version 7.0
[    18.848] (==) AIGLX enabled
[    18.849] Loading extension GLX
[    18.849] (==) Matched intel as autoconfigured driver 0
[    18.849] (==) Matched vesa as autoconfigured driver 1
[    18.849] (==) Assigned the driver to the xf86ConfigLayout
[    18.849] (II) LoadModule: "intel"
[    18.850] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[    18.861] (II) Module intel: vendor="X.Org Foundation"
[    18.861] compiled for 1.14.5, module version = 2.99.910
[    18.861] Module class: X.Org Video Driver
[    18.861] ABI class: X.Org Video Driver, version 14.1
[    18.861] (II) LoadModule: "vesa"
[    18.863] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[    18.864] (II) Module vesa: vendor="X.Org Foundation"
[    18.864] compiled for 1.14.5, module version = 2.3.3
[    18.864] Module class: X.Org Video Driver
[    18.864] ABI class: X.Org Video Driver, version 14.1
[    18.864] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 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
[    18.865] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[    18.865] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[    18.866] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[    18.866] (II) VESA: driver for VESA chipsets: vesa
[    18.870] (WW) Falling back to old probe method for vesa
[    18.873] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[    18.873] (--) intel(0): CPU: x86-64
[    18.873] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    18.873] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    18.873] (==) intel(0): RGB weight 888
[    18.873] (==) intel(0): Default visual is TrueColor
[    18.875] (**) intel(0): Framebuffer tiled
[    18.875] (**) intel(0): Pixmaps tiled
[    18.875] (**) intel(0): "Tear free" disabled
[    18.875] (**) intel(0): Forcing per-crtc-pixmaps? no
[    18.875] (II) intel(0): Output LVDS1 has no monitor section
[    18.875] (II) intel(0): Output VGA1 has no monitor section
[    18.875] (II) intel(0): Output HDMI1 has no monitor section
[    18.876] (II) intel(0): Output DP1 has no monitor section
[    18.876] (II) intel(0): Output VIRTUAL1 has no monitor section
[    18.876] (--) intel(0): Output LVDS1 using initial mode 1600x900 on pipe 0
[    18.876] (==) intel(0): DPI set to (96, 96)
[    18.876] (II) Loading sub module "dri2"
[    18.876] (II) LoadModule: "dri2"
[    18.876] (II) Module "dri2" already built-in
[    18.876] (II) UnloadModule: "vesa"
[    18.876] (II) Unloading vesa
[    18.877] (==) Depth 24 pixmap format is 32 bpp
[    18.886] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[    18.886] (==) intel(0): Backing store disabled
[    18.886] (==) intel(0): Silken mouse disabled
[    18.888] (II) intel(0): HW Cursor enabled
[    18.888] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    18.893] (==) intel(0): DPMS enabled
[    18.894] (II) intel(0): [DRI2] Setup complete
[    18.894] (II) intel(0): [DRI2]   DRI driver: i965
[    18.894] (II) intel(0): [DRI2]   VDPAU driver: i965
[    18.894] (II) intel(0): direct rendering: DRI2 Enabled
[    18.894] (--) RandR disabled
[    18.985] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    18.985] (II) AIGLX: enabled GLX_INTEL_swap_event
[    18.985] (II) AIGLX: enabled GLX_ARB_create_context
[    18.985] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    18.985] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    18.985] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    18.985] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    18.986] (II) AIGLX: Loaded and initialized i965
[    18.986] (II) GLX: Initialized DRI2 GL provider for screen 0
[    18.996] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[    19.008] (II) intel(0): Setting screen physical size to 423 x 238
[    19.213] (II) config/wscons: checking input device /dev/wskbd
[    19.213] (II) wskbd: using layout us
[    19.213] (II) LoadModule: "kbd"
[    19.215] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    19.216] (II) Module kbd: vendor="X.Org Foundation"
[    19.216] compiled for 1.14.5, module version = 1.8.0
[    19.216] Module class: X.Org XInput Driver
[    19.216] ABI class: X.Org XInput driver, version 19.1
[    19.216] (II) Using input driver 'kbd' for '/dev/wskbd'
[    19.216] (**) /dev/wskbd: always reports core events
[    19.216] (**) /dev/wskbd: always reports core events
[    19.216] (**) Option "Protocol" "standard"
[    19.216] (**) Option "XkbRules" "base"
[    19.216] (**) Option "XkbModel" "pc105"
[    19.217] (**) Option "XkbLayout" "us"
[    19.217] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
[    20.231] (II) config/wscons: checking input device /dev/wsmouse1
[    20.231] (II) LoadModule: "ws"
[    20.233] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[    20.236] (II) Module ws: vendor="X.Org Foundation"
[    20.236] compiled for 1.14.5, module version = 1.3.0
[    20.236] Module class: X.Org XInput Driver
[    20.236] ABI class: X.Org XInput driver, version 19.1
[    20.236] (II) Using input driver 'ws' for '/dev/wsmouse1'
[    20.236] (**) /dev/wsmouse1: always reports core events
[    20.236] (II) ws: /dev/wsmouse1: debuglevel 0
[    20.236] (**) Option "Device" "/dev/wsmouse1"
[    20.236] (**) ws: /dev/wsmouse1: ZAxisMapping: buttons 4 and 5
[    20.236] (**) ws: /dev/wsmouse1: WAxisMapping: buttons 6 and 7
[    20.236] (**) ws: /dev/wsmouse1: associated screen: 0
[    20.236] (**) ws: /dev/wsmouse1: device will work in raw mode
[    20.236] (II) ws: /dev/wsmouse1: minimum x position: 0
[    20.236] (II) ws: /dev/wsmouse1: maximum x position: 4095
[    20.236] (II) ws: /dev/wsmouse1: minimum y position: 0
[    20.236] (II) ws: /dev/wsmouse1: maximum y position: 4095
[    20.236] (==) ws: /dev/wsmouse1: Buttons: 7
[    20.237] (**) ws: /dev/wsmouse1: YAxisMapping: buttons 4 and 5
[    20.237] (II) XINPUT: Adding extended input device "/dev/wsmouse1" (type: TOUCHSCREEN, id 7)
[    20.237] (**) /dev/wsmouse1: (accel) keeping acceleration scheme 1
[    20.237] (**) /dev/wsmouse1: (accel) acceleration profile 0
[    20.237] (**) /dev/wsmouse1: (accel) acceleration factor: 2.000
[    20.237] (**) /dev/wsmouse1: (accel) acceleration threshold: 4
[    20.237] (II) config/wscons: checking input device /dev/wsmouse
[    20.237] (II) Using input driver 'ws' for '/dev/wsmouse'
[    20.237] (**) /dev/wsmouse: always reports core events
[    20.238] (II) ws: /dev/wsmouse: debuglevel 0
[    20.238] (**) Option "Device" "/dev/wsmouse"
[    20.238] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    20.238] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    20.238] (**) ws: /dev/wsmouse: associated screen: 0
[    21.243] (II) ws: /dev/wsmouse: minimum x position: 0
[    21.243] (II) ws: /dev/wsmouse: maximum x position: 1599
[    21.243] (II) ws: /dev/wsmouse: minimum y position: 0
[    21.243] (II) ws: /dev/wsmouse: maximum y position: 899
[    21.243] (==) ws: /dev/wsmouse: Buttons: 7
[    21.247] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    21.247] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
[    22.254] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[    22.254] (**) /dev/wsmouse: (accel) acceleration profile 0
[    22.254] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[    22.254] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[    24.547] (II) intel(0): EDID vendor "LGD", prod id 898
[    24.547] (II) intel(0): Printing DDC gathered Modelines:
[    24.547] (II) intel(0): Modeline "1600x900"x0.0  108.00  1600 1648 1680 1924  900 903 908 936 -hsync -vsync (56.1 kHz eP)
[  3037.709] (II) AIGLX: Suspending AIGLX clients for VT switch
[  3038.320] (EE) intel(0): Failed to submit rendering commands, disabling acceleration.
[  3042.215] (II) AIGLX: Resuming AIGLX clients after VT switch
[  3042.215] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
[  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse1: read error Input/output error

Mike Larkin
On Sun, Jul 13, 2014 at 06:22:34PM -0400, Mike Burns wrote:
> Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
> from suspend my Xorg.0.log is flooded with:
>
>   (EE) ws: /dev/wsmouse1: read error Input/output error
>
> In my dmesg:
>
>   wsmouse1: can't attach mux (error=5)

Are you using wsmoused?

-ml

>
> Attached are four files: the dmesg before zzz, Xorg.0.log before zzz,
> dmesg added after zzz, Xorg.0.log added after zzz.
>
> Is this fixed on -current? Is there a workaround? Something I need to
> configure? More information needed?
>
> -Mike
> OpenBSD 5.5-stable (GENERIC.MP) #0: Sat Jul 12 23:07:41 CEST 2014
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8255762432 (7873MB)
> avail mem = 8027381760 (7655MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
> bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
> bios0: LENOVO 3444CUU
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
> acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.04 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
> cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
> cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpicpu0 at acpi0: C2, C1, PSS
> acpicpu1 at acpi0: C2, C1, PSS
> acpicpu2 at acpi0: C2, C1, PSS
> acpicpu3 at acpi0: C2, C1, PSS
> acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
> acpitz0 at acpi0: critical temperature is 200 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
> acpibat1 at acpi0: BAT1 not present
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
> inteldrm0 at vga1
> drm0 at inteldrm0
> inteldrm0: 1600x900
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel 7 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured
> "Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
> com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> com4: probed fifo depth: 0 bytes
> ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
> 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 7 Series HD Audio" rev 0x04: msi
> azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
> pci1 at ppb0 bus 2
> sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
> sdmmc0 at sdhc0
> ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
> pci2 at ppb1 bus 3
> iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi, MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
> ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev 0x04
> ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct fixed naa.5001517803db5380
> sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
> ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
> iic0 at ichiic0
> 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
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> video0 at uvideo0
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> uhidev0: iclass 3/1, 7 report ids
> uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> ums0 at uhidev0 reportid 6: 1 button, tip
> wsmouse1 at ums0 mux 0
> ums1 at uhidev0 reportid 7
> ums1: mouse has no X report
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
> sd1: 227906MB, 512 bytes/sector, 466751982 sectors
> root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
> ugen0 detached
> ugen1 detached
> video0 detached
> uvideo0 detached
> uhub2 detached
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> video0 at uvideo0
> ehci_idone: ex=0xffff800000cd8a00 is done!
> uhid0 detached
> uhid1 detached
> uhid2 detached
> wsmouse1: can't attach mux (error=5)
> wsmouse1 detached
> ums0 detached
> ums1 detached
> uhidev0 detached
> uhub3 detached
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> uhidev0: iclass 3/1, 7 report ids
> uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> ums0 at uhidev0 reportid 6: 1 button, tip
> wsmouse1 at ums0 mux 0
> ums1 at uhidev0 reportid 7
> ums1: mouse has no X report
> [    18.762] (--) checkDevMem: using aperture driver /dev/xf86
> [    18.785] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
> [    18.817]
> X.Org X Server 1.14.5
> Release Date: 2013-12-12
> [    18.818] X Protocol Version 11, Revision 0
> [    18.818] Build Operating System: OpenBSD 5.5 amd64
> [    18.818] Current Operating System: OpenBSD bellifortis.my.domain 5.5 GENERIC.MP#0 amd64
> [    18.818] Build Date: 26 February 2014  09:16:04PM
> [    18.818]  
> [    18.818] Current version of pixman: 0.32.4
> [    18.818] Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> [    18.818] Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [    18.819] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 13 22:04:58 2014
> [    18.823] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
> [    18.825] (==) No Layout section.  Using the first Screen section.
> [    18.825] (==) No screen section available. Using defaults.
> [    18.825] (**) |-->Screen "Default Screen Section" (0)
> [    18.825] (**) |   |-->Monitor "<default monitor>"
> [    18.826] (==) No monitor specified for screen "Default Screen Section".
> Using a default monitor configuration.
> [    18.826] (==) Disabling SIGIO handlers for input devices
> [    18.826] (==) Automatically adding devices
> [    18.826] (==) Automatically enabling devices
> [    18.826] (==) Not automatically adding GPU devices
> [    18.836] (==) 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/
> [    18.836] (==) ModulePath set to "/usr/X11R6/lib/modules"
> [    18.836] (II) The server relies on wscons to provide the list of input devices.
> If no devices become available, reconfigure wscons or disable AutoAddDevices.
> [    18.837] (II) Loader magic: 0x1b525b8ec040
> [    18.837] (II) Module ABI versions:
> [    18.837] X.Org ANSI C Emulation: 0.4
> [    18.837] X.Org Video Driver: 14.1
> [    18.837] X.Org XInput driver : 19.1
> [    18.837] X.Org Server Extension : 7.0
> [    18.837] (--) PCI:*(0:0:2:0) 8086:0166:17aa:21f9 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
> [    18.838] Initializing built-in extension Generic Event Extension
> [    18.838] Initializing built-in extension SHAPE
> [    18.838] Initializing built-in extension MIT-SHM
> [    18.838] Initializing built-in extension XInputExtension
> [    18.838] Initializing built-in extension XTEST
> [    18.838] Initializing built-in extension BIG-REQUESTS
> [    18.838] Initializing built-in extension SYNC
> [    18.838] Initializing built-in extension XKEYBOARD
> [    18.838] Initializing built-in extension XC-MISC
> [    18.838] Initializing built-in extension SECURITY
> [    18.838] Initializing built-in extension XINERAMA
> [    18.838] Initializing built-in extension XFIXES
> [    18.838] Initializing built-in extension RENDER
> [    18.838] Initializing built-in extension RANDR
> [    18.838] Initializing built-in extension COMPOSITE
> [    18.838] Initializing built-in extension DAMAGE
> [    18.838] Initializing built-in extension MIT-SCREEN-SAVER
> [    18.838] Initializing built-in extension DOUBLE-BUFFER
> [    18.838] Initializing built-in extension RECORD
> [    18.838] Initializing built-in extension DPMS
> [    18.838] Initializing built-in extension X-Resource
> [    18.838] Initializing built-in extension XVideo
> [    18.838] Initializing built-in extension XVideo-MotionCompensation
> [    18.838] Initializing built-in extension XFree86-VidModeExtension
> [    18.838] Initializing built-in extension XFree86-DGA
> [    18.838] Initializing built-in extension XFree86-DRI
> [    18.838] Initializing built-in extension DRI2
> [    18.838] (II) LoadModule: "glx"
> [    18.844] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> [    18.848] (II) Module glx: vendor="X.Org Foundation"
> [    18.848] compiled for 1.14.5, module version = 1.0.0
> [    18.848] ABI class: X.Org Server Extension, version 7.0
> [    18.848] (==) AIGLX enabled
> [    18.849] Loading extension GLX
> [    18.849] (==) Matched intel as autoconfigured driver 0
> [    18.849] (==) Matched vesa as autoconfigured driver 1
> [    18.849] (==) Assigned the driver to the xf86ConfigLayout
> [    18.849] (II) LoadModule: "intel"
> [    18.850] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
> [    18.861] (II) Module intel: vendor="X.Org Foundation"
> [    18.861] compiled for 1.14.5, module version = 2.99.910
> [    18.861] Module class: X.Org Video Driver
> [    18.861] ABI class: X.Org Video Driver, version 14.1
> [    18.861] (II) LoadModule: "vesa"
> [    18.863] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
> [    18.864] (II) Module vesa: vendor="X.Org Foundation"
> [    18.864] compiled for 1.14.5, module version = 2.3.3
> [    18.864] Module class: X.Org Video Driver
> [    18.864] ABI class: X.Org Video Driver, version 14.1
> [    18.864] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
> i810, i810-dc100, i810e, i815, i830M, 845G, 854, 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
> [    18.865] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
> [    18.865] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
> [    18.866] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
> [    18.866] (II) VESA: driver for VESA chipsets: vesa
> [    18.870] (WW) Falling back to old probe method for vesa
> [    18.873] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
> [    18.873] (--) intel(0): CPU: x86-64
> [    18.873] (II) intel(0): Creating default Display subsection in Screen section
> "Default Screen Section" for depth/fbbpp 24/32
> [    18.873] (==) intel(0): Depth 24, (--) framebuffer bpp 32
> [    18.873] (==) intel(0): RGB weight 888
> [    18.873] (==) intel(0): Default visual is TrueColor
> [    18.875] (**) intel(0): Framebuffer tiled
> [    18.875] (**) intel(0): Pixmaps tiled
> [    18.875] (**) intel(0): "Tear free" disabled
> [    18.875] (**) intel(0): Forcing per-crtc-pixmaps? no
> [    18.875] (II) intel(0): Output LVDS1 has no monitor section
> [    18.875] (II) intel(0): Output VGA1 has no monitor section
> [    18.875] (II) intel(0): Output HDMI1 has no monitor section
> [    18.876] (II) intel(0): Output DP1 has no monitor section
> [    18.876] (II) intel(0): Output VIRTUAL1 has no monitor section
> [    18.876] (--) intel(0): Output LVDS1 using initial mode 1600x900 on pipe 0
> [    18.876] (==) intel(0): DPI set to (96, 96)
> [    18.876] (II) Loading sub module "dri2"
> [    18.876] (II) LoadModule: "dri2"
> [    18.876] (II) Module "dri2" already built-in
> [    18.876] (II) UnloadModule: "vesa"
> [    18.876] (II) Unloading vesa
> [    18.877] (==) Depth 24 pixmap format is 32 bpp
> [    18.886] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
> [    18.886] (==) intel(0): Backing store disabled
> [    18.886] (==) intel(0): Silken mouse disabled
> [    18.888] (II) intel(0): HW Cursor enabled
> [    18.888] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
> [    18.893] (==) intel(0): DPMS enabled
> [    18.894] (II) intel(0): [DRI2] Setup complete
> [    18.894] (II) intel(0): [DRI2]   DRI driver: i965
> [    18.894] (II) intel(0): [DRI2]   VDPAU driver: i965
> [    18.894] (II) intel(0): direct rendering: DRI2 Enabled
> [    18.894] (--) RandR disabled
> [    18.985] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> [    18.985] (II) AIGLX: enabled GLX_INTEL_swap_event
> [    18.985] (II) AIGLX: enabled GLX_ARB_create_context
> [    18.985] (II) AIGLX: enabled GLX_ARB_create_context_profile
> [    18.985] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
> [    18.985] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
> [    18.985] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
> [    18.986] (II) AIGLX: Loaded and initialized i965
> [    18.986] (II) GLX: Initialized DRI2 GL provider for screen 0
> [    18.996] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
> [    19.008] (II) intel(0): Setting screen physical size to 423 x 238
> [    19.213] (II) config/wscons: checking input device /dev/wskbd
> [    19.213] (II) wskbd: using layout us
> [    19.213] (II) LoadModule: "kbd"
> [    19.215] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
> [    19.216] (II) Module kbd: vendor="X.Org Foundation"
> [    19.216] compiled for 1.14.5, module version = 1.8.0
> [    19.216] Module class: X.Org XInput Driver
> [    19.216] ABI class: X.Org XInput driver, version 19.1
> [    19.216] (II) Using input driver 'kbd' for '/dev/wskbd'
> [    19.216] (**) /dev/wskbd: always reports core events
> [    19.216] (**) /dev/wskbd: always reports core events
> [    19.216] (**) Option "Protocol" "standard"
> [    19.216] (**) Option "XkbRules" "base"
> [    19.216] (**) Option "XkbModel" "pc105"
> [    19.217] (**) Option "XkbLayout" "us"
> [    19.217] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
> [    20.231] (II) config/wscons: checking input device /dev/wsmouse1
> [    20.231] (II) LoadModule: "ws"
> [    20.233] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
> [    20.236] (II) Module ws: vendor="X.Org Foundation"
> [    20.236] compiled for 1.14.5, module version = 1.3.0
> [    20.236] Module class: X.Org XInput Driver
> [    20.236] ABI class: X.Org XInput driver, version 19.1
> [    20.236] (II) Using input driver 'ws' for '/dev/wsmouse1'
> [    20.236] (**) /dev/wsmouse1: always reports core events
> [    20.236] (II) ws: /dev/wsmouse1: debuglevel 0
> [    20.236] (**) Option "Device" "/dev/wsmouse1"
> [    20.236] (**) ws: /dev/wsmouse1: ZAxisMapping: buttons 4 and 5
> [    20.236] (**) ws: /dev/wsmouse1: WAxisMapping: buttons 6 and 7
> [    20.236] (**) ws: /dev/wsmouse1: associated screen: 0
> [    20.236] (**) ws: /dev/wsmouse1: device will work in raw mode
> [    20.236] (II) ws: /dev/wsmouse1: minimum x position: 0
> [    20.236] (II) ws: /dev/wsmouse1: maximum x position: 4095
> [    20.236] (II) ws: /dev/wsmouse1: minimum y position: 0
> [    20.236] (II) ws: /dev/wsmouse1: maximum y position: 4095
> [    20.236] (==) ws: /dev/wsmouse1: Buttons: 7
> [    20.237] (**) ws: /dev/wsmouse1: YAxisMapping: buttons 4 and 5
> [    20.237] (II) XINPUT: Adding extended input device "/dev/wsmouse1" (type: TOUCHSCREEN, id 7)
> [    20.237] (**) /dev/wsmouse1: (accel) keeping acceleration scheme 1
> [    20.237] (**) /dev/wsmouse1: (accel) acceleration profile 0
> [    20.237] (**) /dev/wsmouse1: (accel) acceleration factor: 2.000
> [    20.237] (**) /dev/wsmouse1: (accel) acceleration threshold: 4
> [    20.237] (II) config/wscons: checking input device /dev/wsmouse
> [    20.237] (II) Using input driver 'ws' for '/dev/wsmouse'
> [    20.237] (**) /dev/wsmouse: always reports core events
> [    20.238] (II) ws: /dev/wsmouse: debuglevel 0
> [    20.238] (**) Option "Device" "/dev/wsmouse"
> [    20.238] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
> [    20.238] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
> [    20.238] (**) ws: /dev/wsmouse: associated screen: 0
> [    21.243] (II) ws: /dev/wsmouse: minimum x position: 0
> [    21.243] (II) ws: /dev/wsmouse: maximum x position: 1599
> [    21.243] (II) ws: /dev/wsmouse: minimum y position: 0
> [    21.243] (II) ws: /dev/wsmouse: maximum y position: 899
> [    21.243] (==) ws: /dev/wsmouse: Buttons: 7
> [    21.247] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
> [    21.247] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
> [    22.254] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
> [    22.254] (**) /dev/wsmouse: (accel) acceleration profile 0
> [    22.254] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
> [    22.254] (**) /dev/wsmouse: (accel) acceleration threshold: 4
> [    24.547] (II) intel(0): EDID vendor "LGD", prod id 898
> [    24.547] (II) intel(0): Printing DDC gathered Modelines:
> [    24.547] (II) intel(0): Modeline "1600x900"x0.0  108.00  1600 1648 1680 1924  900 903 908 936 -hsync -vsync (56.1 kHz eP)
> [  3037.709] (II) AIGLX: Suspending AIGLX clients for VT switch
> [  3038.320] (EE) intel(0): Failed to submit rendering commands, disabling acceleration.
> [  3042.215] (II) AIGLX: Resuming AIGLX clients after VT switch
> [  3042.215] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse1: read error Input/output error

Mike Burns
On 2014-07-14 00.54.15 -0700, Mike Larkin wrote:

> On Sun, Jul 13, 2014 at 06:22:34PM -0400, Mike Burns wrote:
> > Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
> > from suspend my Xorg.0.log is flooded with:
> >
> >   (EE) ws: /dev/wsmouse1: read error Input/output error
> >
> > In my dmesg:
> >
> >   wsmouse1: can't attach mux (error=5)
>
> Are you using wsmoused?

I was not, and now am, but I'm seeing the same issue. The errors in
dmesg are gone, different output now in Xorg.0.log:


[    97.351] (II) AIGLX: Suspending AIGLX clients for VT switch
[   101.776] (II) AIGLX: Resuming AIGLX clients after VT switch
[   101.776] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using
pipe 0, position (0, 0), rotation normal, reflection none
[   101.910] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
        Device busy.
[   101.910] (EE) ws: /dev/wsmouse: cannot open input device
[   101.910] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
[   101.910] [dix] couldn't enable device 8
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
[   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error


And for good measure, the new dmesg after suspend+resume:


ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC.
Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhid0 detached
uhid1 detached
uhid2 detached
wsmouse1 detached
ums0 detached
ums1 detached
uhidev0 detached
uhub3 detached
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc.
eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
uhidev0: iclass 3/1, 7 report ids
uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
ums0 at uhidev0 reportid 6: 1 button, tip
wsmouse1 at ums0 mux 0
ums1 at uhidev0 reportid 7
ums1: mouse has no X report


This is my /etc/fbtab (unmodified from the fresh 5.5 install):


/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/drm0


Just to be clear, the "ws: /dev/wsmouse1: read error Input/output error"
is repeated continuously until I stop X.

With wsmoused, after resume, neither the trackpoint nor the touchscreen
work.

In experimenting, I discovered that changing to the console and back to
X causes the trackpoint to stop working (moving it reflects nothing on
the screen), but the touchscreen continues to work. (If I quit X from
there, the kernel crashes; will submit a bug report later.)

This is what that adds to my Xorg.0.log:


[281.444] (II) AIGLX: Suspending AIGLX clients for VT switch
[   283.930] (II) AIGLX: Resuming AIGLX clients after VT switch
[   283.930] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using
pipe 0, position (0, 0), rotation normal, reflection none
[   284.051] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
wsmouseDevice busy.
[   284.051] (EE) ws: /dev/wsmouse: cannot open input device
[   284.053] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
[   284.053] [dix] couldn't enable device 8


Is my fbtab right? Is there something else to configure? This is my
first time on OpenBSD in a decade, so I'm sure things have changed since
I last configured it.

Thanks for any advice,
-Mike

> -ml
>
> >
> > Attached are four files: the dmesg before zzz, Xorg.0.log before zzz,
> > dmesg added after zzz, Xorg.0.log added after zzz.
> >
> > Is this fixed on -current? Is there a workaround? Something I need to
> > configure? More information needed?
> >
> > -Mike
> > OpenBSD 5.5-stable (GENERIC.MP) #0: Sat Jul 12 23:07:41 CEST 2014
> >     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 8255762432 (7873MB)
> > avail mem = 8027381760 (7655MB)
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
> > bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
> > bios0: LENOVO 3444CUU
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
> > acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4)
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpihpet0 at acpi0: 14318179 Hz
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.04 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > cpu0: 256KB 64b/line 8-way L2 cache
> > cpu0: smt 0, core 0, package 0
> > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 99MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> > cpu1 at mainbus0: apid 1 (application processor)
> > cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > cpu1: 256KB 64b/line 8-way L2 cache
> > cpu1: smt 1, core 0, package 0
> > cpu2 at mainbus0: apid 2 (application processor)
> > cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
> > cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > cpu2: 256KB 64b/line 8-way L2 cache
> > cpu2: smt 0, core 1, package 0
> > cpu3 at mainbus0: apid 3 (application processor)
> > cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
> > cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > cpu3: 256KB 64b/line 8-way L2 cache
> > cpu3: smt 1, core 1, package 0
> > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> > acpiec0 at acpi0
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus -1 (PEG_)
> > acpiprt2 at acpi0: bus 2 (EXP1)
> > acpiprt3 at acpi0: bus 3 (EXP2)
> > acpicpu0 at acpi0: C2, C1, PSS
> > acpicpu1 at acpi0: C2, C1, PSS
> > acpicpu2 at acpi0: C2, C1, PSS
> > acpicpu3 at acpi0: C2, C1, PSS
> > acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
> > acpitz0 at acpi0: critical temperature is 200 degC
> > acpibtn0 at acpi0: LID_
> > acpibtn1 at acpi0: SLPB
> > acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
> > acpibat1 at acpi0: BAT1 not present
> > acpiac0 at acpi0: AC unit online
> > acpithinkpad0 at acpi0
> > cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
> > pci0 at mainbus0 bus 0
> > pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
> > vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
> > intagp0 at vga1
> > agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
> > inteldrm0 at vga1
> > drm0 at inteldrm0
> > inteldrm0: 1600x900
> > wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> > wsdisplay0: screen 1-5 added (std, vt100 emulation)
> > "Intel 7 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured
> > "Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> > puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
> > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> > com4: probed fifo depth: 0 bytes
> > ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
> > 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 7 Series HD Audio" rev 0x04: msi
> > azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
> > audio0 at azalia0
> > ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
> > pci1 at ppb0 bus 2
> > sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
> > sdmmc0 at sdhc0
> > ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
> > pci2 at ppb1 bus 3
> > iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi, MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
> > ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
> > usb1 at ehci1: USB revision 2.0
> > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev 0x04
> > ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
> > scsibus0 at ahci0: 32 targets
> > sd0 at scsibus0 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct fixed naa.5001517803db5380
> > sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
> > ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
> > iic0 at ichiic0
> > 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
> > uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> > ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> > uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> > video0 at uvideo0
> > uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> > uhidev0: iclass 3/1, 7 report ids
> > uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> > uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> > uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> > ums0 at uhidev0 reportid 6: 1 button, tip
> > wsmouse1 at ums0 mux 0
> > ums1 at uhidev0 reportid 7
> > ums1: mouse has no X report
> > vscsi0 at root
> > scsibus1 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus2 at softraid0: 256 targets
> > sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
> > sd1: 227906MB, 512 bytes/sector, 466751982 sectors
> > root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
> > ugen0 detached
> > ugen1 detached
> > video0 detached
> > uvideo0 detached
> > uhub2 detached
> > uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> > ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> > uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> > video0 at uvideo0
> > ehci_idone: ex=0xffff800000cd8a00 is done!
> > uhid0 detached
> > uhid1 detached
> > uhid2 detached
> > wsmouse1: can't attach mux (error=5)
> > wsmouse1 detached
> > ums0 detached
> > ums1 detached
> > uhidev0 detached
> > uhub3 detached
> > uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> > uhidev0: iclass 3/1, 7 report ids
> > uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> > uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> > uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> > ums0 at uhidev0 reportid 6: 1 button, tip
> > wsmouse1 at ums0 mux 0
> > ums1 at uhidev0 reportid 7
> > ums1: mouse has no X report
> > [    18.762] (--) checkDevMem: using aperture driver /dev/xf86
> > [    18.785] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
> > [    18.817]
> > X.Org X Server 1.14.5
> > Release Date: 2013-12-12
> > [    18.818] X Protocol Version 11, Revision 0
> > [    18.818] Build Operating System: OpenBSD 5.5 amd64
> > [    18.818] Current Operating System: OpenBSD bellifortis.my.domain 5.5 GENERIC.MP#0 amd64
> > [    18.818] Build Date: 26 February 2014  09:16:04PM
> > [    18.818]  
> > [    18.818] Current version of pixman: 0.32.4
> > [    18.818] Before reporting problems, check http://wiki.x.org
> > to make sure that you have the latest version.
> > [    18.818] Markers: (--) probed, (**) from config file, (==) default setting,
> > (++) from command line, (!!) notice, (II) informational,
> > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > [    18.819] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 13 22:04:58 2014
> > [    18.823] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
> > [    18.825] (==) No Layout section.  Using the first Screen section.
> > [    18.825] (==) No screen section available. Using defaults.
> > [    18.825] (**) |-->Screen "Default Screen Section" (0)
> > [    18.825] (**) |   |-->Monitor "<default monitor>"
> > [    18.826] (==) No monitor specified for screen "Default Screen Section".
> > Using a default monitor configuration.
> > [    18.826] (==) Disabling SIGIO handlers for input devices
> > [    18.826] (==) Automatically adding devices
> > [    18.826] (==) Automatically enabling devices
> > [    18.826] (==) Not automatically adding GPU devices
> > [    18.836] (==) 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/
> > [    18.836] (==) ModulePath set to "/usr/X11R6/lib/modules"
> > [    18.836] (II) The server relies on wscons to provide the list of input devices.
> > If no devices become available, reconfigure wscons or disable AutoAddDevices.
> > [    18.837] (II) Loader magic: 0x1b525b8ec040
> > [    18.837] (II) Module ABI versions:
> > [    18.837] X.Org ANSI C Emulation: 0.4
> > [    18.837] X.Org Video Driver: 14.1
> > [    18.837] X.Org XInput driver : 19.1
> > [    18.837] X.Org Server Extension : 7.0
> > [    18.837] (--) PCI:*(0:0:2:0) 8086:0166:17aa:21f9 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
> > [    18.838] Initializing built-in extension Generic Event Extension
> > [    18.838] Initializing built-in extension SHAPE
> > [    18.838] Initializing built-in extension MIT-SHM
> > [    18.838] Initializing built-in extension XInputExtension
> > [    18.838] Initializing built-in extension XTEST
> > [    18.838] Initializing built-in extension BIG-REQUESTS
> > [    18.838] Initializing built-in extension SYNC
> > [    18.838] Initializing built-in extension XKEYBOARD
> > [    18.838] Initializing built-in extension XC-MISC
> > [    18.838] Initializing built-in extension SECURITY
> > [    18.838] Initializing built-in extension XINERAMA
> > [    18.838] Initializing built-in extension XFIXES
> > [    18.838] Initializing built-in extension RENDER
> > [    18.838] Initializing built-in extension RANDR
> > [    18.838] Initializing built-in extension COMPOSITE
> > [    18.838] Initializing built-in extension DAMAGE
> > [    18.838] Initializing built-in extension MIT-SCREEN-SAVER
> > [    18.838] Initializing built-in extension DOUBLE-BUFFER
> > [    18.838] Initializing built-in extension RECORD
> > [    18.838] Initializing built-in extension DPMS
> > [    18.838] Initializing built-in extension X-Resource
> > [    18.838] Initializing built-in extension XVideo
> > [    18.838] Initializing built-in extension XVideo-MotionCompensation
> > [    18.838] Initializing built-in extension XFree86-VidModeExtension
> > [    18.838] Initializing built-in extension XFree86-DGA
> > [    18.838] Initializing built-in extension XFree86-DRI
> > [    18.838] Initializing built-in extension DRI2
> > [    18.838] (II) LoadModule: "glx"
> > [    18.844] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> > [    18.848] (II) Module glx: vendor="X.Org Foundation"
> > [    18.848] compiled for 1.14.5, module version = 1.0.0
> > [    18.848] ABI class: X.Org Server Extension, version 7.0
> > [    18.848] (==) AIGLX enabled
> > [    18.849] Loading extension GLX
> > [    18.849] (==) Matched intel as autoconfigured driver 0
> > [    18.849] (==) Matched vesa as autoconfigured driver 1
> > [    18.849] (==) Assigned the driver to the xf86ConfigLayout
> > [    18.849] (II) LoadModule: "intel"
> > [    18.850] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
> > [    18.861] (II) Module intel: vendor="X.Org Foundation"
> > [    18.861] compiled for 1.14.5, module version = 2.99.910
> > [    18.861] Module class: X.Org Video Driver
> > [    18.861] ABI class: X.Org Video Driver, version 14.1
> > [    18.861] (II) LoadModule: "vesa"
> > [    18.863] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
> > [    18.864] (II) Module vesa: vendor="X.Org Foundation"
> > [    18.864] compiled for 1.14.5, module version = 2.3.3
> > [    18.864] Module class: X.Org Video Driver
> > [    18.864] ABI class: X.Org Video Driver, version 14.1
> > [    18.864] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
> > i810, i810-dc100, i810e, i815, i830M, 845G, 854, 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
> > [    18.865] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
> > [    18.865] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
> > [    18.866] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
> > [    18.866] (II) VESA: driver for VESA chipsets: vesa
> > [    18.870] (WW) Falling back to old probe method for vesa
> > [    18.873] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
> > [    18.873] (--) intel(0): CPU: x86-64
> > [    18.873] (II) intel(0): Creating default Display subsection in Screen section
> > "Default Screen Section" for depth/fbbpp 24/32
> > [    18.873] (==) intel(0): Depth 24, (--) framebuffer bpp 32
> > [    18.873] (==) intel(0): RGB weight 888
> > [    18.873] (==) intel(0): Default visual is TrueColor
> > [    18.875] (**) intel(0): Framebuffer tiled
> > [    18.875] (**) intel(0): Pixmaps tiled
> > [    18.875] (**) intel(0): "Tear free" disabled
> > [    18.875] (**) intel(0): Forcing per-crtc-pixmaps? no
> > [    18.875] (II) intel(0): Output LVDS1 has no monitor section
> > [    18.875] (II) intel(0): Output VGA1 has no monitor section
> > [    18.875] (II) intel(0): Output HDMI1 has no monitor section
> > [    18.876] (II) intel(0): Output DP1 has no monitor section
> > [    18.876] (II) intel(0): Output VIRTUAL1 has no monitor section
> > [    18.876] (--) intel(0): Output LVDS1 using initial mode 1600x900 on pipe 0
> > [    18.876] (==) intel(0): DPI set to (96, 96)
> > [    18.876] (II) Loading sub module "dri2"
> > [    18.876] (II) LoadModule: "dri2"
> > [    18.876] (II) Module "dri2" already built-in
> > [    18.876] (II) UnloadModule: "vesa"
> > [    18.876] (II) Unloading vesa
> > [    18.877] (==) Depth 24 pixmap format is 32 bpp
> > [    18.886] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
> > [    18.886] (==) intel(0): Backing store disabled
> > [    18.886] (==) intel(0): Silken mouse disabled
> > [    18.888] (II) intel(0): HW Cursor enabled
> > [    18.888] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
> > [    18.893] (==) intel(0): DPMS enabled
> > [    18.894] (II) intel(0): [DRI2] Setup complete
> > [    18.894] (II) intel(0): [DRI2]   DRI driver: i965
> > [    18.894] (II) intel(0): [DRI2]   VDPAU driver: i965
> > [    18.894] (II) intel(0): direct rendering: DRI2 Enabled
> > [    18.894] (--) RandR disabled
> > [    18.985] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> > [    18.985] (II) AIGLX: enabled GLX_INTEL_swap_event
> > [    18.985] (II) AIGLX: enabled GLX_ARB_create_context
> > [    18.985] (II) AIGLX: enabled GLX_ARB_create_context_profile
> > [    18.985] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
> > [    18.985] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
> > [    18.985] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
> > [    18.986] (II) AIGLX: Loaded and initialized i965
> > [    18.986] (II) GLX: Initialized DRI2 GL provider for screen 0
> > [    18.996] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
> > [    19.008] (II) intel(0): Setting screen physical size to 423 x 238
> > [    19.213] (II) config/wscons: checking input device /dev/wskbd
> > [    19.213] (II) wskbd: using layout us
> > [    19.213] (II) LoadModule: "kbd"
> > [    19.215] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
> > [    19.216] (II) Module kbd: vendor="X.Org Foundation"
> > [    19.216] compiled for 1.14.5, module version = 1.8.0
> > [    19.216] Module class: X.Org XInput Driver
> > [    19.216] ABI class: X.Org XInput driver, version 19.1
> > [    19.216] (II) Using input driver 'kbd' for '/dev/wskbd'
> > [    19.216] (**) /dev/wskbd: always reports core events
> > [    19.216] (**) /dev/wskbd: always reports core events
> > [    19.216] (**) Option "Protocol" "standard"
> > [    19.216] (**) Option "XkbRules" "base"
> > [    19.216] (**) Option "XkbModel" "pc105"
> > [    19.217] (**) Option "XkbLayout" "us"
> > [    19.217] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
> > [    20.231] (II) config/wscons: checking input device /dev/wsmouse1
> > [    20.231] (II) LoadModule: "ws"
> > [    20.233] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
> > [    20.236] (II) Module ws: vendor="X.Org Foundation"
> > [    20.236] compiled for 1.14.5, module version = 1.3.0
> > [    20.236] Module class: X.Org XInput Driver
> > [    20.236] ABI class: X.Org XInput driver, version 19.1
> > [    20.236] (II) Using input driver 'ws' for '/dev/wsmouse1'
> > [    20.236] (**) /dev/wsmouse1: always reports core events
> > [    20.236] (II) ws: /dev/wsmouse1: debuglevel 0
> > [    20.236] (**) Option "Device" "/dev/wsmouse1"
> > [    20.236] (**) ws: /dev/wsmouse1: ZAxisMapping: buttons 4 and 5
> > [    20.236] (**) ws: /dev/wsmouse1: WAxisMapping: buttons 6 and 7
> > [    20.236] (**) ws: /dev/wsmouse1: associated screen: 0
> > [    20.236] (**) ws: /dev/wsmouse1: device will work in raw mode
> > [    20.236] (II) ws: /dev/wsmouse1: minimum x position: 0
> > [    20.236] (II) ws: /dev/wsmouse1: maximum x position: 4095
> > [    20.236] (II) ws: /dev/wsmouse1: minimum y position: 0
> > [    20.236] (II) ws: /dev/wsmouse1: maximum y position: 4095
> > [    20.236] (==) ws: /dev/wsmouse1: Buttons: 7
> > [    20.237] (**) ws: /dev/wsmouse1: YAxisMapping: buttons 4 and 5
> > [    20.237] (II) XINPUT: Adding extended input device "/dev/wsmouse1" (type: TOUCHSCREEN, id 7)
> > [    20.237] (**) /dev/wsmouse1: (accel) keeping acceleration scheme 1
> > [    20.237] (**) /dev/wsmouse1: (accel) acceleration profile 0
> > [    20.237] (**) /dev/wsmouse1: (accel) acceleration factor: 2.000
> > [    20.237] (**) /dev/wsmouse1: (accel) acceleration threshold: 4
> > [    20.237] (II) config/wscons: checking input device /dev/wsmouse
> > [    20.237] (II) Using input driver 'ws' for '/dev/wsmouse'
> > [    20.237] (**) /dev/wsmouse: always reports core events
> > [    20.238] (II) ws: /dev/wsmouse: debuglevel 0
> > [    20.238] (**) Option "Device" "/dev/wsmouse"
> > [    20.238] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
> > [    20.238] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
> > [    20.238] (**) ws: /dev/wsmouse: associated screen: 0
> > [    21.243] (II) ws: /dev/wsmouse: minimum x position: 0
> > [    21.243] (II) ws: /dev/wsmouse: maximum x position: 1599
> > [    21.243] (II) ws: /dev/wsmouse: minimum y position: 0
> > [    21.243] (II) ws: /dev/wsmouse: maximum y position: 899
> > [    21.243] (==) ws: /dev/wsmouse: Buttons: 7
> > [    21.247] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
> > [    21.247] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
> > [    22.254] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
> > [    22.254] (**) /dev/wsmouse: (accel) acceleration profile 0
> > [    22.254] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
> > [    22.254] (**) /dev/wsmouse: (accel) acceleration threshold: 4
> > [    24.547] (II) intel(0): EDID vendor "LGD", prod id 898
> > [    24.547] (II) intel(0): Printing DDC gathered Modelines:
> > [    24.547] (II) intel(0): Modeline "1600x900"x0.0  108.00  1600 1648 1680 1924  900 903 908 936 -hsync -vsync (56.1 kHz eP)
> > [  3037.709] (II) AIGLX: Suspending AIGLX clients for VT switch
> > [  3038.320] (EE) intel(0): Failed to submit rendering commands, disabling acceleration.
> > [  3042.215] (II) AIGLX: Resuming AIGLX clients after VT switch
> > [  3042.215] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse1: read error Input/output error

Mike Burns
On 2014-07-14 18.09.30 -0400, Mike Burns wrote:

> On 2014-07-14 00.54.15 -0700, Mike Larkin wrote:
> > On Sun, Jul 13, 2014 at 06:22:34PM -0400, Mike Burns wrote:
> > > Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
> > > from suspend my Xorg.0.log is flooded with:
> > >
> > >   (EE) ws: /dev/wsmouse1: read error Input/output error
> > >
> > > In my dmesg:
> > >
> > >   wsmouse1: can't attach mux (error=5)
> >
> > Are you using wsmoused?
>
> I was not, and now am, but I'm seeing the same issue. The errors in
> dmesg are gone, different output now in Xorg.0.log:
>
>
> [    97.351] (II) AIGLX: Suspending AIGLX clients for VT switch
> [   101.776] (II) AIGLX: Resuming AIGLX clients after VT switch
> [   101.776] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using
> pipe 0, position (0, 0), rotation normal, reflection none
> [   101.910] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
>         Device busy.
> [   101.910] (EE) ws: /dev/wsmouse: cannot open input device
> [   101.910] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
> [   101.910] [dix] couldn't enable device 8
> [   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
> [   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
> [   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
> [   105.038] (EE) ws: /dev/wsmouse1: read error Input/output error
>
>
> And for good measure, the new dmesg after suspend+resume:
>
>
> ugen0 detached
> ugen1 detached
> video0 detached
> uvideo0 detached
> uhub2 detached
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC.
> Integrated Camera" rev 2.00/36.22 addr 5
> video0 at uvideo0
> uhid0 detached
> uhid1 detached
> uhid2 detached
> wsmouse1 detached
> ums0 detached
> ums1 detached
> uhidev0 detached
> uhub3 detached
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc.
> eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> uhidev0: iclass 3/1, 7 report ids
> uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> ums0 at uhidev0 reportid 6: 1 button, tip
> wsmouse1 at ums0 mux 0
> ums1 at uhidev0 reportid 7
> ums1: mouse has no X report
>
>
> This is my /etc/fbtab (unmodified from the fresh 5.5 install):
>
>
> /dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/drm0

This is my new /etc/fbtab, but it still has no effect:


/dev/ttyC0    0600    /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse1:/dev/wsmouse0:/dev/ttyCcfg:/dev/drm0
/dev/ttyC4    0600    /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse1:/dev/wsmouse0:/dev/ttyCcfg:/dev/drm0


This is odd to me, though, because I expect /dev/console to be owned by
me:


crw-------  1 root  wheel    0,   0 Jul 18 15:35 /dev/console


Here is a new addition to my Xorg.0.log; it happens after X has been
killed as part of running reboot(8):


[   109.393] (EE) ws: /dev/wsmouse1: read error Input/output error
[   109.592] (EE) ws: /dev/wsmouse1: SCALIBCOORS failed Inappropriate
ioctl for device
[   109.593] (II) UnloadModule: "ws"
[   109.593] (II) UnloadModule: "kbd"
[   109.593] (II) UnloadModule: "ws"
[   109.635] (EE) Server terminated successfully (0). Closing log file.


/dev/wsmouse1 is the touchscreen (confirmed using `xinput -test
/dev/wsmouse1`).

While playing with xinput(1) I discovered this:


xinput -disable /dev/wsmouse1
zzz


That does not clog the Xorg.0.log with 'read error Input/output error',
upon resume. However, also upon resume neither the touchscreen nor the
normal mouse (TouchPoint) work. But, if I disable and re-enable both,
they work again.

If I disable /dev/wsmouse1 before zzz(8), the Xorg.0.log looks like
this (without any errors afterward):


[   713.290] (II) AIGLX: Suspending AIGLX clients for VT switch
[   713.987] (EE) intel(0): Failed to submit rendering commands,
disabling acceleration.
[   718.202] (II) AIGLX: Resuming AIGLX clients after VT switch
[   718.202] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using
pipe 0, position (0, 0), rotation normal, reflection none
[   718.348] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
wsmouse Device busy.
[   718.348] (EE) ws: /dev/wsmouse: cannot open input device
[   718.348] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
[   718.356] [dix] couldn't enable device 8


Does anyone have a suggestion on how to proceed from here?

-Mike

> Just to be clear, the "ws: /dev/wsmouse1: read error Input/output error"
> is repeated continuously until I stop X.
>
> With wsmoused, after resume, neither the trackpoint nor the touchscreen
> work.
>
> In experimenting, I discovered that changing to the console and back to
> X causes the trackpoint to stop working (moving it reflects nothing on
> the screen), but the touchscreen continues to work. (If I quit X from
> there, the kernel crashes; will submit a bug report later.)
>
> This is what that adds to my Xorg.0.log:
>
>
> [281.444] (II) AIGLX: Suspending AIGLX clients for VT switch
> [   283.930] (II) AIGLX: Resuming AIGLX clients after VT switch
> [   283.930] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using
> pipe 0, position (0, 0), rotation normal, reflection none
> [   284.051] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
> wsmouseDevice busy.
> [   284.051] (EE) ws: /dev/wsmouse: cannot open input device
> [   284.053] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
> [   284.053] [dix] couldn't enable device 8
>
>
> Is my fbtab right? Is there something else to configure? This is my
> first time on OpenBSD in a decade, so I'm sure things have changed since
> I last configured it.
>
> Thanks for any advice,
> -Mike
>
> > -ml
> >
> > >
> > > Attached are four files: the dmesg before zzz, Xorg.0.log before zzz,
> > > dmesg added after zzz, Xorg.0.log added after zzz.
> > >
> > > Is this fixed on -current? Is there a workaround? Something I need to
> > > configure? More information needed?
> > >
> > > -Mike
> > > OpenBSD 5.5-stable (GENERIC.MP) #0: Sat Jul 12 23:07:41 CEST 2014
> > >     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > > real mem = 8255762432 (7873MB)
> > > avail mem = 8027381760 (7655MB)
> > > mainbus0 at root
> > > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
> > > bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
> > > bios0: LENOVO 3444CUU
> > > acpi0 at bios0: rev 2
> > > acpi0: sleep states S0 S3 S4 S5
> > > acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
> > > acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4)
> > > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > > acpihpet0 at acpi0: 14318179 Hz
> > > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > > cpu0 at mainbus0: apid 0 (boot processor)
> > > cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.04 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > > cpu0: 256KB 64b/line 8-way L2 cache
> > > cpu0: smt 0, core 0, package 0
> > > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > > cpu0: apic clock running at 99MHz
> > > cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> > > cpu1 at mainbus0: apid 1 (application processor)
> > > cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > > cpu1: 256KB 64b/line 8-way L2 cache
> > > cpu1: smt 1, core 0, package 0
> > > cpu2 at mainbus0: apid 2 (application processor)
> > > cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
> > > cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > > cpu2: 256KB 64b/line 8-way L2 cache
> > > cpu2: smt 0, core 1, package 0
> > > cpu3 at mainbus0: apid 3 (application processor)
> > > cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
> > > cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
> > > cpu3: 256KB 64b/line 8-way L2 cache
> > > cpu3: smt 1, core 1, package 0
> > > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> > > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> > > acpiec0 at acpi0
> > > acpiprt0 at acpi0: bus 0 (PCI0)
> > > acpiprt1 at acpi0: bus -1 (PEG_)
> > > acpiprt2 at acpi0: bus 2 (EXP1)
> > > acpiprt3 at acpi0: bus 3 (EXP2)
> > > acpicpu0 at acpi0: C2, C1, PSS
> > > acpicpu1 at acpi0: C2, C1, PSS
> > > acpicpu2 at acpi0: C2, C1, PSS
> > > acpicpu3 at acpi0: C2, C1, PSS
> > > acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
> > > acpitz0 at acpi0: critical temperature is 200 degC
> > > acpibtn0 at acpi0: LID_
> > > acpibtn1 at acpi0: SLPB
> > > acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
> > > acpibat1 at acpi0: BAT1 not present
> > > acpiac0 at acpi0: AC unit online
> > > acpithinkpad0 at acpi0
> > > cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
> > > pci0 at mainbus0 bus 0
> > > pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
> > > vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
> > > intagp0 at vga1
> > > agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
> > > inteldrm0 at vga1
> > > drm0 at inteldrm0
> > > inteldrm0: 1600x900
> > > wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> > > wsdisplay0: screen 1-5 added (std, vt100 emulation)
> > > "Intel 7 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured
> > > "Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> > > puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
> > > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> > > com4: probed fifo depth: 0 bytes
> > > ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
> > > 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 7 Series HD Audio" rev 0x04: msi
> > > azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
> > > audio0 at azalia0
> > > ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
> > > pci1 at ppb0 bus 2
> > > sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
> > > sdmmc0 at sdhc0
> > > ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
> > > pci2 at ppb1 bus 3
> > > iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi, MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
> > > ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
> > > usb1 at ehci1: USB revision 2.0
> > > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > > pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev 0x04
> > > ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
> > > scsibus0 at ahci0: 32 targets
> > > sd0 at scsibus0 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct fixed naa.5001517803db5380
> > > sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
> > > ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
> > > iic0 at ichiic0
> > > 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
> > > uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > > ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> > > ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> > > uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> > > video0 at uvideo0
> > > uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > > uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> > > uhidev0: iclass 3/1, 7 report ids
> > > uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> > > uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> > > uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> > > ums0 at uhidev0 reportid 6: 1 button, tip
> > > wsmouse1 at ums0 mux 0
> > > ums1 at uhidev0 reportid 7
> > > ums1: mouse has no X report
> > > vscsi0 at root
> > > scsibus1 at vscsi0: 256 targets
> > > softraid0 at root
> > > scsibus2 at softraid0: 256 targets
> > > sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
> > > sd1: 227906MB, 512 bytes/sector, 466751982 sectors
> > > root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
> > > ugen0 detached
> > > ugen1 detached
> > > video0 detached
> > > uvideo0 detached
> > > uhub2 detached
> > > uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > > ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> > > ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> > > uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> > > video0 at uvideo0
> > > ehci_idone: ex=0xffff800000cd8a00 is done!
> > > uhid0 detached
> > > uhid1 detached
> > > uhid2 detached
> > > wsmouse1: can't attach mux (error=5)
> > > wsmouse1 detached
> > > ums0 detached
> > > ums1 detached
> > > uhidev0 detached
> > > uhub3 detached
> > > uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > > uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> > > uhidev0: iclass 3/1, 7 report ids
> > > uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> > > uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> > > uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> > > ums0 at uhidev0 reportid 6: 1 button, tip
> > > wsmouse1 at ums0 mux 0
> > > ums1 at uhidev0 reportid 7
> > > ums1: mouse has no X report
> > > [    18.762] (--) checkDevMem: using aperture driver /dev/xf86
> > > [    18.785] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
> > > [    18.817]
> > > X.Org X Server 1.14.5
> > > Release Date: 2013-12-12
> > > [    18.818] X Protocol Version 11, Revision 0
> > > [    18.818] Build Operating System: OpenBSD 5.5 amd64
> > > [    18.818] Current Operating System: OpenBSD bellifortis.my.domain 5.5 GENERIC.MP#0 amd64
> > > [    18.818] Build Date: 26 February 2014  09:16:04PM
> > > [    18.818]  
> > > [    18.818] Current version of pixman: 0.32.4
> > > [    18.818] Before reporting problems, check http://wiki.x.org
> > > to make sure that you have the latest version.
> > > [    18.818] Markers: (--) probed, (**) from config file, (==) default setting,
> > > (++) from command line, (!!) notice, (II) informational,
> > > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > > [    18.819] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 13 22:04:58 2014
> > > [    18.823] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
> > > [    18.825] (==) No Layout section.  Using the first Screen section.
> > > [    18.825] (==) No screen section available. Using defaults.
> > > [    18.825] (**) |-->Screen "Default Screen Section" (0)
> > > [    18.825] (**) |   |-->Monitor "<default monitor>"
> > > [    18.826] (==) No monitor specified for screen "Default Screen Section".
> > > Using a default monitor configuration.
> > > [    18.826] (==) Disabling SIGIO handlers for input devices
> > > [    18.826] (==) Automatically adding devices
> > > [    18.826] (==) Automatically enabling devices
> > > [    18.826] (==) Not automatically adding GPU devices
> > > [    18.836] (==) 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/
> > > [    18.836] (==) ModulePath set to "/usr/X11R6/lib/modules"
> > > [    18.836] (II) The server relies on wscons to provide the list of input devices.
> > > If no devices become available, reconfigure wscons or disable AutoAddDevices.
> > > [    18.837] (II) Loader magic: 0x1b525b8ec040
> > > [    18.837] (II) Module ABI versions:
> > > [    18.837] X.Org ANSI C Emulation: 0.4
> > > [    18.837] X.Org Video Driver: 14.1
> > > [    18.837] X.Org XInput driver : 19.1
> > > [    18.837] X.Org Server Extension : 7.0
> > > [    18.837] (--) PCI:*(0:0:2:0) 8086:0166:17aa:21f9 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
> > > [    18.838] Initializing built-in extension Generic Event Extension
> > > [    18.838] Initializing built-in extension SHAPE
> > > [    18.838] Initializing built-in extension MIT-SHM
> > > [    18.838] Initializing built-in extension XInputExtension
> > > [    18.838] Initializing built-in extension XTEST
> > > [    18.838] Initializing built-in extension BIG-REQUESTS
> > > [    18.838] Initializing built-in extension SYNC
> > > [    18.838] Initializing built-in extension XKEYBOARD
> > > [    18.838] Initializing built-in extension XC-MISC
> > > [    18.838] Initializing built-in extension SECURITY
> > > [    18.838] Initializing built-in extension XINERAMA
> > > [    18.838] Initializing built-in extension XFIXES
> > > [    18.838] Initializing built-in extension RENDER
> > > [    18.838] Initializing built-in extension RANDR
> > > [    18.838] Initializing built-in extension COMPOSITE
> > > [    18.838] Initializing built-in extension DAMAGE
> > > [    18.838] Initializing built-in extension MIT-SCREEN-SAVER
> > > [    18.838] Initializing built-in extension DOUBLE-BUFFER
> > > [    18.838] Initializing built-in extension RECORD
> > > [    18.838] Initializing built-in extension DPMS
> > > [    18.838] Initializing built-in extension X-Resource
> > > [    18.838] Initializing built-in extension XVideo
> > > [    18.838] Initializing built-in extension XVideo-MotionCompensation
> > > [    18.838] Initializing built-in extension XFree86-VidModeExtension
> > > [    18.838] Initializing built-in extension XFree86-DGA
> > > [    18.838] Initializing built-in extension XFree86-DRI
> > > [    18.838] Initializing built-in extension DRI2
> > > [    18.838] (II) LoadModule: "glx"
> > > [    18.844] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> > > [    18.848] (II) Module glx: vendor="X.Org Foundation"
> > > [    18.848] compiled for 1.14.5, module version = 1.0.0
> > > [    18.848] ABI class: X.Org Server Extension, version 7.0
> > > [    18.848] (==) AIGLX enabled
> > > [    18.849] Loading extension GLX
> > > [    18.849] (==) Matched intel as autoconfigured driver 0
> > > [    18.849] (==) Matched vesa as autoconfigured driver 1
> > > [    18.849] (==) Assigned the driver to the xf86ConfigLayout
> > > [    18.849] (II) LoadModule: "intel"
> > > [    18.850] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
> > > [    18.861] (II) Module intel: vendor="X.Org Foundation"
> > > [    18.861] compiled for 1.14.5, module version = 2.99.910
> > > [    18.861] Module class: X.Org Video Driver
> > > [    18.861] ABI class: X.Org Video Driver, version 14.1
> > > [    18.861] (II) LoadModule: "vesa"
> > > [    18.863] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
> > > [    18.864] (II) Module vesa: vendor="X.Org Foundation"
> > > [    18.864] compiled for 1.14.5, module version = 2.3.3
> > > [    18.864] Module class: X.Org Video Driver
> > > [    18.864] ABI class: X.Org Video Driver, version 14.1
> > > [    18.864] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
> > > i810, i810-dc100, i810e, i815, i830M, 845G, 854, 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
> > > [    18.865] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
> > > [    18.865] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
> > > [    18.866] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
> > > [    18.866] (II) VESA: driver for VESA chipsets: vesa
> > > [    18.870] (WW) Falling back to old probe method for vesa
> > > [    18.873] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
> > > [    18.873] (--) intel(0): CPU: x86-64
> > > [    18.873] (II) intel(0): Creating default Display subsection in Screen section
> > > "Default Screen Section" for depth/fbbpp 24/32
> > > [    18.873] (==) intel(0): Depth 24, (--) framebuffer bpp 32
> > > [    18.873] (==) intel(0): RGB weight 888
> > > [    18.873] (==) intel(0): Default visual is TrueColor
> > > [    18.875] (**) intel(0): Framebuffer tiled
> > > [    18.875] (**) intel(0): Pixmaps tiled
> > > [    18.875] (**) intel(0): "Tear free" disabled
> > > [    18.875] (**) intel(0): Forcing per-crtc-pixmaps? no
> > > [    18.875] (II) intel(0): Output LVDS1 has no monitor section
> > > [    18.875] (II) intel(0): Output VGA1 has no monitor section
> > > [    18.875] (II) intel(0): Output HDMI1 has no monitor section
> > > [    18.876] (II) intel(0): Output DP1 has no monitor section
> > > [    18.876] (II) intel(0): Output VIRTUAL1 has no monitor section
> > > [    18.876] (--) intel(0): Output LVDS1 using initial mode 1600x900 on pipe 0
> > > [    18.876] (==) intel(0): DPI set to (96, 96)
> > > [    18.876] (II) Loading sub module "dri2"
> > > [    18.876] (II) LoadModule: "dri2"
> > > [    18.876] (II) Module "dri2" already built-in
> > > [    18.876] (II) UnloadModule: "vesa"
> > > [    18.876] (II) Unloading vesa
> > > [    18.877] (==) Depth 24 pixmap format is 32 bpp
> > > [    18.886] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
> > > [    18.886] (==) intel(0): Backing store disabled
> > > [    18.886] (==) intel(0): Silken mouse disabled
> > > [    18.888] (II) intel(0): HW Cursor enabled
> > > [    18.888] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
> > > [    18.893] (==) intel(0): DPMS enabled
> > > [    18.894] (II) intel(0): [DRI2] Setup complete
> > > [    18.894] (II) intel(0): [DRI2]   DRI driver: i965
> > > [    18.894] (II) intel(0): [DRI2]   VDPAU driver: i965
> > > [    18.894] (II) intel(0): direct rendering: DRI2 Enabled
> > > [    18.894] (--) RandR disabled
> > > [    18.985] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> > > [    18.985] (II) AIGLX: enabled GLX_INTEL_swap_event
> > > [    18.985] (II) AIGLX: enabled GLX_ARB_create_context
> > > [    18.985] (II) AIGLX: enabled GLX_ARB_create_context_profile
> > > [    18.985] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
> > > [    18.985] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
> > > [    18.985] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
> > > [    18.986] (II) AIGLX: Loaded and initialized i965
> > > [    18.986] (II) GLX: Initialized DRI2 GL provider for screen 0
> > > [    18.996] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
> > > [    19.008] (II) intel(0): Setting screen physical size to 423 x 238
> > > [    19.213] (II) config/wscons: checking input device /dev/wskbd
> > > [    19.213] (II) wskbd: using layout us
> > > [    19.213] (II) LoadModule: "kbd"
> > > [    19.215] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
> > > [    19.216] (II) Module kbd: vendor="X.Org Foundation"
> > > [    19.216] compiled for 1.14.5, module version = 1.8.0
> > > [    19.216] Module class: X.Org XInput Driver
> > > [    19.216] ABI class: X.Org XInput driver, version 19.1
> > > [    19.216] (II) Using input driver 'kbd' for '/dev/wskbd'
> > > [    19.216] (**) /dev/wskbd: always reports core events
> > > [    19.216] (**) /dev/wskbd: always reports core events
> > > [    19.216] (**) Option "Protocol" "standard"
> > > [    19.216] (**) Option "XkbRules" "base"
> > > [    19.216] (**) Option "XkbModel" "pc105"
> > > [    19.217] (**) Option "XkbLayout" "us"
> > > [    19.217] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
> > > [    20.231] (II) config/wscons: checking input device /dev/wsmouse1
> > > [    20.231] (II) LoadModule: "ws"
> > > [    20.233] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
> > > [    20.236] (II) Module ws: vendor="X.Org Foundation"
> > > [    20.236] compiled for 1.14.5, module version = 1.3.0
> > > [    20.236] Module class: X.Org XInput Driver
> > > [    20.236] ABI class: X.Org XInput driver, version 19.1
> > > [    20.236] (II) Using input driver 'ws' for '/dev/wsmouse1'
> > > [    20.236] (**) /dev/wsmouse1: always reports core events
> > > [    20.236] (II) ws: /dev/wsmouse1: debuglevel 0
> > > [    20.236] (**) Option "Device" "/dev/wsmouse1"
> > > [    20.236] (**) ws: /dev/wsmouse1: ZAxisMapping: buttons 4 and 5
> > > [    20.236] (**) ws: /dev/wsmouse1: WAxisMapping: buttons 6 and 7
> > > [    20.236] (**) ws: /dev/wsmouse1: associated screen: 0
> > > [    20.236] (**) ws: /dev/wsmouse1: device will work in raw mode
> > > [    20.236] (II) ws: /dev/wsmouse1: minimum x position: 0
> > > [    20.236] (II) ws: /dev/wsmouse1: maximum x position: 4095
> > > [    20.236] (II) ws: /dev/wsmouse1: minimum y position: 0
> > > [    20.236] (II) ws: /dev/wsmouse1: maximum y position: 4095
> > > [    20.236] (==) ws: /dev/wsmouse1: Buttons: 7
> > > [    20.237] (**) ws: /dev/wsmouse1: YAxisMapping: buttons 4 and 5
> > > [    20.237] (II) XINPUT: Adding extended input device "/dev/wsmouse1" (type: TOUCHSCREEN, id 7)
> > > [    20.237] (**) /dev/wsmouse1: (accel) keeping acceleration scheme 1
> > > [    20.237] (**) /dev/wsmouse1: (accel) acceleration profile 0
> > > [    20.237] (**) /dev/wsmouse1: (accel) acceleration factor: 2.000
> > > [    20.237] (**) /dev/wsmouse1: (accel) acceleration threshold: 4
> > > [    20.237] (II) config/wscons: checking input device /dev/wsmouse
> > > [    20.237] (II) Using input driver 'ws' for '/dev/wsmouse'
> > > [    20.237] (**) /dev/wsmouse: always reports core events
> > > [    20.238] (II) ws: /dev/wsmouse: debuglevel 0
> > > [    20.238] (**) Option "Device" "/dev/wsmouse"
> > > [    20.238] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
> > > [    20.238] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
> > > [    20.238] (**) ws: /dev/wsmouse: associated screen: 0
> > > [    21.243] (II) ws: /dev/wsmouse: minimum x position: 0
> > > [    21.243] (II) ws: /dev/wsmouse: maximum x position: 1599
> > > [    21.243] (II) ws: /dev/wsmouse: minimum y position: 0
> > > [    21.243] (II) ws: /dev/wsmouse: maximum y position: 899
> > > [    21.243] (==) ws: /dev/wsmouse: Buttons: 7
> > > [    21.247] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
> > > [    21.247] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
> > > [    22.254] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
> > > [    22.254] (**) /dev/wsmouse: (accel) acceleration profile 0
> > > [    22.254] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
> > > [    22.254] (**) /dev/wsmouse: (accel) acceleration threshold: 4
> > > [    24.547] (II) intel(0): EDID vendor "LGD", prod id 898
> > > [    24.547] (II) intel(0): Printing DDC gathered Modelines:
> > > [    24.547] (II) intel(0): Modeline "1600x900"x0.0  108.00  1600 1648 1680 1924  900 903 908 936 -hsync -vsync (56.1 kHz eP)
> > > [  3037.709] (II) AIGLX: Suspending AIGLX clients for VT switch
> > > [  3038.320] (EE) intel(0): Failed to submit rendering commands, disabling acceleration.
> > > [  3042.215] (II) AIGLX: Resuming AIGLX clients after VT switch
> > > [  3042.215] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.182] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.183] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error
> > > [  3045.184] (EE) ws: /dev/wsmouse1: read error Input/output error

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse1: read error Input/output error

Mike Burns
On 2014-07-18 09.53.25 -0400, Mike Burns wrote:

> On 2014-07-14 18.09.30 -0400, Mike Burns wrote:
> > On 2014-07-14 00.54.15 -0700, Mike Larkin wrote:
> > > On Sun, Jul 13, 2014 at 06:22:34PM -0400, Mike Burns wrote:
> > > > Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
> > > > from suspend my Xorg.0.log is flooded with:
> > > >
> > > >   (EE) ws: /dev/wsmouse1: read error Input/output error
> > > >
> > And for good measure, the new dmesg after suspend+resume:
> >
> > uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc.
> > eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> > uhidev0: iclass 3/1, 7 report ids
> > [ ... snip ... ]
> > ums0 at uhidev0 reportid 6: 1 button, tip
> > wsmouse1 at ums0 mux 0
> > ums1 at uhidev0 reportid 7
> > ums1: mouse has no X report
>
> Here is a new addition to my Xorg.0.log; it happens after X has been
> killed as part of running reboot(8):
>
> [   109.393] (EE) ws: /dev/wsmouse1: read error Input/output error
> [   109.592] (EE) ws: /dev/wsmouse1: SCALIBCOORS failed Inappropriate
> ioctl for device
>
> /dev/wsmouse1 is the touchscreen (confirmed using `xinput -test
> /dev/wsmouse1`).

Those above errors seem to be the important ones. Starting with the Xorg
log:


[   109.592] (EE) ws: /dev/wsmouse1: SCALIBCOORS failed Inappropriate
ioctl for device


That comes from sys/dev/wscons/wsmouse.c, `wsmouse_do_ioctl': it passes
down to the mouse driver.

The mouse driver in this case is ums(4) (not uts(4)) in the function
`ums_ioctl'.  This in turn passes off to `hidms_ioctl'
(dev/usb/hidms.c), which should handle WSMOUSEIO_SCALIBCOORDS without
issue, but:


ums1 at uhidev0 reportid 7
ums1: mouse has no X report


This comes from dev/usb/hidms.c, `hidms_setup', which is called from
`usm_attach' back in ums.c . Without a successful, `hidms_setup', the
`hidms_attach' function is never called. Presumably, this is the source
of all my problems. But back to the uts(4) idea:


uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc.
eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3


This makes me think it should use the uts(4) driver, not ums(4).
Relevant output from lsusb(8):


Bus 001 Device 003: ID 0eef:790a D-WAV Scientific Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0eef D-WAV Scientific Co., Ltd
  idProduct          0x790a
  bcdDevice           66.03
  iManufacturer           1 eGalax Inc.
  iProduct                2 eGalaxTouch EXC7903-66v03_T1
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          1 eGalax Inc.
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               2.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     557
          Report Descriptor: (length is 557)
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x04 ] 4
                            Touch Screen
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x06 ] 6
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x54 ] 84
                            Contact Count
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0c ] 12
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x20 ] 32
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Global): Logical Maximum, data= [ 0xff 0x0f ] 4095
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0x13 0x0c ] 3091
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0xcb 0x06 ] 1739
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x20 ] 32
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Global): Logical Maximum, data= [ 0xff 0x0f ] 4095
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0x13 0x0c ] 3091
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0xcb 0x06 ] 1739
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x20 ] 32
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Global): Logical Maximum, data= [ 0xff 0x0f ] 4095
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0x13 0x0c ] 3091
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0xcb 0x06 ] 1739
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x20 ] 32
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Global): Logical Maximum, data= [ 0xff 0x0f ] 4095
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0x13 0x0c ] 3091
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0xcb 0x06 ] 1739
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x20 ] 32
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Global): Logical Maximum, data= [ 0xff 0x0f ] 4095
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0x13 0x0c ] 3091
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0xcb 0x06 ] 1739
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Global): Logical Minimum, data= [ 0x00 0x00 0x00 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0xff 0xff 0x7f ] 2147483647
            Item(Global): Report Size, data= [ 0x20 ] 32
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Local ): Usage, data= [ 0x56 ] 86
                            (null)
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x55 ] 85
                            Maximum Contact Number
            Item(Local ): Usage, data= [ 0x53 ] 83
                            Device Index
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
                            (null)
            Item(Local ): Usage, data= [ 0xc5 ] 197
                            (null)
            Item(Global): Report ID, data= [ 0x07 ] 7
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x00 0x01 ] 256
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x01 ] 1
                            Pointer
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x01 ] 1
                            Pointer
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Usage Page, data= [ 0x09 ] 9
                            Buttons
            Item(Local ): Usage Minimum, data= [ 0x01 ] 1
                            Button 1 (Primary)
            Item(Local ): Usage Maximum, data= [ 0x02 ] 2
                            Button 2 (Secondary)
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x06 ] 6
            Item(Main  ): Input, data= [ 0x01 ] 1
                            Constant Array Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Minimum, data= [ 0x00 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x0f ] 4095
            Item(Global): Physical Minimum, data= [ 0x00 0x00 ] 0
            Item(Global): Physical Maximum, data= [ 0xff 0x0f ] 4095
            Item(Global): Unit, data= [ 0x00 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
                            (null)
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report ID, data= [ 0x03 ] 3
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x3f ] 63
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
                            (null)
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x3f ] 63
            Item(Main  ): Output, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x0e ] 14
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x05 ] 5
            Item(Local ): Usage, data= [ 0x23 ] 35
                            (null)
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x52 ] 82
                            Input Mode
            Item(Local ): Usage, data= [ 0x53 ] 83
                            Device Index
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0a ] 10
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled


So that's what I know so far. This makes me think there are two items to
fix:

1. If `hidms_setup' fails, the device should be disabled. This is to
   prevent issues like the one I ran into, where Xorg.0.log fills with
   errors.
2. Adding support for the touchscreen.

I'll gladly try this but it'd be great if I could get some pointers on
how to begin. For (1), should `hid_locate' be called from within
`ums_match'? For (2), is it as easy as adding some constants to
`uts_devs'?

-Mike

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse1: read error Input/output error

Martin Pieuchot-2
In reply to this post by Mike Burns
On 13/07/14(Sun) 18:22, Mike Burns wrote:
> Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
> from suspend my Xorg.0.log is flooded with:
>
>   (EE) ws: /dev/wsmouse1: read error Input/output error
>
> In my dmesg:
>
>   wsmouse1: can't attach mux (error=5)

I did a lot of work after 5.5 to prevent races like this one.  Could you
try a snapshot and tell me if you still see this error during suspend-
resume?

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Mike Burns
On 2014-07-19 16.43.30 +0200, Martin Pieuchot wrote:

> On 13/07/14(Sun) 18:22, Mike Burns wrote:
> > Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
> > from suspend my Xorg.0.log is flooded with:
> >
> >   (EE) ws: /dev/wsmouse1: read error Input/output error
> >
> > In my dmesg:
> >
> >   wsmouse1: can't attach mux (error=5)
>
> I did a lot of work after 5.5 to prevent races like this one.  Could you
> try a snapshot and tell me if you still see this error during suspend-
> resume?

This race is indeed fixed in the snapshot from 18 July. Thanks!

In this snapshot, the touchscreen no longer works at all. The only
mention of wsmouse in dmesg is now:

  wsmouse0 at pms0 mux 0

That is, no mention of wsmouse1.

After resume, my normal mouse no longer works.

Suspend/resume is much more erratic now, too: sometimes zzz(1) will
immediately suspend and then pressing the power button will cause it to
immediately resume - this is typically what happens the first time I
suspend after booting. Other times it will blank the screen and spin the
fans loudly instead of suspending. Once it seemed to suspend just fine,
but instead of resuming it just spun the fans loudly. Just now the
system suspended then immediately resumed by itself - interestingly, the
mouse works fine when that happens.

Here's an Xorg.0.log from a successful suspend:


[    57.954] (--) checkDevMem: using aperture driver /dev/xf86
[    57.974] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
[    58.022]
X.Org X Server 1.15.2
Release Date: 2014-06-27
[    58.022] X Protocol Version 11, Revision 0
[    58.022] Build Operating System: OpenBSD 5.6 amd64
[    58.022] Current Operating System: OpenBSD bellifortis.my.domain 5.6 GENERIC.MP#288 amd64
[    58.023] Build Date: 17 July 2014  06:16:39PM
[    58.023]  
[    58.024] Current version of pixman: 0.32.4
[    58.024] Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    58.024] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    58.024] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 20 23:02:59 2014
[    58.028] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[    58.029] (==) No Layout section.  Using the first Screen section.
[    58.030] (==) No screen section available. Using defaults.
[    58.030] (**) |-->Screen "Default Screen Section" (0)
[    58.030] (**) |   |-->Monitor "<default monitor>"
[    58.031] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    58.031] (==) Disabling SIGIO handlers for input devices
[    58.032] (==) Automatically adding devices
[    58.032] (==) Automatically enabling devices
[    58.032] (==) Not automatically adding GPU devices
[    58.042] (==) 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/
[    58.042] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    58.042] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[    58.043] (II) Loader magic: 0x1c01a8e07520
[    58.043] (II) Module ABI versions:
[    58.043] X.Org ANSI C Emulation: 0.4
[    58.043] X.Org Video Driver: 15.0
[    58.043] X.Org XInput driver : 20.0
[    58.043] X.Org Server Extension : 8.0
[    58.044] (--) PCI:*(0:0:2:0) 8086:0166:17aa:21f9 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[    58.044] Initializing built-in extension Generic Event Extension
[    58.044] Initializing built-in extension SHAPE
[    58.044] Initializing built-in extension MIT-SHM
[    58.044] Initializing built-in extension XInputExtension
[    58.044] Initializing built-in extension XTEST
[    58.044] Initializing built-in extension BIG-REQUESTS
[    58.044] Initializing built-in extension SYNC
[    58.044] Initializing built-in extension XKEYBOARD
[    58.044] Initializing built-in extension XC-MISC
[    58.044] Initializing built-in extension SECURITY
[    58.045] Initializing built-in extension XINERAMA
[    58.045] Initializing built-in extension XFIXES
[    58.045] Initializing built-in extension RENDER
[    58.045] Initializing built-in extension RANDR
[    58.045] Initializing built-in extension COMPOSITE
[    58.045] Initializing built-in extension DAMAGE
[    58.045] Initializing built-in extension MIT-SCREEN-SAVER
[    58.045] Initializing built-in extension DOUBLE-BUFFER
[    58.045] Initializing built-in extension RECORD
[    58.045] Initializing built-in extension DPMS
[    58.045] Initializing built-in extension Present
[    58.045] Initializing built-in extension X-Resource
[    58.045] Initializing built-in extension XVideo
[    58.045] Initializing built-in extension XVideo-MotionCompensation
[    58.045] Initializing built-in extension XFree86-VidModeExtension
[    58.045] Initializing built-in extension XFree86-DGA
[    58.045] Initializing built-in extension XFree86-DRI
[    58.046] Initializing built-in extension DRI2
[    58.046] (II) LoadModule: "glx"
[    58.050] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[    58.054] (II) Module glx: vendor="X.Org Foundation"
[    58.054] compiled for 1.15.2, module version = 1.0.0
[    58.054] ABI class: X.Org Server Extension, version 8.0
[    58.054] (==) AIGLX enabled
[    58.054] Loading extension GLX
[    58.054] (==) Matched intel as autoconfigured driver 0
[    58.054] (==) Matched vesa as autoconfigured driver 1
[    58.054] (==) Assigned the driver to the xf86ConfigLayout
[    58.055] (II) LoadModule: "intel"
[    58.055] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[    58.061] (II) Module intel: vendor="X.Org Foundation"
[    58.061] compiled for 1.15.2, module version = 2.99.910
[    58.061] Module class: X.Org Video Driver
[    58.061] ABI class: X.Org Video Driver, version 15.0
[    58.061] (II) LoadModule: "vesa"
[    58.062] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[    58.063] (II) Module vesa: vendor="X.Org Foundation"
[    58.063] compiled for 1.15.2, module version = 2.3.3
[    58.063] Module class: X.Org Video Driver
[    58.063] ABI class: X.Org Video Driver, version 15.0
[    58.063] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 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
[    58.064] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[    58.064] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[    58.064] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[    58.064] (II) VESA: driver for VESA chipsets: vesa
[    58.069] (WW) Falling back to old probe method for vesa
[    58.072] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[    58.072] (--) intel(0): CPU: x86-64
[    58.072] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    58.072] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    58.072] (==) intel(0): RGB weight 888
[    58.072] (==) intel(0): Default visual is TrueColor
[    58.075] (**) intel(0): Framebuffer tiled
[    58.075] (**) intel(0): Pixmaps tiled
[    58.075] (**) intel(0): "Tear free" disabled
[    58.075] (**) intel(0): Forcing per-crtc-pixmaps? no
[    58.076] (II) intel(0): Output LVDS1 has no monitor section
[    58.076] (II) intel(0): Output VGA1 has no monitor section
[    58.076] (II) intel(0): Output HDMI1 has no monitor section
[    58.076] (II) intel(0): Output DP1 has no monitor section
[    58.076] (II) intel(0): Output VIRTUAL1 has no monitor section
[    58.077] (--) intel(0): Output LVDS1 using initial mode 1600x900 on pipe 0
[    58.077] (==) intel(0): DPI set to (96, 96)
[    58.077] (II) Loading sub module "dri2"
[    58.077] (II) LoadModule: "dri2"
[    58.077] (II) Module "dri2" already built-in
[    58.077] (II) UnloadModule: "vesa"
[    58.077] (II) Unloading vesa
[    58.077] (==) Depth 24 pixmap format is 32 bpp
[    58.084] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[    58.084] (==) intel(0): Backing store enabled
[    58.084] (==) intel(0): Silken mouse disabled
[    58.085] (II) intel(0): HW Cursor enabled
[    58.085] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    58.089] (==) intel(0): DPMS enabled
[    58.091] (II) intel(0): [DRI2] Setup complete
[    58.091] (II) intel(0): [DRI2]   DRI driver: i965
[    58.091] (II) intel(0): [DRI2]   VDPAU driver: i965
[    58.091] (II) intel(0): direct rendering: DRI2 Enabled
[    58.091] (--) RandR disabled
[    58.273] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    58.273] (II) AIGLX: enabled GLX_ARB_create_context
[    58.273] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    58.273] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    58.273] (II) AIGLX: enabled GLX_INTEL_swap_event
[    58.273] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    58.273] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    58.273] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    58.273] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    58.274] (II) AIGLX: Loaded and initialized i965
[    58.274] (II) GLX: Initialized DRI2 GL provider for screen 0
[    58.284] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[    58.306] (II) intel(0): Setting screen physical size to 423 x 238
[    58.647] (II) config/wscons: checking input device /dev/wskbd
[    58.647] (II) wskbd: using layout us
[    58.647] (II) LoadModule: "kbd"
[    58.650] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    58.651] (II) Module kbd: vendor="X.Org Foundation"
[    58.651] compiled for 1.15.2, module version = 1.8.0
[    58.651] Module class: X.Org XInput Driver
[    58.651] ABI class: X.Org XInput driver, version 20.0
[    58.651] (II) Using input driver 'kbd' for '/dev/wskbd'
[    58.652] (**) /dev/wskbd: always reports core events
[    58.652] (**) /dev/wskbd: always reports core events
[    58.652] (**) Option "Protocol" "standard"
[    58.652] (**) Option "XkbRules" "base"
[    58.652] (**) Option "XkbModel" "pc105"
[    58.652] (**) Option "XkbLayout" "us"
[    58.652] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
[    58.725] (II) config/wscons: checking input device /dev/wsmouse
[    58.726] (II) LoadModule: "ws"
[    58.728] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[    58.730] (II) Module ws: vendor="X.Org Foundation"
[    58.730] compiled for 1.15.2, module version = 1.3.0
[    58.730] Module class: X.Org XInput Driver
[    58.730] ABI class: X.Org XInput driver, version 20.0
[    58.730] (II) Using input driver 'ws' for '/dev/wsmouse'
[    58.730] (**) /dev/wsmouse: always reports core events
[    58.731] (II) ws: /dev/wsmouse: debuglevel 0
[    58.731] (**) Option "Device" "/dev/wsmouse"
[    58.731] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    58.731] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    58.731] (**) ws: /dev/wsmouse: associated screen: 0
[    58.794] (II) ws: /dev/wsmouse: minimum x position: 0
[    58.794] (II) ws: /dev/wsmouse: maximum x position: 1599
[    58.794] (II) ws: /dev/wsmouse: minimum y position: 0
[    58.794] (II) ws: /dev/wsmouse: maximum y position: 899
[    58.794] (==) ws: /dev/wsmouse: Buttons: 7
[    58.797] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    58.797] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7)
[    58.861] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[    58.861] (**) /dev/wsmouse: (accel) acceleration profile 0
[    58.861] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[    58.861] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[   124.548] (II) AIGLX: Suspending AIGLX clients for VT switch
[   131.466] (II) AIGLX: Resuming AIGLX clients after VT switch
[   131.466] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[   131.479] (II) intel(0): EDID vendor "LGD", prod id 898
[   131.479] (II) intel(0): Printing DDC gathered Modelines:
[   131.479] (II) intel(0): Modeline "1600x900"x0.0  108.00  1600 1648 1680 1924  900 903 908 936 -hsync -vsync (56.1 kHz eP)
[   131.601] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
        Device busy.
[   131.601] (EE) ws: /dev/wsmouse: cannot open input device
[   131.601] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
[   131.601] [dix] couldn't enable device 7


Here's a dmesg from a successful suspend/resume:


OpenBSD 5.6-beta (GENERIC.MP) #288: Fri Jul 18 19:04:06 MDT 2014
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255762432 (7873MB)
avail mem = 8027209728 (7655MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
bios0: LENOVO 3444CUU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.03 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 200 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 7 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
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 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 at pci1 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x07: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi, MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct fixed naa.5001517803db5380
sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
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
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 227906MB, 512 bytes/sector, 466751982 sectors
root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b

 - here I suspended

ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1

 - here I resumed

uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2


I do not have a useful dmesg from when suspend failed. Do you know what
might be useful for debugging that?

So:

- My mouse (TouchPoint) does not work after resume.
- My touchscreen is no longer recognized.
- Suspend/resume is erratic.

But on the upside: my Xorg.0.log no longer fills with an error.

Would love some advice on the bullet points above. Should I email bugs@?
Any patches I should try? A newer snapshot?

-Mike

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Martin Pieuchot-2
On 20/07/14(Sun) 17:34, Mike Burns wrote:

> On 2014-07-19 16.43.30 +0200, Martin Pieuchot wrote:
> > On 13/07/14(Sun) 18:22, Mike Burns wrote:
> > > Thinkpad X1 Carbon with a touchscreen, running 5.5-stable. When I resume
> > > from suspend my Xorg.0.log is flooded with:
> > >
> > >   (EE) ws: /dev/wsmouse1: read error Input/output error
> > >
> > > In my dmesg:
> > >
> > >   wsmouse1: can't attach mux (error=5)
> >
> > I did a lot of work after 5.5 to prevent races like this one.  Could you
> > try a snapshot and tell me if you still see this error during suspend-
> > resume?
>
> This race is indeed fixed in the snapshot from 18 July. Thanks!
>
> In this snapshot, the touchscreen no longer works at all. The only
> mention of wsmouse in dmesg is now:
>
>   wsmouse0 at pms0 mux 0
>
> That is, no mention of wsmouse1.

That's why you don't see the error message: no device, no error (8

More seriously, can you plug external USB devices to your laptop and see
if they are correctly recognized?   Do they attach to uhub2 or uhub3?

> After resume, my normal mouse no longer works.

Even if you restart X?  Does it work after suspend/resume under
wsmoused(8)?

Could you also check if you have a "disable legacy" option in your BIOS
that would make your keyboard and mouse appear as USB devices once
toggled.  Could you try that if it exists?  

> Suspend/resume is much more erratic now, too: sometimes zzz(1) will
> immediately suspend and then pressing the power button will cause it to
> immediately resume - this is typically what happens the first time I
> suspend after booting. Other times it will blank the screen and spin the
> fans loudly instead of suspending. Once it seemed to suspend just fine,
> but instead of resuming it just spun the fans loudly. Just now the
> system suspended then immediately resumed by itself - interestingly, the
> mouse works fine when that happens.

If the systems immediately "resumes" by itself that means something
failed in the suspend path.  Could you try the diff below and tell me
if you get more information?

> Here's an Xorg.0.log from a successful suspend:
> [...]
> [   124.548] (II) AIGLX: Suspending AIGLX clients for VT switch
> [   131.466] (II) AIGLX: Resuming AIGLX clients after VT switch
> [   131.466] (II) intel(0): switch to mode 1600x900@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
> [   131.479] (II) intel(0): EDID vendor "LGD", prod id 898
> [   131.479] (II) intel(0): Printing DDC gathered Modelines:
> [   131.479] (II) intel(0): Modeline "1600x900"x0.0  108.00  1600 1648 1680 1924  900 903 908 936 -hsync -vsync (56.1 kHz eP)
> [   131.601] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse
> Device busy.
> [   131.601] (EE) ws: /dev/wsmouse: cannot open input device
> [   131.601] (EE) ws: /dev/wsmouse: wsOpen failed Device busy
> [   131.601] [dix] couldn't enable device 7

This might be the reason with you can't use your mouse after resume.

> Here's a dmesg from a successful suspend/resume:
>
>
> OpenBSD 5.6-beta (GENERIC.MP) #288: Fri Jul 18 19:04:06 MDT 2014
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

How many suspend resumes did you do?  

> [...]
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> video0 at uvideo0
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
> sd1: 227906MB, 512 bytes/sector, 466751982 sectors
> root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
>
>  - here I suspended
>
> ugen0 detached
> ugen1 detached
> video0 detached
> uvideo0 detached
> uhub2 detached
> uhub0 detached
> uhub3 detached
> uhub1 detached

Here the resume "starts" from the USB point of view:

> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
>
>  - here I resumed
>
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> video0 at uvideo0
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2

Here it looks like you suspended once again:

> ugen0 detached
> ugen1 detached
> video0 detached
> uvideo0 detached
> uhub2 detached
> uhub0 detached
> uhub3 detached
> uhub1 detached

And resumed:

> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> video0 at uvideo0
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2

Suspended once more...

> ugen0 detached
> ugen1 detached
> video0 detached
> uvideo0 detached
> uhub2 detached
> uhub0 detached
> uhub3 detached
> uhub1 detached

... and resumed:

> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
> ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
> video0 at uvideo0
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
>
>
> I do not have a useful dmesg from when suspend failed. Do you know what
> might be useful for debugging that?

Just try this diff that should prevent you from suspending in the first
case:

Index: ehci.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/ehci.c,v
retrieving revision 1.162
diff -u -p -r1.162 ehci.c
--- ehci.c 12 Jul 2014 20:13:48 -0000 1.162
+++ ehci.c 21 Jul 2014 13:41:16 -0000
@@ -1056,6 +1056,18 @@ ehci_activate(struct device *self, int a
  ehci_reset(sc);
 
  sc->sc_bus.use_polling--;
+
+ if (!TAILQ_EMPTY(&sc->sc_intrhead)) {
+ printf("%s: intr head not empty\n",
+    sc->sc_bus.bdev.dv_xname);
+ return (EINVAL);
+ }
+ if (sc->sc_intrxfer != NULL) {
+ printf("%s: root intr not null\n",
+    sc->sc_bus.bdev.dv_xname);
+ return (EINVAL);
+ }
+
  break;
  case DVACT_RESUME:
  sc->sc_bus.use_polling++;

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Mike Burns
A partial reply; I have not yet run your patch:

On 2014-07-21 16.00.01 +0200, Martin Pieuchot wrote:
> More seriously, can you plug external USB devices to your laptop and see
> if they are correctly recognized?   Do they attach to uhub2 or uhub3?

That seems to always work, regardless of whether the mouse works, and
regardless of whether wsmoused is running. It looks like this:

umass0 at uhub2 port 2 configuration 1 interface 0 "SanDisk Cruzer" rev
2.00/2.00 addr 6
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
sd2 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer, 8.02> SCSI0 0/direct
removable serial.0781553001117562C886
sd2: 30547MB, 512 bytes/sector, 62562239 sectors

(And then I removed it:

sd2 detached
scsibus4 detached
umass0 detached
)

> > After resume, my normal mouse no longer works.
>
> Even if you restart X?  Does it work after suspend/resume under
> wsmoused(8)?

This is more erratic than I had anticipated, too.

The mouse seems to always work under X if I suspend/resume _without_
wsmoused. In fact, suspend/resume seems to always work if I do not have
wsmoused running.

With wsmoused running, sometimes it works flawlessly (or so it seems). I
did get it to resume without a working mouse twice. I had a terminal
open with focus, so this fixed it:

xinput -disable /dev/wsmouse
xinput -enable /dev/wsmouse

> Could you also check if you have a "disable legacy" option in your BIOS
> that would make your keyboard and mouse appear as USB devices once
> toggled.  Could you try that if it exists?

No such thing. The most relevant USB option is:

USB 3.0 mode: Auto

With the explanation for Auto (the current value):

Connects and routes appropriate USB 3.0 or 2.0 ports.

But that option is irrelevant to this (I think).

> If the systems immediately "resumes" by itself that means something
> failed in the suspend path.  Could you try the diff below and tell me
> if you get more information?

I'll get back to you on this, hopefully in 24 hours.

> > Here's a dmesg from a successful suspend/resume:
> How many suspend resumes did you do?

You caught me: I had done a few and tried to mark them, but lost track.
You got it right.

Additional note: without X ever running, suspend/resume works fine,
regardless of whether wsmoused is running. If wsmoused is running and X
has never been started, the mouse continues to work after resume.

However, if I log into a console, zzz, resume, then startx, it fails. I
get back to the console with ctrl-alt-backspace. Trailing output from
startx:

Loading extension GLX
Agent pid 24099
Identity added: /home/mike/.ssh/id_rsa (rsa w/o comment)
xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X
server ":0"
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
      after 107 requests (98 known processed) with 0 events remaining.
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
      after 138 requests (128 known processed) with 0 events remaining.
(EE) Server terminated successfully (0). Closing log file.
xterm: Xt error: Can't open display: :0
xinit: connection to X server lost

waiting for X server to shut down ..........
xinit: X server slow to shut down, sending KILL signal


Aside from the patch that I'll get to tomorrow night, let me know if
there's any other data I can collect or experiments I can run.

-Mike

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Martin Pieuchot-2
On 21/07/14(Mon) 17:32, Mike Burns wrote:

> A partial reply; I have not yet run your patch:
>
> On 2014-07-21 16.00.01 +0200, Martin Pieuchot wrote:
> > More seriously, can you plug external USB devices to your laptop and see
> > if they are correctly recognized?   Do they attach to uhub2 or uhub3?
>
> That seems to always work, regardless of whether the mouse works, and
> regardless of whether wsmoused is running. It looks like this:
>
> umass0 at uhub2 port 2 configuration 1 interface 0 "SanDisk Cruzer" rev
> 2.00/2.00 addr 6
> umass0: using SCSI over Bulk-Only
> scsibus4 at umass0: 2 targets, initiator 0
> sd2 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer, 8.02> SCSI0 0/direct
> removable serial.0781553001117562C886
> sd2: 30547MB, 512 bytes/sector, 62562239 sectors

In your previous dmesg your touchscreen attaches itself to uhub3, when
you plug a device like this one, does it always attaches to uhub2?  In
other words, does something, somehow, sometimes attach to uhub3?

> > > After resume, my normal mouse no longer works.
> >
> > Even if you restart X?  Does it work after suspend/resume under
> > wsmoused(8)?
>
> This is more erratic than I had anticipated, too.
>
> The mouse seems to always work under X if I suspend/resume _without_
> wsmoused. In fact, suspend/resume seems to always work if I do not have
> wsmoused running.
>
> With wsmoused running, sometimes it works flawlessly (or so it seems). I
> did get it to resume without a working mouse twice. I had a terminal
> open with focus, so this fixed it:
>
> xinput -disable /dev/wsmouse
> xinput -enable /dev/wsmouse

Yeah, there's another problem while resuming X with a wsmoused(8) and
the pms(4) driver...  So if your mouse works after resuming with
wsmoused(8) only or X only, that's not a new bug.

> > Could you also check if you have a "disable legacy" option in your BIOS
> > that would make your keyboard and mouse appear as USB devices once
> > toggled.  Could you try that if it exists?
>
> No such thing. The most relevant USB option is:
>
> USB 3.0 mode: Auto
>
> With the explanation for Auto (the current value):
>
> Connects and routes appropriate USB 3.0 or 2.0 ports.
>
> But that option is irrelevant to this (I think).

Maybe, maybe not.  You can try to disable it until we enable xhci(4) and
see if that changes anything.

> > If the systems immediately "resumes" by itself that means something
> > failed in the suspend path.  Could you try the diff below and tell me
> > if you get more information?
>
> I'll get back to you on this, hopefully in 24 hours.
>
> > > Here's a dmesg from a successful suspend/resume:
> > How many suspend resumes did you do?
>
> You caught me: I had done a few and tried to mark them, but lost track.
> You got it right.
>
> Additional note: without X ever running, suspend/resume works fine,
> regardless of whether wsmoused is running. If wsmoused is running and X
> has never been started, the mouse continues to work after resume.
>
> However, if I log into a console, zzz, resume, then startx, it fails. I
> get back to the console with ctrl-alt-backspace. Trailing output from
> startx:
>
> Loading extension GLX
> Agent pid 24099
> Identity added: /home/mike/.ssh/id_rsa (rsa w/o comment)
> xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X
> server ":0"
> XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
>       after 107 requests (98 known processed) with 0 events remaining.
> XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
>       after 138 requests (128 known processed) with 0 events remaining.
> (EE) Server terminated successfully (0). Closing log file.
> xterm: Xt error: Can't open display: :0
> xinit: connection to X server lost
>
> waiting for X server to shut down ..........
> xinit: X server slow to shut down, sending KILL signal

That's a known issue.  If you suspend before starting X with a card
supported by drm(4) you won't be able to start X after resuming.

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Mike Burns
In reply to this post by Martin Pieuchot-2
On 2014-07-21 16.00.01 +0200, Martin Pieuchot wrote:
> Just try this diff that should prevent you from suspending in the first
> case:

The good news: I was able to suspend and resume without freezes or
hangs. The mouse stopped working twice (with wsmoused running), but
`xinput -enable /dev/wsmouse' fixed it.

The disappointing news:

$ dmesg | grep intr
$

I can keep suspending and resuming until it prints the debugging
statements, but I've tried about 15 times now without anything.

$ dmesg
OpenBSD 5.6-beta (GENERIC.MP) #1: Wed Jul 23 01:09:44 CEST 2014
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255762432 (7873MB)
avail mem = 8027205632 (7655MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
bios0: LENOVO 3444CUU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF!
UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.03 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 200 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600,
1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 7 Series xHCI" rev 0x04 at pci0 dev 20 function 0 not configured
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
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 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 at pci1 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x07: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi,
MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev
0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct
fixed naa.5001517803db5380
sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int
18
iic0 at ichiic0
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
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 227906MB, 512 bytes/sector, 466751982 sectors
root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated
Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Mike Burns
In reply to this post by Martin Pieuchot-2
On 2014-07-22 10.10.02 +0200, Martin Pieuchot wrote:

> > umass0 at uhub2 port 2 configuration 1 interface 0 "SanDisk Cruzer" rev
> > 2.00/2.00 addr 6
> > umass0: using SCSI over Bulk-Only
> > scsibus4 at umass0: 2 targets, initiator 0
> > sd2 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer, 8.02> SCSI0 0/direct
> > removable serial.0781553001117562C886
> > sd2: 30547MB, 512 bytes/sector, 62562239 sectors
>
> In your previous dmesg your touchscreen attaches itself to uhub3, when
> you plug a device like this one, does it always attaches to uhub2?  In
> other words, does something, somehow, sometimes attach to uhub3?

I have two USB ports (at least, ones I can plug into): one is labeled
with a USB symbol and a battery symbol; that one works and shows up as
uhub2. The other is labeled with a SS followed by a USB symbol; this one
does not work and adds nothing to the dmesg.

Just in case this is useful:

$ usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0024), Intel(0x8087), rev 0.00
  port 1 powered
  port 2 powered
  port 3 addr 3: full speed, power 100 mA, config 1, Biometric Coprocessor(0x2020), Auth(0x147e), rev 0.01
  port 4 addr 4: full speed, self powered, config 1, BCM20702A0(0x21e6), Broadcom Corp(0x0a5c), rev 1.12, iSerialNumber F4B7E2CEFD3D
  port 5 powered
  port 6 addr 5: high speed, power 500 mA, config 1, Integrated Camera(0xb315), SunplusIT INC.(0x04f2), rev 36.22
 port 2 powered
 port 3 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00
 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0024), Intel(0x8087), rev 0.00
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
  port 5 powered
  port 6 powered
  port 7 powered
  port 8 powered
 port 2 powered
 port 3 powered


-Mike

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Martin Pieuchot-2
On 22/07/14(Tue) 19:37, Mike Burns wrote:

> On 2014-07-22 10.10.02 +0200, Martin Pieuchot wrote:
> > > umass0 at uhub2 port 2 configuration 1 interface 0 "SanDisk Cruzer" rev
> > > 2.00/2.00 addr 6
> > > umass0: using SCSI over Bulk-Only
> > > scsibus4 at umass0: 2 targets, initiator 0
> > > sd2 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer, 8.02> SCSI0 0/direct
> > > removable serial.0781553001117562C886
> > > sd2: 30547MB, 512 bytes/sector, 62562239 sectors
> >
> > In your previous dmesg your touchscreen attaches itself to uhub3, when
> > you plug a device like this one, does it always attaches to uhub2?  In
> > other words, does something, somehow, sometimes attach to uhub3?
>
> I have two USB ports (at least, ones I can plug into): one is labeled
> with a USB symbol and a battery symbol; that one works and shows up as
> uhub2. The other is labeled with a SS followed by a USB symbol; this one
> does not work and adds nothing to the dmesg.

Did you try the BIOS option USB 3.0?

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Mike Burns
On 2014-07-23 07.40.00 +0200, Martin Pieuchot wrote:

> On 22/07/14(Tue) 19:37, Mike Burns wrote:
> > On 2014-07-22 10.10.02 +0200, Martin Pieuchot wrote:
> > > > umass0 at uhub2 port 2 configuration 1 interface 0 "SanDisk Cruzer" rev
> > > > 2.00/2.00 addr 6
> > > > umass0: using SCSI over Bulk-Only
> > > > scsibus4 at umass0: 2 targets, initiator 0
> > > > sd2 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer, 8.02> SCSI0 0/direct
> > > > removable serial.0781553001117562C886
> > > > sd2: 30547MB, 512 bytes/sector, 62562239 sectors
> > >
> > > In your previous dmesg your touchscreen attaches itself to uhub3, when
> > > you plug a device like this one, does it always attaches to uhub2?  In
> > > other words, does something, somehow, sometimes attach to uhub3?
> >
> > I have two USB ports (at least, ones I can plug into): one is labeled
> > with a USB symbol and a battery symbol; that one works and shows up as
> > uhub2. The other is labeled with a SS followed by a USB symbol; this one
> > does not work and adds nothing to the dmesg.
>
> Did you try the BIOS option USB 3.0?

Sorry for forgetting that earlier. With the USB 3.0 option turned off,
when I plug a USB stick into the other port:

OpenBSD 5.6-beta (GENERIC.MP) #1: Wed Jul 23 01:09:44 CEST 2014
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255762432 (7873MB)
avail mem = 8027205632 (7655MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
bios0: LENOVO 3444CUU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.03 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.70 MHz
cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 200 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
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 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi, MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct fixed naa.5001517803db5380
sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
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
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
uhidev0: iclass 3/1, 7 report ids
uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
ums0 at uhidev0 reportid 6: 1 button, tip
wsmouse1 at ums0 mux 0
ums1 at uhidev0 reportid 7
ums1: mouse has no X report
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 227906MB, 512 bytes/sector, 466751982 sectors
root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
umass0 at uhub3 port 2 configuration 1 interface 0 "SanDisk Cruzer" rev 2.00/2.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus4 at umass0: 2 targets, initiator 0
sd2 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer, 8.02> SCSI0 0/direct removable serial.0781553001117562C886
sd2: 30547MB, 512 bytes/sector, 62562239 sectors
sd2 detached
scsibus4 detached
umass0 detached

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Martin Pieuchot-2
On 23/07/14(Wed) 03:07, Mike Burns wrote:

> On 2014-07-23 07.40.00 +0200, Martin Pieuchot wrote:
> > On 22/07/14(Tue) 19:37, Mike Burns wrote:
> > > On 2014-07-22 10.10.02 +0200, Martin Pieuchot wrote:
> > > > > umass0 at uhub2 port 2 configuration 1 interface 0 "SanDisk Cruzer" rev
> > > > > 2.00/2.00 addr 6
> > > > > umass0: using SCSI over Bulk-Only
> > > > > scsibus4 at umass0: 2 targets, initiator 0
> > > > > sd2 at scsibus4 targ 1 lun 0: <SanDisk, Cruzer, 8.02> SCSI0 0/direct
> > > > > removable serial.0781553001117562C886
> > > > > sd2: 30547MB, 512 bytes/sector, 62562239 sectors
> > > >
> > > > In your previous dmesg your touchscreen attaches itself to uhub3, when
> > > > you plug a device like this one, does it always attaches to uhub2?  In
> > > > other words, does something, somehow, sometimes attach to uhub3?
> > >
> > > I have two USB ports (at least, ones I can plug into): one is labeled
> > > with a USB symbol and a battery symbol; that one works and shows up as
> > > uhub2. The other is labeled with a SS followed by a USB symbol; this one
> > > does not work and adds nothing to the dmesg.
> >
> > Did you try the BIOS option USB 3.0?
>
> Sorry for forgetting that earlier. With the USB 3.0 option turned off,
> when I plug a USB stick into the other port:

But more importantly...

> uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
> uhidev0: iclass 3/1, 7 report ids
> uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
> uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
> uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
> ums0 at uhidev0 reportid 6: 1 button, tip
> wsmouse1 at ums0 mux 0
> ums1 at uhidev0 reportid 7
> ums1: mouse has no X report

...your touchpad is back!

I'll try to dig into the wsmoused issue, please let me know if you have
any other problem.

Reply | Threaded
Open this post in threaded view
|

Re: zzz, /dev/wsmouse

Mike Burns
On 2014-07-23 09.25.34 +0200, Martin Pieuchot wrote:
> ...your touchpad is back!

Wow! I honestly did not expect that. This is awesome.

It works perfectly before I suspend, but after I resume the touchscreen
is off in the X coordinates (and slightly off in the Y). I am not
running wsmoused. Known bug? dmesg below.

> I'll try to dig into the wsmoused issue, please let me know if you have
> any other problem.

Big thanks to you, Mike Larkin, and everyone else who helped make
suspend/resume more stable.

-Mike


OpenBSD 5.6-beta (GENERIC.MP) #1: Wed Jul 23 01:09:44 CEST 2014
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8255762432 (7873MB)
avail mem = 8027205632 (7655MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (71 entries)
bios0: vendor LENOVO version "G6ET93WW (2.53 )" date 02/04/2013
bios0: LENOVO 3444CUU
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI MSDM SSDT SSDT UEFI SSDT DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.03 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.69 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.69 MHz
cpu2: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1895.69 MHz
cpu3: 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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 200 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "45N1071" serial  1475 type LiP oem "SMP"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 1896 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 7 Series KT" rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
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 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int 16
sdmmc0 at sdhc0
ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x96: msi, MIMO 2T2R, MoW, address 84:3a:4b:0a:ae:80
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x1e56 rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSCMMW24, LE9i> SCSI3 0/direct fixed naa.5001517803db5380
sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
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
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
uhidev0: iclass 3/1, 7 report ids
uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
ums0 at uhidev0 reportid 6: 1 button, tip
wsmouse1 at ums0 mux 0
ums1 at uhidev0 reportid 7
ums1: mouse has no X report
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 227906MB, 512 bytes/sector, 466751982 sectors
root on sd1a (a1a57dffe6790454.a) swap on sd1b dump on sd1b
ugen0 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhid0 detached
uhid1 detached
uhid2 detached
wsmouse1 detached
ums0 detached
ums1 detached
uhidev0 detached
uhub3 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "Auth Biometric Coprocessor" rev 1.10/0.01 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp BCM20702A0" rev 2.00/1.12 addr 4
uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT INC. Integrated Camera" rev 2.00/36.22 addr 5
video0 at uvideo0
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 "eGalax Inc. eGalaxTouch EXC7903-66v03_T1" rev 2.00/66.03 addr 3
uhidev0: iclass 3/1, 7 report ids
uhid0 at uhidev0 reportid 1: input=5, output=0, feature=0
uhid1 at uhidev0 reportid 3: input=63, output=63, feature=0
uhid2 at uhidev0 reportid 5: input=0, output=0, feature=2
ums0 at uhidev0 reportid 6: 1 button, tip
wsmouse1 at ums0 mux 0
ums1 at uhidev0 reportid 7
ums1: mouse has no X report