Re: mouse spontaneously detaches in console

2014-12-19 Thread Alan McKay
We've been having a similar issue with keyboards on 5.1 with no X, and
when we upgraded to 5.5 recently we seem to still have it.  All HP
hardware about 3 years old.  You have to unplug the keyboard and plug
it into a different port, then return it back to the original to get
it back.  Sometimes you have to walk around to the other side of the
rack to do it.

Very frustrating ...

After the holidays I'll get a dmesg with more details



mouse spontaneously detaches in console

2014-12-17 Thread Dutch Ingraham

Hello all:

I have three different installs of OpenBSD:  one -RELEASE, one -STABLE,
and one -CURRENT.  My wired usb mouse spontaneously detaches on each one
when remaining in the console for about 15 seconds.  However, that was
never much of an issue when I was only using -RELEASE and -STABLE,
since enabling wsmoused would stop that behavior.

However, with -CURRENT, while enabling wsmoused does still stop the 
detaching

while in the console, the mouse does not then work in X.

I see there was a recent addition to the Changelog: Stopped supporting
wsmoused(8) and X(7) in parallel. Code is racy and known to break mice upon
resume.  Unfortunately, from a technical basis, I don't know what that
means, or whether that contributes to my issue.

Is there a way to have the mouse in both console and X in this situation?

Thanks for your help and if further info is needed, please let me know.

dmesg with detached mouse message follows:
-
OpenBSD 5.6-current (GENERIC.MP) #699: Tue Dec 16 15:55:06 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 11memory_size
real mem = 3149918208 (3003MB)
avail mem = 3062276096 (2920MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0450 (82 entries)
bios0: vendor Dell Inc. version A03 date 04/29/2009
bios0: Dell Inc. OptiPlex 760
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET  SLIC
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI3(S5) PCI1(S5) 
PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz, 2660.35 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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF

cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz, 2660.00 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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF

cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 4 (PCI4)
acpiprt1 at acpi0: bus 2 (PCI2)
acpiprt2 at acpi0: bus 3 (PCI3)
acpiprt3 at acpi0: bus 1 (PCI1)
acpiprt4 at acpi0: bus -1 (PCI5)
acpiprt5 at acpi0: bus -1 (PCI6)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1
acpicpu1 at acpi0: C1
acpibtn0 at acpi0: VBTN
cpu0: unknown Enhanced SpeedStep CPU, msr 0x061a0a1c06000a1c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 2660 MHz: speeds: 2667, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Q45 Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel Q45 PCIE rev 0x03: msi
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 Intel Q45 Video rev 0x03
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1440x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel Q45 Video rev 0x03 at pci0 dev 2 function 1 not configured
Intel Q45 HECI rev 0x03 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel Q45 PT IDER rev 0x03: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI

pciide0: using apic 8 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
puc0 at pci0 dev 3 function 3 Intel Q45 KT rev 0x03: ports: 1 com
com4 at puc0 port 0 apic 8 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 15 bytes
em0 at pci0 dev 25 function 0 Intel ICH10 D BM LM rev 0x02: msi, 
address 00:23:ae:55:75:df

uhci0 at pci0 dev 26 function 0 Intel 82801JD USB rev 0x02: apic 8 int 16
uhci1 at pci0 dev 26 function 1 Intel 82801JD USB rev 0x02: apic 8 int 17
uhci2 at pci0 dev 26 function 2 Intel 82801JD USB rev 0x02: apic 8 int 22
ehci0 at pci0 dev 26 function 7 Intel 82801JD USB rev 0x02: apic 8 int 22
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 82801JD HD Audio rev 0x02: msi
azalia0: codecs: Analog Devices AD1984A
audio0 at