From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 7 07:10:58 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77760641 for ; Sun, 7 Sep 2014 07:10:58 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 347A61BEE for ; Sun, 7 Sep 2014 07:10:57 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 241591FE027; Sun, 7 Sep 2014 09:10:53 +0200 (CEST) Message-ID: <540C04F8.2000703@selasky.org> Date: Sun, 07 Sep 2014 09:10:48 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Poul-Henning Kamp Subject: Re: What to do if USB stack seems dead References: <1455331.JKPkSxLmbq@quad> <540B7AC4.9060504@selasky.org> <33743.1410072134@critter.freebsd.dk> In-Reply-To: <33743.1410072134@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Maxim V FIlimonov X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 07:10:58 -0000 On 09/07/14 08:42, Poul-Henning Kamp wrote: > -------- > In message <540B7AC4.9060504@selasky.org>, Hans Petter Selasky writes: >> On 09/06/14 21:57, Maxim V FIlimonov wrote: >>> Lately, I've been heavily experimenting with different USB devices (for >>> instance, USB to TTL one, but that's another story), and at a moment I >>> encountered that the system doesn't react on new USB devices connected. The >>> connected devices work fine, though. The question is: what can I do in such a >>> case if I don't want to reboot my box? >>> >> >> Hi, >> >> If a TTY port is not closed, it will prevent other USB devices on that >> particular USB controller from enumerating. > > I'm pretty sure I have seen this "dead USB" thing on > > FreeBSD ni.freebsd.dk 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r270830: > > without any USB/TTY ports being involved at all... > Hi, If it is a USB SW problem, you should see that the USB explore / RootHub threads are stuck. Else it is a USB HW problem. --HPS