I have had the same issue going back to OpenBSD 4.x ever since I changed the KVM that had PS2 mouse and keyboard to a KVM with USB mouse etc. As a result I always thought it was because of my KVM, so did not report it all these years!!!

Anyways, my caveman like approach to solve this was to do a CTRL-ALT-F2 if I had to do anything with vi etc.

Vijay

Quoting Shaun Reiger <srei...@sprmail.net>:

Ok so I use a cheep Logitech K120 keyboard and mouse that are plugged in to
the usb 2 ports when I see the detach messages. But I tried a test with a
combined keyboard/mouse also a Logitech model K400r and I haven't seen any
detach messages. This was also plugged into the same usb 2 port. I have a
HHKB keyboard which also doesn't illicit any detach message. These detach
message may only be caused by specific keyboard and mouse models.

I'll keep testing and post any findings.



On Monday, August 17, 2015, Luciano Rottava da Silva <rott...@gmail.com>
wrote:

Here it is my dmesg:

OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8015122432 (7643MB)
avail mem = 7797841920 (7436MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (56 entries)
bios0: vendor American Megatrends Inc. version "1609" date 01/07/2014
bios0: ASUSTeK COMPUTER INC. F1A55-M LE
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4)
UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4)
PE21(S4) RLAN(S4) PE22(S4) PE23(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2100.18 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully
associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully
associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully
associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully
associative
cpu2: AMD erratum 721 detected and fixed
cpu2: smt 0, core 2, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PE20)
acpiprt2 at acpi0: bus 3 (PE21)
acpiprt3 at acpi0: bus -1 (PE22)
acpiprt4 at acpi0: bus -1 (PE23)
acpiprt5 at acpi0: bus -1 (BR13)
acpiprt6 at acpi0: bus -1 (PCE2)
acpiprt7 at acpi0: bus -1 (PCE4)
acpiprt8 at acpi0: bus 1 (P0PC)
acpicpu0 at acpi0: C2, PSS
acpicpu1 at acpi0: C2, PSS
acpicpu2 at acpi0: C2, PSS
acpibtn0 at acpi0: PWRB
cpu0: 2100 MHz: speeds: 2100 1900 1600 1400 1200 1000 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 12h Host" rev 0x00
radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6530D" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD5000AAKX-0, 15.0> SCSI3
0/direct fixed naa.50014ee0adec84e1
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
cd0 at scsibus1 targ 2 lun 0: <Optiarc, DVD RW AD-7280S, 1.01> ATAPI
5/cdrom removable
ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4
int 18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4
int 18, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x13: polling
iic0 at piixpm0
iic0: addr 0x20 01=0d 02=17 03=26 04=00 05=00 06=00 07=00 08=00 09=00
0a=10 0b=10 0c=10 0d=10 0e=08 0f=8c 10=00 11=00 12=00 13=00 14=00
15=0f 16=1f 17=20 18=e0 19=fb 1a=a8 1b=a3 1c=ac 1d=80 1e=04 1f=03
20=09 21=09 22=09 23=09 24=37 3e=a3 words 00=ff0d 01=0d17 02=1726
03=2600 04=0000 05=0000 06=0000 07=0000
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
"eeprom" at iic0 addr 0x51 not configured
azalia0 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01:
apic 4 int 16
azalia0: codecs: Realtek/0x0887
audio0 at azalia0
pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11
ppb0 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40
pci1 at ppb0 bus 1
ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 4
int 18, version 1.0, legacy support
ppb1 at pci0 dev 21 function 0 "AMD Hudson-2 PCIE" rev 0x00
pci2 at ppb1 bus 2
ppb2 at pci0 dev 21 function 1 "AMD Hudson-2 PCIE" rev 0x00
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06:
RTL8168E/8111E-VL (0x2c80), msi, address 14:da:e9:ef:25:18
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ohci3 at pci0 dev 22 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4
int 18, version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "AMD EHCI root hub" rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43
pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00
pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00
pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci1: USB revision 1.0
uhub4 at usb4 "AMD OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb5 at ohci2: USB revision 1.0
uhub5 at usb5 "AMD OHCI root hub" rev 1.00/1.00 addr 1
usb6 at ohci3: USB revision 1.0
uhub6 at usb6 "AMD OHCI root hub" rev 1.00/1.00 addr 1
urtwn0 at uhub2 port 2 "802.11n USB WLAN" rev 2.00/2.00 addr 2
urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address a0:f3:c1:17:ca:22
uhidev0 at uhub3 port 3 configuration 1 interface 0 "Heng Yu
Technology Pure Pro" rev 1.10/1.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub3 port 3 configuration 1 interface 1 "Heng Yu
Technology Pure Pro" rev 1.10/1.00 addr 2
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 1: input=0, output=0, feature=7
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft
Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (21999d7538f1f0a2.a) swap on sd0b dump on sd0b
radeondrm0: 1920x1080
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using
wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft
Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0


Now I'm using a wired basic MS mouse.

Cheers,
Luciano.

On 16 August 2015 at 15:48, Luciano Rottava da Silva <rott...@gmail.com
<javascript:;>>
wrote:

> Hi folks,
>
> I am running an OpenBSD 5.7 on amd64 with the very few packages which I
> require for lean desktop. And as usual, pretty much everything is
working.
>
> The only glitch is the mouse support, or maybe my devices.
>
> Every minute or so USB mouse detaches itself, and this happens in console
> mode after booting the machine, and keeps on.
>
> This is what I get in ttyC0:
>
> ums0 detached
> uhidev2 detached
> uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft
> Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3
> uhidev2: iclass 3/1
> ums0 at uhidev2: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> wsmouse0 detached
> ums0 detached
> uhidev2 detached
> uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft
> Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3
> uhidev2: iclass 3/1
> ums0 at uhidev2: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
>
> I have two MS basic optical mouse, one wired and another wireless. The
> behaviour is exactly the same.
>
> wsmoused is not running, and I have nothing in my xorg.conf (actually I
> don't have a xorg.conf).
>
> I've found only one reference to a similar problem in misc@ but,
> unfortunatelly, there was no reply.
>
> So, any suggestion? Important to highlight that in X mouse works
> perfectly. It's just those annoying messages that keep popping up in the
> console that bothers me.
>
> Cheers,
> Luciano.



--
Shaun

"Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile" - Hippocrates (c. 400BC)


--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

Reply via email to