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 = 8239333376 (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 0xfee00000: 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 0xfec00000, version 21, 24 pins ioapic1 at mainbus0: apid 6 pa 0xfec20000, version 21, 32 pins acpimcfg0 at acpi0 addr 0xe0000000, 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 acpicpu1 at acpi0: C2, PSS acpicpu2 at acpi0: C2, PSS acpicpu3 at acpi0: C2, PSS acpibtn0 at acpi0: PWRB cpu0: 4214 MHz: speeds: 4200 4100 3600 2800 2000 1400 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "ATI", unknown product 0x5a14 rev 0x02 ppb0 at pci0 dev 2 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility HD 5430" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5470 Audio" rev 0x00: msi azalia0: no supported codecs ppb1 at pci0 dev 4 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x09: RTL8168F/8111F (0x4800), msi, address 08:62:66:2c:b2:da rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 ppb2 at pci0 dev 5 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci3 at ppb2 bus 3 xhci0 at pci3 dev 0 function 0 "ASMedia ASM1042A xHCI" rev 0x00: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "ASMedia xHCI root hub" rev 3.00/1.00 addr 1 ppb3 at pci0 dev 6 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci4 at ppb3 bus 4 ahci0 at pci4 dev 0 function 0 "ASMedia ASM1061 AHCI" rev 0x01: msi, AHCI 1.2 scsibus1 at ahci0: 32 targets ppb4 at pci0 dev 7 function 0 "ATI SR5690 PCIE" rev 0x00: msi pci5 at ppb4 bus 5 xhci1 at pci5 dev 0 function 0 "ASMedia ASM1042A xHCI" rev 0x00: msi usb1 at xhci1: USB revision 3.0 uhub1 at usb1 "ASMedia xHCI root hub" rev 3.00/1.00 addr 1 ahci1 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 5 int 19, AHCI 1.2 scsibus2 at ahci1: 32 targets sd0 at scsibus2 targ 0 lun 0: <ATA, ST1000DM003-9YN1, CC9B> SCSI3 0/direct fixed naa.5000c50044c29d2c sd0: 953869MB, 512 bytes/sector, 1953525168 sectors cd0 at scsibus2 targ 2 lun 0: <HL-DT-ST, BDDVDRW CH12LS28, 1.00> ATAPI 5/cdrom removable ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 17 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 20, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 21 usb3 at ehci1: USB revision 2.0 uhub3 at usb3 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600 azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 5 int 16 azalia1: codecs: Realtek/0x0892 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 ppb5 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 pci6 at ppb5 bus 6 ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 5 int 18, version 1.0, legacy support ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 5 int 22, version 1.0, legacy support ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 5 int 23 usb4 at ehci2: USB revision 2.0 uhub4 at usb4 "ATI EHCI root hub" rev 2.00/1.00 addr 1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 15/0xh Link Cfg" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 15/0xh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 15/0xh DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 15/0xh Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 15/0xh CPU Power" rev 0x00 pchb5 at pci0 dev 24 function 5 "AMD AMD64 15/0xh Host" rev 0x00 usb5 at ohci0: USB revision 1.0 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb6 at ohci1: USB revision 1.0 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo 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 it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290 usb7 at ohci2: USB revision 1.0 uhub7 at usb7 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb8 at ohci3: USB revision 1.0 uhub8 at usb8 "ATI OHCI root hub" rev 1.00/1.00 addr 1 uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB Keyboard" rev 1.10/64.00 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub5 port 1 configuration 1 interface 1 "Logitech USB Keyboard" rev 1.10/64.00 addr 2 uhidev1: iclass 3/0, 3 report ids uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0 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 wsmouse0 at ums0 mux 0 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (b8a00314f1f9eeae.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 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 wsmouse0 at ums0 mux 0 umass0 at uhub4 port 2 configuration 1 interface 0 "USB Flash Disk" rev 2.00/11.00 addr 2 umass0: using SCSI over Bulk-Only scsibus5 at umass0: 2 targets, initiator 0 sd1 at scsibus5 targ 1 lun 0: <USB, Flash Disk, 1100> SCSI0 0/direct removable serial.090c1000008180000141 sd1: 7648MB, 512 bytes/sector, 15663104 sectors 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 wsmouse0 at ums0 mux 0 hw.sensors.km0.temp0=6.88 degC hw.sensors.it0.temp0=30.00 degC hw.sensors.it0.temp1=24.00 degC hw.sensors.it0.fan0=2419 RPM hw.sensors.it0.fan1=1829 RPM hw.sensors.it0.fan2=0 RPM hw.sensors.it0.volt0=3.70 VDC (VCORE_A) hw.sensors.it0.volt1=3.74 VDC (VCORE_B) hw.sensors.it0.volt2=1.68 VDC (+3.3V) hw.sensors.it0.volt3=3.68 VDC (+5V) hw.sensors.it0.volt5=0.22 VDC (-12V) hw.sensors.it0.volt8=2.19 VDC (VBAT) On Mon, Aug 17, 2015 at 11:02 AM, ludovic coues <cou...@gmail.com> 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. > > -- > > Cordialement, Coues Ludovic > +336 148 743 42 > > -- Shaun "Ars longa, vita brevis, occasio praeceps, experimentum periculosum, iudicium difficile" - Hippocrates (c. 400BC)