From owner-freebsd-usb@FreeBSD.ORG Tue Dec 25 11:45:25 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1848716A41B for ; Tue, 25 Dec 2007 11:45:25 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id D64B213C45B for ; Tue, 25 Dec 2007 11:45:24 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 9561574400C for ; Tue, 25 Dec 2007 13:13:00 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JJvB2b8qmeRG for ; Tue, 25 Dec 2007 13:13:00 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 541E1744004 for ; Tue, 25 Dec 2007 13:13:00 +0200 (EET) Message-ID: <4770E5BB.4090100@icyb.net.ua> Date: Tue, 25 Dec 2007 13:12:59 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <4770E39E.8050402@icyb.net.ua> In-Reply-To: <4770E39E.8050402@icyb.net.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: unnoticed disconnect X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2007 11:45:25 -0000 on 25/12/2007 13:03 Andriy Gapon said the following: > I have a strange problem - when I disconnect a certain USB card reader > its umass* and da* devices are not removed, there is complete silence in > the system log and usbdevs -vd still shows it as connected. > Restarting usbd and/or running usbd -e doesn't change anything. > If I reconnect the device there is zero reaction as well and da* devices > are unusable (any access produces several BBB ... IOERROR). > But if attach another USB device (e.g. USB flash drive) while the reader > is disconnected then the system notices that it's actually gone and > performs all the necessary disconnect actions. > > This is quite weird for me. My question if this is something most likely > caused by software or something caused by the hardware. And if the > latter - what is most likely at fault: the reader, connecting cable, > physical port, hub ? > Additional fact: it seems that I can produce the effect with ~80% on port 1 and port 2 of hub 1 and so far I couldn't reproduce it at all on port 8 of the same hub. This is after about the same number of attempts on all three ports. The only difference is that port 1 and port 2 are at the rear panel and port 8 is at the front. -- Andriy Gapon