dvdrtools-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dvd-devel] Got native ATAPI DMA with linux-2.6 working


From: Harald Welte
Subject: [Dvd-devel] Got native ATAPI DMA with linux-2.6 working
Date: Mon, 24 Nov 2003 17:28:13 +0100
User-agent: Mutt/1.5.4i

Hi!

After merging native ATAPI DMA writing to cdrdao earlier this evening, I
also did the trick for dvdrtools-0.1.5.  It was even easier - everything
needed was merging a recent libscg (from cdrtools-2.01a19) into
dvdrtools.

So what did I do?
- rm -rf libscg/*
- copy cdrtools-2.01/libscg/* to libscg/*
- delete the cdrtools Makefile/Target files
- copy dvdrtools-style GNU Makefile.am from dvdrtools-0.1.5 to libsct/*
- apply the following trivial patch:

--- dvdrtools-0.1.5/libscg/Makefile.am  2003-01-04 22:32:10.000000000 +0100
+++ dvdrtools-0.1.5atapi/libscg/Makefile.am     2003-11-21 22:14:30.000000000 
+0100
@@ -5,7 +5,7 @@
 libscg_a_LIBADD = @scsi_lib@
 
 libscg_a_SOURCES =  scsitransp.c scsihack.c scsiopen.c scgsettarget.c \
-               scsierrs.c scgtimes.c \
+               scsierrs.c scgtimes.c scsihelp.c \
                rdummy.c
 
 AM_CFLAGS = -DUSE_PG

- aclocal/automake/configure/make

I've put the resulting tarball online at
ftp://ftp.gnumonks.org/pub/patches/dvdtools-0.1.5atapi.tar.bz2

there you go:
# ./dvdrecord dev=ATAPI:0,0 -dao -v -eject /space/ss.iso
dvdrtools v0.1.4
Portions (c) 2002-2003 Ark Linux <address@hidden>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

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.
Based on:
Cdrecord 1.11a15 (powerpc-unknown-linux-gnu) Copyright (C) 1995-2001
Jörg Schilling
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'MATSHITA'
Identifikation : 'DVD-R   UJ-815A '
Revision       : 'D101'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1671168 = 1632 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  2095 MB        
Total size:     2406 MB (238:22.58) = 1072694 sectors
Lout start:     2406 MB (238:24/44) = 1072694 sectors
Current Secsize: 2048
  ATIP start of lead in:  -150 (00:00/00)
Disk type:    unknown dye (reserved id code)
Manuf. index: 255
Manufacturer: unknown (not in table)
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1225802
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is ON.
Performing OPC...
Sending CUE sheet...
./dvdrecord: WARNING: Drive returns wrong startsec (0) using -150
Starting new track at sector: 0
Track 01: 1198 of 2095 MB written (fifo 100%).

-- 
- Harald Welte <address@hidden>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime

Attachment: pgpSckRA0a1wj.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]