Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 10:01:38 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        ticso@cicely.de
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: Reattach/redetect allways connected umass device - is it possible ?
Message-ID:  <1110870098.1502.2.camel@localhost>
In-Reply-To: <20050314185128.GE19370@cicely12.cicely.de>
References:  <1110800717.1296.19.camel@localhost> <20050314185128.GE19370@cicely12.cicely.de>

index | next in thread | previous in thread | raw e-mail

В пн, 14/03/2005 в 19:51 +0100, Bernd Walter пишет:
>On Mon, Mar 14, 2005 at 02:45:17PM +0300, Vladimir Grebenschikov wrote:
>> Hi 
>> 
>> I have SONY notebook with integrated memory stick card reader. It
>> appears as USB umass device and works well.
>> 
>> Usbdevs output is here: 
>> Controller /dev/usb3:
>> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00, device uhub4
>>  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, device umass1
>>  port 6 powered
>> 
>> Only problem is that card-reader itself toes not detach USB device on flash removal. So if I change card to another card of different size 
>> it is not detected and da0 device still has old geometry.
>
>Yes - GEOM is kind of suboptimal with removeable media.
>cat /dev/null > /dev/da0

Thank you!

But probably we should have better control for this.
I guess opening file-system for write is not best thing for that.

-- 
Vladimir B. Grebenchikov
vova@fbsd.ru


help

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