From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Date: Tue, 18 May 2010 18:28:37 +0000 Subject: Re: udev cdrom_id rules prevent unmounted CD from spinning down Message-Id: <4BF2DC55.5010209@kernel.org> List-Id: References: <20100513153043.GA3966@elliptictech.com> In-Reply-To: <20100513153043.GA3966@elliptictech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hello, On 05/18/2010 08:20 PM, Kay Sievers wrote: > Yeah, the problem is that we already have the problem with current > software that causes the event loop. And we need a solution now. :) > > We might need to switch the AN stuff off by default in the kernel, and > only enable it when we know we are able to handle it? Yeah, somehow ignoring those events was what I suggested. I thought maybe it can be done in userland? Currently there is no switch on the driver side. If the feature is there and the host supports it, it's automatically enabled. Hmmm... When we have proper in kernel media presence polling, AN should be piped through there anyway so it makes sense to prevent it from reaching userland directly now. How does that sound? Thanks. -- tejun