Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 10:11:42 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-mobile@FreeBSD.org
Subject:   Re: Reattach/redetect allways connected umass device - is it possible ?
Message-ID:  <1111648302.3557.10.camel@localhost>
In-Reply-To: <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org>
References:  <1110800717.1296.19.camel@localhost> <200503231411.46948.jhb@FreeBSD.org><42421D8D.5060502@elischer.org> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D3=D2, 23/03/2005 =D7 23:05 -0500, John Baldwin =D0=C9=DB=C5=D4:
> On Mar 23, 2005, at 9:00 PM, Matthew N. Dodd wrote:
>=20
> > 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=20
> >> code.
> >
> > Eject is for devices that support removable media.
>=20
> So are flash memory sticks ejectable media from a slot in a laptop that=20
> never goes away?  Seems like it should be an ejectable media to me.=20
> *shrug*

Unfortunately, it seen as not-ejectable media.

# camcontrol inquiry da0
pass0: <Sony MSC-U04 3.00> Removable Direct Access SCSI-0 device=20
pass0: Serial Number 3
pass0: 40.000MB/s transfers=20
#

# 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 :(.

--=20
Vladimir B. Grebenchikov
vova@fbsd.ru



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