On Tue, Jun 20, 2006 at 01:45:36PM -0400, Nathanael Nerode wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Steve Langasek wrote:
> > On Tue, Jun 13, 2006 at 11:23:02PM +0200, Sjoerd Simons wrote:
> >> On Mon, Jun 05, 2006 at 12:29:55PM -0400, Daniel Schepler wrote:
> >>> I can confirm that this happens on my laptop as well; when a CD is in the
> >>> drive, I can hear the drive spinning all the time, although at a lower
> >>> speed than when the disc is being read.  After I stop hald manually, the
> >>> drive spins down after about a minute.
> > 
> >> What hal does is poll the cddrive for status every two seconds..
> 
> Bloody hell.  :-)  Don't do that please!  

Sure, if you have another way to detect the insertion of a cd :)

> It causes a nightmare on laptops as  well.

Only on certain somewhat broken dell laptops.

> >> This shouldn't
> >> spin up the drive though..
> Well, I can't change the hardware.  This drive certainly seems to spin
> up on status checks; back when I was running Windows, it would spin up
> three times during the boot process.  Hypothesizing, this may well be in
> the drive firmware.

Well a status check isn't the same as trying to read from the drive, which
would indeed spin up the drive.

> > Could you try to kill/stop the
> >> /usr/lib/hal/hald-addon-storage processes that hal spawns (These poll your
> >> drive) and check if that solves it ?
> 
> Yes, it does.  Is there a way to configure hal to not run that process,
> ever?  Or to tell it not to poll the CD drive?

Setting storage_media_check_enabled  to false in /etc/hal/hald.conf should stop
hal from polling your drive. But as said it shouldn't be necessary.. 

Could you please also try the test program i sent earlier in this bug ? I can
really use that info :)

  Sjoerd
-- 
"I don't think so," said Ren'e Descartes.  Just then, he vanished.

Reply via email to