On Tue, Feb 13, 2007 at 12:57:57PM +0100, Daniel Schepler wrote: > On Tuesday 13 February 2007 02:16:24 am you wrote: > > I've cc:ed everyone who followed up to this bug report reporting the same > > symptoms. Daniel, Jürgen, could you please post the model info for your > > CDROMs as returned in the info.product string in lshal's output, so that it > > can be used in the future to provide a more refined override that might > > even be worth enabling by default in the package?
> My drive's model is "HL-DT-ST DVD-RW GCA-4080N". And I can confirm that the > instructions posted to the bug are working for me. Cool, let's go ahead and include that in the patch as well. Updated patch attached, and updated version again uploaded to gluck. Sjoerd, I guess this means we have a complete set of model info for those users that have reported the problem, so if you would prefer to enable the overrides by default for these three models, that seems like it would be a decent option too. (I would recommend making this override a conffile under /etc/ still, since some users may have updated firmware for these devices that doesn't suffer from the bug and want to override in the other direction.) 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/
diff -u hal-0.5.8.1/debian/README.Debian hal-0.5.8.1/debian/README.Debian --- hal-0.5.8.1/debian/README.Debian +++ hal-0.5.8.1/debian/README.Debian @@ -13 +13,13 @@ - -- Sjoerd Simons <[EMAIL PROTECTED]> + + Some CD and DVD drives, such as the GDR8162B model found in some Dell + laptops, do not correctly handle media status inquiries and incorrectly + spin up the drive when they should not. Since hal regularly polls CD + drives for media changes, this results in increased power consumption and + mechanical wear and tear on such drives, which remain spinning constantly + while hal is running. + + If you have a CD/DVD drive exhibiting this problem, you can copy + /usr/share/doc/hal/examples/no-cd-media-check.fdi to /etc/hal/fdi/policy/ to + disable media checks for your drive. This file disables media checks for + all CD drives on the system, and also includes an example config for + disabling media checks only on a specific drive. diff -u hal-0.5.8.1/debian/changelog hal-0.5.8.1/debian/changelog --- hal-0.5.8.1/debian/changelog +++ hal-0.5.8.1/debian/changelog @@ -1,3 +1,13 @@ +hal (0.5.8.1-6.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfix. + * Provide /usr/share/doc/hal/examples/no-cd-media-check.fdi as an example + for disabling CD ROM media checks, and document this in README.Debian, as + a workaround for CD drives with broken firmware. Closes: #370186. + + -- Steve Langasek <[EMAIL PROTECTED]> Mon, 12 Feb 2007 16:42:29 -0800 + hal (0.5.8.1-6) unstable; urgency=low * debian/patches/19_sonypi_support.patch only in patch2: unchanged: --- hal-0.5.8.1.orig/debian/hal.examples +++ hal-0.5.8.1/debian/hal.examples @@ -0,0 +1 @@ +debian/no-cd-media-check.fdi only in patch2: unchanged: --- hal-0.5.8.1.orig/debian/no-cd-media-check.fdi +++ hal-0.5.8.1/debian/no-cd-media-check.fdi @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> + +<!-- + An example fdi config that disables media checks on CD devices, to work + around certain hardware bugs described in Debian bug #370186 +--> +<deviceinfo version="0.2"> + +<!-- + The following disables the use of hald-addon-storage for all CD/DVD devices + on the system. +--> + <device> + <match key="storage.cdrom.cdr" bool="true"> + <merge key="info.addons" type="strlist"></merge> + </match> + </device> + +<!-- + The following disables the use of hald-addon-storage for specific CD + devices, by name. You can find the name of your particular CD device + using the 'lshal' command. +--> + <device> + <match key="info.product" string="HL-DT-STDVD-ROM GDR8162B"> + <merge key="info.addons" type="strlist"></merge> + </match> + </device> + <device> + <match key="info.product" string="HL-DT-ST DVDRAM GSA-4080N"> + <merge key="info.addons" type="strlist"></merge> + </match> + </device> + <device> + <match key="info.product" string="HL-DT-ST DVD-RW GCA-4080N"> + <merge key="info.addons" type="strlist"></merge> + </match> + </device> + +</deviceinfo> +