From owner-freebsd-current@FreeBSD.ORG Mon Mar 28 11:12:56 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 754D116A4CE; Mon, 28 Mar 2005 11:12:56 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5744543D49; Mon, 28 Mar 2005 11:12:55 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SBCbsf089110 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 13:12:39 +0200 (CEST) (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 j2SBBfVK086965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 13:11:41 +0200 (CEST) (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 j2SBBe2l026861; Mon, 28 Mar 2005 13:11:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SBBe0n026860; Mon, 28 Mar 2005 13:11:40 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 13:11:40 +0200 From: Bernd Walter To: Vladimir Grebenschikov Message-ID: <20050328111139.GY14532@cicely12.cicely.de> References: <1110800717.1296.19.camel@localhost> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> <1111648302.3557.10.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1111648302.3557.10.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.1 required=3.0 tests=BAYES_00,REMOVE_REMOVAL_NEAR autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.8 REMOVE_REMOVAL_NEAR List removal information X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: freebsd-mobile@freebsd.org cc: "Matthew N. Dodd" cc: "current@freebsd.org" cc: Julian Elischer 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: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 11:12:56 -0000 On Thu, Mar 24, 2005 at 10:11:42AM +0300, Vladimir Grebenschikov wrote: > ? ??, 23/03/2005 ? 23:05 -0500, John Baldwin ?????: > > On Mar 23, 2005, at 9:00 PM, Matthew N. Dodd wrote: > > > > > On Wed, 23 Mar 2005, Julian Elischer wrote: > > >> eject should imply a detach.. > > >> i.e. I think your patch should call the detach code from the eject > > >> code. > > > > > > Eject is for devices that support removable media. > > > > So are flash memory sticks ejectable media from a slot in a laptop that > > never goes away? Seems like it should be an ejectable media to me. > > *shrug* > > Unfortunately, it seen as not-ejectable media. > > # camcontrol inquiry da0 > pass0: Removable Direct Access SCSI-0 device > pass0: Serial Number 3 > pass0: 40.000MB/s transfers > # It's _removeable_ direct access. Since this is a memory stick - I don't know how one could remove the flash media from the USB drive. But this device bug won't hurt as long as you can remove the drive. > # usbdevs -v > ... > Controller /dev/usb3: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > 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 > port 6 powered > # > > I guess usb device should be removed on skick removal and back, but it > does not works :(. So you say that the device still exists after unplugging the USB stick? This is not the intended behavour. Is it still mounted when you unplug? -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de