On Tue, Jun 13, 2006 at 09:05:38PM -0400, Daniel Schepler wrote:
> On Tuesday 13 June 2006 17:23 pm, you 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.. This
> > shouldn't spin up the drive though.. 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, that solves it.

Ok, well in the ioctl's/commands that the addon uses shouldn't spin up the
drive.. But well, hardware can do odd things :) 

It would be interested to know what actually triggers the spin of the
drive.. I've attached a little test program which does two of the three things
the addon usually does. To compile just run gcc test.c -o test..  After that
run it as root and pass the device name of your cd drive it 
(e.g. ./test /dev/hdc).. Please let me know when the drive spins up (if at all) 

Furthermore can you send me the output of running lshal on your system (while
hal is running ofcourse :).

  Sjoerd
-- 
Loneliness is a terrible price to pay for independence.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to