From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A266C433DB for ; Wed, 23 Dec 2020 11:47:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 262BE207AA for ; Wed, 23 Dec 2020 11:47:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728414AbgLWLrD convert rfc822-to-8bit (ORCPT ); Wed, 23 Dec 2020 06:47:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:55316 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728406AbgLWLrD (ORCPT ); Wed, 23 Dec 2020 06:47:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id B49D1223E4 for ; Wed, 23 Dec 2020 11:46:22 +0000 (UTC) From: bugzilla-daemon@bugzilla.kernel.org To: linux-ide@vger.kernel.org Subject: [Bug 205107] No HDD spindown/parking on shutdown Date: Wed, 23 Dec 2020 11:46:22 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo io_ide@kernel-bugs.osdl.org X-Bugzilla-Product: IO/Storage X-Bugzilla-Component: IDE X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: high X-Bugzilla-Who: reagentoo@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: io_ide@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=205107 Dmitry Baranov (reagentoo@gmail.com) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reagentoo@gmail.com --- Comment #21 from Dmitry Baranov (reagentoo@gmail.com) --- Hi, Thank you all for your research. I created the following udev rule for myself to solve this problem: /etc/udev/rules.d/01-manage_start_stop.rules: ACTION=="add|change", DRIVERS=="usb-storage", SUBSYSTEM=="scsi_disk", RUN+="/bin/sh -c 'echo 1 >/sys/class/scsi_disk/%k/manage_start_stop'" -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.