Reattach/redetect allways connected umass device - is it possible ?

Vladimir Grebenschikov vova at fbsd.ru
Mon Mar 28 00:28:57 PST 2005


В ср, 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 
#

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

-- 
Vladimir B. Grebenchikov
vova at fbsd.ru


More information about the freebsd-mobile mailing list