Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 13:11:40 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Vladimir Grebenschikov <vova@fbsd.ru>
Cc:        Julian Elischer <julian@elischer.org>
Subject:   Re: Reattach/redetect allways connected umass device - is it possible ?
Message-ID:  <20050328111139.GY14532@cicely12.cicely.de>
In-Reply-To: <1111648302.3557.10.camel@localhost>
References:  <1110800717.1296.19.camel@localhost> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> <1111648302.3557.10.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Sony MSC-U04 3.00> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050328111139.GY14532>