From:
[email protected]
Package: cdrecord
Version: 4:2.0+a34-1
Severity: wishlist
Tags: patch
Please add the following patch from LMKL. It allows to use
"dev=/dev/hd*" instead of cryptic "dev=ATAPI:x,x,x" when using
ATAPI-burning. Nautilus-cd-burner is broken because of this behaviour,
and this patch makes n-c-b to work as well.
Using ide-scsi and allowing access to /dev/sg* is _not_ an option for us..
--- cdrtools-2.01.orig/libscg/scsi-linux-ata.c Sat Jun 12 12:48:12 2004
+++ cdrtools-2.01/libscg/scsi-linux-ata.c Wed Aug 4 14:19:31 2004
@@ -42,6 +42,11 @@
* You should have received a copy of the GNU General Public License along with * this program; see the file COPYING. If not, write to the Free Software
* Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Sat Jun 12 12:48:12 CEST 2004 herp - Herbert Rosmanith
+ * Force ATAPI driver if dev= starts with /dev/hd and device
+ * is present in /proc/ide/hdX
+ *
*/
#ifdef USE_ATA
@@ -60,7 +65,7 @@
LOCAL int scgo_areset __PR((SCSI *scgp, int what));
LOCAL int scgo_asend __PR((SCSI *scgp));
-LOCAL scg_ops_t ata_ops = {
+EXPORT scg_ops_t scg_ata_ops = {
scgo_asend,
scgo_aversion,
scgo_ahelp,
diff -ru cdrtools-2.01.orig/libscg/scsi-linux-sg.c cdrtools-2.01/libscg/scsi-linux-sg.c
--- cdrtools-2.01.orig/libscg/scsi-linux-sg.c Thu May 20 15:42:12 2004
+++ cdrtools-2.01/libscg/scsi-linux-sg.c Wed Aug 4 14:20:56 2004