From owner-freebsd-questions@FreeBSD.ORG Wed Feb 10 20:06:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7112106568B for ; Wed, 10 Feb 2010 20:06:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 397478FC1C for ; Wed, 10 Feb 2010 20:06:12 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1AK6Cjp016668; Wed, 10 Feb 2010 13:06:12 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1AK6CPu016665; Wed, 10 Feb 2010 13:06:12 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 10 Feb 2010 13:06:12 -0700 (MST) From: Warren Block To: Mike Clarke In-Reply-To: <201002101753.59159.jmc-freebsd2@milibyte.co.uk> Message-ID: References: <201002061511.11639.jmc-freebsd2@milibyte.co.uk> <201002062328.27744.jmc-freebsd2@milibyte.co.uk> <4B6EA394.5050604@gmx.com> <201002101753.59159.jmc-freebsd2@milibyte.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Wed, 10 Feb 2010 13:06:12 -0700 (MST) Cc: freebsd-questions@freebsd.org, Nikos Vassiliadis Subject: Re: Detecting cards in USB card reader X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 20:06:13 -0000 On Wed, 10 Feb 2010, Mike Clarke wrote: > It does seem a pity though that we have to rely on the side effect of > having no support for writing to block devices instead of having a > specific means of detecting or checking for a media change in the card > reader. I agree that attempting a write to an unsuspecting device to signal a media change just looks wrong. usbconfig -d 3.3 reset seemed to work with my Sandisk card reader just now. This is still a side effect, but doesn't look as bad. -Warren Block * Rapid City, South Dakota USA