hal/hald/linux2/probing probe-volume.c,1.8,1.9
David Zeuthen
david at freedesktop.org
Thu Jun 16 13:58:04 PDT 2005
Update of /cvs/hal/hal/hald/linux2/probing
In directory gabe:/tmp/cvs-serv14542/hald/linux2/probing
Modified Files:
probe-volume.c
Log Message:
2005-06-15 William Jon McCann <mccann at jhu.edu>
* hald/linux2/probing/probe-volume.c (main): Add support for
DVD+R DL media. (fdo bug #3269)
Index: probe-volume.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-volume.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- probe-volume.c 8 Apr 2005 18:10:20 -0000 1.8
+++ probe-volume.c 16 Jun 2005 20:58:02 -0000 1.9
@@ -285,6 +285,10 @@
libhal_device_set_property_string (ctx, udi, "volume.disc.type", "dvd_plus_r", &error);
libhal_device_set_property_bool (ctx, udi, "volume.disc.is_rewritable", TRUE, &error);
break;
+ case 0x2B: /* DVD+R Double Layer */
+ libhal_device_set_property_string (ctx, udi, "volume.disc.type", "dvd_plus_r_dl", &error);
+ libhal_device_set_property_bool (ctx, udi, "volume.disc.is_rewritable", TRUE, &error);
+ break;
default:
break;
}
More information about the hal-commit
mailing list