Comment 47 for bug 66254

Revision history for this message
David C (da-cas) wrote : RE: [Bug 66254/109763] Re: empty CD not correctly recognized by hal

Glad to hear it works. Can you let us know what your CD drive is. There is a list of CDs for which the fix is reported good in the last 4 messages on https://bugs.launchpad.net/ubuntu/+source/hal/+bug/109763.

I patched 0.5.9 because, before working on the patch, I got the most recent HAL in case others had fixed the problem. The patch works just fine for both cases, so you might just have to use the latest sources and re-apply to avoid the irritating update messages until a patch is adopted by Canonical.

Perhaps you (and others subscribing to either 66254 or 109763 (the same problem, just expressed slightly differently)) contact the HAL developers directly with your observations (and I'm CC'ing the Debian maintainer on this).

The problem has only recently started to appear because until around a year ago (specifically N-C-B 2.14.3, last
date in the sources of which is 31/07/06) contained code that probed the disc directly when HAL failed to return the MMC value.

Debian Testing uses
2.18.2, from 29/05/07, so developers/distributors have not actually had very long to
discover that there are quite a number of folk out there with old CD
drives that used to work and that will no longer do so.

My patch to HAL was just a slight re-coding of the code from N-C-B 2.14.3, and I did that rather than simply patching N-C-B because it seemed a cleaner place to make the mod: e.g. the 'Hardware Information' Browser now reports the empty CD size, and that would not have worked unless the change were made in HAL.

Regards

David

> From: <email address hidden>
> To: <email address hidden>
> Date: Sat, 1 Sep 2007 14:06:54 +0000
> Subject: [Bug 66254] Re: empty CD not correctly recognized by hal
>
> Thank you David. Your patch worked for me too. My own patches posted on
> 2007-07-07 and 2007-07-08 don't work. I'm still trying to make them
> work.
>
> Unfortunately ubuntu update notifier constantly suggests to replace the
> patched version with a more recent version because I applied the patch
> to version 0.5.8.1 of hal.
>
> I saw that you tried to draw the hal developers' attention to the bug
> and your patch on the hal mailing list and I am astonished that neither
> the hal nor the ubuntu developers seem to take notice of it.
>
> --
> empty CD not correctly recognized by hal
> https://bugs.launchpad.net/bugs/66254
> You received this bug notification because you are a direct subscriber
> of the bug.

_________________________________________________________________
Celeb spotting – Play CelebMashup and win cool prizes
https://www.celebmashup.com