On Sun, Jan 21, 2007 at 12:50:01AM -0500, Nathanael Nerode wrote: > That would be quite good enough for me.
> After an exceptional amount of fiddling (hal seems to be very picky about its > configuration files, and it doesn't report when it can't read them -- that > should > be logged, and it's not, and I filed a bug) I seem to have gotten it working. > <device> > <match key="info.product" string="HL-DT-STDVD-ROM GDR8162B"> > <merge key="info.addons" type="strlist"></merge> > </match> > </device> > Now it spins up the drive when hal starts, for about 3 seconds, but then > stops and behaves itself. > This workaround seriously needs to be documented. I'm fairly adept, so I > also managed to figure out where the script to restart hal is (NOT obvious), > and that I had to match the string to a string in lshal (slightly more > obvious), > but I doubt an average user, even a technically adept one, would ever make it > through this without help. A more novice-friendly workaround might be possible, matching on a non-vendor-specific attribute; e.g., <match key="storage.cdrom.cdr" bool="true"> But that obviously wouldn't be a correct default for all users or all devices -- if this is a problem specific to particular CD ROM models, maybe hal can ship some settings to disable this on a per-model basis instead, but if we need to give users a workaround to deploy themselves, the above is probably a better bet. > I think this is the workaround for a lot of similar bugs (#360554, perhaps?) > and > we already have two users reporting the problem (me and Steve) I never had the spin-up problem; my bug was, as Sjoerd correctly noted, a separate kernel bug, that seems to have gone away in more recent kernels. > so this should be documented in README.Debian or somewhere else in > /usr/share/doc/hal. If this is documented prominently, I think the bug > can be closed, because the "real bug" is indeed in the hardware or the > kernel and may be very difficult or impossible to work around. Fair by me. Sjoerd, what do you think? Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]