Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2013 13:14:33 +0400
From:      Anatoly <anatoly@kazanfieldhockey.ru>
To:        gljennjohn@gmail.com
Cc:        freebsd-usb@freebsd.org
Subject:   Re: spin down a USB-attached disk?
Message-ID:  <20130924131433.5378f7c4@asd.localdomain>
In-Reply-To: <20130924100153.18756271@ernst.home>
References:  <20130917185047.52c63e00@ernst.home> <20130924002601.00ffa265@asd.localdomain> <20130924100153.18756271@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
В Tue, 24 Sep 2013 10:01:53 +0200
Gary Jennejohn <gljennjohn@gmail.com> пишет:

Can't test it now on latest versions of FreeBSD, will test as it will
be possible, but on 5.x, 6.x and 7.x I always used like:
camcontrol eject 0:0:1
to "power down" sdcard slot on card readers before physically
ejecting sdcard. Don't know if it really shuts down the power to sdcard,
but LED goes off, and I think this is anyway safer.
So on those systems camcontrol worked trough USB stack.

> On Tue, 24 Sep 2013 00:26:01 +0400
> Anatoly <anatoly@kazanfieldhockey.ru> wrote:
> 
> > By the way, what exactly goes wrong with camcontrol?
> 
> I answered that question once already but forgot to Cc the list.
> 
> <quote>
> I gave that a whirl but it didn't work.  Seems like camcontrol isn't
> able to send raw commands to the umass disk through the USB stack.
> 
> Here's the output:
> 
> camcontrol idle da0 -t 5
> (pass4:umass-sim0:0:0:0): IDLE. ACB: e3 00 00 00 00 40 00 00 00 00 01
> 00 (pass4:umass-sim0:0:0:0): CAM status: Function Not Available
> 
> The disk doesn't spin down.
> <\quote>
> 




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