From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Bowler Date: Tue, 18 May 2010 16:23:50 +0000 Subject: Re: udev cdrom_id rules prevent unmounted CD from spinning down Message-Id: <20100518162350.GA29594@elliptictech.com> List-Id: References: <20100513153043.GA3966@elliptictech.com> In-Reply-To: <20100513153043.GA3966@elliptictech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On 16:21 Tue 18 May , Kay Sievers wrote: > On Tue, May 18, 2010 at 15:25, Nick Bowler wro= te: > > On 07:08 Tue 18 May =A0 =A0 , Kay Sievers wrote: > >> What does: > >> =A0 cat /sys/class/block/sr0/../../evt_media_change > >> print for this device? > > > > Prints 1. >=20 > Oh, seems to be an AN capable device, which actually really sends events.= :) >=20 > I don't know if that works, never tried, but if you chmod the > evt_media_change file to 0664. and write 0 to it, does it still behave > the same? I can successfully chmod and write 0 to that file, and it reads back as 0, but the behaviour remains the same (the blkid rules are uncommented), and the disk never spins down. --=20 Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)