hal ChangeLog,1.302,1.303

David Zeuthen david at freedesktop.org
Sun Sep 19 07:08:12 PDT 2004


Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv28095

Modified Files:
	ChangeLog 
Log Message:
2004-09-19  David Zeuthen  <david at fubar.dk>

	Patch from Alexander Larsson <alexl at redhat.com>. It seems that
	some models of cd-rw drives doesn't seem to support the GET
	CONFIGURATION command. At least mine returns sense 5h. However, to
	automatically support cdrom blanking, nautilus-cd-burner needs to
	correctly know if the medium is rewritable. Thus the attached
	patch uses the READ DISC INFORMATION command to get that
	information.

	* hald/linux/block_class_device.c (detect_disc): Use disc_is_rewriteable

	* hald/linux/linux_dvd_rw_utils.c (disc_is_rewritable): New function

	* hald/linux/linux_dvd_rw_utils.h: Add prototype for new function



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.302
retrieving revision 1.303
diff -u -d -r1.302 -r1.303
--- ChangeLog	19 Sep 2004 13:47:51 -0000	1.302
+++ ChangeLog	19 Sep 2004 14:08:09 -0000	1.303
@@ -1,5 +1,21 @@
 2004-09-19  David Zeuthen  <david at fubar.dk>
 
+	Patch from Alexander Larsson <alexl at redhat.com>. It seems that
+	some models of cd-rw drives doesn't seem to support the GET
+	CONFIGURATION command. At least mine returns sense 5h. However, to
+	automatically support cdrom blanking, nautilus-cd-burner needs to
+	correctly know if the medium is rewritable. Thus the attached
+	patch uses the READ DISC INFORMATION command to get that
+	information.
+
+	* hald/linux/block_class_device.c (detect_disc): Use disc_is_rewriteable
+
+	* hald/linux/linux_dvd_rw_utils.c (disc_is_rewritable): New function
+
+	* hald/linux/linux_dvd_rw_utils.h: Add prototype for new function
+
+2004-09-19  David Zeuthen  <david at fubar.dk>
+
 	* hald/hald_dbus.c: Include dbus-glib-lowlevel.h instead of dbus-glib.h
 	(filter_function): Remove some debug output
 




More information about the hal-commit mailing list