Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Hdparm man page lists for parameter -s:

Enable/disable the power-on in standby feature, if supported by the drive. VERY DANGEROUS. Do not use unless you are abso- lutely certain that both the system BIOS (or firmware) and the operating system kernel (Linux >= 2.6.22) support probing for drives that use this feature.

Could you point to a commit or lines in source code that gives the support for "power-on in standby".

In other words what is the change in Linux kernel (2.6.22) that made PUIS/POIS possible?

share|improve this question

1 Answer 1

http://lxr.free-electrons.com/source/drivers/ata/libata-core.c?v=3.5#L1987

The code makes a call to ata_dev_set_feature(dev, SETFEATURES_SPINUP, 0);

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.