hal/hald/linux block_class_device.c,1.86.2.10,1.86.2.11

David Zeuthen david at freedesktop.org
Thu Jun 16 14:03:48 PDT 2005


Update of /cvs/hal/hal/hald/linux
In directory gabe:/tmp/cvs-serv15004/hald/linux

Modified Files:
      Tag: hal-0_4-stable-branch
	block_class_device.c 
Log Message:
2005-06-16  William Jon McCann  <mccann at jhu.edu>

	* hald/linux/block_class_device.c (detect_disc):
	Add support for DVD+R DL media.



Index: block_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/Attic/block_class_device.c,v
retrieving revision 1.86.2.10
retrieving revision 1.86.2.11
diff -u -d -r1.86.2.10 -r1.86.2.11
--- block_class_device.c	21 May 2005 00:21:11 -0000	1.86.2.10
+++ block_class_device.c	16 Jun 2005 21:03:46 -0000	1.86.2.11
@@ -767,6 +767,10 @@
 			hal_device_property_set_string (d, "volume.disc.type", "dvd_plus_r");
 			hal_device_property_set_bool (d, "volume.disc.is_rewritable", TRUE);
 			break;
+		case 0x2B: /* DVD+R Double Layer */
+			hal_device_property_set_string (d, "volume.disc.type", "dvd_plus_r_dl");
+			hal_device_property_set_bool (d, "volume.disc.is_rewritable", TRUE);
+			break;
 		default: 
 			break;
 		}




More information about the hal-commit mailing list