From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 14 18:52:21 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 694DA16A4CF; Mon, 14 Mar 2005 18:52:21 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 223E443D41; Mon, 14 Mar 2005 18:52:20 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2EIqAHw017908 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 14 Mar 2005 19:52:12 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2EIpUVK073109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Mar 2005 19:51:30 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2EIpTJ9022254; Mon, 14 Mar 2005 19:51:29 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2EIpTIh022253; Mon, 14 Mar 2005 19:51:29 +0100 (CET) (envelope-from ticso) Date: Mon, 14 Mar 2005 19:51:29 +0100 From: Bernd Walter To: Vladimir Grebenschikov Message-ID: <20050314185128.GE19370@cicely12.cicely.de> References: <1110800717.1296.19.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1110800717.1296.19.camel@localhost> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: mobile@freebsd.org cc: "current@freebsd.org" Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 18:52:21 -0000 On Mon, Mar 14, 2005 at 02:45:17PM +0300, Vladimir Grebenschikov wrote: > Hi > > I have SONY notebook with integrated memory stick card reader. It > appears as USB umass device and works well. > > Usbdevs output is here: > Controller /dev/usb3: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00, device uhub4 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > port 5 addr 2: high speed, self powered, config 1, USB Memory Stick Slot(0x014d), Sony(0x054c), rev 1.10, device umass1 > port 6 powered > > Only problem is that card-reader itself toes not detach USB device on flash removal. So if I change card to another card of different size > it is not detected and da0 device still has old geometry. Yes - GEOM is kind of suboptimal with removeable media. cat /dev/null > /dev/da0 -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de