Reattach/redetect allways connected umass device - is it
possible ?
Bernd Walter
ticso at cicely12.cicely.de
Mon Mar 28 03:12:56 PST 2005
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 at bwct.de info at bwct.de
More information about the freebsd-mobile
mailing list