07-09-2016, 10:42 PM
(07-09-2016, 08:26 PM)robb01 Wrote: Wanting to spin-down my external USB HDD on my Pine64 with PMS I found these commands for installing hd-idle from http://hd-idle.sourceforge.net/ :
(after first doing apt-get install cvs) and
- cvs -d:pserver:anonymous@hd-idle.cvs.sourceforge.net:/cvsroot/hd-idle login
- Just hit Return when it asks for a password
- cvs -z3 -d:pserver:anonymous@hd-idle.cvs.sourceforge.net:/cvsroot/hd-idle co -P hd-idle
but my Debian OS does not include dpkg-buildpackage in the repository.
- Run "dpkg-buildpackage -rfakeroot"
- Run "dpkg -i ../hd-idle_*.deb" to install the package
Anyone know if other dpkg tools can do this? Other options?
Replying to myself the answer is to first:
Code:
sudo apt-get install build-essential fakeroot debhelper -y
dpkg-buildpackage -rfakeroot
runs fine.
However also found that hdparm does in fact work on a USB external HDD on the Pine whereas a number of people have (more generally) reported that hdparm does not work for USB externals so hd-idle may not be necessary. Another win for Pine64.