From owner-freebsd-usb@FreeBSD.ORG Tue Dec 25 11:28:45 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 0FA0416A418 for ; Tue, 25 Dec 2007 11:28:45 +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 CF58613C467 for ; Tue, 25 Dec 2007 11:28:44 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 39F08744009 for ; Tue, 25 Dec 2007 13:04: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 PgRFATYh27YB for ; Tue, 25 Dec 2007 13:04: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 D0CCF744004 for ; Tue, 25 Dec 2007 13:03:59 +0200 (EET) Message-ID: <4770E39E.8050402@icyb.net.ua> Date: Tue, 25 Dec 2007 13:03:58 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: 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:28:45 -0000 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 ? -- Andriy Gapon