From owner-freebsd-usb@FreeBSD.ORG Sun Dec 14 19:43:51 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F65B159 for ; Sun, 14 Dec 2014 19:43:51 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81A1179C for ; Sun, 14 Dec 2014 19:43:50 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id z12so13099077wgg.29 for ; Sun, 14 Dec 2014 11:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RVNWsQ23ChObDrnXmQy+IJI2lM+d9kLqYLnWtlt2uMo=; b=TwS32BsqMzz7a3iyIazUXJx3HKACEKARN3BZO0btfHEUiDjkmnw99fTR5W6plsKabH vNIxyx1nptFydR3ke8If4zx8wNTZlhfhNz5DgJBDktvdt5r6pZevao9ov7eNxs+XvRYp yzKqbt+UQ+mRZl5kdR4GlJh+OZta0LlM3VLfU9wDmD4XAfIRdIeen1KLQDaeC4PBvrdu Y9JOGb8cDpuHJCVwDfu/ufQDW+mohHMuEkY+krU1MfYo82FPpk9tc907jEwoos8s7RhZ ak0YQOMNKoF8pzuqsJEAPx+nLpBkiK6pBZ5W6oSMUu/qllmsDd9FRxiYgZC+wnKa9a8X xgmw== MIME-Version: 1.0 X-Received: by 10.194.62.19 with SMTP id u19mr36080682wjr.0.1418586228924; Sun, 14 Dec 2014 11:43:48 -0800 (PST) Received: by 10.27.174.20 with HTTP; Sun, 14 Dec 2014 11:43:48 -0800 (PST) In-Reply-To: <548DDC93.2020601@selasky.org> References: <548D38D5.2010700@selasky.org> <548DDC93.2020601@selasky.org> Date: Sun, 14 Dec 2014 11:43:48 -0800 Message-ID: Subject: Re: Disconnects every 15 seconds From: Randall Fox To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2014 19:43:51 -0000 On everything below, I removed the USB hub I tested with in the last message and plugged the UPS directly into the computers USB port, like before. > Can you send the output from "pciconv -lv" especially those lines which relate to USB controllers? > Also try setting: > sysctl hw.usb.no_cs_fail=1 $ sysctl hw.usb.no_cs_fail=1 hw.usb.no_cs_fail: 0 -> 1 $ I previously tried the above, it had no effect. I tried it again just to be sure, still no effect. I assumed an immediate effect, unless a reboot is needed? Here are the interesting results from pciconf -lv, (I replaced the \n with a comma to make thing more compact and I removed the boring stuff. I also put the USB stuff at the top.) Note: I included my motherboard and periph data below if that helps. And thanks again for your help. ehci0@pci0:0:26:0: class=0x0c0320 card=0x062b15d9 chip=0x1d2d8086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg USB2 Enhanced Host Controller',class=serial bus,subclass= USB ehci1@pci0:0:29:0: class=0x0c0320 card=0x062b15d9 chip=0x1d268086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg USB2 Enhanced Host Controller',class=serial bus,subclass= USB none12@pci0:0:31:3: class=0x0c0500 card=0x062b15d9 chip=0x1d228086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg SMBus Host Controller',class=serial bus,subclass= SMBus ioapic0@pci0:0:5:4: class=0x080020 card=0x062b15d9 chip=0x0e2c8086 rev=0x04 hdr=0x00,vendor='Intel Corporation',class=base peripheral,subclass= interrupt controller pcib5@pci0:0:17:0: class=0x060400 card=0x062b15d9 chip=0x1d3e8086 rev=0x06 hdr=0x01,vendor='Intel Corporation',device= 'Patsburg PCI Express Virtual Root Port',class=bridge,subclass= PCI-PCI none10@pci0:0:22:0: class=0x078000 card=0x062b15d9 chip=0x1d3a8086 rev=0x05 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg MEI Controller',class=simple comms none11@pci0:0:22:1: class=0x078000 card=0x062b15d9 chip=0x1d3b8086 rev=0x05 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg MEI Controller',class=simple comms pcib6@pci0:0:28:0: class=0x060400 card=0x062b15d9 chip=0x1d108086 rev=0xb6 hdr=0x01,vendor='Intel Corporation',device= 'Patsburg PCI Express Root Port 1',class=bridge,subclass= PCI-PCI pcib7@pci0:0:30:0: class=0x060401 card=0x062b15d9 chip=0x244e8086 rev=0xa6 hdr=0x01,vendor='Intel Corporation',device= '82801 PCI Bridge',class=bridge,subclass= PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x062b15d9 chip=0x1d418086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg LPC Controller',class=bridge,subclass= PCI-ISA atapci0@pci0:0:31:2: class=0x01018a card=0x062b15d9 chip=0x1d008086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg 4-Port SATA IDE Controller',class=mass storage,subclass= ATA atapci1@pci0:0:31:5: class=0x010185 card=0x062b15d9 chip=0x1d088086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg 2-Port SATA IDE Controller',class=mass storage,subclass= ATA none13@pci0:0:31:6: class=0x118000 card=0x062b15d9 chip=0x1d248086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg Thermal Management Controller',class=dasp mps0@pci0:2:0:0: class=0x010700 card=0x30201000 chip=0x00721000 rev=0x02 hdr=0x00,vendor='LSI Logic / Symbios Logic',device= 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]',class=mass storage,subclass= SAS igb0@pci0:3:0:0: class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00,vendor='Intel Corporation',device= 'I350 Gigabit Network Connection',class=network,subclass= ethernet igb1@pci0:3:0:1: class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00,vendor='Intel Corporation',device= 'I350 Gigabit Network Connection',class=network,subclass= ethernet mps1@pci0:5:0:0: class=0x010700 card=0x30201000 chip=0x00721000 rev=0x03 hdr=0x00,vendor='LSI Logic / Symbios Logic',device= 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]',class=mass storage,subclass= SAS isci0@pci0:6:0:0: class=0x010700 card=0x062b15d9 chip=0x1d6b8086 rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg 4-Port SATA Storage Control Unit',class=mass storage,subclass= SAS mps2@pci0:7:0:0: class=0x010700 card=0x30201000 chip=0x00721000 rev=0x02 hdr=0x00,vendor='LSI Logic / Symbios Logic',device= 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]',class=mass storage,subclass= SAS vgapci0@pci0:8:4:0: class=0x030000 card=0x062b15d9 chip=0x0532102b rev=0x0a hdr=0x00,vendor='Matrox Graphics, Inc.',device= 'MGA G200eW WPCM450',class=display,subclass= VGA Computer stats: CASE: SUPERMICRO CSE-846A-R1200B Black 4U R PROCESSOR: Intel Xeon E5-2609 v2 Ivy Bridge-EP 2.5GHz 10MB L3 MOTHERBOARD: SUPERMICRO X9SRI-F ATX Server Motherboard LGA 2011 MEMORY: 16GB FreeNAS v9.2.1.3 (FreeBSD 9.2, planning to upgrade to 9.3 shortly,as it just came out) UPS: Tripp Lite TRIPP LITE SMART1500RM2U HD CONTROLLERS: IBM ServeRAID M1015 SAS/SATA Controller (x3) Hard Drives: TOSHIBA 3TB DT01ACA3 (x6) On Sun, Dec 14, 2014 at 10:53 AM, Hans Petter Selasky wrote: > > On 12/14/14 19:26, Randall Fox wrote: > >> Thanks for the reply... Here are the answers to you questions. >> >> What USB controllers are you using? EHCI/XHCI/OHCI/UHCI? >>> >> I'm not sure how to check this, but it looks like it's using EHCI, at >> least >> it shows that when running usbconfig: >> $ usbconfig >> >> ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=SAVE (0mA) >> ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=SAVE (0mA) >> ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr=SAVE (0mA) >> ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH >> (480Mbps) pwr=SAVE (0mA) >> ugen0.3: at usbus0, >> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) >> ugen1.3: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=ON (200mA) >> ugen1.4: at usbus1, cfg=0 md=HOST >> spd=LOW (1.5Mbps) pwr=ON (0mA) >> >> >> Are all USB controller drivers loaded? >>> >> >> I would assume so. Since the device is USB HID, I don't have any device >> specific drivers to load. And since the mouse/keyboard etc, loads >> fine,and >> I don't see any errors in the logs. If there is somewhere else I should >> check, just point me in that direction. I would assume if it was a driver >> problem, the communication to the device would not work at all. I can >> communicate with it, it just disconnects and reconnects frequently. >> >> Did you try connecting the device through an external USB HUB? >>> >> >> Just did, here is the result. Interesting, but still the same result, but >> with more info. The hub I used is part of my monitor, a new Dell with a >> USB3 hub in it. I had to lug it into the server room. I usually run >> headless. >> >> > Hi, > > Can you send the output from "pciconv -lv" especially those lines which > relate to USB controllers? > > Also try setting: > > sysctl hw.usb.no_cs_fail=1 > > --HPS > >