Re: USB mouse spontaneously detaching

2015-08-20 Thread howard eisenberger
Data point: plugging a no-name USB mouse into a PS/2 to USB
adapter instead of directly into a USB 2.0 port on old HP amd64
board seems to have solved this in my case.

Regards,

Howard E.



Re: USB mouse spontaneously detaching

2015-08-19 Thread harold felton
"i dont know what im doing" - mistake...  i sent an abbreviated dmesg,
sorry...

h.  :)


On Wed, Aug 19, 2015 at 6:36 AM, harold felton 
wrote:

> howdee,
>
> im monitoring this thread cautiously since i dont know what im doing
> sometimes...
>
> i noticed similar behaviour with my mouse - but had attributed the
> messages to the fact
> that i use a manual kvm-switch...  so whenever i "switched" i was certain
> it had triggered...
> i will enclose my dmesg as well - but maybe the other folks are getting
> their messages
> for similar types of reasons ?  ( eg - vm switch ?  hub powering down ? )
>
>
>
> On Tue, Aug 18, 2015 at 2:45 PM, L.R. D.S.  wrote:
>
>> Same problem, build #1024. This output not just flood all tty, but also
>> my dmesg
>> (no output in "# dmesg" except the bellow):
>>
>> wsmouse1 detached
>> ums1 detached
>> uhidev2 detached
>> uhidev2 at uhub3 port 6 configuration 1 interface 0 "Logitech USB Optical
>> Mouse" rev 2.00/63.00 addr 4
>> uhidev2: iclass 3/1
>> ums1 at uhidev2: 3 buttons, Z dir
>> wsmouse1 at ums1 mux 0
>>
>> Probably not a problem in USB 3.0, since I had the same issue on old
>> builds in
>> a hardware with USB 2.0.
>> I'll follow this thread, because this is really annoying for me (I need
>> to remove
>> my mouse everytime I do something in tty).
>>
>>
>
>
> --
> harold at hfelton.com
>



-- 
harold at hfelton.com
OpenBSD 5.7 (RAMDISK_CD) #806: Sun Mar  8 11:08:49 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 10410303488 (9928MB)
avail mem = 10131492864 (9662MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb450 (74 entries)
bios0: vendor American Megatrends Inc. version "4.6.5" date 05/22/2014
bios0: ZOTAC ZBOX-ID88/ID89/ID90
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG MSDM HPET SSDT SSDT SSDT BGRT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-3220T CPU @ 2.80GHz, 2794.14 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 4 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 5 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus -1 (RP07)
acpiprt9 at acpi0: bus -1 (RP08)
acpiprt10 at acpi0: bus 1 (PEG0)
acpiprt11 at acpi0: bus -1 (PEG1)
acpiprt12 at acpi0: bus -1 (PEG2)
acpiprt13 at acpi0: bus -1 (PEG3)
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 3G PCIE" rev 0x09: msi
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2500" rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: 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
"Intel 6 Series HD Audio" rev 0x05 at pci0 dev 27 function 0 not configured
ppb1 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
pci2 at ppb1 bus 2
"Intel Dual Band Wireless AC 3160" rev 0x83 at pci2 dev 0 function 0 not 
configured
ppb2 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL 
(0x2c80), msi, address 00:01:2e:58:4a:52
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ppb3 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: msi
pci4 at ppb3 bus 4
re1 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL 
(0x2c80), msi, address 00:01:2e:58:4a:53
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 5
ppb4 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb5: msi
pci5 at ppb4 bus 5
xhci0 at pci5 dev 0 function 0 "Renesas uPD720202 xHCI" rev 0x02: msi
usb1 at xhci0: USB revision 3.0
uhub1 at usb1 "Renesas xHCI root hub" rev 3.00/1.00 addr 1
ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
"Intel H61 LPC" rev 0x05 at pci0 dev 31 function 0 not configured
ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI3 0/direct 
fixed naa.50014ee257c45dc5
sd0: 152627MB, 512 bytes/sector, 312581808 sectors
"Intel 6 Series 

Re: USB mouse spontaneously detaching

2015-08-19 Thread harold felton
howdee,

im monitoring this thread cautiously since i dont know what im doing
sometimes...

i noticed similar behaviour with my mouse - but had attributed the messages
to the fact
that i use a manual kvm-switch...  so whenever i "switched" i was certain
it had triggered...
i will enclose my dmesg as well - but maybe the other folks are getting
their messages
for similar types of reasons ?  ( eg - vm switch ?  hub powering down ? )



On Tue, Aug 18, 2015 at 2:45 PM, L.R. D.S.  wrote:

> Same problem, build #1024. This output not just flood all tty, but also my
> dmesg
> (no output in "# dmesg" except the bellow):
>
> wsmouse1 detached
> ums1 detached
> uhidev2 detached
> uhidev2 at uhub3 port 6 configuration 1 interface 0 "Logitech USB Optical
> Mouse" rev 2.00/63.00 addr 4
> uhidev2: iclass 3/1
> ums1 at uhidev2: 3 buttons, Z dir
> wsmouse1 at ums1 mux 0
>
> Probably not a problem in USB 3.0, since I had the same issue on old
> builds in
> a hardware with USB 2.0.
> I'll follow this thread, because this is really annoying for me (I need to
> remove
> my mouse everytime I do something in tty).
>
>


-- 
harold at hfelton.com
OpenBSD 5.7 (GENERIC) #738: Sun Mar  8 10:59:31 MDT 2015
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 2.53GHz ("GenuineIntel" 686-class) 2.53 GHz
cpu0: 
FPU,V86,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,CNXT-ID,xTPR,PERF
real mem  = 2138001408 (2038MB)
avail mem = 2090708992 (1993MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 01/03/06, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 
0xf0450 (59 entries)
bios0: vendor Dell Computer Corporation version "A01" date 01/03/2006
bios0: Dell Computer Corporation Dell DE051
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT
acpi0: wakeup devices VBTN(S4) PCI0(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) 
PCI1(S5) KBD_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpicpu0 at acpi0
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc/0xa800 0xca800/0x1800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel 82865G Video" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xe800, size 0x800
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x1024
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 16
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 19
uhci2 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2
pci1 at ppb0 bus 1
uhci3 at pci1 dev 1 function 0 "VIA VT83C572 USB" rev 0x62: apic 1 int 22
uhci4 at pci1 dev 1 function 1 "VIA VT83C572 USB" rev 0x62: apic 1 int 21
ehci1 at pci1 dev 1 function 2 "VIA VT6202 USB" rev 0x65: apic 1 int 20
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "VIA EHCI root hub" rev 2.00/1.00 addr 1
fxp0 at pci1 dev 8 function 0 "Intel PRO/100 VE" rev 0x02, i82562: apic 1 int 
20, address 00:16:76:39:fb:e0
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
usb2 at uhci3: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci4: USB revision 1.0
uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 152587MB, 31250 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <_NEC, DVD+-RW ND-3530A, 103C> ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: apic 1 int 
17
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC2100CL2.5
spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC2100CL2.5
usb4 at uhci0: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci1: USB revisi

Re: USB mouse spontaneously detaching

2015-08-18 Thread L.R. D.S.
Same problem, build #1024. This output not just flood all tty, but also my dmesg
(no output in "# dmesg" except the bellow):

wsmouse1 detached
ums1 detached
uhidev2 detached
uhidev2 at uhub3 port 6 configuration 1 interface 0 "Logitech USB Optical 
Mouse" rev 2.00/63.00 addr 4
uhidev2: iclass 3/1
ums1 at uhidev2: 3 buttons, Z dir
wsmouse1 at ums1 mux 0

Probably not a problem in USB 3.0, since I had the same issue on old builds in 
a hardware with USB 2.0.
I'll follow this thread, because this is really annoying for me (I need to 
remove
my mouse everytime I do something in tty).



Re: USB mouse spontaneously detaching

2015-08-18 Thread Shaun Reiger
Hi guys I tested with a wired Logitech keyboard (same as originally
posted) and wireless Logitech mouse (that I use for my laptops) and nothing
detached. This seems very strange that from a wired mouse to a wireless
mouse would stop the detachment. Since Luciano tried his Microsoft
wired/wireless mouse and had the same detachment issue with both. Again
I'll post any new findings.



On Tuesday, August 18, 2015, Vijay Sankar  wrote:

> Just out of curiousity, I tried this on my desktop workstation (5.7
> -stable, AMD64) with a Microsoft Mouse and a Microsoft Keyboard. I normally
> use KDE4 so don't see any of the console messages. So wanted to check if
> the messages come up on a system without the KVM.
>
> It does on this system as well. Did not see any difference after removing
> USB 3.0 support so went back to the default settings
>
> uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft
> Basic Optical Mouse" rev 1.10/1.04 addr 4
> uhidev1: iclass 3/1
> ums0 at uhidev1: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> wsmouse0 detached
> ums0 detached
> uhidev1 detached
> uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft
> Basic Optical Mouse" rev 1.10/1.04 addr 4
> uhidev1: iclass 3/1
> ums0 at uhidev1: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
>
>
>
>
> Quoting Luciano Rottava da Silva :
>
> That´s exactly my approach as well. (-:
>>
>> Boot the machine and switch to another tty. So looks like issue is much
>> older than I thought.
>>
>> By the way, I have a mechanical brown cherry switch japanese keyboard and
>> also I HHKB, and both work perfectly. On the other hand, both mice have
>> this behaviour.
>>
>>
>> On 18 August 2015 at 09:40, Vijay Sankar  wrote:
>>
>> 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 :
>>>
>>> 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 >>> >
 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 0xfee0: 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,CFLUS
>>
>>
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D
>>
>>
NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN
>> IT,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,CFLUS
>>
>>
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,F

Re: USB mouse spontaneously detaching

2015-08-18 Thread Vijay Sankar
Just out of curiousity, I tried this on my desktop workstation (5.7  
-stable, AMD64) with a Microsoft Mouse and a Microsoft Keyboard. I  
normally use KDE4 so don't see any of the console messages. So wanted  
to check if the messages come up on a system without the KVM.


It does on this system as well. Did not see any difference after  
removing USB 3.0 support so went back to the default settings


uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft  
Microsoft Basic Optical Mouse" rev 1.10/1.04 addr 4

uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev1 detached
uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft  
Microsoft Basic Optical Mouse" rev 1.10/1.04 addr 4

uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0




Quoting Luciano Rottava da Silva :


That´s exactly my approach as well. (-:

Boot the machine and switch to another tty. So looks like issue is much
older than I thought.

By the way, I have a mechanical brown cherry switch japanese keyboard and
also I HHKB, and both work perfectly. On the other hand, both mice have
this behaviour.


On 18 August 2015 at 09:40, Vijay Sankar  wrote:


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 :

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 
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 0xfee0: 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,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D
NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN
IT,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,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D
NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN
IT,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,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D
NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN
IT,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

Re: USB mouse spontaneously detaching

2015-08-18 Thread Luciano Rottava da Silva
That´s exactly my approach as well. (-:

Boot the machine and switch to another tty. So looks like issue is much
older than I thought.

By the way, I have a mechanical brown cherry switch japanese keyboard and
also I HHKB, and both work perfectly. On the other hand, both mice have
this behaviour.


On 18 August 2015 at 09:40, Vijay Sankar  wrote:

> 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 :
>
> 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 
>> 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 0xfee0: 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,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D
NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN
IT,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,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D
NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN
IT,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,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D
NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN
IT,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 0xfec0, version 21, 24 pins
>>> acpimcfg0 at acpi0 addr 0xe000, 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)
>>> acpip

Re: USB mouse spontaneously detaching

2015-08-18 Thread Vijay Sankar
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 :


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 
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 0xfee0: 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 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, 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:  SCSI3
0/direct fixed naa.50014ee0adec84e1
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
cd0 at scsibus1 targ 2 lun 0:  ATAPI
5/cdrom remova

Re: USB mouse spontaneously detaching

2015-08-17 Thread Shaun Reiger
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 
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 0xfee0: 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 0xfec0, version 21, 24 pins
> acpimcfg0 at acpi0 addr 0xe000, 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:  SCSI3
> 0/direct fixed naa.50014ee0adec84e1
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> cd0 at scsibus1 targ 2 lun 0:  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 revis

Re: USB mouse spontaneously detaching

2015-08-17 Thread Luciano Rottava da Silva
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 0xfee0: 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 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, 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:  SCSI3
0/direct fixed naa.50014ee0adec84e1
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
cd0 at scsibus1 targ 2 lun 0:  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= 05= 06= 07=

Re: USB mouse spontaneously detaching

2015-08-17 Thread Luciano Rottava da Silva
No xscreensaver package is installed.

Actually this happens even during installation process, like Shaun
described. I also disconnected the mouse when I was doing a fresh install
of 5.7.

Maybe a side effect of usb 3.0 support.



On 17 August 2015 at 11:46, Richard Thornton 
wrote:

> If you have xscreensaver installed, that definitely does not always play
> nice with mice and keyboards;   perhaps it's something like that.
>
> Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G
> LTE network.
>   Original Message
> From: Luciano Rottava da Silva
> Sent: Monday, August 17, 2015 9:14 AM
> To: misc@openbsd.org
> Subject: Re: USB mouse spontaneously detaching
>
> Yeah, that��s exactly what I am doing too.
>
> What��s the brand of your mouse? Was considering buying a Logitech but
> looks
> like problem is not mouse itself.
>
>
> On 16 August 2015 at 15:48, Luciano Rottava da Silva 
> 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.



Re: USB mouse spontaneously detaching

2015-08-17 Thread Edgar Pettijohn

On 08/17/15 12:02, ludovic coues wrote:

Do you mind to share a dmesg ?

If I had to take a guess on why, I would say there is some pretty
aggressive USB power-saving powering down the device when there is no
activity. Also, it doesn't seem related to your device nor your OS.
So a dmesg would give more details on your machine and might help to
explain why these detach keep happening.


OpenBSD 5.8 (GENERIC.MP) #1235: Mon Aug 10 06:54:34 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3721445376 (3549MB)
avail mem = 3604766720 (3437MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9590 (50 entries)
bios0: vendor American Megatrends Inc. version "V2.0" date 02/04/2013
bios0: MSI MS-7786
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) UHC1(S4) 
UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) 
PE22(S4) PE23(S4) BR12(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2695.45 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, 512KB 
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, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2695.10 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, 512KB 
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
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P0PC)
acpiprt2 at acpi0: bus -1 (PE20)
acpiprt3 at acpi0: bus -1 (PE21)
acpiprt4 at acpi0: bus -1 (PE22)
acpiprt5 at acpi0: bus -1 (PE23)
acpiprt6 at acpi0: bus -1 (BR12)
acpiprt7 at acpi0: bus 1 (BR14)
acpiprt8 at acpi0: bus -1 (BR15)
acpiprt9 at acpi0: bus -1 (BR17)
acpiprt10 at acpi0: bus -1 (BR16)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpibtn0 at acpi0: PWRB
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 6410D" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6500D HD Audio" rev 
0x00: msi

azalia0: no supported codecs
ppb0 at pci0 dev 4 function 0 "AMD AMD64 12h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL 
(0x2c80), msi, address d4:3d:7e:ba:37:33

rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 3 int 
19, AHCI 1.3

ahci0: port 1: 3.0Gb/s
ahci0: port 2: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 1 lun 0:  SCSI3 
0/direct fixed naa.5000c50066b38e26

sd0: 476940MB, 512 bytes/sector, 976773168 sectors
cd0 at scsibus1 targ 2 lun 0:  ATAPI 
5/cdrom removable
ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 3 int 
18, version 1.0, legacy support

ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 3 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 3 int 
18, version 1.0, legacy support

ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 3 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 0x14: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600
pciide0 at pci0 dev 20 function 1 "AMD Hudson-2 IDE" rev 0x00: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility
azalia1 at pci0 dev 20 function 2 "A

Re: USB mouse spontaneously detaching

2015-08-17 Thread Edgar Pettijohn

I'm using a Logitech so that probably won't help you any.

On 08/17/15 08:11, Luciano Rottava da Silva wrote:

Yeah, that´s exactly what I am doing too.

What´s the brand of your mouse? Was considering buying a Logitech but looks
like problem is not mouse itself.


On 16 August 2015 at 15:48, Luciano Rottava da Silva 
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.




Re: USB mouse spontaneously detaching

2015-08-17 Thread Shaun Reiger
Here is the dmesg as well as the detach statement:

wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub5 port 2 configuration 1 interface 0 "Logitech USB Optical
Mouse" rev 2.00/72.00 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir


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 = 8468688896 (8076MB)
avail mem = 823976 (7857MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbc41a018 (60 entries)
bios0: vendor American Megatrends Inc. version "2501" date 04/03/2014
bios0: ASUSTeK COMPUTER INC. M5A99X EVO R2.0
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET BGRT SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4) UHC1(S4)
UHC2(S4) UHC4(S4) UHC6(S4) UHC7(S4) PC02(S4) PC03(S4) PC04(S4) PC05(S4)
PC06(S4) PC07(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD FX(tm)-4350 Quad-Core Processor, 4214.74 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 18 (application processor)
cpu2: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 19 (application processor)
cpu3: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 6 pa 0xfec2, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 6 (P0PC)
acpiprt2 at acpi0: bus 1 (PC02)
acpiprt3 at acpi0: bus -1 (PC03)
acpiprt4 at acpi0: bus 2 (PC04)
acpiprt5 at acpi0: bus 3 (PC05)
acpiprt6 at acpi0: bus 4 (PC06)
acpiprt7 at acpi0: bus 5 (PC07)
acpiprt8 at acpi0: bus -1 (PC09)
acpiprt9 at acpi0: bus -1 (PC0A)
acpiprt10 at acpi0: bus -1 (PC0B)
acpiprt11 at acpi0: bus -1 (PC0C)
acpiprt12 at acpi0: bus -1 (PC0D)
acpiprt13 at acpi0: bus -1 (PE20)
acpiprt14 at acpi0: bus -1 (PE21)
acpiprt15 at acpi0: bus -1 (PE22)
acpiprt16 at acpi0: bus -1 (PE23)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, PSS
acpi

Re: USB mouse spontaneously detaching

2015-08-17 Thread ludovic coues
Do you mind to share a dmesg ?

If I had to take a guess on why, I would say there is some pretty
aggressive USB power-saving powering down the device when there is no
activity. Also, it doesn't seem related to your device nor your OS.
So a dmesg would give more details on your machine and might help to
explain why these detach keep happening.

-- 

Cordialement, Coues Ludovic
+336 148 743 42



Re: USB mouse spontaneously detaching

2015-08-17 Thread Shaun Reiger
Hi Luciano I also have the same issue happening. I have a logitech mouse
and keyboard and get the detached message popping up. I just install 5.7
amd64 with zero packages and it was even doing the detach during the
install. I'm not sure why. I do agree that its pretty annoying to have.
I'll keep an eye on this thread.

Thanks

On Mon, Aug 17, 2015 at 7:11 AM, Luciano Rottava da Silva  wrote:

> Yeah, that´s exactly what I am doing too.
>
> What´s the brand of your mouse? Was considering buying a Logitech but
looks
> like problem is not mouse itself.
>
>
> On 16 August 2015 at 15:48, Luciano Rottava da Silva 
> 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)



Re: USB mouse spontaneously detaching

2015-08-17 Thread Richard Thornton
If you have xscreensaver installed, that definitely does not always play nice 
with mice and keyboards;   perhaps it's something like that.

Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network.
  Original Message  
From: Luciano Rottava da Silva
Sent: Monday, August 17, 2015 9:14 AM
To: misc@openbsd.org
Subject: Re: USB mouse spontaneously detaching

Yeah, that��s exactly what I am doing too.

What��s the brand of your mouse? Was considering buying a Logitech but looks
like problem is not mouse itself.


On 16 August 2015 at 15:48, Luciano Rottava da Silva 
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.



Re: USB mouse spontaneously detaching

2015-08-17 Thread Luciano Rottava da Silva
Yeah, that´s exactly what I am doing too.

What´s the brand of your mouse? Was considering buying a Logitech but looks
like problem is not mouse itself.


On 16 August 2015 at 15:48, Luciano Rottava da Silva 
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.



Re: USB mouse spontaneously detaching

2015-08-16 Thread Edgar Pettijohn

On 08/16/15 13:48, Luciano Rottava da Silva 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.

I have the same problem.  Not very helpful, but If I'm not in X I just 
unplug the mouse to avoid them.




USB mouse spontaneously detaching

2015-08-16 Thread Luciano Rottava da Silva
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.