hal/hald/linux2/probing probe-storage.c,1.7,1.8
David Zeuthen
david at freedesktop.org
Fri May 20 17:23:23 PDT 2005
Update of /cvs/hal/hal/hald/linux2/probing
In directory gabe:/tmp/cvs-serv7405/hald/linux2/probing
Modified Files:
probe-storage.c
Log Message:
2005-05-20 David Zeuthen <davidz at redhat.com>
* hald/linux2/probing/probe-storage.c (main): Here is a fix for
the dvdram entry in hal (0.4.x and 0.5.x). Currently the correct
default key (storage.cdrom.dvdram = false) is created but if the
device can write dvdram, hal add a new key named "storage.dvdram".
Patch from Danny Kukawka <danny.kukawka at web.de>.
Index: probe-storage.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-storage.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- probe-storage.c 8 Apr 2005 18:10:20 -0000 1.7
+++ probe-storage.c 21 May 2005 00:23:21 -0000 1.8
@@ -268,7 +268,7 @@
libhal_device_set_property_bool (ctx, udi, "storage.cdrom.dvdr", TRUE, &error);
}
if (capabilities & CDC_DVD_RAM) {
- libhal_device_set_property_bool (ctx, udi, "storage.dvdram", TRUE, &error);
+ libhal_device_set_property_bool (ctx, udi, "storage.cdrom.dvdram", TRUE, &error);
}
/* while we're at it, check if we support media changed */
More information about the hal-commit
mailing list