Detecting cards in USB card reader

Warren Block wblock at wonkity.com
Wed Feb 10 20:06:13 UTC 2010


On Wed, 10 Feb 2010, Mike Clarke wrote:
> It does seem a pity though that we have to rely on the side effect of
> having no support for writing to block devices instead of having a
> specific means of detecting or checking for a media change in the card
> reader.

I agree that attempting a write to an unsuspecting device to signal a 
media change just looks wrong.

usbconfig -d 3.3 reset seemed to work with my Sandisk card reader just 
now.  This is still a side effect, but doesn't look as bad.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list