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

2014-07-19 Thread Martin Pieuchot
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?



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

2014-07-18 Thread 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/ttyC00600
/dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse1:/dev/wsmouse0:/dev/ttyCcfg:/dev/drm0
/dev/ttyC40600
/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  wheel0,   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 

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

2014-07-18 Thread 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:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x0eef D-WAV Scientific Co., Ltd
  idProduct  0x790a 
  bcdDevice   66.03
  iManufacturer   1 eGalax Inc.
  iProduct2 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
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  2 Mouse
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   2.10
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 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): 

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

2014-07-14 Thread 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
 m...@bellifortis.my.domain:/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 0xfee0: 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 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, 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 0xe000, size 0x1000
 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 

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

2014-07-14 Thread 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
  m...@bellifortis.my.domain:/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 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz, 1896.04 MHz
  cpu0: 
  

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

2014-07-13 Thread 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
m...@bellifortis.my.domain:/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 0xfee0: 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 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, 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 0xe000, size 0x1000
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