From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4435 invoked by alias); 1 Dec 2010 20:51:20 -0000 Received: (qmail 4384 invoked by uid 22791); 1 Dec 2010 20:51:19 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Dec 2010 20:51:11 +0000 Received: by mail.ecoscentric.com (Postfix, from userid 48) id 6E9C02F78001; Wed, 1 Dec 2010 20:51:09 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: unassigned@bugs.ecos.sourceware.org Subject: [Bug 1001084] STM32 USB driver unplugging/replugging issue X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: USB driver X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chris@zynaptic.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 01 Dec 2010 20:51:00 -0000 Message-Id: <20101201205106.9C21B2F78004@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2010/txt/msg00225.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001084 --- Comment #3 from Chris Holgate 2010-12-01 20:51:03 GMT --- Having given it a bit more thought, I don't think that this is a scenario that the USB protocol can be guaranteed to handle cleanly - there is too much low-level bus state involved. I think the safest approach is to detect disconnection from the host by monitoring the USB bus power line and using this as a trigger to restart the USB interface ready for a clean connection to the new host. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.