Hi folks, I like the manage_start_stop feature of the SD driver to spin down the hard disks (SATA and USB) during suspend. However, it didn't work with my Firewire hard disk. After some research I found out that I can spin down the disk with sg_start --pc=2, and spin it up with sg_start --pc=1. I adopted this into sd_start_stop_device() with the vendor name of the device hardcoded (see the attached patch) and now my Firewire hard disk spins down on suspend and spins up on resume. Is there any chance to get this behaviour without such ugly changes to the kernel? I had to make it conditional by checking the device as otherwise the SATA disk reports an error. Regards, Tino
| Ingo Molnar | [patch 02/13] syslets: add syslet.h include file, user API/ABI definitions |
| Heiko Carstens | Re: 2.6.25-rc6-git6: Reported regressions from 2.6.24 |
| Greg Kroah-Hartman | [PATCH 010/196] Chinese: add translation of Codingstyle |
| Rafael J. Wysocki | [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Linus Torvalds | Re: [GIT]: Networking |
| Mark Lord | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
