From owner-freebsd-usb@FreeBSD.ORG Mon Dec 15 08:04:58 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C172A70A for ; Mon, 15 Dec 2014 08:04:58 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FAEA696 for ; Mon, 15 Dec 2014 08:04:58 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 375F01FE022; Mon, 15 Dec 2014 09:04:56 +0100 (CET) Message-ID: <548E964B.8080408@selasky.org> Date: Mon, 15 Dec 2014 09:05:31 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Randall Fox Subject: Re: Disconnects every 15 seconds References: <548D38D5.2010700@selasky.org> <548DDC93.2020601@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 15 Dec 2014 08:04:58 -0000 On 12/14/14 20:43, Randall Fox wrote: > 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 > Hi, The pciconf output looks normal. All USB controllers have drivers attached. Can you set "hw.usb.uhub.debug=16" and collect messages in dmesg for and attach/detach/attach cycle? Also, does the endless attach/detach happen to other USB devices? --HPS