tags 371086 patch thanks Hi folks,
I've prepared an NMU for this bug which implements the last suggested fix of documenting a workaround for the firmware bug. Nathanael, could you confirm that this fix is satisfactory? 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? In the meantime, I'm uploading this NMU to the DELAYED/2-day queue on gluck. If there are no other objections, this will result in this release-critical bug being considered resolved for etch. 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 HL-DT-STDVD-ROM 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,31 @@ +<?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 a specific CD + device, 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> + +</deviceinfo> +