From owner-freebsd-current@FreeBSD.ORG Thu Mar 17 00:08:59 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26DEF16A4CE for ; Thu, 17 Mar 2005 00:08:59 +0000 (GMT) Received: from vbook.fbsd.ru (user178.hovrino.net [82.179.232.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0F843D53 for ; Thu, 17 Mar 2005 00:08:58 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DB63f-000Cxh-IZ; Tue, 15 Mar 2005 10:01:39 +0300 From: Vladimir Grebenschikov To: ticso@cicely.de In-Reply-To: <20050314185128.GE19370@cicely12.cicely.de> References: <1110800717.1296.19.camel@localhost> <20050314185128.GE19370@cicely12.cicely.de> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Tue, 15 Mar 2005 10:01:38 +0300 Message-Id: <1110870098.1502.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.1.5 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 00:08:59 -0000 =F7 =D0=CE, 14/03/2005 =D7 19:51 +0100, Bernd Walter =D0=C9=DB=C5=D4: >On Mon, Mar 14, 2005 at 02:45:17PM +0300, Vladimir Grebenschikov wrote: >> Hi=20 >>=20 >> I have SONY notebook with integrated memory stick card reader. It >> appears as USB umass device and works well. >>=20 >> Usbdevs output is here:=20 >> 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 Slo= t(0x014d), Sony(0x054c), rev 1.10, device umass1 >> port 6 powered >>=20 >> Only problem is that card-reader itself toes not detach USB device on fl= ash removal. So if I change card to another card of different size=20 >> 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 Thank you! But probably we should have better control for this. I guess opening file-system for write is not best thing for that. --=20 Vladimir B. Grebenchikov vova@fbsd.ru