Recognizing burned CDs

David Zeuthen david at fubar.dk
Tue Sep 13 08:53:37 PDT 2005


On Tue, 2005-09-13 at 16:20 +0200, Martin Pitt wrote:
> Hi!
> 
> In
> 
>   https://bugzilla.ubuntu.com/show_bug.cgi?id=8670
> 
> the reporter noticed that if you burn a CD, hal does not notice the
> new volume after the burning finished. It's not the worst bug in the
> world, and I see that this is pretty tricky since burning does not
> generate a hotplug event.
> 
> Does anybody have a good idea how this could be achieved? Is there a
> way to notify hald to re-read a volume? Or can a hotplug event be
> synthesized?

Could invoke Rescan() on the device object representing the drive, that
*should* work (if it doesn't, it's a bug we want to fix)... However,
since hardware sucks that isn't quite enough. See here

 http://blogs.msdn.com/oldnewthing/archive/2005/06/10/427696.aspx

about why the media is always ejected on Windows...

Cheers,
David




More information about the hal mailing list