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

From: Vladimir Grebenschikov <vova_at_fbsd.ru>
Date: Thu, 24 Mar 2005 10:11:42 +0300
В ср, 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
Received on Mon Mar 28 2005 - 06:28:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC