Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2013 15:44:06 +0400
From:      Anatoly <anatoly@kazanfieldhockey.ru>
To:        freebsd-usb@freebsd.org
Cc:        gljennjohn@gmail.com
Subject:   Re: spin down a USB-attached disk?
Message-ID:  <20130923154406.5419293b@asd.localdomain>
In-Reply-To: <20130917185047.52c63e00@ernst.home>
References:  <20130917185047.52c63e00@ernst.home>

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

Have you tried to suspend that usb device?
I can't recall now how exactly this may be done on 8+. It is something
like:
usbconfig -d 0.2 suspend
you can read man usbconfig about it.
On 7.x this may be done with upower utility that someone has posted
on this mailing list before (you may search list for it)
upower /dev/usb0 2 suspend

I investigated this because one day I've got new 32G pendrive with ram
cache on it. Only way to flush the cache was the above command.

> I have a possibly dumb question.  Is it possible to send a spindown
> command through USB to a SATA disk attached as umass?
> 
> I like to spin down my disks before turning them off and with an
> ad-disk it's quite simple using camcontrol.
> 
> I haven't been able figure how to do it through USB.
> 



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